mock_agentk2kas_router

package
v17.1.0-rc6 Latest Latest
Warning

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

Go to latest
Published: May 27, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

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

func (m *MockHandler) HandleTunnel(arg0 context.Context, arg1 *api.AgentInfo, arg2 rpc.ReverseTunnel_ConnectServer) 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(arg0, arg1, arg2 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(arg0 context.Context, arg1 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(arg0, arg1 any) *MockQuerierKASURLsByAgentIDCall

KASURLsByAgentID indicates an expected call of KASURLsByAgentID.

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(arg0 context.Context, arg1 []int64) (int, error)

GC mocks base method.

func (*MockTracker) KASURLsByAgentID

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

KASURLsByAgentID mocks base method.

func (*MockTracker) Refresh

func (m *MockTracker) Refresh(arg0 context.Context, arg1 time.Duration, arg2 []int64) error

Refresh mocks base method.

func (*MockTracker) RegisterTunnel

func (m *MockTracker) RegisterTunnel(arg0 context.Context, arg1 time.Duration, arg2 int64) error

RegisterTunnel mocks base method.

func (*MockTracker) UnregisterTunnel

func (m *MockTracker) UnregisterTunnel(arg0 context.Context, arg1 int64) error

UnregisterTunnel 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(arg0, arg1 any) *MockTrackerGCCall

GC indicates an expected call of GC.

func (*MockTrackerMockRecorder) KASURLsByAgentID

func (mr *MockTrackerMockRecorder) KASURLsByAgentID(arg0, arg1 any) *MockTrackerKASURLsByAgentIDCall

KASURLsByAgentID indicates an expected call of KASURLsByAgentID.

func (*MockTrackerMockRecorder) Refresh

func (mr *MockTrackerMockRecorder) Refresh(arg0, arg1, arg2 any) *MockTrackerRefreshCall

Refresh indicates an expected call of Refresh.

func (*MockTrackerMockRecorder) RegisterTunnel

func (mr *MockTrackerMockRecorder) RegisterTunnel(arg0, arg1, arg2 any) *MockTrackerRegisterTunnelCall

RegisterTunnel indicates an expected call of RegisterTunnel.

func (*MockTrackerMockRecorder) UnregisterTunnel

func (mr *MockTrackerMockRecorder) UnregisterTunnel(arg0, arg1 any) *MockTrackerUnregisterTunnelCall

UnregisterTunnel indicates an expected call of UnregisterTunnel.

type MockTrackerRefreshCall

type MockTrackerRefreshCall struct {
	*gomock.Call
}

MockTrackerRefreshCall wrap *gomock.Call

func (*MockTrackerRefreshCall) Do

Do rewrite *gomock.Call.Do

func (*MockTrackerRefreshCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockTrackerRefreshCall) Return

Return rewrite *gomock.Call.Return

type MockTrackerRegisterTunnelCall

type MockTrackerRegisterTunnelCall struct {
	*gomock.Call
}

MockTrackerRegisterTunnelCall wrap *gomock.Call

func (*MockTrackerRegisterTunnelCall) Do

Do rewrite *gomock.Call.Do

func (*MockTrackerRegisterTunnelCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockTrackerRegisterTunnelCall) Return

Return rewrite *gomock.Call.Return

type MockTrackerUnregisterTunnelCall

type MockTrackerUnregisterTunnelCall struct {
	*gomock.Call
}

MockTrackerUnregisterTunnelCall wrap *gomock.Call

func (*MockTrackerUnregisterTunnelCall) Do

Do rewrite *gomock.Call.Do

func (*MockTrackerUnregisterTunnelCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockTrackerUnregisterTunnelCall) Return

Return rewrite *gomock.Call.Return

Jump to

Keyboard shortcuts

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