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

networking

package
v0.167.0 Latest Latest
Warning

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

Go to latest
Published: Jul 30, 2026 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

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 with given fields: ctx, request

func (*MockEndpointsInterface) DeleteEndpoint

DeleteEndpoint provides a mock function with given fields: ctx, request

func (*MockEndpointsInterface) EXPECT

func (*MockEndpointsInterface) GetEndpoint

GetEndpoint provides a mock function with given fields: ctx, request

func (*MockEndpointsInterface) ListEndpoints

ListEndpoints provides a mock function with given fields: ctx, request

func (*MockEndpointsInterface) ListEndpointsAll

ListEndpointsAll provides a mock function with given fields: ctx, request

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

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

type MockEndpointsInterface_Expecter

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

func (*MockEndpointsInterface_Expecter) CreateEndpoint

func (_e *MockEndpointsInterface_Expecter) CreateEndpoint(ctx interface{}, request interface{}) *MockEndpointsInterface_CreateEndpoint_Call

CreateEndpoint is a helper method to define mock.On call

  • ctx context.Context
  • request networking.CreateEndpointRequest

func (*MockEndpointsInterface_Expecter) DeleteEndpoint

func (_e *MockEndpointsInterface_Expecter) DeleteEndpoint(ctx interface{}, request interface{}) *MockEndpointsInterface_DeleteEndpoint_Call

DeleteEndpoint is a helper method to define mock.On call

  • ctx context.Context
  • request networking.DeleteEndpointRequest

func (*MockEndpointsInterface_Expecter) GetEndpoint

func (_e *MockEndpointsInterface_Expecter) GetEndpoint(ctx interface{}, request interface{}) *MockEndpointsInterface_GetEndpoint_Call

GetEndpoint is a helper method to define mock.On call

  • ctx context.Context
  • request networking.GetEndpointRequest

func (*MockEndpointsInterface_Expecter) ListEndpoints

func (_e *MockEndpointsInterface_Expecter) ListEndpoints(ctx interface{}, request interface{}) *MockEndpointsInterface_ListEndpoints_Call

ListEndpoints is a helper method to define mock.On call

  • ctx context.Context
  • request networking.ListEndpointsRequest

func (*MockEndpointsInterface_Expecter) ListEndpointsAll

func (_e *MockEndpointsInterface_Expecter) ListEndpointsAll(ctx interface{}, request interface{}) *MockEndpointsInterface_ListEndpointsAll_Call

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

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

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

Jump to

Keyboard shortcuts

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