mock_agent_tracker

package
v17.3.0-rc6 Latest Latest
Warning

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

Go to latest
Published: Jul 30, 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

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

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

GetConnectionsByAgentID mocks base method.

func (*MockTracker) GetConnectionsByProjectID

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

GetConnectionsByProjectID mocks base method.

func (*MockTracker) RegisterExpiring

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) Unregister added in v17.1.0

Unregister mocks base method.

type MockTrackerCountAgentsByAgentVersionsCall

type MockTrackerCountAgentsByAgentVersionsCall struct {
	*gomock.Call
}

MockTrackerCountAgentsByAgentVersionsCall wrap *gomock.Call

func (*MockTrackerCountAgentsByAgentVersionsCall) Do

Do rewrite *gomock.Call.Do

func (*MockTrackerCountAgentsByAgentVersionsCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockTrackerCountAgentsByAgentVersionsCall) Return

Return rewrite *gomock.Call.Return

type MockTrackerGetConnectedAgentsCountCall

type MockTrackerGetConnectedAgentsCountCall struct {
	*gomock.Call
}

MockTrackerGetConnectedAgentsCountCall wrap *gomock.Call

func (*MockTrackerGetConnectedAgentsCountCall) Do

Do rewrite *gomock.Call.Do

func (*MockTrackerGetConnectedAgentsCountCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockTrackerGetConnectedAgentsCountCall) Return

Return rewrite *gomock.Call.Return

type MockTrackerGetConnectionsByAgentIDCall

type MockTrackerGetConnectionsByAgentIDCall struct {
	*gomock.Call
}

MockTrackerGetConnectionsByAgentIDCall wrap *gomock.Call

func (*MockTrackerGetConnectionsByAgentIDCall) Do

Do rewrite *gomock.Call.Do

func (*MockTrackerGetConnectionsByAgentIDCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockTrackerGetConnectionsByAgentIDCall) Return

Return rewrite *gomock.Call.Return

type MockTrackerGetConnectionsByProjectIDCall

type MockTrackerGetConnectionsByProjectIDCall struct {
	*gomock.Call
}

MockTrackerGetConnectionsByProjectIDCall wrap *gomock.Call

func (*MockTrackerGetConnectionsByProjectIDCall) Do

Do rewrite *gomock.Call.Do

func (*MockTrackerGetConnectionsByProjectIDCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockTrackerGetConnectionsByProjectIDCall) 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) CountAgentsByAgentVersions

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

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

GetConnectionsByAgentID indicates an expected call of GetConnectionsByAgentID.

func (*MockTrackerMockRecorder) GetConnectionsByProjectID

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

GetConnectionsByProjectID indicates an expected call of GetConnectionsByProjectID.

func (*MockTrackerMockRecorder) RegisterExpiring

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) Unregister added in v17.1.0

func (mr *MockTrackerMockRecorder) Unregister(arg0, arg1 any) *MockTrackerUnregisterCall

Unregister indicates an expected call of Unregister.

type MockTrackerRegisterExpiringCall

type MockTrackerRegisterExpiringCall struct {
	*gomock.Call
}

MockTrackerRegisterExpiringCall wrap *gomock.Call

func (*MockTrackerRegisterExpiringCall) Do

Do rewrite *gomock.Call.Do

func (*MockTrackerRegisterExpiringCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockTrackerRegisterExpiringCall) Return

Return rewrite *gomock.Call.Return

type MockTrackerRunCall

type MockTrackerRunCall struct {
	*gomock.Call
}

MockTrackerRunCall wrap *gomock.Call

func (*MockTrackerRunCall) Do

Do rewrite *gomock.Call.Do

func (*MockTrackerRunCall) DoAndReturn

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

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockTrackerRunCall) Return

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

Return rewrite *gomock.Call.Return

type MockTrackerUnregisterCall added in v17.1.0

type MockTrackerUnregisterCall struct {
	*gomock.Call
}

MockTrackerUnregisterCall wrap *gomock.Call

func (*MockTrackerUnregisterCall) Do added in v17.1.0

Do rewrite *gomock.Call.Do

func (*MockTrackerUnregisterCall) DoAndReturn added in v17.1.0

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockTrackerUnregisterCall) Return added in v17.1.0

Return rewrite *gomock.Call.Return

Jump to

Keyboard shortcuts

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