mock_agentk2kas_router

package
v17.6.2-rc30 Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Overview

Package mock_agentk2kas_router is a generated GoMock package.

Package mock_agentk2kas_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

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(ageCtx, agentInfo, server any) *MockHandlerHandleTunnelCall

HandleTunnel indicates an expected call of HandleTunnel.

type MockQuerier

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

MockQuerier is a mock of Querier interface.

func NewMockQuerier

func NewMockQuerier(ctrl *gomock.Controller) *MockQuerier

NewMockQuerier creates a new mock instance.

func (*MockQuerier) EXPECT

func (m *MockQuerier) EXPECT() *MockQuerierMockRecorder

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

func (*MockQuerier) KASURLsByAgentID

func (m *MockQuerier) KASURLsByAgentID(ctx context.Context, agentID int64) ([]string, error)

KASURLsByAgentID mocks base method.

type MockQuerierKASURLsByAgentIDCall

type MockQuerierKASURLsByAgentIDCall struct {
	*gomock.Call
}

MockQuerierKASURLsByAgentIDCall wrap *gomock.Call

func (*MockQuerierKASURLsByAgentIDCall) Do

Do rewrite *gomock.Call.Do

func (*MockQuerierKASURLsByAgentIDCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockQuerierKASURLsByAgentIDCall) Return

Return rewrite *gomock.Call.Return

type MockQuerierMockRecorder

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

MockQuerierMockRecorder is the mock recorder for MockQuerier.

func (*MockQuerierMockRecorder) KASURLsByAgentID

func (mr *MockQuerierMockRecorder) KASURLsByAgentID(ctx, agentID any) *MockQuerierKASURLsByAgentIDCall

KASURLsByAgentID indicates an expected call of KASURLsByAgentID.

type MockRegisterer added in v17.3.0

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

MockRegisterer is a mock of Registerer interface.

func NewMockRegisterer added in v17.3.0

func NewMockRegisterer(ctrl *gomock.Controller) *MockRegisterer

NewMockRegisterer creates a new mock instance.

func (*MockRegisterer) EXPECT added in v17.3.0

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

func (*MockRegisterer) GC added in v17.3.0

func (m *MockRegisterer) GC(ctx context.Context, agentIDs []int64) (int, error)

GC mocks base method.

func (*MockRegisterer) RegistrationBuilder added in v17.4.0

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

RegistrationBuilder mocks base method.

type MockRegistererGCCall added in v17.3.0

type MockRegistererGCCall struct {
	*gomock.Call
}

MockRegistererGCCall wrap *gomock.Call

func (*MockRegistererGCCall) Do added in v17.3.0

Do rewrite *gomock.Call.Do

func (*MockRegistererGCCall) DoAndReturn added in v17.3.0

func (c *MockRegistererGCCall) DoAndReturn(f func(context.Context, []int64) (int, error)) *MockRegistererGCCall

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockRegistererGCCall) Return added in v17.3.0

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

Return rewrite *gomock.Call.Return

type MockRegistererMockRecorder added in v17.3.0

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

MockRegistererMockRecorder is the mock recorder for MockRegisterer.

func (*MockRegistererMockRecorder) GC added in v17.3.0

func (mr *MockRegistererMockRecorder) GC(ctx, agentIDs any) *MockRegistererGCCall

GC indicates an expected call of GC.

func (*MockRegistererMockRecorder) RegistrationBuilder added in v17.4.0

RegistrationBuilder indicates an expected call of RegistrationBuilder.

type MockRegistererRegistrationBuilderCall added in v17.4.0

type MockRegistererRegistrationBuilderCall struct {
	*gomock.Call
}

MockRegistererRegistrationBuilderCall wrap *gomock.Call

func (*MockRegistererRegistrationBuilderCall) Do added in v17.4.0

Do rewrite *gomock.Call.Do

func (*MockRegistererRegistrationBuilderCall) DoAndReturn added in v17.4.0

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockRegistererRegistrationBuilderCall) Return added in v17.4.0

Return rewrite *gomock.Call.Return

type MockRegistrationBuilder added in v17.4.0

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

MockRegistrationBuilder is a mock of RegistrationBuilder interface.

func NewMockRegistrationBuilder added in v17.4.0

func NewMockRegistrationBuilder(ctrl *gomock.Controller) *MockRegistrationBuilder

NewMockRegistrationBuilder creates a new mock instance.

func (*MockRegistrationBuilder) Do added in v17.4.0

Do mocks base method.

func (*MockRegistrationBuilder) EXPECT added in v17.4.0

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

func (*MockRegistrationBuilder) Refresh added in v17.4.0

func (m *MockRegistrationBuilder) Refresh(ttl time.Duration, agentIDs ...int64)

Refresh mocks base method.

func (*MockRegistrationBuilder) Register added in v17.4.0

func (m *MockRegistrationBuilder) Register(ttl time.Duration, agentIDs ...int64)

Register mocks base method.

