mocks

package
v3.3.2 Latest Latest
Warning

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

Go to latest
Published: Jul 11, 2023 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Overview

Package mocks is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockHeartbeatManager

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

MockHeartbeatManager is a mock of HeartbeatManager interface.

func NewMockHeartbeatManager

func NewMockHeartbeatManager(ctrl *gomock.Controller) *MockHeartbeatManager

NewMockHeartbeatManager creates a new mock instance.

func (*MockHeartbeatManager) EXPECT

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

func (*MockHeartbeatManager) GetLastHeartbeatSent

func (m *MockHeartbeatManager) GetLastHeartbeatSent() time.Time

GetLastHeartbeatSent mocks base method.

func (*MockHeartbeatManager) IsTelemetryAvailable

func (m *MockHeartbeatManager) IsTelemetryAvailable(arg0 context.Context) bool

IsTelemetryAvailable mocks base method.

func (*MockHeartbeatManager) SendHeartbeat

func (m *MockHeartbeatManager) SendHeartbeat(arg0 context.Context, arg1 *telemetry.HeartbeatData) bool

SendHeartbeat mocks base method.

func (*MockHeartbeatManager) SetLastHeartbeatSent

func (m *MockHeartbeatManager) SetLastHeartbeatSent(arg0 time.Time) error

SetLastHeartbeatSent mocks base method.

type MockHeartbeatManagerMockRecorder

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

MockHeartbeatManagerMockRecorder is the mock recorder for MockHeartbeatManager.

func (*MockHeartbeatManagerMockRecorder) GetLastHeartbeatSent

func (mr *MockHeartbeatManagerMockRecorder) GetLastHeartbeatSent() *gomock.Call

GetLastHeartbeatSent indicates an expected call of GetLastHeartbeatSent.

func (*MockHeartbeatManagerMockRecorder) IsTelemetryAvailable

func (mr *MockHeartbeatManagerMockRecorder) IsTelemetryAvailable(arg0 interface{}) *gomock.Call

IsTelemetryAvailable indicates an expected call of IsTelemetryAvailable.

func (*MockHeartbeatManagerMockRecorder) SendHeartbeat

func (mr *MockHeartbeatManagerMockRecorder) SendHeartbeat(arg0, arg1 interface{}) *gomock.Call

SendHeartbeat indicates an expected call of SendHeartbeat.

func (*MockHeartbeatManagerMockRecorder) SetLastHeartbeatSent

func (mr *MockHeartbeatManagerMockRecorder) SetLastHeartbeatSent(arg0 interface{}) *gomock.Call

SetLastHeartbeatSent indicates an expected call of SetLastHeartbeatSent.

Jump to

Keyboard shortcuts

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