mock_agent_tracker

package
v15.2.0 Latest Latest
Warning

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

Go to latest
Published: Jul 12, 2022 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) EXPECT

func (m *MockTracker) EXPECT() *MockTrackerMockRecorder

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

func (*MockTracker) GetConnectedAgentsCount added in v15.2.0

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) RegisterConnection

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

RegisterConnection 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) bool

UnregisterConnection mocks base method.

type MockTrackerMockRecorder

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

MockTrackerMockRecorder is the mock recorder for MockTracker.

func (*MockTrackerMockRecorder) GetConnectedAgentsCount added in v15.2.0

func (mr *MockTrackerMockRecorder) GetConnectedAgentsCount(arg0 interface{}) *gomock.Call

GetConnectedAgentsCount indicates an expected call of GetConnectedAgentsCount.

func (*MockTrackerMockRecorder) GetConnectionsByAgentId

func (mr *MockTrackerMockRecorder) GetConnectionsByAgentId(arg0, arg1, arg2 interface{}) *gomock.Call

GetConnectionsByAgentId indicates an expected call of GetConnectionsByAgentId.

func (*MockTrackerMockRecorder) GetConnectionsByProjectId

func (mr *MockTrackerMockRecorder) GetConnectionsByProjectId(arg0, arg1, arg2 interface{}) *gomock.Call

GetConnectionsByProjectId indicates an expected call of GetConnectionsByProjectId.

func (*MockTrackerMockRecorder) RegisterConnection

func (mr *MockTrackerMockRecorder) RegisterConnection(arg0, arg1 interface{}) *gomock.Call

RegisterConnection indicates an expected call of RegisterConnection.

func (*MockTrackerMockRecorder) Run

func (mr *MockTrackerMockRecorder) Run(arg0 interface{}) *gomock.Call

Run indicates an expected call of Run.

func (*MockTrackerMockRecorder) UnregisterConnection

func (mr *MockTrackerMockRecorder) UnregisterConnection(arg0, arg1 interface{}) *gomock.Call

UnregisterConnection indicates an expected call of UnregisterConnection.

Jump to

Keyboard shortcuts

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