Help us shape the future of Go! Take the 2026 Go Developer Survey

networking

package
v0.193.0 Latest Latest
Warning

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

Go to latest
Published: Nov 3, 2026 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockCreatePrivateNetworkGatewayOperationInterface

type MockCreatePrivateNetworkGatewayOperationInterface struct {
	mock.Mock
}

MockCreatePrivateNetworkGatewayOperationInterface is an autogenerated mock type for the CreatePrivateNetworkGatewayOperationInterface type

func NewMockCreatePrivateNetworkGatewayOperationInterface

func NewMockCreatePrivateNetworkGatewayOperationInterface(t interface {
	mock.TestingT
	Cleanup(func())
}) *MockCreatePrivateNetworkGatewayOperationInterface

NewMockCreatePrivateNetworkGatewayOperationInterface creates a new instance of MockCreatePrivateNetworkGatewayOperationInterface. 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 (*MockCreatePrivateNetworkGatewayOperationInterface) Done

Done provides a mock function for the type MockCreatePrivateNetworkGatewayOperationInterface

func (*MockCreatePrivateNetworkGatewayOperationInterface) EXPECT

func (*MockCreatePrivateNetworkGatewayOperationInterface) Metadata

Metadata provides a mock function for the type MockCreatePrivateNetworkGatewayOperationInterface

func (*MockCreatePrivateNetworkGatewayOperationInterface) Name

Name provides a mock function for the type MockCreatePrivateNetworkGatewayOperationInterface

func (*MockCreatePrivateNetworkGatewayOperationInterface) Wait

Wait provides a mock function for the type MockCreatePrivateNetworkGatewayOperationInterface

type MockCreatePrivateNetworkGatewayOperationInterface_Done_Call

type MockCreatePrivateNetworkGatewayOperationInterface_Done_Call struct {
	*mock.Call
}

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

func (*MockCreatePrivateNetworkGatewayOperationInterface_Done_Call) Return

func (*MockCreatePrivateNetworkGatewayOperationInterface_Done_Call) Run

func (*MockCreatePrivateNetworkGatewayOperationInterface_Done_Call) RunAndReturn

type MockCreatePrivateNetworkGatewayOperationInterface_Expecter

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

func (*MockCreatePrivateNetworkGatewayOperationInterface_Expecter) Done

Done is a helper method to define mock.On call

func (*MockCreatePrivateNetworkGatewayOperationInterface_Expecter) Metadata

Metadata is a helper method to define mock.On call

func (*MockCreatePrivateNetworkGatewayOperationInterface_Expecter) Name

Name is a helper method to define mock.On call

func (*MockCreatePrivateNetworkGatewayOperationInterface_Expecter) Wait

Wait is a helper method to define mock.On call

  • ctx context.Context
  • opts ...api.Option

type MockCreatePrivateNetworkGatewayOperationInterface_Metadata_Call

type MockCreatePrivateNetworkGatewayOperationInterface_Metadata_Call struct {
	*mock.Call
}

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

func (*MockCreatePrivateNetworkGatewayOperationInterface_Metadata_Call) Return

func (*MockCreatePrivateNetworkGatewayOperationInterface_Metadata_Call) Run

type MockCreatePrivateNetworkGatewayOperationInterface_Name_Call

type MockCreatePrivateNetworkGatewayOperationInterface_Name_Call struct {
	*mock.Call
}

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

func (*MockCreatePrivateNetworkGatewayOperationInterface_Name_Call) Return

func (*MockCreatePrivateNetworkGatewayOperationInterface_Name_Call) Run

func (*MockCreatePrivateNetworkGatewayOperationInterface_Name_Call) RunAndReturn

type MockCreatePrivateNetworkGatewayOperationInterface_Wait_Call

type MockCreatePrivateNetworkGatewayOperationInterface_Wait_Call struct {
	*mock.Call
}

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

func (*MockCreatePrivateNetworkGatewayOperationInterface_Wait_Call) Return

func (*MockCreatePrivateNetworkGatewayOperationInterface_Wait_Call) Run

func (*MockCreatePrivateNetworkGatewayOperationInterface_Wait_Call) RunAndReturn

type MockEndpointsInterface

type MockEndpointsInterface struct {
	mock.Mock
}

MockEndpointsInterface is an autogenerated mock type for the EndpointsInterface type

func NewMockEndpointsInterface

func NewMockEndpointsInterface(t interface {
	mock.TestingT
	Cleanup(func())
}) *MockEndpointsInterface

NewMockEndpointsInterface creates a new instance of MockEndpointsInterface. 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 (*MockEndpointsInterface) CreateEndpoint

CreateEndpoint provides a mock function for the type MockEndpointsInterface

func (*MockEndpointsInterface) DeleteEndpoint

func (_mock *MockEndpointsInterface) DeleteEndpoint(ctx context.Context, request networking.DeleteEndpointRequest) error

DeleteEndpoint provides a mock function for the type MockEndpointsInterface

