Documentation ¶
Index ¶
- type ClientOption
- type ClientService
- func (_m *ClientService) AllocateIP(params *clientip.AllocateIPParams, authInfo runtime.ClientAuthInfoWriter, ...) (*clientip.AllocateIPCreated, error)
- func (_m *ClientService) AllocateSpecificIP(params *clientip.AllocateSpecificIPParams, ...) (*clientip.AllocateSpecificIPCreated, error)
- func (_m *ClientService) FindIP(params *clientip.FindIPParams, authInfo runtime.ClientAuthInfoWriter, ...) (*clientip.FindIPOK, error)
- func (_m *ClientService) FindIPs(params *clientip.FindIPsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*clientip.FindIPsOK, error)
- func (_m *ClientService) FreeIP(params *clientip.FreeIPParams, authInfo runtime.ClientAuthInfoWriter, ...) (*clientip.FreeIPOK, error)
- func (_m *ClientService) ListIPs(params *clientip.ListIPsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*clientip.ListIPsOK, error)
- func (_m *ClientService) SetTransport(transport runtime.ClientTransport)
- func (_m *ClientService) UpdateIP(params *clientip.UpdateIPParams, authInfo runtime.ClientAuthInfoWriter, ...) (*clientip.UpdateIPOK, 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 interface { mock.TestingT Cleanup(func()) }) *ClientOption
NewClientOption creates a new instance of ClientOption. 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 (*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 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 (_m *ClientService) AllocateIP(params *clientip.AllocateIPParams, authInfo runtime.ClientAuthInfoWriter, opts ...clientip.ClientOption) (*clientip.AllocateIPCreated, error)
AllocateIP provides a mock function with given fields: params, authInfo, opts
func (*ClientService) AllocateSpecificIP ¶
func (_m *ClientService) AllocateSpecificIP(params *clientip.AllocateSpecificIPParams, authInfo runtime.ClientAuthInfoWriter, opts ...clientip.ClientOption) (*clientip.AllocateSpecificIPCreated, error)
AllocateSpecificIP provides a mock function with given fields: params, authInfo, opts
func (*ClientService) FindIP ¶
func (_m *ClientService) FindIP(params *clientip.FindIPParams, authInfo runtime.ClientAuthInfoWriter, opts ...clientip.ClientOption) (*clientip.FindIPOK, error)
FindIP provides a mock function with given fields: params, authInfo, opts
func (*ClientService) FindIPs ¶
func (_m *ClientService) FindIPs(params *clientip.FindIPsParams, authInfo runtime.ClientAuthInfoWriter, opts ...clientip.ClientOption) (*clientip.FindIPsOK, error)
FindIPs provides a mock function with given fields: params, authInfo, opts
func (*ClientService) FreeIP ¶
func (_m *ClientService) FreeIP(params *clientip.FreeIPParams, authInfo runtime.ClientAuthInfoWriter, opts ...clientip.ClientOption) (*clientip.FreeIPOK, error)
FreeIP provides a mock function with given fields: params, authInfo, opts
func (*ClientService) ListIPs ¶
func (_m *ClientService) ListIPs(params *clientip.ListIPsParams, authInfo runtime.ClientAuthInfoWriter, opts ...clientip.ClientOption) (*clientip.ListIPsOK, error)
ListIPs 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) UpdateIP ¶
func (_m *ClientService) UpdateIP(params *clientip.UpdateIPParams, authInfo runtime.ClientAuthInfoWriter, opts ...clientip.ClientOption) (*clientip.UpdateIPOK, error)
UpdateIP provides a mock function with given fields: params, authInfo, opts