Documentation
¶
Index ¶
- type ClientInterface
- func (_m *ClientInterface) DeleteBundle(ctx context.Context, name string) error
- func (_m *ClientInterface) DeleteSource(ctx context.Context, id string) error
- func (_m *ClientInterface) GetSource(ctx context.Context, id string) (*ocp.GetSourceResponse, error)
- func (_m *ClientInterface) PutBundle(ctx context.Context, bundle *ocp.PutBundleRequest) error
- func (_m *ClientInterface) PutSource(ctx context.Context, id string, request *ocp.PutSourceRequest) (*ocp.PutSourceResponse, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClientInterface ¶
ClientInterface is an autogenerated mock type for the ClientInterface type
func NewClientInterface ¶
func NewClientInterface(t interface {
mock.TestingT
Cleanup(func())
}) *ClientInterface
NewClientInterface creates a new instance of ClientInterface. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*ClientInterface) DeleteBundle ¶ added in v0.30.0
func (_m *ClientInterface) DeleteBundle(ctx context.Context, name string) error
DeleteBundle provides a mock function with given fields: ctx, name
func (*ClientInterface) DeleteSource ¶ added in v0.30.0
func (_m *ClientInterface) DeleteSource(ctx context.Context, id string) error
DeleteSource provides a mock function with given fields: ctx, id
func (*ClientInterface) GetSource ¶
func (_m *ClientInterface) GetSource(ctx context.Context, id string) (*ocp.GetSourceResponse, error)
GetSource provides a mock function with given fields: ctx, id
func (*ClientInterface) PutBundle ¶
func (_m *ClientInterface) PutBundle(ctx context.Context, bundle *ocp.PutBundleRequest) error
PutBundle provides a mock function with given fields: ctx, bundle
func (*ClientInterface) PutSource ¶
func (_m *ClientInterface) PutSource(ctx context.Context, id string, request *ocp.PutSourceRequest) (*ocp.PutSourceResponse, error)
PutSource provides a mock function with given fields: ctx, id, request
Click to show internal directories.
Click to hide internal directories.