switch_operations

package
v0.43.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 26, 2026 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ClientService

type ClientService struct {
	mock.Mock
}

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

DeleteSwitch provides a mock function for the type ClientService

func (*ClientService) EXPECT added in v0.42.4

func (_m *ClientService) EXPECT() *ClientService_Expecter

func (*ClientService) FindSwitch

FindSwitch provides a mock function for the type ClientService

func (*ClientService) FindSwitches added in v0.22.1

FindSwitches provides a mock function for the type ClientService

func (*ClientService) ListSwitches

ListSwitches provides a mock function for the type ClientService

func (*ClientService) MigrateSwitch added in v0.38.0

MigrateSwitch provides a mock function for the type ClientService

func (*ClientService) NotifySwitch

NotifySwitch provides a mock function for the type ClientService

func (*ClientService) RegisterSwitch

RegisterSwitch 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) ToggleSwitchPort added in v0.28.5

ToggleSwitchPort provides a mock function for the type ClientService

func (*ClientService) UpdateSwitch

UpdateSwitch provides a mock function for the type ClientService

type ClientService_DeleteSwitch_Call added in v0.42.4

type ClientService_DeleteSwitch_Call struct {
	*mock.Call
}

ClientService_DeleteSwitch_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteSwitch'

func (*ClientService_DeleteSwitch_Call) Return added in v0.42.4

func (*ClientService_DeleteSwitch_Call) Run added in v0.42.4

func (*ClientService_DeleteSwitch_Call) RunAndReturn added in v0.42.4

type ClientService_Expecter added in v0.42.4

type ClientService_Expecter struct {
	// contains filtered or unexported fields
}

func (*ClientService_Expecter) DeleteSwitch added in v0.42.4

func (_e *ClientService_Expecter) DeleteSwitch(params interface{}, authInfo interface{}, opts ...interface{}) *ClientService_DeleteSwitch_Call

DeleteSwitch is a helper method to define mock.On call

  • params *switch_operations.DeleteSwitchParams
  • authInfo runtime.ClientAuthInfoWriter
  • opts ...switch_operations.ClientOption

func (*ClientService_Expecter) FindSwitch added in v0.42.4

func (_e *ClientService_Expecter) FindSwitch(params interface{}, authInfo interface{}, opts ...interface{}) *ClientService_FindSwitch_Call

FindSwitch is a helper method to define mock.On call

  • params *switch_operations.FindSwitchParams
  • authInfo runtime.ClientAuthInfoWriter
  • opts ...switch_operations.ClientOption

func (*ClientService_Expecter) FindSwitches added in v0.42.4

func (_e *ClientService_Expecter) FindSwitches(params interface{}, authInfo interface{}, opts ...interface{}) *ClientService_FindSwitches_Call

FindSwitches is a helper method to define mock.On call

  • params *switch_operations.FindSwitchesParams
  • authInfo runtime.ClientAuthInfoWriter
  • opts ...switch_operations.ClientOption

func (*ClientService_Expecter) ListSwitches added in v0.42.4

func (_e *ClientService_Expecter) ListSwitches(params interface{}, authInfo interface{}, opts ...interface{}) *ClientService_ListSwitches_Call

ListSwitches is a helper method to define mock.On call

  • params *switch_operations.ListSwitchesParams
  • authInfo runtime.ClientAuthInfoWriter
  • opts ...switch_operations.ClientOption

func (*ClientService_Expecter) MigrateSwitch added in v0.42.4

func (_e *ClientService_Expecter) MigrateSwitch(params interface{}, authInfo interface{}, opts ...interface{}) *ClientService_MigrateSwitch_Call

MigrateSwitch is a helper method to define mock.On call

  • params *switch_operations.MigrateSwitchParams
  • authInfo runtime.ClientAuthInfoWriter
  • opts ...switch_operations.ClientOption

func (*ClientService_Expecter) NotifySwitch added in v0.42.4

func (_e *ClientService_Expecter) NotifySwitch(params interface{}, authInfo interface{}, opts ...interface{}) *ClientService_NotifySwitch_Call

NotifySwitch is a helper method to define mock.On call

  • params *switch_operations.NotifySwitchParams
  • authInfo runtime.ClientAuthInfoWriter
  • opts ...switch_operations.ClientOption

func (*ClientService_Expecter) RegisterSwitch added in v0.42.4

func (_e *ClientService_Expecter) RegisterSwitch(params interface{}, authInfo interface{}, opts ...interface{}) *ClientService_RegisterSwitch_Call

