Documentation ¶
Overview ¶
Package mock_tracepoint is a generated GoMock package.
Index ¶
- type MockStore
- func (m *MockStore) DeleteTracepoint(arg0 uuid.UUID) error
- func (m *MockStore) DeleteTracepointTTLs(arg0 []uuid.UUID) error
- func (m *MockStore) DeleteTracepointsForAgent(arg0 uuid.UUID) error
- func (m *MockStore) EXPECT() *MockStoreMockRecorder
- func (m *MockStore) GetTracepoint(arg0 uuid.UUID) (*storepb.TracepointInfo, error)
- func (m *MockStore) GetTracepointStates(arg0 uuid.UUID) ([]*storepb.AgentTracepointStatus, error)
- func (m *MockStore) GetTracepointTTLs() ([]uuid.UUID, []time.Time, error)
- func (m *MockStore) GetTracepoints() ([]*storepb.TracepointInfo, error)
- func (m *MockStore) GetTracepointsForIDs(arg0 []uuid.UUID) ([]*storepb.TracepointInfo, error)
- func (m *MockStore) GetTracepointsWithNames(arg0 []string) ([]*uuid.UUID, error)
- func (m *MockStore) SetTracepointTTL(arg0 uuid.UUID, arg1 time.Duration) error
- func (m *MockStore) SetTracepointWithName(arg0 string, arg1 uuid.UUID) error
- func (m *MockStore) UpdateTracepointState(arg0 *storepb.AgentTracepointStatus) error
- func (m *MockStore) UpsertTracepoint(arg0 uuid.UUID, arg1 *storepb.TracepointInfo) error
- type MockStoreMockRecorder
- func (mr *MockStoreMockRecorder) DeleteTracepoint(arg0 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) DeleteTracepointTTLs(arg0 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) DeleteTracepointsForAgent(arg0 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) GetTracepoint(arg0 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) GetTracepointStates(arg0 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) GetTracepointTTLs() *gomock.Call
- func (mr *MockStoreMockRecorder) GetTracepoints() *gomock.Call
- func (mr *MockStoreMockRecorder) GetTracepointsForIDs(arg0 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) GetTracepointsWithNames(arg0 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) SetTracepointTTL(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) SetTracepointWithName(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) UpdateTracepointState(arg0 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) UpsertTracepoint(arg0, arg1 interface{}) *gomock.Call
- type MockagentMessenger
- type MockagentMessengerMockRecorder
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 ¶
DeleteTracepoint mocks base method.
func (*MockStore) DeleteTracepointTTLs ¶
DeleteTracepointTTLs mocks base method.
func (*MockStore) DeleteTracepointsForAgent ¶
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 ¶
GetTracepoint mocks base method.
func (*MockStore) GetTracepointStates ¶
GetTracepointStates mocks base method.
func (*MockStore) GetTracepointTTLs ¶
GetTracepointTTLs mocks base method.
func (*MockStore) GetTracepoints ¶
func (m *MockStore) GetTracepoints() ([]*storepb.TracepointInfo, error)
GetTracepoints mocks base method.
func (*MockStore) GetTracepointsForIDs ¶
GetTracepointsForIDs mocks base method.
func (*MockStore) GetTracepointsWithNames ¶
GetTracepointsWithNames mocks base method.
func (*MockStore) SetTracepointTTL ¶
SetTracepointTTL mocks base method.
func (*MockStore) SetTracepointWithName ¶
SetTracepointWithName mocks base method.
func (*MockStore) UpdateTracepointState ¶
func (m *MockStore) UpdateTracepointState(arg0 *storepb.AgentTracepointStatus) error
UpdateTracepointState mocks base method.
func (*MockStore) UpsertTracepoint ¶
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 ¶
func (m *MockagentMessenger) EXPECT() *MockagentMessengerMockRecorder
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.