Documentation ¶
Index ¶
- type ClientOption
- type ClientService
- func (_m *ClientService) DeleteSwitch(params *clientswitch_operations.DeleteSwitchParams, ...) (*clientswitch_operations.DeleteSwitchOK, error)
- func (_m *ClientService) FindSwitch(params *clientswitch_operations.FindSwitchParams, ...) (*clientswitch_operations.FindSwitchOK, error)
- func (_m *ClientService) FindSwitches(params *clientswitch_operations.FindSwitchesParams, ...) (*clientswitch_operations.FindSwitchesOK, error)
- func (_m *ClientService) ListSwitches(params *clientswitch_operations.ListSwitchesParams, ...) (*clientswitch_operations.ListSwitchesOK, error)
- func (_m *ClientService) NotifySwitch(params *clientswitch_operations.NotifySwitchParams, ...) (*clientswitch_operations.NotifySwitchOK, error)
- func (_m *ClientService) RegisterSwitch(params *clientswitch_operations.RegisterSwitchParams, ...) (*clientswitch_operations.RegisterSwitchOK, ...)
- func (_m *ClientService) SetTransport(transport runtime.ClientTransport)
- func (_m *ClientService) ToggleSwitchPort(params *clientswitch_operations.ToggleSwitchPortParams, ...) (*clientswitch_operations.ToggleSwitchPortOK, error)
- func (_m *ClientService) UpdateSwitch(params *clientswitch_operations.UpdateSwitchParams, ...) (*clientswitch_operations.UpdateSwitchOK, 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) DeleteSwitch ¶
func (_m *ClientService) DeleteSwitch(params *clientswitch_operations.DeleteSwitchParams, authInfo runtime.ClientAuthInfoWriter, opts ...clientswitch_operations.ClientOption) (*clientswitch_operations.DeleteSwitchOK, error)
DeleteSwitch provides a mock function with given fields: params, authInfo, opts
func (*ClientService) FindSwitch ¶
func (_m *ClientService) FindSwitch(params *clientswitch_operations.FindSwitchParams, authInfo runtime.ClientAuthInfoWriter, opts ...clientswitch_operations.ClientOption) (*clientswitch_operations.FindSwitchOK, error)
FindSwitch provides a mock function with given fields: params, authInfo, opts
func (*ClientService) FindSwitches ¶ added in v0.22.1
func (_m *ClientService) FindSwitches(params *clientswitch_operations.FindSwitchesParams, authInfo runtime.ClientAuthInfoWriter, opts ...clientswitch_operations.ClientOption) (*clientswitch_operations.FindSwitchesOK, error)
FindSwitches provides a mock function with given fields: params, authInfo, opts
func (*ClientService) ListSwitches ¶
func (_m *ClientService) ListSwitches(params *clientswitch_operations.ListSwitchesParams, authInfo runtime.ClientAuthInfoWriter, opts ...clientswitch_operations.ClientOption) (*clientswitch_operations.ListSwitchesOK, error)
ListSwitches provides a mock function with given fields: params, authInfo, opts
func (*ClientService) NotifySwitch ¶
func (_m *ClientService) NotifySwitch(params *clientswitch_operations.NotifySwitchParams, authInfo runtime.ClientAuthInfoWriter, opts ...clientswitch_operations.ClientOption) (*clientswitch_operations.NotifySwitchOK, error)
NotifySwitch provides a mock function with given fields: params, authInfo, opts
func (*ClientService) RegisterSwitch ¶
func (_m *ClientService) RegisterSwitch(params *clientswitch_operations.RegisterSwitchParams, authInfo runtime.ClientAuthInfoWriter, opts ...clientswitch_operations.ClientOption) (*clientswitch_operations.RegisterSwitchOK, *clientswitch_operations.RegisterSwitchCreated, error)
RegisterSwitch 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) ToggleSwitchPort ¶ added in v0.28.5
func (_m *ClientService) ToggleSwitchPort(params *clientswitch_operations.ToggleSwitchPortParams, authInfo runtime.ClientAuthInfoWriter, opts ...clientswitch_operations.ClientOption) (*clientswitch_operations.ToggleSwitchPortOK, error)
ToggleSwitchPort provides a mock function with given fields: params, authInfo, opts
func (*ClientService) UpdateSwitch ¶
func (_m *ClientService) UpdateSwitch(params *clientswitch_operations.UpdateSwitchParams, authInfo runtime.ClientAuthInfoWriter, opts ...clientswitch_operations.ClientOption) (*clientswitch_operations.UpdateSwitchOK, error)
UpdateSwitch provides a mock function with given fields: params, authInfo, opts