RegisterSwitch is a helper method to define mock.On call

  • params *switch_operations.RegisterSwitchParams
  • authInfo runtime.ClientAuthInfoWriter
  • opts ...switch_operations.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) ToggleSwitchPort added in v0.42.4

func (_e *ClientService_Expecter) ToggleSwitchPort(params interface{}, authInfo interface{}, opts ...interface{}) *ClientService_ToggleSwitchPort_Call

ToggleSwitchPort is a helper method to define mock.On call

  • params *switch_operations.ToggleSwitchPortParams
  • authInfo runtime.ClientAuthInfoWriter
  • opts ...switch_operations.ClientOption

func (*ClientService_Expecter) UpdateSwitch added in v0.42.4

func (_e *ClientService_Expecter) UpdateSwitch(params interface{}, authInfo interface{}, opts ...interface{}) *ClientService_UpdateSwitch_Call

UpdateSwitch is a helper method to define mock.On call

  • params *switch_operations.UpdateSwitchParams
  • authInfo runtime.ClientAuthInfoWriter
  • opts ...switch_operations.ClientOption

type ClientService_FindSwitch_Call added in v0.42.4

type ClientService_FindSwitch_Call struct {
	*mock.Call
}

ClientService_FindSwitch_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'FindSwitch'

func (*ClientService_FindSwitch_Call) Return added in v0.42.4

func (*ClientService_FindSwitch_Call) Run added in v0.42.4

func (*ClientService_FindSwitch_Call) RunAndReturn added in v0.42.4

type ClientService_FindSwitches_Call added in v0.42.4

type ClientService_FindSwitches_Call struct {
	*mock.Call
}

ClientService_FindSwitches_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'FindSwitches'

func (*ClientService_FindSwitches_Call) Return added in v0.42.4

func (*ClientService_FindSwitches_Call) Run added in v0.42.4

func (*ClientService_FindSwitches_Call) RunAndReturn added in v0.42.4

type ClientService_ListSwitches_Call added in v0.42.4

type ClientService_ListSwitches_Call struct {
	*mock.Call
}

ClientService_ListSwitches_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListSwitches'

func (*ClientService_ListSwitches_Call) Return added in v0.42.4

func (*ClientService_ListSwitches_Call) Run added in v0.42.4

func (*ClientService_ListSwitches_Call) RunAndReturn added in v0.42.4

type ClientService_MigrateSwitch_Call added in v0.42.4

type ClientService_MigrateSwitch_Call struct {
	*mock.Call
}

ClientService_MigrateSwitch_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'MigrateSwitch'

func (*ClientService_MigrateSwitch_Call) Return added in v0.42.4

func (*ClientService_MigrateSwitch_Call) Run added in v0.42.4

func (*ClientService_MigrateSwitch_Call) RunAndReturn added in v0.42.4

type ClientService_NotifySwitch_Call added in v0.42.4

type ClientService_NotifySwitch_Call struct {
	*mock.Call
}

ClientService_NotifySwitch_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'NotifySwitch'

func (*ClientService_NotifySwitch_Call) Return added in v0.42.4

func (*ClientService_NotifySwitch_Call) Run added in v0.42.4

func (*ClientService_NotifySwitch_Call) RunAndReturn added in v0.42.4

type ClientService_RegisterSwitch_Call added in v0.42.4

type ClientService_RegisterSwitch_Call struct {
	*mock.Call
}

ClientService_RegisterSwitch_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RegisterSwitch'

func (*ClientService_RegisterSwitch_Call) Return added in v0.42.4

func (*ClientService_RegisterSwitch_Call) Run added in v0.42.4

type ClientService_SetTransport_Call added in v0.42.4

type ClientService_SetTransport_Call struct {
	*mock.Call
}

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 (*ClientService_SetTransport_Call) Run added in v0.42.4

func (*ClientService_SetTransport_Call) RunAndReturn added in v0.42.4

type ClientService_ToggleSwitchPort_Call added in v0.42.4

type ClientService_ToggleSwitchPort_Call struct {
	*mock.Call
}

ClientService_ToggleSwitchPort_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ToggleSwitchPort'

func (*ClientService_ToggleSwitchPort_Call) Return added in v0.42.4

func (*ClientService_ToggleSwitchPort_Call) Run added in v0.42.4

type ClientService_UpdateSwitch_Call added in v0.42.4

type ClientService_UpdateSwitch_Call struct {
	*mock.Call
}

ClientService_UpdateSwitch_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateSwitch'

func (*ClientService_UpdateSwitch_Call) Return added in v0.42.4

func (*ClientService_UpdateSwitch_Call) Run added in v0.42.4

func (*ClientService_UpdateSwitch_Call) RunAndReturn added in v0.42.4

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL