Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Index ¶
- type MockHeartbeatManager
- func (m *MockHeartbeatManager) EXPECT() *MockHeartbeatManagerMockRecorder
- func (m *MockHeartbeatManager) GetLastHeartbeatSent() time.Time
- func (m *MockHeartbeatManager) IsTelemetryAvailable(arg0 context.Context) bool
- func (m *MockHeartbeatManager) SendHeartbeat(arg0 context.Context, arg1 *telemetry.HeartbeatData) bool
- func (m *MockHeartbeatManager) SetLastHeartbeatSent(arg0 time.Time) error
- type MockHeartbeatManagerMockRecorder
- func (mr *MockHeartbeatManagerMockRecorder) GetLastHeartbeatSent() *gomock.Call
- func (mr *MockHeartbeatManagerMockRecorder) IsTelemetryAvailable(arg0 interface{}) *gomock.Call
- func (mr *MockHeartbeatManagerMockRecorder) SendHeartbeat(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockHeartbeatManagerMockRecorder) SetLastHeartbeatSent(arg0 interface{}) *gomock.Call
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 ¶
func (m *MockHeartbeatManager) EXPECT() *MockHeartbeatManagerMockRecorder
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.