Documentation ¶
Index ¶
- type MockClientOption
- type MockClientOption_Execute_Call
- func (_c *MockClientOption_Execute_Call) Return() *MockClientOption_Execute_Call
- func (_c *MockClientOption_Execute_Call) Run(run func(_a0 *runtime.ClientOperation)) *MockClientOption_Execute_Call
- func (_c *MockClientOption_Execute_Call) RunAndReturn(run func(*runtime.ClientOperation)) *MockClientOption_Execute_Call
- type MockClientOption_Expecter
- type MockClientService
- func (_m *MockClientService) EXPECT() *MockClientService_Expecter
- func (_m *MockClientService) GetReleaseV1(params *operations.GetReleaseV1Params, opts ...operations.ClientOption) (*operations.GetReleaseV1OK, error)
- func (_m *MockClientService) ListProductsV1(params *operations.ListProductsV1Params, opts ...operations.ClientOption) (*operations.ListProductsV1OK, error)
- func (_m *MockClientService) ListReleasesV1(params *operations.ListReleasesV1Params, opts ...operations.ClientOption) (*operations.ListReleasesV1OK, error)
- func (_m *MockClientService) SetTransport(transport runtime.ClientTransport)
- type MockClientService_Expecter
- func (_e *MockClientService_Expecter) GetReleaseV1(params interface{}, opts ...interface{}) *MockClientService_GetReleaseV1_Call
- func (_e *MockClientService_Expecter) ListProductsV1(params interface{}, opts ...interface{}) *MockClientService_ListProductsV1_Call
- func (_e *MockClientService_Expecter) ListReleasesV1(params interface{}, opts ...interface{}) *MockClientService_ListReleasesV1_Call
- func (_e *MockClientService_Expecter) SetTransport(transport interface{}) *MockClientService_SetTransport_Call
- type MockClientService_GetReleaseV1_Call
- func (_c *MockClientService_GetReleaseV1_Call) Return(_a0 *operations.GetReleaseV1OK, _a1 error) *MockClientService_GetReleaseV1_Call
- func (_c *MockClientService_GetReleaseV1_Call) Run(...) *MockClientService_GetReleaseV1_Call
- func (_c *MockClientService_GetReleaseV1_Call) RunAndReturn(...) *MockClientService_GetReleaseV1_Call
- type MockClientService_ListProductsV1_Call
- func (_c *MockClientService_ListProductsV1_Call) Return(_a0 *operations.ListProductsV1OK, _a1 error) *MockClientService_ListProductsV1_Call
- func (_c *MockClientService_ListProductsV1_Call) Run(...) *MockClientService_ListProductsV1_Call
- func (_c *MockClientService_ListProductsV1_Call) RunAndReturn(...) *MockClientService_ListProductsV1_Call
- type MockClientService_ListReleasesV1_Call
- func (_c *MockClientService_ListReleasesV1_Call) Return(_a0 *operations.ListReleasesV1OK, _a1 error) *MockClientService_ListReleasesV1_Call
- func (_c *MockClientService_ListReleasesV1_Call) Run(...) *MockClientService_ListReleasesV1_Call
- func (_c *MockClientService_ListReleasesV1_Call) RunAndReturn(...) *MockClientService_ListReleasesV1_Call
- type MockClientService_SetTransport_Call
- func (_c *MockClientService_SetTransport_Call) Return() *MockClientService_SetTransport_Call
- func (_c *MockClientService_SetTransport_Call) Run(run func(transport runtime.ClientTransport)) *MockClientService_SetTransport_Call
- func (_c *MockClientService_SetTransport_Call) RunAndReturn(run func(runtime.ClientTransport)) *MockClientService_SetTransport_Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockClientOption ¶
MockClientOption is an autogenerated mock type for the ClientOption type
func NewMockClientOption ¶
func NewMockClientOption(t interface { mock.TestingT Cleanup(func()) }) *MockClientOption
NewMockClientOption creates a new instance of MockClientOption. 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 (*MockClientOption) EXPECT ¶
func (_m *MockClientOption) EXPECT() *MockClientOption_Expecter
func (*MockClientOption) Execute ¶
func (_m *MockClientOption) Execute(_a0 *runtime.ClientOperation)
Execute provides a mock function with given fields: _a0
type MockClientOption_Execute_Call ¶
MockClientOption_Execute_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Execute'
func (*MockClientOption_Execute_Call) Return ¶
func (_c *MockClientOption_Execute_Call) Return() *MockClientOption_Execute_Call
func (*MockClientOption_Execute_Call) Run ¶
func (_c *MockClientOption_Execute_Call) Run(run func(_a0 *runtime.ClientOperation)) *MockClientOption_Execute_Call
func (*MockClientOption_Execute_Call) RunAndReturn ¶
func (_c *MockClientOption_Execute_Call) RunAndReturn(run func(*runtime.ClientOperation)) *MockClientOption_Execute_Call
type MockClientOption_Expecter ¶
type MockClientOption_Expecter struct {
// contains filtered or unexported fields
}
func (*MockClientOption_Expecter) Execute ¶
func (_e *MockClientOption_Expecter) Execute(_a0 interface{}) *MockClientOption_Execute_Call
Execute is a helper method to define mock.On call
- _a0 *runtime.ClientOperation
type MockClientService ¶
MockClientService is an autogenerated mock type for the ClientService type
func NewMockClientService ¶
func NewMockClientService(t interface { mock.TestingT Cleanup(func()) }) *MockClientService
NewMockClientService creates a new instance of MockClientService. 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 (*MockClientService) EXPECT ¶
func (_m *MockClientService) EXPECT() *MockClientService_Expecter
func (*MockClientService) GetReleaseV1 ¶
func (_m *MockClientService) GetReleaseV1(params *operations.GetReleaseV1Params, opts ...operations.ClientOption) (*operations.GetReleaseV1OK, error)
GetReleaseV1 provides a mock function with given fields: params, opts
func (*MockClientService) ListProductsV1 ¶
func (_m *MockClientService) ListProductsV1(params *operations.ListProductsV1Params, opts ...operations.ClientOption) (*operations.ListProductsV1OK, error)
ListProductsV1 provides a mock function with given fields: params, opts
func (*MockClientService) ListReleasesV1 ¶
func (_m *MockClientService) ListReleasesV1(params *operations.ListReleasesV1Params, opts ...operations.ClientOption) (*operations.ListReleasesV1OK, error)
ListReleasesV1 provides a mock function with given fields: params, opts
func (*MockClientService) SetTransport ¶
func (_m *MockClientService) SetTransport(transport runtime.ClientTransport)
SetTransport provides a mock function with given fields: transport
type MockClientService_Expecter ¶
type MockClientService_Expecter struct {
// contains filtered or unexported fields
}
func (*MockClientService_Expecter) GetReleaseV1 ¶
func (_e *MockClientService_Expecter) GetReleaseV1(params interface{}, opts ...interface{}) *MockClientService_GetReleaseV1_Call
GetReleaseV1 is a helper method to define mock.On call
- params *operations.GetReleaseV1Params
- opts ...operations.ClientOption
func (*MockClientService_Expecter) ListProductsV1 ¶
func (_e *MockClientService_Expecter) ListProductsV1(params interface{}, opts ...interface{}) *MockClientService_ListProductsV1_Call
ListProductsV1 is a helper method to define mock.On call
- params *operations.ListProductsV1Params
- opts ...operations.ClientOption
func (*MockClientService_Expecter) ListReleasesV1 ¶
func (_e *MockClientService_Expecter) ListReleasesV1(params interface{}, opts ...interface{}) *MockClientService_ListReleasesV1_Call
ListReleasesV1 is a helper method to define mock.On call
- params *operations.ListReleasesV1Params
- opts ...operations.ClientOption
func (*MockClientService_Expecter) SetTransport ¶
func (_e *MockClientService_Expecter) SetTransport(transport interface{}) *MockClientService_SetTransport_Call
SetTransport is a helper method to define mock.On call
- transport runtime.ClientTransport
type MockClientService_GetReleaseV1_Call ¶
MockClientService_GetReleaseV1_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetReleaseV1'
func (*MockClientService_GetReleaseV1_Call) Return ¶
func (_c *MockClientService_GetReleaseV1_Call) Return(_a0 *operations.GetReleaseV1OK, _a1 error) *MockClientService_GetReleaseV1_Call
func (*MockClientService_GetReleaseV1_Call) Run ¶
func (_c *MockClientService_GetReleaseV1_Call) Run(run func(params *operations.GetReleaseV1Params, opts ...operations.ClientOption)) *MockClientService_GetReleaseV1_Call
func (*MockClientService_GetReleaseV1_Call) RunAndReturn ¶
func (_c *MockClientService_GetReleaseV1_Call) RunAndReturn(run func(*operations.GetReleaseV1Params, ...operations.ClientOption) (*operations.GetReleaseV1OK, error)) *MockClientService_GetReleaseV1_Call
type MockClientService_ListProductsV1_Call ¶
MockClientService_ListProductsV1_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListProductsV1'
func (*MockClientService_ListProductsV1_Call) Return ¶
func (_c *MockClientService_ListProductsV1_Call) Return(_a0 *operations.ListProductsV1OK, _a1 error) *MockClientService_ListProductsV1_Call
func (*MockClientService_ListProductsV1_Call) Run ¶
func (_c *MockClientService_ListProductsV1_Call) Run(run func(params *operations.ListProductsV1Params, opts ...operations.ClientOption)) *MockClientService_ListProductsV1_Call
func (*MockClientService_ListProductsV1_Call) RunAndReturn ¶
func (_c *MockClientService_ListProductsV1_Call) RunAndReturn(run func(*operations.ListProductsV1Params, ...operations.ClientOption) (*operations.ListProductsV1OK, error)) *MockClientService_ListProductsV1_Call
type MockClientService_ListReleasesV1_Call ¶
MockClientService_ListReleasesV1_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListReleasesV1'
func (*MockClientService_ListReleasesV1_Call) Return ¶
func (_c *MockClientService_ListReleasesV1_Call) Return(_a0 *operations.ListReleasesV1OK, _a1 error) *MockClientService_ListReleasesV1_Call
func (*MockClientService_ListReleasesV1_Call) Run ¶
func (_c *MockClientService_ListReleasesV1_Call) Run(run func(params *operations.ListReleasesV1Params, opts ...operations.ClientOption)) *MockClientService_ListReleasesV1_Call
func (*MockClientService_ListReleasesV1_Call) RunAndReturn ¶
func (_c *MockClientService_ListReleasesV1_Call) RunAndReturn(run func(*operations.ListReleasesV1Params, ...operations.ClientOption) (*operations.ListReleasesV1OK, error)) *MockClientService_ListReleasesV1_Call
type MockClientService_SetTransport_Call ¶
MockClientService_SetTransport_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetTransport'
func (*MockClientService_SetTransport_Call) Return ¶
func (_c *MockClientService_SetTransport_Call) Return() *MockClientService_SetTransport_Call
func (*MockClientService_SetTransport_Call) Run ¶
func (_c *MockClientService_SetTransport_Call) Run(run func(transport runtime.ClientTransport)) *MockClientService_SetTransport_Call
func (*MockClientService_SetTransport_Call) RunAndReturn ¶
func (_c *MockClientService_SetTransport_Call) RunAndReturn(run func(runtime.ClientTransport)) *MockClientService_SetTransport_Call