mock_agent_tracker

package
v16.11.2 Latest Latest
Warning

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

Go to latest
Published: May 7, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package mock_agent_tracker is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

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) CountAgentsByAgentVersions added in v16.10.0

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

CountAgentsByAgentVersions mocks base method.

func (*MockTracker) EXPECT

func (m *MockTracker) EXPECT() *MockTrackerMockRecorder

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

func (*MockTracker) GetConnectedAgentsCount

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

GetConnectedAgentsCount mocks base method.

func (*MockTracker) GetConnectionsByAgentID added in v16.8.0

func (m *MockTracker) GetConnectionsByAgentID(arg0 context.Context, arg1 int64, arg2 agent_tracker.ConnectedAgentInfoCallback) error

GetConnectionsByAgentID mocks base method.

func (*MockTracker) GetConnectionsByProjectID added in v16.8.0

func (m *MockTracker) GetConnectionsByProjectID(arg0 context.Context, arg1 int64, arg2 agent_tracker.ConnectedAgentInfoCallback) error

GetConnectionsByProjectID mocks base method.

func (*MockTracker) RegisterConnection

func (m *MockTracker) RegisterConnection(arg0 context.Context, arg1 *agent_tracker.ConnectedAgentInfo) error

RegisterConnection mocks base method.

func (*MockTracker) RegisterExpiring added in v16.8.0

func (m *MockTracker) RegisterExpiring(arg0 context.Context, arg1 *agent_tracker.ConnectedAgentInfo) error

RegisterExpiring mocks base method.

func (*MockTracker) Run

func (m *MockTracker) Run(arg0 context.Context) error

Run mocks base method.

func (*MockTracker) UnregisterConnection

func (m *MockTracker) UnregisterConnection(arg0 context.Context, arg1 *agent_tracker.ConnectedAgentInfo) error

UnregisterConnection mocks base method.

type MockTrackerCountAgentsByAgentVersionsCall added in v16.10.0

type MockTrackerCountAgentsByAgentVersionsCall struct {
	*gomock.Call
}

MockTrackerCountAgentsByAgentVersionsCall wrap *gomock.Call

func (*MockTrackerCountAgentsByAgentVersionsCall) Do added in v16.10.0

Do rewrite *gomock.Call.Do

func (*MockTrackerCountAgentsByAgentVersionsCall) DoAndReturn added in v16.10.0

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockTrackerCountAgentsByAgentVersionsCall) Return added in v16.10.0

Return rewrite *gomock.Call.Return

type MockTrackerGetConnectedAgentsCountCall added in v16.8.0

type MockTrackerGetConnectedAgentsCountCall struct {
	*gomock.Call
}

MockTrackerGetConnectedAgentsCountCall wrap *gomock.Call

func (*MockTrackerGetConnectedAgentsCountCall) Do added in v16.8.0

Do rewrite *gomock.Call.Do

func (*MockTrackerGetConnectedAgentsCountCall) DoAndReturn added in v16.8.0

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockTrackerGetConnectedAgentsCountCall) Return added in v16.8.0

Return rewrite *gomock.Call.Return

type MockTrackerGetConnectionsByAgentIDCall added in v16.8.0

type MockTrackerGetConnectionsByAgentIDCall struct {
	*gomock.Call
}

MockTrackerGetConnectionsByAgentIDCall wrap *gomock.Call

func (*MockTrackerGetConnectionsByAgentIDCall) Do added in v16.8.0

Do rewrite *gomock.Call.Do

func (*MockTrackerGetConnectionsByAgentIDCall) DoAndReturn added in v16.8.0

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockTrackerGetConnectionsByAgentIDCall) Return added in v16.8.0

Return rewrite *gomock.Call.Return

type MockTrackerGetConnectionsByProjectIDCall added in v16.8.0

type MockTrackerGetConnectionsByProjectIDCall struct {
	*gomock.Call
}

MockTrackerGetConnectionsByProjectIDCall wrap *gomock.Call

func (*MockTrackerGetConnectionsByProjectIDCall) Do added in v16.8.0

Do rewrite *gomock.Call.Do

func (*MockTrackerGetConnectionsByProjectIDCall) DoAndReturn added in v16.8.0

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockTrackerGetConnectionsByProjectIDCall) Return added in v16.8.0

Return rewrite *gomock.Call.Return

type MockTrackerMockRecorder

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

MockTrackerMockRecorder is the mock recorder for MockTracker.

func (*MockTrackerMockRecorder) CountAgentsByAgentVersions added in v16.10.0

func (mr *MockTrackerMockRecorder) CountAgentsByAgentVersions(arg0 any) *MockTrackerCountAgentsByAgentVersionsCall

CountAgentsByAgentVersions indicates an expected call of CountAgentsByAgentVersions.

func (*MockTrackerMockRecorder) GetConnectedAgentsCount

func (mr *MockTrackerMockRecorder) GetConnectedAgentsCount(arg0 any) *MockTrackerGetConnectedAgentsCountCall

GetConnectedAgentsCount indicates an expected call of GetConnectedAgentsCount.

func (*MockTrackerMockRecorder) GetConnectionsByAgentID added in v16.8.0

func (mr *MockTrackerMockRecorder) GetConnectionsByAgentID(arg0, arg1, arg2 any) *MockTrackerGetConnectionsByAgentIDCall

GetConnectionsByAgentID indicates an expected call of GetConnectionsByAgentID.

func (*MockTrackerMockRecorder) GetConnectionsByProjectID added in v16.8.0

func (mr *MockTrackerMockRecorder) GetConnectionsByProjectID(arg0, arg1, arg2 any) *MockTrackerGetConnectionsByProjectIDCall

GetConnectionsByProjectID indicates an expected call of GetConnectionsByProjectID.

func (*MockTrackerMockRecorder) RegisterConnection

func (mr *MockTrackerMockRecorder) RegisterConnection(arg0, arg1 any) *MockTrackerRegisterConnectionCall

RegisterConnection indicates an expected call of RegisterConnection.

func (*MockTrackerMockRecorder) RegisterExpiring added in v16.8.0

func (mr *MockTrackerMockRecorder) RegisterExpiring(arg0, arg1 any) *MockTrackerRegisterExpiringCall

RegisterExpiring indicates an expected call of RegisterExpiring.

func (*MockTrackerMockRecorder) Run

Run indicates an expected call of Run.

func (*MockTrackerMockRecorder) UnregisterConnection

func (mr *MockTrackerMockRecorder) UnregisterConnection(arg0, arg1 any) *MockTrackerUnregisterConnectionCall

UnregisterConnection indicates an expected call of UnregisterConnection.

type MockTrackerRegisterConnectionCall added in v16.8.0

type MockTrackerRegisterConnectionCall struct {
	*gomock.Call
}

MockTrackerRegisterConnectionCall wrap *gomock.Call

func (*MockTrackerRegisterConnectionCall) Do added in v16.8.0

Do rewrite *gomock.Call.Do

func (*MockTrackerRegisterConnectionCall) DoAndReturn added in v16.8.0

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockTrackerRegisterConnectionCall) Return added in v16.8.0

Return rewrite *gomock.Call.Return

type MockTrackerRegisterExpiringCall added in v16.8.0

type MockTrackerRegisterExpiringCall struct {
	*gomock.Call
}

MockTrackerRegisterExpiringCall wrap *gomock.Call

func (*MockTrackerRegisterExpiringCall) Do added in v16.8.0

Do rewrite *gomock.Call.Do

func (*MockTrackerRegisterExpiringCall) DoAndReturn added in v16.8.0

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockTrackerRegisterExpiringCall) Return added in v16.8.0

Return rewrite *gomock.Call.Return

type MockTrackerRunCall added in v16.8.0

type MockTrackerRunCall struct {
	*gomock.Call
}

MockTrackerRunCall wrap *gomock.Call

func (*MockTrackerRunCall) Do added in v16.8.0

Do rewrite *gomock.Call.Do

func (*MockTrackerRunCall) DoAndReturn added in v16.8.0

func (c *MockTrackerRunCall) DoAndReturn(f func(context.Context) error) *MockTrackerRunCall

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockTrackerRunCall) Return added in v16.8.0

func (c *MockTrackerRunCall) Return(arg0 error) *MockTrackerRunCall

Return rewrite *gomock.Call.Return

type MockTrackerUnregisterConnectionCall added in v16.8.0

type MockTrackerUnregisterConnectionCall struct {
	*gomock.Call
}

MockTrackerUnregisterConnectionCall wrap *gomock.Call

func (*MockTrackerUnregisterConnectionCall) Do added in v16.8.0

Do rewrite *gomock.Call.Do

func (*MockTrackerUnregisterConnectionCall) DoAndReturn added in v16.8.0

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockTrackerUnregisterConnectionCall) Return added in v16.8.0

Return rewrite *gomock.Call.Return

Jump to

Keyboard shortcuts

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