ip

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) 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

type ClientService_AllocateIP_Call struct {
	*mock.Call
}

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

func (*ClientService_AllocateIP_Call) RunAndReturn added in v0.42.4

type ClientService_AllocateSpecificIP_Call added in v0.42.4

type ClientService_AllocateSpecificIP_Call struct {
	*mock.Call
}

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

func (*ClientService_AllocateSpecificIP_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) 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

type ClientService_FindIP_Call struct {
	*mock.Call
}

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

func (*ClientService_FindIP_Call) RunAndReturn added in v0.42.4

type ClientService_FindIPs_Call added in v0.42.4

type ClientService_FindIPs_Call struct {
	*mock.Call
}

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

func (*ClientService_FindIPs_Call) RunAndReturn added in v0.42.4

type ClientService_FreeIP_Call added in v0.42.4

type ClientService_FreeIP_Call struct {
	*mock.Call
}

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

func (*ClientService_FreeIP_Call) RunAndReturn added in v0.42.4

type ClientService_ListIPs_Call added in v0.42.4

type ClientService_ListIPs_Call struct {
	*mock.Call
}

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

func (*ClientService_ListIPs_Call) RunAndReturn 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_UpdateIP_Call added in v0.42.4

type ClientService_UpdateIP_Call struct {
	*mock.Call
}

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

func (*ClientService_UpdateIP_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