Documentation
¶
Index ¶
- type ClientService
- func (_mock *ClientService) CreateImage(params *image.CreateImageParams, authInfo runtime.ClientAuthInfoWriter, ...) (*image.CreateImageCreated, error)
- func (_mock *ClientService) DeleteImage(params *image.DeleteImageParams, authInfo runtime.ClientAuthInfoWriter, ...) (*image.DeleteImageOK, error)
- func (_m *ClientService) EXPECT() *ClientService_Expecter
- func (_mock *ClientService) FindImage(params *image.FindImageParams, authInfo runtime.ClientAuthInfoWriter, ...) (*image.FindImageOK, error)
- func (_mock *ClientService) FindImages(params *image.FindImagesParams, authInfo runtime.ClientAuthInfoWriter, ...) (*image.FindImagesOK, error)
- func (_mock *ClientService) FindLatestImage(params *image.FindLatestImageParams, authInfo runtime.ClientAuthInfoWriter, ...) (*image.FindLatestImageOK, error)
- func (_mock *ClientService) ListImages(params *image.ListImagesParams, authInfo runtime.ClientAuthInfoWriter, ...) (*image.ListImagesOK, error)
- func (_mock *ClientService) QueryImagesByID(params *image.QueryImagesByIDParams, authInfo runtime.ClientAuthInfoWriter, ...) (*image.QueryImagesByIDOK, error)
- func (_mock *ClientService) SetTransport(transport runtime.ClientTransport)
- func (_mock *ClientService) UpdateImage(params *image.UpdateImageParams, authInfo runtime.ClientAuthInfoWriter, ...) (*image.UpdateImageOK, error)
- type ClientService_CreateImage_Call
- func (_c *ClientService_CreateImage_Call) Return(createImageCreated *image.CreateImageCreated, err error) *ClientService_CreateImage_Call
- func (_c *ClientService_CreateImage_Call) Run(...) *ClientService_CreateImage_Call
- func (_c *ClientService_CreateImage_Call) RunAndReturn(...) *ClientService_CreateImage_Call
- type ClientService_DeleteImage_Call
- func (_c *ClientService_DeleteImage_Call) Return(deleteImageOK *image.DeleteImageOK, err error) *ClientService_DeleteImage_Call
- func (_c *ClientService_DeleteImage_Call) Run(...) *ClientService_DeleteImage_Call
- func (_c *ClientService_DeleteImage_Call) RunAndReturn(...) *ClientService_DeleteImage_Call
- type ClientService_Expecter
- func (_e *ClientService_Expecter) CreateImage(params interface{}, authInfo interface{}, opts ...interface{}) *ClientService_CreateImage_Call
- func (_e *ClientService_Expecter) DeleteImage(params interface{}, authInfo interface{}, opts ...interface{}) *ClientService_DeleteImage_Call
- func (_e *ClientService_Expecter) FindImage(params interface{}, authInfo interface{}, opts ...interface{}) *ClientService_FindImage_Call
- func (_e *ClientService_Expecter) FindImages(params interface{}, authInfo interface{}, opts ...interface{}) *ClientService_FindImages_Call
- func (_e *ClientService_Expecter) FindLatestImage(params interface{}, authInfo interface{}, opts ...interface{}) *ClientService_FindLatestImage_Call
- func (_e *ClientService_Expecter) ListImages(params interface{}, authInfo interface{}, opts ...interface{}) *ClientService_ListImages_Call
- func (_e *ClientService_Expecter) QueryImagesByID(params interface{}, authInfo interface{}, opts ...interface{}) *ClientService_QueryImagesByID_Call
- func (_e *ClientService_Expecter) SetTransport(transport interface{}) *ClientService_SetTransport_Call
- func (_e *ClientService_Expecter) UpdateImage(params interface{}, authInfo interface{}, opts ...interface{}) *ClientService_UpdateImage_Call
- type ClientService_FindImage_Call
- type ClientService_FindImages_Call
- type ClientService_FindLatestImage_Call
- func (_c *ClientService_FindLatestImage_Call) Return(findLatestImageOK *image.FindLatestImageOK, err error) *ClientService_FindLatestImage_Call
- func (_c *ClientService_FindLatestImage_Call) Run(...) *ClientService_FindLatestImage_Call
- func (_c *ClientService_FindLatestImage_Call) RunAndReturn(...) *ClientService_FindLatestImage_Call
- type ClientService_ListImages_Call
- type ClientService_QueryImagesByID_Call
- func (_c *ClientService_QueryImagesByID_Call) Return(queryImagesByIDOK *image.QueryImagesByIDOK, err error) *ClientService_QueryImagesByID_Call
- func (_c *ClientService_QueryImagesByID_Call) Run(...) *ClientService_QueryImagesByID_Call
- func (_c *ClientService_QueryImagesByID_Call) RunAndReturn(...) *ClientService_QueryImagesByID_Call
- type ClientService_SetTransport_Call
- func (_c *ClientService_SetTransport_Call) Return() *ClientService_SetTransport_Call
- func (_c *ClientService_SetTransport_Call) Run(run func(transport runtime.ClientTransport)) *ClientService_SetTransport_Call
- func (_c *ClientService_SetTransport_Call) RunAndReturn(run func(transport runtime.ClientTransport)) *ClientService_SetTransport_Call
- type ClientService_UpdateImage_Call
- func (_c *ClientService_UpdateImage_Call) Return(updateImageOK *image.UpdateImageOK, err error) *ClientService_UpdateImage_Call
- func (_c *ClientService_UpdateImage_Call) Run(...) *ClientService_UpdateImage_Call
- func (_c *ClientService_UpdateImage_Call) RunAndReturn(...) *ClientService_UpdateImage_Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClientService ¶
ClientService is an autogenerated mock type for the ClientService type
func NewClientService ¶ added in v0.18.1
func NewClientService(t interface {
mock.TestingT
Cleanup(func())
}) *ClientService
NewClientService creates a new instance of ClientService. 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 (*ClientService) CreateImage ¶
func (_mock *ClientService) CreateImage(params *image.CreateImageParams, authInfo runtime.ClientAuthInfoWriter, opts ...image.ClientOption) (*image.CreateImageCreated, error)
CreateImage provides a mock function for the type ClientService
func (*ClientService) DeleteImage ¶
func (_mock *ClientService) DeleteImage(params *image.DeleteImageParams, authInfo runtime.ClientAuthInfoWriter, opts ...image.ClientOption) (*image.DeleteImageOK, error)
DeleteImage provides a mock function for the type ClientService
func (*ClientService) EXPECT ¶ added in v0.42.4
func (_m *ClientService) EXPECT() *ClientService_Expecter
func (*ClientService) FindImage ¶
func (_mock *ClientService) FindImage(params *image.FindImageParams, authInfo runtime.ClientAuthInfoWriter, opts ...image.ClientOption) (*image.FindImageOK, error)
FindImage provides a mock function for the type ClientService
func (*ClientService) FindImages ¶ added in v0.22.2
func (_mock *ClientService) FindImages(params *image.FindImagesParams, authInfo runtime.ClientAuthInfoWriter, opts ...image.ClientOption) (*image.FindImagesOK, error)
FindImages provides a mock function for the type ClientService
func (*ClientService) FindLatestImage ¶
func (_mock *ClientService) FindLatestImage(params *image.FindLatestImageParams, authInfo runtime.ClientAuthInfoWriter, opts ...image.ClientOption) (*image.FindLatestImageOK, error)
FindLatestImage provides a mock function for the type ClientService
func (*ClientService) ListImages ¶
func (_mock *ClientService) ListImages(params *image.ListImagesParams, authInfo runtime.ClientAuthInfoWriter, opts ...image.ClientOption) (*image.ListImagesOK, error)
ListImages provides a mock function for the type ClientService
func (*ClientService) QueryImagesByID ¶ added in v0.15.4
func (_mock *ClientService) QueryImagesByID(params *image.QueryImagesByIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...image.ClientOption) (*image.QueryImagesByIDOK, error)
QueryImagesByID provides a mock function for the type ClientService
func (*ClientService) SetTransport ¶
func (_mock *ClientService) SetTransport(transport runtime.ClientTransport)
SetTransport provides a mock function for the type ClientService
func (*ClientService) UpdateImage ¶
func (_mock *ClientService) UpdateImage(params *image.UpdateImageParams, authInfo runtime.ClientAuthInfoWriter, opts ...image.ClientOption) (*image.UpdateImageOK, error)
UpdateImage provides a mock function for the type ClientService
type ClientService_CreateImage_Call ¶ added in v0.42.4
ClientService_CreateImage_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateImage'
func (*ClientService_CreateImage_Call) Return ¶ added in v0.42.4
func (_c *ClientService_CreateImage_Call) Return(createImageCreated *image.CreateImageCreated, err error) *ClientService_CreateImage_Call
func (*ClientService_CreateImage_Call) Run ¶ added in v0.42.4
func (_c *ClientService_CreateImage_Call) Run(run func(params *image.CreateImageParams, authInfo runtime.ClientAuthInfoWriter, opts ...image.ClientOption)) *ClientService_CreateImage_Call
func (*ClientService_CreateImage_Call) RunAndReturn ¶ added in v0.42.4
func (_c *ClientService_CreateImage_Call) RunAndReturn(run func(params *image.CreateImageParams, authInfo runtime.ClientAuthInfoWriter, opts ...image.ClientOption) (*image.CreateImageCreated, error)) *ClientService_CreateImage_Call
type ClientService_DeleteImage_Call ¶ added in v0.42.4
ClientService_DeleteImage_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteImage'
func (*ClientService_DeleteImage_Call) Return ¶ added in v0.42.4
func (_c *ClientService_DeleteImage_Call) Return(deleteImageOK *image.DeleteImageOK, err error) *ClientService_DeleteImage_Call
func (*ClientService_DeleteImage_Call) Run ¶ added in v0.42.4
func (_c *ClientService_DeleteImage_Call) Run(run func(params *image.DeleteImageParams, authInfo runtime.ClientAuthInfoWriter, opts ...image.ClientOption)) *ClientService_DeleteImage_Call
func (*ClientService_DeleteImage_Call) RunAndReturn ¶ added in v0.42.4
func (_c *ClientService_DeleteImage_Call) RunAndReturn(run func(params *image.DeleteImageParams, authInfo runtime.ClientAuthInfoWriter, opts ...image.ClientOption) (*image.DeleteImageOK, error)) *ClientService_DeleteImage_Call
type ClientService_Expecter ¶ added in v0.42.4
type ClientService_Expecter struct {
// contains filtered or unexported fields
}
func (*ClientService_Expecter) CreateImage ¶ added in v0.42.4
func (_e *ClientService_Expecter) CreateImage(params interface{}, authInfo interface{}, opts ...interface{}) *ClientService_CreateImage_Call
CreateImage is a helper method to define mock.On call
- params *image.CreateImageParams
- authInfo runtime.ClientAuthInfoWriter
- opts ...image.ClientOption
func (*ClientService_Expecter) DeleteImage ¶ added in v0.42.4
func (_e *ClientService_Expecter) DeleteImage(params interface{}, authInfo interface{}, opts ...interface{}) *ClientService_DeleteImage_Call
DeleteImage is a helper method to define mock.On call
- params *image.DeleteImageParams
- authInfo runtime.ClientAuthInfoWriter
- opts ...image.ClientOption
func (*ClientService_Expecter) FindImage ¶ added in v0.42.4
func (_e *ClientService_Expecter) FindImage(params interface{}, authInfo interface{}, opts ...interface{}) *ClientService_FindImage_Call
FindImage is a helper method to define mock.On call
- params *image.FindImageParams
- authInfo runtime.ClientAuthInfoWriter
- opts ...image.ClientOption
func (*ClientService_Expecter) FindImages ¶ added in v0.42.4
func (_e *ClientService_Expecter) FindImages(params interface{}, authInfo interface{}, opts ...interface{}) *ClientService_FindImages_Call
FindImages is a helper method to define mock.On call
- params *image.FindImagesParams
- authInfo runtime.ClientAuthInfoWriter
- opts ...image.ClientOption
func (*ClientService_Expecter) FindLatestImage ¶ added in v0.42.4
func (_e *ClientService_Expecter) FindLatestImage(params interface{}, authInfo interface{}, opts ...interface{}) *ClientService_FindLatestImage_Call
FindLatestImage is a helper method to define mock.On call
- params *image.FindLatestImageParams
- authInfo runtime.ClientAuthInfoWriter
- opts ...image.ClientOption
func (*ClientService_Expecter) ListImages ¶ added in v0.42.4
func (_e *ClientService_Expecter) ListImages(params interface{}, authInfo interface{}, opts ...interface{}) *ClientService_ListImages_Call
ListImages is a helper method to define mock.On call
- params *image.ListImagesParams
- authInfo runtime.ClientAuthInfoWriter
- opts ...image.ClientOption
func (*ClientService_Expecter) QueryImagesByID ¶ added in v0.42.4
func (_e *ClientService_Expecter) QueryImagesByID(params interface{}, authInfo interface{}, opts ...interface{}) *ClientService_QueryImagesByID_Call
QueryImagesByID is a helper method to define mock.On call
- params *image.QueryImagesByIDParams
- authInfo runtime.ClientAuthInfoWriter
- opts ...image.ClientOption
func (*ClientService_Expecter) SetTransport ¶ added in v0.42.4
func (_e *ClientService_Expecter) SetTransport(transport interface{}) *ClientService_SetTransport_Call
SetTransport is a helper method to define mock.On call
- transport runtime.ClientTransport
func (*ClientService_Expecter) UpdateImage ¶ added in v0.42.4
func (_e *ClientService_Expecter) UpdateImage(params interface{}, authInfo interface{}, opts ...interface{}) *ClientService_UpdateImage_Call
UpdateImage is a helper method to define mock.On call
- params *image.UpdateImageParams
- authInfo runtime.ClientAuthInfoWriter
- opts ...image.ClientOption
type ClientService_FindImage_Call ¶ added in v0.42.4
ClientService_FindImage_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'FindImage'
func (*ClientService_FindImage_Call) Return ¶ added in v0.42.4
func (_c *ClientService_FindImage_Call) Return(findImageOK *image.FindImageOK, err error) *ClientService_FindImage_Call
func (*ClientService_FindImage_Call) Run ¶ added in v0.42.4
func (_c *ClientService_FindImage_Call) Run(run func(params *image.FindImageParams, authInfo runtime.ClientAuthInfoWriter, opts ...image.ClientOption)) *ClientService_FindImage_Call
func (*ClientService_FindImage_Call) RunAndReturn ¶ added in v0.42.4
func (_c *ClientService_FindImage_Call) RunAndReturn(run func(params *image.FindImageParams, authInfo runtime.ClientAuthInfoWriter, opts ...image.ClientOption) (*image.FindImageOK, error)) *ClientService_FindImage_Call
type ClientService_FindImages_Call ¶ added in v0.42.4
ClientService_FindImages_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'FindImages'
func (*ClientService_FindImages_Call) Return ¶ added in v0.42.4
func (_c *ClientService_FindImages_Call) Return(findImagesOK *image.FindImagesOK, err error) *ClientService_FindImages_Call
func (*ClientService_FindImages_Call) Run ¶ added in v0.42.4
func (_c *ClientService_FindImages_Call) Run(run func(params *image.FindImagesParams, authInfo runtime.ClientAuthInfoWriter, opts ...image.ClientOption)) *ClientService_FindImages_Call
func (*ClientService_FindImages_Call) RunAndReturn ¶ added in v0.42.4
func (_c *ClientService_FindImages_Call) RunAndReturn(run func(params *image.FindImagesParams, authInfo runtime.ClientAuthInfoWriter, opts ...image.ClientOption) (*image.FindImagesOK, error)) *ClientService_FindImages_Call
type ClientService_FindLatestImage_Call ¶ added in v0.42.4
ClientService_FindLatestImage_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'FindLatestImage'
func (*ClientService_FindLatestImage_Call) Return ¶ added in v0.42.4
func (_c *ClientService_FindLatestImage_Call) Return(findLatestImageOK *image.FindLatestImageOK, err error) *ClientService_FindLatestImage_Call
func (*ClientService_FindLatestImage_Call) Run ¶ added in v0.42.4
func (_c *ClientService_FindLatestImage_Call) Run(run func(params *image.FindLatestImageParams, authInfo runtime.ClientAuthInfoWriter, opts ...image.ClientOption)) *ClientService_FindLatestImage_Call
func (*ClientService_FindLatestImage_Call) RunAndReturn ¶ added in v0.42.4
func (_c *ClientService_FindLatestImage_Call) RunAndReturn(run func(params *image.FindLatestImageParams, authInfo runtime.ClientAuthInfoWriter, opts ...image.ClientOption) (*image.FindLatestImageOK, error)) *ClientService_FindLatestImage_Call
type ClientService_ListImages_Call ¶ added in v0.42.4
ClientService_ListImages_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListImages'
func (*ClientService_ListImages_Call) Return ¶ added in v0.42.4
func (_c *ClientService_ListImages_Call) Return(listImagesOK *image.ListImagesOK, err error) *ClientService_ListImages_Call
func (*ClientService_ListImages_Call) Run ¶ added in v0.42.4
func (_c *ClientService_ListImages_Call) Run(run func(params *image.ListImagesParams, authInfo runtime.ClientAuthInfoWriter, opts ...image.ClientOption)) *ClientService_ListImages_Call
func (*ClientService_ListImages_Call) RunAndReturn ¶ added in v0.42.4
func (_c *ClientService_ListImages_Call) RunAndReturn(run func(params *image.ListImagesParams, authInfo runtime.ClientAuthInfoWriter, opts ...image.ClientOption) (*image.ListImagesOK, error)) *ClientService_ListImages_Call
type ClientService_QueryImagesByID_Call ¶ added in v0.42.4
ClientService_QueryImagesByID_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'QueryImagesByID'
func (*ClientService_QueryImagesByID_Call) Return ¶ added in v0.42.4
func (_c *ClientService_QueryImagesByID_Call) Return(queryImagesByIDOK *image.QueryImagesByIDOK, err error) *ClientService_QueryImagesByID_Call
func (*ClientService_QueryImagesByID_Call) Run ¶ added in v0.42.4
func (_c *ClientService_QueryImagesByID_Call) Run(run func(params *image.QueryImagesByIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...image.ClientOption)) *ClientService_QueryImagesByID_Call
func (*ClientService_QueryImagesByID_Call) RunAndReturn ¶ added in v0.42.4
func (_c *ClientService_QueryImagesByID_Call) RunAndReturn(run func(params *image.QueryImagesByIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...image.ClientOption) (*image.QueryImagesByIDOK, error)) *ClientService_QueryImagesByID_Call
type ClientService_SetTransport_Call ¶ added in v0.42.4
ClientService_SetTransport_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetTransport'
func (*ClientService_SetTransport_Call) Return ¶ added in v0.42.4
func (_c *ClientService_SetTransport_Call) Return() *ClientService_SetTransport_Call
func (*ClientService_SetTransport_Call) Run ¶ added in v0.42.4
func (_c *ClientService_SetTransport_Call) Run(run func(transport runtime.ClientTransport)) *ClientService_SetTransport_Call
func (*ClientService_SetTransport_Call) RunAndReturn ¶ added in v0.42.4
func (_c *ClientService_SetTransport_Call) RunAndReturn(run func(transport runtime.ClientTransport)) *ClientService_SetTransport_Call
type ClientService_UpdateImage_Call ¶ added in v0.42.4
ClientService_UpdateImage_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateImage'
func (*ClientService_UpdateImage_Call) Return ¶ added in v0.42.4
func (_c *ClientService_UpdateImage_Call) Return(updateImageOK *image.UpdateImageOK, err error) *ClientService_UpdateImage_Call
func (*ClientService_UpdateImage_Call) Run ¶ added in v0.42.4
func (_c *ClientService_UpdateImage_Call) Run(run func(params *image.UpdateImageParams, authInfo runtime.ClientAuthInfoWriter, opts ...image.ClientOption)) *ClientService_UpdateImage_Call
func (*ClientService_UpdateImage_Call) RunAndReturn ¶ added in v0.42.4
func (_c *ClientService_UpdateImage_Call) RunAndReturn(run func(params *image.UpdateImageParams, authInfo runtime.ClientAuthInfoWriter, opts ...image.ClientOption) (*image.UpdateImageOK, error)) *ClientService_UpdateImage_Call