func (*MockRegistrationBuilder) Unregister added in v17.4.0

func (m *MockRegistrationBuilder) Unregister(agentIDs ...int64)

Unregister mocks base method.

type MockRegistrationBuilderDoCall added in v17.4.0

type MockRegistrationBuilderDoCall struct {
	*gomock.Call
}

MockRegistrationBuilderDoCall wrap *gomock.Call

func (*MockRegistrationBuilderDoCall) Do added in v17.4.0

Do rewrite *gomock.Call.Do

func (*MockRegistrationBuilderDoCall) DoAndReturn added in v17.4.0

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockRegistrationBuilderDoCall) Return added in v17.4.0

Return rewrite *gomock.Call.Return

type MockRegistrationBuilderMockRecorder added in v17.4.0

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

MockRegistrationBuilderMockRecorder is the mock recorder for MockRegistrationBuilder.

func (*MockRegistrationBuilderMockRecorder) Do added in v17.4.0

Do indicates an expected call of Do.

func (*MockRegistrationBuilderMockRecorder) Refresh added in v17.4.0

Refresh indicates an expected call of Refresh.

func (*MockRegistrationBuilderMockRecorder) Register added in v17.4.0

Register indicates an expected call of Register.

func (*MockRegistrationBuilderMockRecorder) Unregister added in v17.4.0

Unregister indicates an expected call of Unregister.

type MockRegistrationBuilderRefreshCall added in v17.4.0

type MockRegistrationBuilderRefreshCall struct {
	*gomock.Call
}

MockRegistrationBuilderRefreshCall wrap *gomock.Call

func (*MockRegistrationBuilderRefreshCall) Do added in v17.4.0

Do rewrite *gomock.Call.Do

func (*MockRegistrationBuilderRefreshCall) DoAndReturn added in v17.4.0

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockRegistrationBuilderRefreshCall) Return added in v17.4.0

Return rewrite *gomock.Call.Return

type MockRegistrationBuilderRegisterCall added in v17.4.0

type MockRegistrationBuilderRegisterCall struct {
	*gomock.Call
}

MockRegistrationBuilderRegisterCall wrap *gomock.Call

func (*MockRegistrationBuilderRegisterCall) Do added in v17.4.0

Do rewrite *gomock.Call.Do

func (*MockRegistrationBuilderRegisterCall) DoAndReturn added in v17.4.0

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockRegistrationBuilderRegisterCall) Return added in v17.4.0

Return rewrite *gomock.Call.Return

type MockRegistrationBuilderUnregisterCall added in v17.4.0

type MockRegistrationBuilderUnregisterCall struct {
	*gomock.Call
}

MockRegistrationBuilderUnregisterCall wrap *gomock.Call

func (*MockRegistrationBuilderUnregisterCall) Do added in v17.4.0

Do rewrite *gomock.Call.Do

func (*MockRegistrationBuilderUnregisterCall) DoAndReturn added in v17.4.0

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockRegistrationBuilderUnregisterCall) Return added in v17.4.0

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, agentIDs []int64) (int, error)

GC mocks base method.

func (*MockTracker) KASURLsByAgentID

func (m *MockTracker) KASURLsByAgentID(ctx context.Context, agentID int64) ([]string, error)

KASURLsByAgentID mocks base method.

func (*MockTracker) RegistrationBuilder added in v17.4.0

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, []int64) (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 MockTrackerKASURLsByAgentIDCall

type MockTrackerKASURLsByAgentIDCall struct {
	*gomock.Call
}

MockTrackerKASURLsByAgentIDCall wrap *gomock.Call

func (*MockTrackerKASURLsByAgentIDCall) Do

Do rewrite *gomock.Call.Do

func (*MockTrackerKASURLsByAgentIDCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockTrackerKASURLsByAgentIDCall) 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, agentIDs any) *MockTrackerGCCall

GC indicates an expected call of GC.

func (*MockTrackerMockRecorder) KASURLsByAgentID

func (mr *MockTrackerMockRecorder) KASURLsByAgentID(ctx, agentID any) *MockTrackerKASURLsByAgentIDCall

KASURLsByAgentID indicates an expected call of KASURLsByAgentID.

func (*MockTrackerMockRecorder) RegistrationBuilder added in v17.4.0

RegistrationBuilder indicates an expected call of RegistrationBuilder.

type MockTrackerRegistrationBuilderCall added in v17.4.0

type MockTrackerRegistrationBuilderCall struct {
	*gomock.Call
}

MockTrackerRegistrationBuilderCall wrap *gomock.Call

func (*MockTrackerRegistrationBuilderCall) Do added in v17.4.0

Do rewrite *gomock.Call.Do

func (*MockTrackerRegistrationBuilderCall) DoAndReturn added in v17.4.0

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockTrackerRegistrationBuilderCall) Return added in v17.4.0

Return rewrite *gomock.Call.Return

Jump to

Keyboard shortcuts

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