func (*MockEndpointsInterface) EXPECT

func (*MockEndpointsInterface) GetEndpoint

GetEndpoint provides a mock function for the type MockEndpointsInterface

func (*MockEndpointsInterface) ListEndpoints

ListEndpoints provides a mock function for the type MockEndpointsInterface

func (*MockEndpointsInterface) ListEndpointsAll

ListEndpointsAll provides a mock function for the type MockEndpointsInterface

type MockEndpointsInterface_CreateEndpoint_Call

type MockEndpointsInterface_CreateEndpoint_Call struct {
	*mock.Call
}

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

func (*MockEndpointsInterface_CreateEndpoint_Call) Return

func (*MockEndpointsInterface_CreateEndpoint_Call) Run

func (*MockEndpointsInterface_CreateEndpoint_Call) RunAndReturn

type MockEndpointsInterface_DeleteEndpoint_Call

type MockEndpointsInterface_DeleteEndpoint_Call struct {
	*mock.Call
}

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

func (*MockEndpointsInterface_DeleteEndpoint_Call) Return

func (*MockEndpointsInterface_DeleteEndpoint_Call) Run

func (*MockEndpointsInterface_DeleteEndpoint_Call) RunAndReturn

type MockEndpointsInterface_Expecter

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

func (*MockEndpointsInterface_Expecter) CreateEndpoint

CreateEndpoint is a helper method to define mock.On call

  • ctx context.Context
  • request networking.CreateEndpointRequest

func (*MockEndpointsInterface_Expecter) DeleteEndpoint

DeleteEndpoint is a helper method to define mock.On call

  • ctx context.Context
  • request networking.DeleteEndpointRequest

func (*MockEndpointsInterface_Expecter) GetEndpoint

GetEndpoint is a helper method to define mock.On call

  • ctx context.Context
  • request networking.GetEndpointRequest

func (*MockEndpointsInterface_Expecter) ListEndpoints

ListEndpoints is a helper method to define mock.On call

  • ctx context.Context
  • request networking.ListEndpointsRequest

func (*MockEndpointsInterface_Expecter) ListEndpointsAll

ListEndpointsAll is a helper method to define mock.On call

  • ctx context.Context
  • request networking.ListEndpointsRequest

type MockEndpointsInterface_GetEndpoint_Call

type MockEndpointsInterface_GetEndpoint_Call struct {
	*mock.Call
}

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

func (*MockEndpointsInterface_GetEndpoint_Call) Return

func (*MockEndpointsInterface_GetEndpoint_Call) Run

func (*MockEndpointsInterface_GetEndpoint_Call) RunAndReturn

type MockEndpointsInterface_ListEndpointsAll_Call

type MockEndpointsInterface_ListEndpointsAll_Call struct {
	*mock.Call
}

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

func (*MockEndpointsInterface_ListEndpointsAll_Call) Return

func (*MockEndpointsInterface_ListEndpointsAll_Call) Run

func (*MockEndpointsInterface_ListEndpointsAll_Call) RunAndReturn

type MockEndpointsInterface_ListEndpoints_Call

type MockEndpointsInterface_ListEndpoints_Call struct {
	*mock.Call
}

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

func (*MockEndpointsInterface_ListEndpoints_Call) Return

func (*MockEndpointsInterface_ListEndpoints_Call) Run

type MockPrivateNetworkGatewaysInterface

type MockPrivateNetworkGatewaysInterface struct {
	mock.Mock
}

MockPrivateNetworkGatewaysInterface is an autogenerated mock type for the PrivateNetworkGatewaysInterface type

func NewMockPrivateNetworkGatewaysInterface

func NewMockPrivateNetworkGatewaysInterface(t interface {
	mock.TestingT
	Cleanup(func())
}) *MockPrivateNetworkGatewaysInterface

NewMockPrivateNetworkGatewaysInterface creates a new instance of MockPrivateNetworkGatewaysInterface. 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 (*MockPrivateNetworkGatewaysInterface) CreatePrivateNetworkGateway

CreatePrivateNetworkGateway provides a mock function for the type MockPrivateNetworkGatewaysInterface

func (*MockPrivateNetworkGatewaysInterface) DeletePrivateNetworkGateway

DeletePrivateNetworkGateway provides a mock function for the type MockPrivateNetworkGatewaysInterface

func (*MockPrivateNetworkGatewaysInterface) EXPECT

func (*MockPrivateNetworkGatewaysInterface) GetPrivateNetworkGateway

GetPrivateNetworkGateway provides a mock function for the type MockPrivateNetworkGatewaysInterface

func (*MockPrivateNetworkGatewaysInterface) GetPrivateNetworkGatewayOperation

func (_mock *MockPrivateNetworkGatewaysInterface) GetPrivateNetworkGatewayOperation(ctx context.Context, request networking.GetOperationRequest) (*networking.Operation, error)

GetPrivateNetworkGatewayOperation provides a mock function for the type MockPrivateNetworkGatewaysInterface

