Documentation ¶
Index ¶
- type ClientOption
- type ClientService
- func (_m *ClientService) CreateImage(params *clientimage.CreateImageParams, authInfo runtime.ClientAuthInfoWriter, ...) (*clientimage.CreateImageCreated, error)
- func (_m *ClientService) DeleteImage(params *clientimage.DeleteImageParams, authInfo runtime.ClientAuthInfoWriter, ...) (*clientimage.DeleteImageOK, error)
- func (_m *ClientService) FindImage(params *clientimage.FindImageParams, authInfo runtime.ClientAuthInfoWriter, ...) (*clientimage.FindImageOK, error)
- func (_m *ClientService) FindLatestImage(params *clientimage.FindLatestImageParams, ...) (*clientimage.FindLatestImageOK, error)
- func (_m *ClientService) ListImages(params *clientimage.ListImagesParams, authInfo runtime.ClientAuthInfoWriter, ...) (*clientimage.ListImagesOK, error)
- func (_m *ClientService) QueryImagesByID(params *clientimage.QueryImagesByIDParams, ...) (*clientimage.QueryImagesByIDOK, error)
- func (_m *ClientService) SetTransport(transport runtime.ClientTransport)
- func (_m *ClientService) UpdateImage(params *clientimage.UpdateImageParams, authInfo runtime.ClientAuthInfoWriter, ...) (*clientimage.UpdateImageOK, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClientOption ¶
ClientOption is an autogenerated mock type for the ClientOption type
func NewClientOption ¶ added in v0.18.1
func NewClientOption(t testing.TB) *ClientOption
NewClientOption creates a new instance of ClientOption. It also registers the testing.TB interface on the mock and a cleanup function to assert the mocks expectations.
func (*ClientOption) Execute ¶
func (_m *ClientOption) Execute(_a0 *runtime.ClientOperation)
Execute provides a mock function with given fields: _a0
type ClientService ¶
ClientService is an autogenerated mock type for the ClientService type
func NewClientService ¶ added in v0.18.1
func NewClientService(t testing.TB) *ClientService
NewClientService creates a new instance of ClientService. It also registers the testing.TB interface on the mock and a cleanup function to assert the mocks expectations.
func (*ClientService) CreateImage ¶
func (_m *ClientService) CreateImage(params *clientimage.CreateImageParams, authInfo runtime.ClientAuthInfoWriter, opts ...clientimage.ClientOption) (*clientimage.CreateImageCreated, error)
CreateImage provides a mock function with given fields: params, authInfo, opts
func (*ClientService) DeleteImage ¶
func (_m *ClientService) DeleteImage(params *clientimage.DeleteImageParams, authInfo runtime.ClientAuthInfoWriter, opts ...clientimage.ClientOption) (*clientimage.DeleteImageOK, error)
DeleteImage provides a mock function with given fields: params, authInfo, opts
func (*ClientService) FindImage ¶
func (_m *ClientService) FindImage(params *clientimage.FindImageParams, authInfo runtime.ClientAuthInfoWriter, opts ...clientimage.ClientOption) (*clientimage.FindImageOK, error)
FindImage provides a mock function with given fields: params, authInfo, opts
func (*ClientService) FindLatestImage ¶
func (_m *ClientService) FindLatestImage(params *clientimage.FindLatestImageParams, authInfo runtime.ClientAuthInfoWriter, opts ...clientimage.ClientOption) (*clientimage.FindLatestImageOK, error)
FindLatestImage provides a mock function with given fields: params, authInfo, opts
func (*ClientService) ListImages ¶
func (_m *ClientService) ListImages(params *clientimage.ListImagesParams, authInfo runtime.ClientAuthInfoWriter, opts ...clientimage.ClientOption) (*clientimage.ListImagesOK, error)
ListImages provides a mock function with given fields: params, authInfo, opts
func (*ClientService) QueryImagesByID ¶ added in v0.15.4
func (_m *ClientService) QueryImagesByID(params *clientimage.QueryImagesByIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...clientimage.ClientOption) (*clientimage.QueryImagesByIDOK, error)
QueryImagesByID provides a mock function with given fields: params, authInfo, opts
func (*ClientService) SetTransport ¶
func (_m *ClientService) SetTransport(transport runtime.ClientTransport)
SetTransport provides a mock function with given fields: transport
func (*ClientService) UpdateImage ¶
func (_m *ClientService) UpdateImage(params *clientimage.UpdateImageParams, authInfo runtime.ClientAuthInfoWriter, opts ...clientimage.ClientOption) (*clientimage.UpdateImageOK, error)
UpdateImage provides a mock function with given fields: params, authInfo, opts