mock_tracepoint

package
v0.0.0-...-8540621 Latest Latest
Warning

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

Go to latest
Published: Nov 25, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package mock_tracepoint is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockStore

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

MockStore is a mock of Store interface.

func NewMockStore

func NewMockStore(ctrl *gomock.Controller) *MockStore

NewMockStore creates a new mock instance.

func (*MockStore) DeleteTracepoint

func (m *MockStore) DeleteTracepoint(arg0 uuid.UUID) error

DeleteTracepoint mocks base method.

func (*MockStore) DeleteTracepointTTLs

func (m *MockStore) DeleteTracepointTTLs(arg0 []uuid.UUID) error

DeleteTracepointTTLs mocks base method.

func (*MockStore) DeleteTracepointsForAgent

func (m *MockStore) DeleteTracepointsForAgent(arg0 uuid.UUID) error

DeleteTracepointsForAgent mocks base method.

func (*MockStore) EXPECT

func (m *MockStore) EXPECT() *MockStoreMockRecorder

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

func (*MockStore) GetTracepoint

func (m *MockStore) GetTracepoint(arg0 uuid.UUID) (*storepb.TracepointInfo, error)

GetTracepoint mocks base method.

func (*MockStore) GetTracepointStates

func (m *MockStore) GetTracepointStates(arg0 uuid.UUID) ([]*storepb.AgentTracepointStatus, error)

GetTracepointStates mocks base method.

func (*MockStore) GetTracepointTTLs

func (m *MockStore) GetTracepointTTLs() ([]uuid.UUID, []time.Time, error)

GetTracepointTTLs mocks base method.

func (*MockStore) GetTracepoints

func (m *MockStore) GetTracepoints() ([]*storepb.TracepointInfo, error)

GetTracepoints mocks base method.

func (*MockStore) GetTracepointsForIDs

func (m *MockStore) GetTracepointsForIDs(arg0 []uuid.UUID) ([]*storepb.TracepointInfo, error)

GetTracepointsForIDs mocks base method.

func (*MockStore) GetTracepointsWithNames

func (m *MockStore) GetTracepointsWithNames(arg0 []string) ([]*uuid.UUID, error)

GetTracepointsWithNames mocks base method.

func (*MockStore) SetTracepointTTL

func (m *MockStore) SetTracepointTTL(arg0 uuid.UUID, arg1 time.Duration) error

SetTracepointTTL mocks base method.

func (*MockStore) SetTracepointWithName

func (m *MockStore) SetTracepointWithName(arg0 string, arg1 uuid.UUID) error

SetTracepointWithName mocks base method.

func (*MockStore) UpdateTracepointState

func (m *MockStore) UpdateTracepointState(arg0 *storepb.AgentTracepointStatus) error

UpdateTracepointState mocks base method.

func (*MockStore) UpsertTracepoint

func (m *MockStore) UpsertTracepoint(arg0 uuid.UUID, arg1 *storepb.TracepointInfo) error

UpsertTracepoint mocks base method.

type MockStoreMockRecorder

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

MockStoreMockRecorder is the mock recorder for MockStore.

func (*MockStoreMockRecorder) DeleteTracepoint

func (mr *MockStoreMockRecorder) DeleteTracepoint(arg0 interface{}) *gomock.Call

DeleteTracepoint indicates an expected call of DeleteTracepoint.

func (*MockStoreMockRecorder) DeleteTracepointTTLs

func (mr *MockStoreMockRecorder) DeleteTracepointTTLs(arg0 interface{}) *gomock.Call

DeleteTracepointTTLs indicates an expected call of DeleteTracepointTTLs.

func (*MockStoreMockRecorder) DeleteTracepointsForAgent

func (mr *MockStoreMockRecorder) DeleteTracepointsForAgent(arg0 interface{}) *gomock.Call

DeleteTracepointsForAgent indicates an expected call of DeleteTracepointsForAgent.

func (*MockStoreMockRecorder) GetTracepoint

func (mr *MockStoreMockRecorder) GetTracepoint(arg0 interface{}) *gomock.Call

GetTracepoint indicates an expected call of GetTracepoint.

func (*MockStoreMockRecorder) GetTracepointStates

func (mr *MockStoreMockRecorder) GetTracepointStates(arg0 interface{}) *gomock.Call

GetTracepointStates indicates an expected call of GetTracepointStates.

func (*MockStoreMockRecorder) GetTracepointTTLs

func (mr *MockStoreMockRecorder) GetTracepointTTLs() *gomock.Call

GetTracepointTTLs indicates an expected call of GetTracepointTTLs.

func (*MockStoreMockRecorder) GetTracepoints

func (mr *MockStoreMockRecorder) GetTracepoints() *gomock.Call

GetTracepoints indicates an expected call of GetTracepoints.

func (*MockStoreMockRecorder) GetTracepointsForIDs

func (mr *MockStoreMockRecorder) GetTracepointsForIDs(arg0 interface{}) *gomock.Call

GetTracepointsForIDs indicates an expected call of GetTracepointsForIDs.

func (*MockStoreMockRecorder) GetTracepointsWithNames

func (mr *MockStoreMockRecorder) GetTracepointsWithNames(arg0 interface{}) *gomock.Call

GetTracepointsWithNames indicates an expected call of GetTracepointsWithNames.

func (*MockStoreMockRecorder) SetTracepointTTL

func (mr *MockStoreMockRecorder) SetTracepointTTL(arg0, arg1 interface{}) *gomock.Call

SetTracepointTTL indicates an expected call of SetTracepointTTL.

func (*MockStoreMockRecorder) SetTracepointWithName

func (mr *MockStoreMockRecorder) SetTracepointWithName(arg0, arg1 interface{}) *gomock.Call

SetTracepointWithName indicates an expected call of SetTracepointWithName.

func (*MockStoreMockRecorder) UpdateTracepointState

func (mr *MockStoreMockRecorder) UpdateTracepointState(arg0 interface{}) *gomock.Call

UpdateTracepointState indicates an expected call of UpdateTracepointState.

func (*MockStoreMockRecorder) UpsertTracepoint

func (mr *MockStoreMockRecorder) UpsertTracepoint(arg0, arg1 interface{}) *gomock.Call

UpsertTracepoint indicates an expected call of UpsertTracepoint.

type MockagentMessenger

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

MockagentMessenger is a mock of agentMessenger interface.

func NewMockagentMessenger

func NewMockagentMessenger(ctrl *gomock.Controller) *MockagentMessenger

NewMockagentMessenger creates a new mock instance.

func (*MockagentMessenger) EXPECT

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

func (*MockagentMessenger) MessageActiveAgents

func (m *MockagentMessenger) MessageActiveAgents(msg []byte) error

MessageActiveAgents mocks base method.

func (*MockagentMessenger) MessageAgents

func (m *MockagentMessenger) MessageAgents(agentIDs []uuid.UUID, msg []byte) error

MessageAgents mocks base method.

type MockagentMessengerMockRecorder

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

MockagentMessengerMockRecorder is the mock recorder for MockagentMessenger.

func (*MockagentMessengerMockRecorder) MessageActiveAgents

func (mr *MockagentMessengerMockRecorder) MessageActiveAgents(msg interface{}) *gomock.Call

MessageActiveAgents indicates an expected call of MessageActiveAgents.

func (*MockagentMessengerMockRecorder) MessageAgents

func (mr *MockagentMessengerMockRecorder) MessageAgents(agentIDs, msg interface{}) *gomock.Call

MessageAgents indicates an expected call of MessageAgents.

Jump to

Keyboard shortcuts

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