func (*MockPrivateNetworkGatewaysInterface) ListPrivateNetworkGateways

ListPrivateNetworkGateways provides a mock function for the type MockPrivateNetworkGatewaysInterface

func (*MockPrivateNetworkGatewaysInterface) ListPrivateNetworkGatewaysAll

ListPrivateNetworkGatewaysAll provides a mock function for the type MockPrivateNetworkGatewaysInterface

func (*MockPrivateNetworkGatewaysInterface) UpdatePrivateNetworkGateway

UpdatePrivateNetworkGateway provides a mock function for the type MockPrivateNetworkGatewaysInterface

type MockPrivateNetworkGatewaysInterface_CreatePrivateNetworkGateway_Call

type MockPrivateNetworkGatewaysInterface_CreatePrivateNetworkGateway_Call struct {
	*mock.Call
}

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

func (*MockPrivateNetworkGatewaysInterface_CreatePrivateNetworkGateway_Call) Return

type MockPrivateNetworkGatewaysInterface_DeletePrivateNetworkGateway_Call

type MockPrivateNetworkGatewaysInterface_DeletePrivateNetworkGateway_Call struct {
	*mock.Call
}

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

func (*MockPrivateNetworkGatewaysInterface_DeletePrivateNetworkGateway_Call) Return

type MockPrivateNetworkGatewaysInterface_Expecter

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

func (*MockPrivateNetworkGatewaysInterface_Expecter) CreatePrivateNetworkGateway

CreatePrivateNetworkGateway is a helper method to define mock.On call

  • ctx context.Context
  • request networking.CreatePrivateNetworkGatewayRequest

func (*MockPrivateNetworkGatewaysInterface_Expecter) DeletePrivateNetworkGateway

DeletePrivateNetworkGateway is a helper method to define mock.On call

  • ctx context.Context
  • request networking.DeletePrivateNetworkGatewayRequest

func (*MockPrivateNetworkGatewaysInterface_Expecter) GetPrivateNetworkGateway

GetPrivateNetworkGateway is a helper method to define mock.On call

  • ctx context.Context
  • request networking.GetPrivateNetworkGatewayRequest

func (*MockPrivateNetworkGatewaysInterface_Expecter) GetPrivateNetworkGatewayOperation

GetPrivateNetworkGatewayOperation is a helper method to define mock.On call

  • ctx context.Context
  • request networking.GetOperationRequest

func (*MockPrivateNetworkGatewaysInterface_Expecter) ListPrivateNetworkGateways

ListPrivateNetworkGateways is a helper method to define mock.On call

  • ctx context.Context
  • request networking.ListPrivateNetworkGatewaysRequest

func (*MockPrivateNetworkGatewaysInterface_Expecter) ListPrivateNetworkGatewaysAll

ListPrivateNetworkGatewaysAll is a helper method to define mock.On call

  • ctx context.Context
  • request networking.ListPrivateNetworkGatewaysRequest

func (*MockPrivateNetworkGatewaysInterface_Expecter) UpdatePrivateNetworkGateway

UpdatePrivateNetworkGateway is a helper method to define mock.On call

  • ctx context.Context
  • request networking.UpdatePrivateNetworkGatewayRequest

type MockPrivateNetworkGatewaysInterface_GetPrivateNetworkGatewayOperation_Call

type MockPrivateNetworkGatewaysInterface_GetPrivateNetworkGatewayOperation_Call struct {
	*mock.Call
}

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

func (*MockPrivateNetworkGatewaysInterface_GetPrivateNetworkGatewayOperation_Call) Return

func (*MockPrivateNetworkGatewaysInterface_GetPrivateNetworkGatewayOperation_Call) Run

type MockPrivateNetworkGatewaysInterface_GetPrivateNetworkGateway_Call

type MockPrivateNetworkGatewaysInterface_GetPrivateNetworkGateway_Call struct {
	*mock.Call
}

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

func (*MockPrivateNetworkGatewaysInterface_GetPrivateNetworkGateway_Call) Return

type MockPrivateNetworkGatewaysInterface_ListPrivateNetworkGatewaysAll_Call

type MockPrivateNetworkGatewaysInterface_ListPrivateNetworkGatewaysAll_Call struct {
	*mock.Call
}

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

func (*MockPrivateNetworkGatewaysInterface_ListPrivateNetworkGatewaysAll_Call) Return

type MockPrivateNetworkGatewaysInterface_ListPrivateNetworkGateways_Call

type MockPrivateNetworkGatewaysInterface_ListPrivateNetworkGateways_Call struct {
	*mock.Call
}

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

type MockPrivateNetworkGatewaysInterface_UpdatePrivateNetworkGateway_Call

type MockPrivateNetworkGatewaysInterface_UpdatePrivateNetworkGateway_Call struct {
	*mock.Call
}

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

func (*MockPrivateNetworkGatewaysInterface_UpdatePrivateNetworkGateway_Call) Return

Jump to

Keyboard shortcuts

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