mock_agent2kas_router

package
v19.2.0 Latest Latest
Warning

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

Go to latest
Published: Jul 15, 2026 License: MIT Imports: 7 Imported by: 0

Documentation

Overview

Package mock_agent2kas_router is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockHandler

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

MockHandler is a mock of Handler interface.

func NewMockHandler

func NewMockHandler(ctrl *gomock.Controller) *MockHandler

NewMockHandler creates a new mock instance.

func (*MockHandler) EXPECT

func (m *MockHandler) EXPECT() *MockHandlerMockRecorder

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockHandler) HandleTunnel

func (m *MockHandler) HandleTunnel(ctx, ageCtx context.Context, agentKey api.AgentKey, forwarderFactory router.ForwarderFactory) error

HandleTunnel mocks base method.

type MockHandlerHandleTunnelCall

type MockHandlerHandleTunnelCall struct {
	*gomock.Call
}

MockHandlerHandleTunnelCall wrap *gomock.Call

func (*MockHandlerHandleTunnelCall) Do

Do rewrite *gomock.Call.Do

func (*MockHandlerHandleTunnelCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockHandlerHandleTunnelCall) Return

Return rewrite *gomock.Call.Return

type MockHandlerMockRecorder

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

MockHandlerMockRecorder is the mock recorder for MockHandler.

func (*MockHandlerMockRecorder) HandleTunnel

func (mr *MockHandlerMockRecorder) HandleTunnel(ctx, ageCtx, agentKey, forwarderFactory any) *MockHandlerHandleTunnelCall

HandleTunnel indicates an expected call of HandleTunnel.

type MockRegistrationBuilder

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

MockRegistrationBuilder is a mock of RegistrationBuilder interface.

func NewMockRegistrationBuilder

func NewMockRegistrationBuilder(ctrl *gomock.Controller) *MockRegistrationBuilder

NewMockRegistrationBuilder creates a new mock instance.

func (*MockRegistrationBuilder) Do

Do mocks base method.

func (*MockRegistrationBuilder) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockRegistrationBuilder) Refresh

func (m *MockRegistrationBuilder) Refresh(ttl time.Duration, agentKeys ...api.AgentKey)

Refresh mocks base method.

func (*MockRegistrationBuilder) Register

func (m *MockRegistrationBuilder) Register(ttl time.Duration, agentKeys ...api.AgentKey)

Register mocks base method.

func (*MockRegistrationBuilder) Unregister

func (m *MockRegistrationBuilder) Unregister(agentKeys ...api.AgentKey)

Unregister mocks base method.

type MockRegistrationBuilderDoCall

type MockRegistrationBuilderDoCall struct {
	*gomock.Call
}

MockRegistrationBuilderDoCall wrap *gomock.Call

func (*MockRegistrationBuilderDoCall) Do

Do rewrite *gomock.Call.Do

func (*MockRegistrationBuilderDoCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockRegistrationBuilderDoCall) Return

Return rewrite *gomock.Call.Return

type MockRegistrationBuilderMockRecorder

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

MockRegistrationBuilderMockRecorder is the mock recorder for MockRegistrationBuilder.

func (*MockRegistrationBuilderMockRecorder) Do

Do indicates an expected call of Do.

func (*MockRegistrationBuilderMockRecorder) Refresh

Refresh indicates an expected call of Refresh.

func (*MockRegistrationBuilderMockRecorder) Register

Register indicates an expected call of Register.

func (*MockRegistrationBuilderMockRecorder) Unregister

Unregister indicates an expected call of Unregister.

type MockRegistrationBuilderRefreshCall

type MockRegistrationBuilderRefreshCall struct {
	*gomock.Call
}

MockRegistrationBuilderRefreshCall wrap *gomock.Call

func (*MockRegistrationBuilderRefreshCall) Do

Do rewrite *gomock.Call.Do

func (*MockRegistrationBuilderRefreshCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockRegistrationBuilderRefreshCall) Return

Return rewrite *gomock.Call.Return

type MockRegistrationBuilderRegisterCall

