Documentation
¶
Index ¶
- type ClientService
- func (_mock *ClientService) AllocateIP(params *ip.AllocateIPParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ip.AllocateIPCreated, error)
- func (_mock *ClientService) AllocateSpecificIP(params *ip.AllocateSpecificIPParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ip.AllocateSpecificIPCreated, error)
- func (_m *ClientService) EXPECT() *ClientService_Expecter
- func (_mock *ClientService) FindIP(params *ip.FindIPParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ip.FindIPOK, error)
- func (_mock *ClientService) FindIPs(params *ip.FindIPsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ip.FindIPsOK, error)
- func (_mock *ClientService) FreeIP(params *ip.FreeIPParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ip.FreeIPOK, error)
- func (_mock *ClientService) ListIPs(params *ip.ListIPsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ip.ListIPsOK, error)
- func (_mock *ClientService) SetTransport(transport runtime.ClientTransport)
- func (_mock *ClientService) UpdateIP(params *ip.UpdateIPParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ip.UpdateIPOK, error)
- type ClientService_AllocateIP_Call
- func (_c *ClientService_AllocateIP_Call) Return(allocateIPCreated *ip.AllocateIPCreated, err error) *ClientService_AllocateIP_Call
- func (_c *ClientService_AllocateIP_Call) Run(...) *ClientService_AllocateIP_Call
- func (_c *ClientService_AllocateIP_Call) RunAndReturn(...) *ClientService_AllocateIP_Call
- type ClientService_AllocateSpecificIP_Call
- func (_c *ClientService_AllocateSpecificIP_Call) Return(allocateSpecificIPCreated *ip.AllocateSpecificIPCreated, err error) *ClientService_AllocateSpecificIP_Call
- func (_c *ClientService_AllocateSpecificIP_Call) Run(...) *ClientService_AllocateSpecificIP_Call
- func (_c *ClientService_AllocateSpecificIP_Call) RunAndReturn(...) *ClientService_AllocateSpecificIP_Call
- type ClientService_Expecter
- func (_e *ClientService_Expecter) AllocateIP(params interface{}, authInfo interface{}, opts ...interface{}) *ClientService_AllocateIP_Call
- func (_e *ClientService_Expecter) AllocateSpecificIP(params interface{}, authInfo interface{}, opts ...interface{}) *ClientService_AllocateSpecificIP_Call
- func (_e *ClientService_Expecter) FindIP(params interface{}, authInfo interface{}, opts ...interface{}) *ClientService_FindIP_Call
- func (_e *ClientService_Expecter) FindIPs(params interface{}, authInfo interface{}, opts ...interface{}) *ClientService_FindIPs_Call
- func (_e *ClientService_Expecter) FreeIP(params interface{}, authInfo interface{}, opts ...interface{}) *ClientService_FreeIP_Call
- func (_e *ClientService_Expecter) ListIPs(params interface{}, authInfo interface{}, opts ...interface{}) *ClientService_ListIPs_Call
- func (_e *ClientService_Expecter) SetTransport(transport interface{}) *ClientService_SetTransport_Call
- func (_e *ClientService_Expecter) UpdateIP(params interface{}, authInfo interface{}, opts ...interface{}) *ClientService_UpdateIP_Call
- type ClientService_FindIP_Call
- func (_c *ClientService_FindIP_Call) Return(findIPOK *ip.FindIPOK, err error) *ClientService_FindIP_Call
- func (_c *ClientService_FindIP_Call) Run(run func(params *ip.FindIPParams, authInfo runtime.ClientAuthInfoWriter, ...)) *ClientService_FindIP_Call
- func (_c *ClientService_FindIP_Call) RunAndReturn(...) *ClientService_FindIP_Call
- type ClientService_FindIPs_Call
- func (_c *ClientService_FindIPs_Call) Return(findIPsOK *ip.FindIPsOK, err error) *ClientService_FindIPs_Call
- func (_c *ClientService_FindIPs_Call) Run(run func(params *ip.FindIPsParams, authInfo runtime.ClientAuthInfoWriter, ...)) *ClientService_FindIPs_Call
- func (_c *ClientService_FindIPs_Call) RunAndReturn(...) *ClientService_FindIPs_Call
- type ClientService_FreeIP_Call
- func (_c *ClientService_FreeIP_Call) Return(freeIPOK *ip.FreeIPOK, err error) *ClientService_FreeIP_Call
- func (_c *ClientService_FreeIP_Call) Run(run func(params *ip.FreeIPParams, authInfo runtime.ClientAuthInfoWriter, ...)) *ClientService_FreeIP_Call
- func (_c *ClientService_FreeIP_Call) RunAndReturn(...) *ClientService_FreeIP_Call
- type ClientService_ListIPs_Call
- func (_c *ClientService_ListIPs_Call) Return(listIPsOK *ip.ListIPsOK, err error) *ClientService_ListIPs_Call
- func (_c *ClientService_ListIPs_Call) Run(run func(params *ip.ListIPsParams, authInfo runtime.ClientAuthInfoWriter, ...)) *ClientService_ListIPs_Call
- func (_c *ClientService_ListIPs_Call) RunAndReturn(...) *ClientService_ListIPs_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_UpdateIP_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) AllocateIP ¶
func (_mock *ClientService) AllocateIP(params *ip.AllocateIPParams, authInfo runtime.ClientAuthInfoWriter, opts ...ip.ClientOption) (*ip.AllocateIPCreated, error)
AllocateIP provides a mock function for the type ClientService
func (*ClientService) AllocateSpecificIP ¶
func (_mock *ClientService) AllocateSpecificIP(params *ip.AllocateSpecificIPParams, authInfo runtime.ClientAuthInfoWriter, opts ...ip.ClientOption) (*ip.AllocateSpecificIPCreated, error)
AllocateSpecificIP provides a mock function for the type ClientService
func (*ClientService) EXPECT ¶ added in v0.42.4
func (_m *ClientService) EXPECT() *ClientService_Expecter
func (*ClientService) FindIP ¶
func (_mock *ClientService) FindIP(params *ip.FindIPParams, authInfo runtime.ClientAuthInfoWriter, opts ...ip.ClientOption) (*ip.FindIPOK, error)
FindIP provides a mock function for the type ClientService
func (*ClientService) FindIPs ¶
func (_mock *ClientService) FindIPs(params *ip.FindIPsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ip.ClientOption) (*ip.FindIPsOK, error)
FindIPs provides a mock function for the type ClientService
func (*ClientService) FreeIP ¶
func (_mock *ClientService) FreeIP(params *ip.FreeIPParams, authInfo runtime.ClientAuthInfoWriter, opts ...ip.ClientOption) (*ip.FreeIPOK, error)
FreeIP provides a mock function for the type ClientService
func (*ClientService) ListIPs ¶
func (_mock *ClientService) ListIPs(params *ip.ListIPsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ip.ClientOption) (*ip.ListIPsOK, error)
ListIPs 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) UpdateIP ¶
func (_mock *ClientService) UpdateIP(params *ip.UpdateIPParams, authInfo runtime.ClientAuthInfoWriter, opts ...ip.ClientOption) (*ip.UpdateIPOK, error)
UpdateIP provides a mock function for the type ClientService
type ClientService_AllocateIP_Call ¶ added in v0.42.4
ClientService_AllocateIP_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AllocateIP'
func (*ClientService_AllocateIP_Call) Return ¶ added in v0.42.4
func (_c *ClientService_AllocateIP_Call) Return(allocateIPCreated *ip.AllocateIPCreated, err error) *ClientService_AllocateIP_Call
func (*ClientService_AllocateIP_Call) Run ¶ added in v0.42.4
func (_c *ClientService_AllocateIP_Call) Run(run func(params *ip.AllocateIPParams, authInfo runtime.ClientAuthInfoWriter, opts ...ip.ClientOption)) *ClientService_AllocateIP_Call
func (*ClientService_AllocateIP_Call) RunAndReturn ¶ added in v0.42.4
func (_c *ClientService_AllocateIP_Call) RunAndReturn(run func(params *ip.AllocateIPParams, authInfo runtime.ClientAuthInfoWriter, opts ...ip.ClientOption) (*ip.AllocateIPCreated, error)) *ClientService_AllocateIP_Call
type ClientService_AllocateSpecificIP_Call ¶ added in v0.42.4
ClientService_AllocateSpecificIP_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AllocateSpecificIP'
func (*ClientService_AllocateSpecificIP_Call) Return ¶ added in v0.42.4
func (_c *ClientService_AllocateSpecificIP_Call) Return(allocateSpecificIPCreated *ip.AllocateSpecificIPCreated, err error) *ClientService_AllocateSpecificIP_Call
func (*ClientService_AllocateSpecificIP_Call) Run ¶ added in v0.42.4
func (_c *ClientService_AllocateSpecificIP_Call) Run(run func(params *ip.AllocateSpecificIPParams, authInfo runtime.ClientAuthInfoWriter, opts ...ip.ClientOption)) *ClientService_AllocateSpecificIP_Call
func (*ClientService_AllocateSpecificIP_Call) RunAndReturn ¶ added in v0.42.4
func (_c *ClientService_AllocateSpecificIP_Call) RunAndReturn(run func(params *ip.AllocateSpecificIPParams, authInfo runtime.ClientAuthInfoWriter, opts ...ip.ClientOption) (*ip.AllocateSpecificIPCreated, error)) *ClientService_AllocateSpecificIP_Call
type ClientService_Expecter ¶ added in v0.42.4
type ClientService_Expecter struct {
// contains filtered or unexported fields
}
func (*ClientService_Expecter) AllocateIP ¶ added in v0.42.4
func (_e *ClientService_Expecter) AllocateIP(params interface{}, authInfo interface{}, opts ...interface{}) *ClientService_AllocateIP_Call
AllocateIP is a helper method to define mock.On call
- params *ip.AllocateIPParams
- authInfo runtime.ClientAuthInfoWriter
- opts ...ip.ClientOption
func (*ClientService_Expecter) AllocateSpecificIP ¶ added in v0.42.4
func (_e *ClientService_Expecter) AllocateSpecificIP(params interface{}, authInfo interface{}, opts ...interface{}) *ClientService_AllocateSpecificIP_Call
AllocateSpecificIP is a helper method to define mock.On call
- params *ip.AllocateSpecificIPParams
- authInfo runtime.ClientAuthInfoWriter
- opts ...ip.ClientOption
func (*ClientService_Expecter) FindIP ¶ added in v0.42.4
func (_e *ClientService_Expecter) FindIP(params interface{}, authInfo interface{}, opts ...interface{}) *ClientService_FindIP_Call
FindIP is a helper method to define mock.On call
- params *ip.FindIPParams
- authInfo runtime.ClientAuthInfoWriter
- opts ...ip.ClientOption
func (*ClientService_Expecter) FindIPs ¶ added in v0.42.4
func (_e *ClientService_Expecter) FindIPs(params interface{}, authInfo interface{}, opts ...interface{}) *ClientService_FindIPs_Call
FindIPs is a helper method to define mock.On call
- params *ip.FindIPsParams
- authInfo runtime.ClientAuthInfoWriter
- opts ...ip.ClientOption
func (*ClientService_Expecter) FreeIP ¶ added in v0.42.4
func (_e *ClientService_Expecter) FreeIP(params interface{}, authInfo interface{}, opts ...interface{}) *ClientService_FreeIP_Call
FreeIP is a helper method to define mock.On call
- params *ip.FreeIPParams
- authInfo runtime.ClientAuthInfoWriter
- opts ...ip.ClientOption
func (*ClientService_Expecter) ListIPs ¶ added in v0.42.4
func (_e *ClientService_Expecter) ListIPs(params interface{}, authInfo interface{}, opts ...interface{}) *ClientService_ListIPs_Call
ListIPs is a helper method to define mock.On call
- params *ip.ListIPsParams
- authInfo runtime.ClientAuthInfoWriter
- opts ...ip.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) UpdateIP ¶ added in v0.42.4
func (_e *ClientService_Expecter) UpdateIP(params interface{}, authInfo interface{}, opts ...interface{}) *ClientService_UpdateIP_Call
UpdateIP is a helper method to define mock.On call
- params *ip.UpdateIPParams
- authInfo runtime.ClientAuthInfoWriter
- opts ...ip.ClientOption
type ClientService_FindIP_Call ¶ added in v0.42.4
ClientService_FindIP_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'FindIP'
func (*ClientService_FindIP_Call) Return ¶ added in v0.42.4
func (_c *ClientService_FindIP_Call) Return(findIPOK *ip.FindIPOK, err error) *ClientService_FindIP_Call
func (*ClientService_FindIP_Call) Run ¶ added in v0.42.4
func (_c *ClientService_FindIP_Call) Run(run func(params *ip.FindIPParams, authInfo runtime.ClientAuthInfoWriter, opts ...ip.ClientOption)) *ClientService_FindIP_Call
func (*ClientService_FindIP_Call) RunAndReturn ¶ added in v0.42.4
func (_c *ClientService_FindIP_Call) RunAndReturn(run func(params *ip.FindIPParams, authInfo runtime.ClientAuthInfoWriter, opts ...ip.ClientOption) (*ip.FindIPOK, error)) *ClientService_FindIP_Call
type ClientService_FindIPs_Call ¶ added in v0.42.4
ClientService_FindIPs_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'FindIPs'
func (*ClientService_FindIPs_Call) Return ¶ added in v0.42.4
func (_c *ClientService_FindIPs_Call) Return(findIPsOK *ip.FindIPsOK, err error) *ClientService_FindIPs_Call
func (*ClientService_FindIPs_Call) Run ¶ added in v0.42.4
func (_c *ClientService_FindIPs_Call) Run(run func(params *ip.FindIPsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ip.ClientOption)) *ClientService_FindIPs_Call
func (*ClientService_FindIPs_Call) RunAndReturn ¶ added in v0.42.4
func (_c *ClientService_FindIPs_Call) RunAndReturn(run func(params *ip.FindIPsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ip.ClientOption) (*ip.FindIPsOK, error)) *ClientService_FindIPs_Call
type ClientService_FreeIP_Call ¶ added in v0.42.4
ClientService_FreeIP_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'FreeIP'
func (*ClientService_FreeIP_Call) Return ¶ added in v0.42.4
func (_c *ClientService_FreeIP_Call) Return(freeIPOK *ip.FreeIPOK, err error) *ClientService_FreeIP_Call
func (*ClientService_FreeIP_Call) Run ¶ added in v0.42.4
func (_c *ClientService_FreeIP_Call) Run(run func(params *ip.FreeIPParams, authInfo runtime.ClientAuthInfoWriter, opts ...ip.ClientOption)) *ClientService_FreeIP_Call
func (*ClientService_FreeIP_Call) RunAndReturn ¶ added in v0.42.4
func (_c *ClientService_FreeIP_Call) RunAndReturn(run func(params *ip.FreeIPParams, authInfo runtime.ClientAuthInfoWriter, opts ...ip.ClientOption) (*ip.FreeIPOK, error)) *ClientService_FreeIP_Call
type ClientService_ListIPs_Call ¶ added in v0.42.4
ClientService_ListIPs_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListIPs'
func (*ClientService_ListIPs_Call) Return ¶ added in v0.42.4
func (_c *ClientService_ListIPs_Call) Return(listIPsOK *ip.ListIPsOK, err error) *ClientService_ListIPs_Call
func (*ClientService_ListIPs_Call) Run ¶ added in v0.42.4
func (_c *ClientService_ListIPs_Call) Run(run func(params *ip.ListIPsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ip.ClientOption)) *ClientService_ListIPs_Call
func (*ClientService_ListIPs_Call) RunAndReturn ¶ added in v0.42.4
func (_c *ClientService_ListIPs_Call) RunAndReturn(run func(params *ip.ListIPsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ip.ClientOption) (*ip.ListIPsOK, error)) *ClientService_ListIPs_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_UpdateIP_Call ¶ added in v0.42.4
ClientService_UpdateIP_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateIP'
func (*ClientService_UpdateIP_Call) Return ¶ added in v0.42.4
func (_c *ClientService_UpdateIP_Call) Return(updateIPOK *ip.UpdateIPOK, err error) *ClientService_UpdateIP_Call
func (*ClientService_UpdateIP_Call) Run ¶ added in v0.42.4
func (_c *ClientService_UpdateIP_Call) Run(run func(params *ip.UpdateIPParams, authInfo runtime.ClientAuthInfoWriter, opts ...ip.ClientOption)) *ClientService_UpdateIP_Call
func (*ClientService_UpdateIP_Call) RunAndReturn ¶ added in v0.42.4
func (_c *ClientService_UpdateIP_Call) RunAndReturn(run func(params *ip.UpdateIPParams, authInfo runtime.ClientAuthInfoWriter, opts ...ip.ClientOption) (*ip.UpdateIPOK, error)) *ClientService_UpdateIP_Call