Documentation ¶
Overview ¶
Package agent is a generated GoMock package.
Index ¶
- type Factory
- type MockprofilerRunner
- type MockprofilerRunnerMockRecorder
- type MockprofilerRunnerstartCall
- func (c *MockprofilerRunnerstartCall) Do(f func(*agentcfg.GoogleProfilerCF) error) *MockprofilerRunnerstartCall
- func (c *MockprofilerRunnerstartCall) DoAndReturn(f func(*agentcfg.GoogleProfilerCF) error) *MockprofilerRunnerstartCall
- func (c *MockprofilerRunnerstartCall) Return(arg0 error) *MockprofilerRunnerstartCall
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Factory ¶
type Factory struct { }
func (*Factory) IsProducingLeaderModules ¶
func (*Factory) StartStopPhase ¶
func (f *Factory) StartStopPhase() modshared.ModuleStartStopPhase
type MockprofilerRunner ¶
type MockprofilerRunner struct {
// contains filtered or unexported fields
}
MockprofilerRunner is a mock of profilerRunner interface.
func NewMockprofilerRunner ¶
func NewMockprofilerRunner(ctrl *gomock.Controller) *MockprofilerRunner
NewMockprofilerRunner creates a new mock instance.
func (*MockprofilerRunner) EXPECT ¶
func (m *MockprofilerRunner) EXPECT() *MockprofilerRunnerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockprofilerRunnerMockRecorder ¶
type MockprofilerRunnerMockRecorder struct {
// contains filtered or unexported fields
}
MockprofilerRunnerMockRecorder is the mock recorder for MockprofilerRunner.
type MockprofilerRunnerstartCall ¶ added in v16.8.0
MockprofilerRunnerstartCall wrap *gomock.Call
func (*MockprofilerRunnerstartCall) Do ¶ added in v16.8.0
func (c *MockprofilerRunnerstartCall) Do(f func(*agentcfg.GoogleProfilerCF) error) *MockprofilerRunnerstartCall
Do rewrite *gomock.Call.Do
func (*MockprofilerRunnerstartCall) DoAndReturn ¶ added in v16.8.0
func (c *MockprofilerRunnerstartCall) DoAndReturn(f func(*agentcfg.GoogleProfilerCF) error) *MockprofilerRunnerstartCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockprofilerRunnerstartCall) Return ¶ added in v16.8.0
func (c *MockprofilerRunnerstartCall) Return(arg0 error) *MockprofilerRunnerstartCall
Return rewrite *gomock.Call.Return
Click to show internal directories.
Click to hide internal directories.