type MockRegistrationBuilderRegisterCall struct {
	*gomock.Call
}

MockRegistrationBuilderRegisterCall wrap *gomock.Call

func (*MockRegistrationBuilderRegisterCall) Do

Do rewrite *gomock.Call.Do

func (*MockRegistrationBuilderRegisterCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockRegistrationBuilderRegisterCall) Return

Return rewrite *gomock.Call.Return

type MockRegistrationBuilderUnregisterCall

type MockRegistrationBuilderUnregisterCall struct {
	*gomock.Call
}

MockRegistrationBuilderUnregisterCall wrap *gomock.Call

func (*MockRegistrationBuilderUnregisterCall) Do

Do rewrite *gomock.Call.Do

func (*MockRegistrationBuilderUnregisterCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockRegistrationBuilderUnregisterCall) Return

Return rewrite *gomock.Call.Return

type MockTracker

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

MockTracker is a mock of Tracker interface.

func NewMockTracker

func NewMockTracker(ctrl *gomock.Controller) *MockTracker

NewMockTracker creates a new mock instance.

func (*MockTracker) EXPECT

func (m *MockTracker) EXPECT() *MockTrackerMockRecorder

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockTracker) GC

func (m *MockTracker) GC(ctx context.Context, agentKeys []api.AgentKey) (int, error)

GC mocks base method.

func (*MockTracker) KASURLsByAgentKey

func (m *MockTracker) KASURLsByAgentKey(ctx context.Context, agentKey api.AgentKey) ([]nettool.MultiURL, error)

KASURLsByAgentKey mocks base method.

func (*MockTracker) RegistrationBuilder

func (m *MockTracker) RegistrationBuilder() router.RegistrationBuilder

RegistrationBuilder mocks base method.

type MockTrackerGCCall

type MockTrackerGCCall struct {
	*gomock.Call
}

MockTrackerGCCall wrap *gomock.Call

func (*MockTrackerGCCall) Do

Do rewrite *gomock.Call.Do

func (*MockTrackerGCCall) DoAndReturn

func (c *MockTrackerGCCall) DoAndReturn(f func(context.Context, []api.AgentKey) (int, error)) *MockTrackerGCCall

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockTrackerGCCall) Return

func (c *MockTrackerGCCall) Return(arg0 int, arg1 error) *MockTrackerGCCall

Return rewrite *gomock.Call.Return

type MockTrackerKASURLsByAgentKeyCall

type MockTrackerKASURLsByAgentKeyCall struct {
	*gomock.Call
}

MockTrackerKASURLsByAgentKeyCall wrap *gomock.Call

func (*MockTrackerKASURLsByAgentKeyCall) Do

Do rewrite *gomock.Call.Do

func (*MockTrackerKASURLsByAgentKeyCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockTrackerKASURLsByAgentKeyCall) Return

Return rewrite *gomock.Call.Return

type MockTrackerMockRecorder

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

MockTrackerMockRecorder is the mock recorder for MockTracker.

func (*MockTrackerMockRecorder) GC

func (mr *MockTrackerMockRecorder) GC(ctx, agentKeys any) *MockTrackerGCCall

GC indicates an expected call of GC.

func (*MockTrackerMockRecorder) KASURLsByAgentKey

func (mr *MockTrackerMockRecorder) KASURLsByAgentKey(ctx, agentKey any) *MockTrackerKASURLsByAgentKeyCall

KASURLsByAgentKey indicates an expected call of KASURLsByAgentKey.

func (*MockTrackerMockRecorder) RegistrationBuilder

RegistrationBuilder indicates an expected call of RegistrationBuilder.

type MockTrackerRegistrationBuilderCall

type MockTrackerRegistrationBuilderCall struct {
	*gomock.Call
}

MockTrackerRegistrationBuilderCall wrap *gomock.Call

func (*MockTrackerRegistrationBuilderCall) Do

Do rewrite *gomock.Call.Do

func (*MockTrackerRegistrationBuilderCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockTrackerRegistrationBuilderCall) Return

Return rewrite *gomock.Call.Return

Jump to

Keyboard shortcuts

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