Documentation ¶
Index ¶
- type SysProbeUtil
- func (_m *SysProbeUtil) DetectLanguage(pids []int32) ([]languagemodels.Language, error)
- func (_m *SysProbeUtil) EXPECT() *SysProbeUtil_Expecter
- func (_m *SysProbeUtil) GetBTFLoaderInfo() ([]byte, error)
- func (_m *SysProbeUtil) GetConnTrackCached() ([]byte, error)
- func (_m *SysProbeUtil) GetConnTrackHost() ([]byte, error)
- func (_m *SysProbeUtil) GetConnections(clientID string) (*process.Connections, error)
- func (_m *SysProbeUtil) GetDiscoveryServices() (*model.ServicesResponse, error)
- func (_m *SysProbeUtil) GetNetworkID() (string, error)
- func (_m *SysProbeUtil) GetPing(clientID string, host string, count int, interval time.Duration, ...) ([]byte, error)
- func (_m *SysProbeUtil) GetPprof(path string) ([]byte, error)
- func (_m *SysProbeUtil) GetProcStats(pids []int32) (*process.ProcStatsWithPermByPID, error)
- func (_m *SysProbeUtil) GetStats() (map[string]interface{}, error)
- func (_m *SysProbeUtil) GetTelemetry() ([]byte, error)
- func (_m *SysProbeUtil) GetTraceroute(clientID string, host string, port uint16, protocol payload.Protocol, ...) ([]byte, error)
- func (_m *SysProbeUtil) Register(clientID string) error
- type SysProbeUtil_DetectLanguage_Call
- func (_c *SysProbeUtil_DetectLanguage_Call) Return(_a0 []languagemodels.Language, _a1 error) *SysProbeUtil_DetectLanguage_Call
- func (_c *SysProbeUtil_DetectLanguage_Call) Run(run func(pids []int32)) *SysProbeUtil_DetectLanguage_Call
- func (_c *SysProbeUtil_DetectLanguage_Call) RunAndReturn(run func([]int32) ([]languagemodels.Language, error)) *SysProbeUtil_DetectLanguage_Call
- type SysProbeUtil_Expecter
- func (_e *SysProbeUtil_Expecter) DetectLanguage(pids interface{}) *SysProbeUtil_DetectLanguage_Call
- func (_e *SysProbeUtil_Expecter) GetBTFLoaderInfo() *SysProbeUtil_GetBTFLoaderInfo_Call
- func (_e *SysProbeUtil_Expecter) GetConnTrackCached() *SysProbeUtil_GetConnTrackCached_Call
- func (_e *SysProbeUtil_Expecter) GetConnTrackHost() *SysProbeUtil_GetConnTrackHost_Call
- func (_e *SysProbeUtil_Expecter) GetConnections(clientID interface{}) *SysProbeUtil_GetConnections_Call
- func (_e *SysProbeUtil_Expecter) GetDiscoveryServices() *SysProbeUtil_GetDiscoveryServices_Call
- func (_e *SysProbeUtil_Expecter) GetNetworkID() *SysProbeUtil_GetNetworkID_Call
- func (_e *SysProbeUtil_Expecter) GetPing(clientID interface{}, host interface{}, count interface{}, ...) *SysProbeUtil_GetPing_Call
- func (_e *SysProbeUtil_Expecter) GetPprof(path interface{}) *SysProbeUtil_GetPprof_Call
- func (_e *SysProbeUtil_Expecter) GetProcStats(pids interface{}) *SysProbeUtil_GetProcStats_Call
- func (_e *SysProbeUtil_Expecter) GetStats() *SysProbeUtil_GetStats_Call
- func (_e *SysProbeUtil_Expecter) GetTelemetry() *SysProbeUtil_GetTelemetry_Call
- func (_e *SysProbeUtil_Expecter) GetTraceroute(clientID interface{}, host interface{}, port interface{}, protocol interface{}, ...) *SysProbeUtil_GetTraceroute_Call
- func (_e *SysProbeUtil_Expecter) Register(clientID interface{}) *SysProbeUtil_Register_Call
- type SysProbeUtil_GetBTFLoaderInfo_Call
- func (_c *SysProbeUtil_GetBTFLoaderInfo_Call) Return(_a0 []byte, _a1 error) *SysProbeUtil_GetBTFLoaderInfo_Call
- func (_c *SysProbeUtil_GetBTFLoaderInfo_Call) Run(run func()) *SysProbeUtil_GetBTFLoaderInfo_Call
- func (_c *SysProbeUtil_GetBTFLoaderInfo_Call) RunAndReturn(run func() ([]byte, error)) *SysProbeUtil_GetBTFLoaderInfo_Call
- type SysProbeUtil_GetConnTrackCached_Call
- func (_c *SysProbeUtil_GetConnTrackCached_Call) Return(_a0 []byte, _a1 error) *SysProbeUtil_GetConnTrackCached_Call
- func (_c *SysProbeUtil_GetConnTrackCached_Call) Run(run func()) *SysProbeUtil_GetConnTrackCached_Call
- func (_c *SysProbeUtil_GetConnTrackCached_Call) RunAndReturn(run func() ([]byte, error)) *SysProbeUtil_GetConnTrackCached_Call
- type SysProbeUtil_GetConnTrackHost_Call
- func (_c *SysProbeUtil_GetConnTrackHost_Call) Return(_a0 []byte, _a1 error) *SysProbeUtil_GetConnTrackHost_Call
- func (_c *SysProbeUtil_GetConnTrackHost_Call) Run(run func()) *SysProbeUtil_GetConnTrackHost_Call
- func (_c *SysProbeUtil_GetConnTrackHost_Call) RunAndReturn(run func() ([]byte, error)) *SysProbeUtil_GetConnTrackHost_Call
- type SysProbeUtil_GetConnections_Call
- func (_c *SysProbeUtil_GetConnections_Call) Return(_a0 *process.Connections, _a1 error) *SysProbeUtil_GetConnections_Call
- func (_c *SysProbeUtil_GetConnections_Call) Run(run func(clientID string)) *SysProbeUtil_GetConnections_Call
- func (_c *SysProbeUtil_GetConnections_Call) RunAndReturn(run func(string) (*process.Connections, error)) *SysProbeUtil_GetConnections_Call
- type SysProbeUtil_GetDiscoveryServices_Call
- func (_c *SysProbeUtil_GetDiscoveryServices_Call) Return(_a0 *model.ServicesResponse, _a1 error) *SysProbeUtil_GetDiscoveryServices_Call
- func (_c *SysProbeUtil_GetDiscoveryServices_Call) Run(run func()) *SysProbeUtil_GetDiscoveryServices_Call
- func (_c *SysProbeUtil_GetDiscoveryServices_Call) RunAndReturn(run func() (*model.ServicesResponse, error)) *SysProbeUtil_GetDiscoveryServices_Call
- type SysProbeUtil_GetNetworkID_Call
- func (_c *SysProbeUtil_GetNetworkID_Call) Return(_a0 string, _a1 error) *SysProbeUtil_GetNetworkID_Call
- func (_c *SysProbeUtil_GetNetworkID_Call) Run(run func()) *SysProbeUtil_GetNetworkID_Call
- func (_c *SysProbeUtil_GetNetworkID_Call) RunAndReturn(run func() (string, error)) *SysProbeUtil_GetNetworkID_Call
- type SysProbeUtil_GetPing_Call
- func (_c *SysProbeUtil_GetPing_Call) Return(_a0 []byte, _a1 error) *SysProbeUtil_GetPing_Call
- func (_c *SysProbeUtil_GetPing_Call) Run(run func(clientID string, host string, count int, interval time.Duration, ...)) *SysProbeUtil_GetPing_Call
- func (_c *SysProbeUtil_GetPing_Call) RunAndReturn(run func(string, string, int, time.Duration, time.Duration) ([]byte, error)) *SysProbeUtil_GetPing_Call
- type SysProbeUtil_GetPprof_Call
- func (_c *SysProbeUtil_GetPprof_Call) Return(_a0 []byte, _a1 error) *SysProbeUtil_GetPprof_Call
- func (_c *SysProbeUtil_GetPprof_Call) Run(run func(path string)) *SysProbeUtil_GetPprof_Call
- func (_c *SysProbeUtil_GetPprof_Call) RunAndReturn(run func(string) ([]byte, error)) *SysProbeUtil_GetPprof_Call
- type SysProbeUtil_GetProcStats_Call
- func (_c *SysProbeUtil_GetProcStats_Call) Return(_a0 *process.ProcStatsWithPermByPID, _a1 error) *SysProbeUtil_GetProcStats_Call
- func (_c *SysProbeUtil_GetProcStats_Call) Run(run func(pids []int32)) *SysProbeUtil_GetProcStats_Call
- func (_c *SysProbeUtil_GetProcStats_Call) RunAndReturn(run func([]int32) (*process.ProcStatsWithPermByPID, error)) *SysProbeUtil_GetProcStats_Call
- type SysProbeUtil_GetStats_Call
- func (_c *SysProbeUtil_GetStats_Call) Return(_a0 map[string]interface{}, _a1 error) *SysProbeUtil_GetStats_Call
- func (_c *SysProbeUtil_GetStats_Call) Run(run func()) *SysProbeUtil_GetStats_Call
- func (_c *SysProbeUtil_GetStats_Call) RunAndReturn(run func() (map[string]interface{}, error)) *SysProbeUtil_GetStats_Call
- type SysProbeUtil_GetTelemetry_Call
- func (_c *SysProbeUtil_GetTelemetry_Call) Return(_a0 []byte, _a1 error) *SysProbeUtil_GetTelemetry_Call
- func (_c *SysProbeUtil_GetTelemetry_Call) Run(run func()) *SysProbeUtil_GetTelemetry_Call
- func (_c *SysProbeUtil_GetTelemetry_Call) RunAndReturn(run func() ([]byte, error)) *SysProbeUtil_GetTelemetry_Call
- type SysProbeUtil_GetTraceroute_Call
- type SysProbeUtil_Register_Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SysProbeUtil ¶
SysProbeUtil is an autogenerated mock type for the SysProbeUtil type
func NewSysProbeUtil ¶
func NewSysProbeUtil(t interface { mock.TestingT Cleanup(func()) }) *SysProbeUtil
NewSysProbeUtil creates a new instance of SysProbeUtil. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*SysProbeUtil) DetectLanguage ¶
func (_m *SysProbeUtil) DetectLanguage(pids []int32) ([]languagemodels.Language, error)
DetectLanguage provides a mock function with given fields: pids
func (*SysProbeUtil) EXPECT ¶
func (_m *SysProbeUtil) EXPECT() *SysProbeUtil_Expecter
func (*SysProbeUtil) GetBTFLoaderInfo ¶
func (_m *SysProbeUtil) GetBTFLoaderInfo() ([]byte, error)
GetBTFLoaderInfo provides a mock function with given fields:
func (*SysProbeUtil) GetConnTrackCached ¶
func (_m *SysProbeUtil) GetConnTrackCached() ([]byte, error)
GetConnTrackCached provides a mock function with given fields:
func (*SysProbeUtil) GetConnTrackHost ¶
func (_m *SysProbeUtil) GetConnTrackHost() ([]byte, error)
GetConnTrackHost provides a mock function with given fields:
func (*SysProbeUtil) GetConnections ¶
func (_m *SysProbeUtil) GetConnections(clientID string) (*process.Connections, error)
GetConnections provides a mock function with given fields: clientID
func (*SysProbeUtil) GetDiscoveryServices ¶
func (_m *SysProbeUtil) GetDiscoveryServices() (*model.ServicesResponse, error)
GetDiscoveryServices provides a mock function with given fields:
func (*SysProbeUtil) GetNetworkID ¶
func (_m *SysProbeUtil) GetNetworkID() (string, error)
GetNetworkID provides a mock function with given fields:
func (*SysProbeUtil) GetPing ¶
func (_m *SysProbeUtil) GetPing(clientID string, host string, count int, interval time.Duration, timeout time.Duration) ([]byte, error)
GetPing provides a mock function with given fields: clientID, host, count, interval, timeout
func (*SysProbeUtil) GetPprof ¶
func (_m *SysProbeUtil) GetPprof(path string) ([]byte, error)
GetPprof provides a mock function with given fields: path
func (*SysProbeUtil) GetProcStats ¶
func (_m *SysProbeUtil) GetProcStats(pids []int32) (*process.ProcStatsWithPermByPID, error)
GetProcStats provides a mock function with given fields: pids
func (*SysProbeUtil) GetStats ¶
func (_m *SysProbeUtil) GetStats() (map[string]interface{}, error)
GetStats provides a mock function with given fields:
func (*SysProbeUtil) GetTelemetry ¶
func (_m *SysProbeUtil) GetTelemetry() ([]byte, error)
GetTelemetry provides a mock function with given fields:
func (*SysProbeUtil) GetTraceroute ¶
func (_m *SysProbeUtil) GetTraceroute(clientID string, host string, port uint16, protocol payload.Protocol, maxTTL uint8, timeout time.Duration) ([]byte, error)
GetTraceroute provides a mock function with given fields: clientID, host, port, protocol, maxTTL, timeout
func (*SysProbeUtil) Register ¶
func (_m *SysProbeUtil) Register(clientID string) error
Register provides a mock function with given fields: clientID
type SysProbeUtil_DetectLanguage_Call ¶
SysProbeUtil_DetectLanguage_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DetectLanguage'
func (*SysProbeUtil_DetectLanguage_Call) Return ¶
func (_c *SysProbeUtil_DetectLanguage_Call) Return(_a0 []languagemodels.Language, _a1 error) *SysProbeUtil_DetectLanguage_Call
func (*SysProbeUtil_DetectLanguage_Call) Run ¶
func (_c *SysProbeUtil_DetectLanguage_Call) Run(run func(pids []int32)) *SysProbeUtil_DetectLanguage_Call
func (*SysProbeUtil_DetectLanguage_Call) RunAndReturn ¶
func (_c *SysProbeUtil_DetectLanguage_Call) RunAndReturn(run func([]int32) ([]languagemodels.Language, error)) *SysProbeUtil_DetectLanguage_Call
type SysProbeUtil_Expecter ¶
type SysProbeUtil_Expecter struct {
// contains filtered or unexported fields
}
func (*SysProbeUtil_Expecter) DetectLanguage ¶
func (_e *SysProbeUtil_Expecter) DetectLanguage(pids interface{}) *SysProbeUtil_DetectLanguage_Call
DetectLanguage is a helper method to define mock.On call
- pids []int32
func (*SysProbeUtil_Expecter) GetBTFLoaderInfo ¶
func (_e *SysProbeUtil_Expecter) GetBTFLoaderInfo() *SysProbeUtil_GetBTFLoaderInfo_Call
GetBTFLoaderInfo is a helper method to define mock.On call
func (*SysProbeUtil_Expecter) GetConnTrackCached ¶
func (_e *SysProbeUtil_Expecter) GetConnTrackCached() *SysProbeUtil_GetConnTrackCached_Call
GetConnTrackCached is a helper method to define mock.On call
func (*SysProbeUtil_Expecter) GetConnTrackHost ¶
func (_e *SysProbeUtil_Expecter) GetConnTrackHost() *SysProbeUtil_GetConnTrackHost_Call
GetConnTrackHost is a helper method to define mock.On call
func (*SysProbeUtil_Expecter) GetConnections ¶
func (_e *SysProbeUtil_Expecter) GetConnections(clientID interface{}) *SysProbeUtil_GetConnections_Call
GetConnections is a helper method to define mock.On call
- clientID string
func (*SysProbeUtil_Expecter) GetDiscoveryServices ¶
func (_e *SysProbeUtil_Expecter) GetDiscoveryServices() *SysProbeUtil_GetDiscoveryServices_Call
GetDiscoveryServices is a helper method to define mock.On call
func (*SysProbeUtil_Expecter) GetNetworkID ¶
func (_e *SysProbeUtil_Expecter) GetNetworkID() *SysProbeUtil_GetNetworkID_Call
GetNetworkID is a helper method to define mock.On call
func (*SysProbeUtil_Expecter) GetPing ¶
func (_e *SysProbeUtil_Expecter) GetPing(clientID interface{}, host interface{}, count interface{}, interval interface{}, timeout interface{}) *SysProbeUtil_GetPing_Call
GetPing is a helper method to define mock.On call
- clientID string
- host string
- count int
- interval time.Duration
- timeout time.Duration
func (*SysProbeUtil_Expecter) GetPprof ¶
func (_e *SysProbeUtil_Expecter) GetPprof(path interface{}) *SysProbeUtil_GetPprof_Call
GetPprof is a helper method to define mock.On call
- path string
func (*SysProbeUtil_Expecter) GetProcStats ¶
func (_e *SysProbeUtil_Expecter) GetProcStats(pids interface{}) *SysProbeUtil_GetProcStats_Call
GetProcStats is a helper method to define mock.On call
- pids []int32
func (*SysProbeUtil_Expecter) GetStats ¶
func (_e *SysProbeUtil_Expecter) GetStats() *SysProbeUtil_GetStats_Call
GetStats is a helper method to define mock.On call
func (*SysProbeUtil_Expecter) GetTelemetry ¶
func (_e *SysProbeUtil_Expecter) GetTelemetry() *SysProbeUtil_GetTelemetry_Call
GetTelemetry is a helper method to define mock.On call
func (*SysProbeUtil_Expecter) GetTraceroute ¶
func (_e *SysProbeUtil_Expecter) GetTraceroute(clientID interface{}, host interface{}, port interface{}, protocol interface{}, maxTTL interface{}, timeout interface{}) *SysProbeUtil_GetTraceroute_Call
GetTraceroute is a helper method to define mock.On call
- clientID string
- host string
- port uint16
- protocol payload.Protocol
- maxTTL uint8
- timeout time.Duration
func (*SysProbeUtil_Expecter) Register ¶
func (_e *SysProbeUtil_Expecter) Register(clientID interface{}) *SysProbeUtil_Register_Call
Register is a helper method to define mock.On call
- clientID string
type SysProbeUtil_GetBTFLoaderInfo_Call ¶
SysProbeUtil_GetBTFLoaderInfo_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetBTFLoaderInfo'
func (*SysProbeUtil_GetBTFLoaderInfo_Call) Return ¶
func (_c *SysProbeUtil_GetBTFLoaderInfo_Call) Return(_a0 []byte, _a1 error) *SysProbeUtil_GetBTFLoaderInfo_Call
func (*SysProbeUtil_GetBTFLoaderInfo_Call) Run ¶
func (_c *SysProbeUtil_GetBTFLoaderInfo_Call) Run(run func()) *SysProbeUtil_GetBTFLoaderInfo_Call
func (*SysProbeUtil_GetBTFLoaderInfo_Call) RunAndReturn ¶
func (_c *SysProbeUtil_GetBTFLoaderInfo_Call) RunAndReturn(run func() ([]byte, error)) *SysProbeUtil_GetBTFLoaderInfo_Call
type SysProbeUtil_GetConnTrackCached_Call ¶
SysProbeUtil_GetConnTrackCached_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetConnTrackCached'
func (*SysProbeUtil_GetConnTrackCached_Call) Return ¶
func (_c *SysProbeUtil_GetConnTrackCached_Call) Return(_a0 []byte, _a1 error) *SysProbeUtil_GetConnTrackCached_Call
func (*SysProbeUtil_GetConnTrackCached_Call) Run ¶
func (_c *SysProbeUtil_GetConnTrackCached_Call) Run(run func()) *SysProbeUtil_GetConnTrackCached_Call
func (*SysProbeUtil_GetConnTrackCached_Call) RunAndReturn ¶
func (_c *SysProbeUtil_GetConnTrackCached_Call) RunAndReturn(run func() ([]byte, error)) *SysProbeUtil_GetConnTrackCached_Call
type SysProbeUtil_GetConnTrackHost_Call ¶
SysProbeUtil_GetConnTrackHost_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetConnTrackHost'
func (*SysProbeUtil_GetConnTrackHost_Call) Return ¶
func (_c *SysProbeUtil_GetConnTrackHost_Call) Return(_a0 []byte, _a1 error) *SysProbeUtil_GetConnTrackHost_Call
func (*SysProbeUtil_GetConnTrackHost_Call) Run ¶
func (_c *SysProbeUtil_GetConnTrackHost_Call) Run(run func()) *SysProbeUtil_GetConnTrackHost_Call
func (*SysProbeUtil_GetConnTrackHost_Call) RunAndReturn ¶
func (_c *SysProbeUtil_GetConnTrackHost_Call) RunAndReturn(run func() ([]byte, error)) *SysProbeUtil_GetConnTrackHost_Call
type SysProbeUtil_GetConnections_Call ¶
SysProbeUtil_GetConnections_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetConnections'
func (*SysProbeUtil_GetConnections_Call) Return ¶
func (_c *SysProbeUtil_GetConnections_Call) Return(_a0 *process.Connections, _a1 error) *SysProbeUtil_GetConnections_Call
func (*SysProbeUtil_GetConnections_Call) Run ¶
func (_c *SysProbeUtil_GetConnections_Call) Run(run func(clientID string)) *SysProbeUtil_GetConnections_Call
func (*SysProbeUtil_GetConnections_Call) RunAndReturn ¶
func (_c *SysProbeUtil_GetConnections_Call) RunAndReturn(run func(string) (*process.Connections, error)) *SysProbeUtil_GetConnections_Call
type SysProbeUtil_GetDiscoveryServices_Call ¶
SysProbeUtil_GetDiscoveryServices_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetDiscoveryServices'
func (*SysProbeUtil_GetDiscoveryServices_Call) Return ¶
func (_c *SysProbeUtil_GetDiscoveryServices_Call) Return(_a0 *model.ServicesResponse, _a1 error) *SysProbeUtil_GetDiscoveryServices_Call
func (*SysProbeUtil_GetDiscoveryServices_Call) Run ¶
func (_c *SysProbeUtil_GetDiscoveryServices_Call) Run(run func()) *SysProbeUtil_GetDiscoveryServices_Call
func (*SysProbeUtil_GetDiscoveryServices_Call) RunAndReturn ¶
func (_c *SysProbeUtil_GetDiscoveryServices_Call) RunAndReturn(run func() (*model.ServicesResponse, error)) *SysProbeUtil_GetDiscoveryServices_Call
type SysProbeUtil_GetNetworkID_Call ¶
SysProbeUtil_GetNetworkID_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetNetworkID'
func (*SysProbeUtil_GetNetworkID_Call) Return ¶
func (_c *SysProbeUtil_GetNetworkID_Call) Return(_a0 string, _a1 error) *SysProbeUtil_GetNetworkID_Call
func (*SysProbeUtil_GetNetworkID_Call) Run ¶
func (_c *SysProbeUtil_GetNetworkID_Call) Run(run func()) *SysProbeUtil_GetNetworkID_Call
func (*SysProbeUtil_GetNetworkID_Call) RunAndReturn ¶
func (_c *SysProbeUtil_GetNetworkID_Call) RunAndReturn(run func() (string, error)) *SysProbeUtil_GetNetworkID_Call
type SysProbeUtil_GetPing_Call ¶
SysProbeUtil_GetPing_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetPing'
func (*SysProbeUtil_GetPing_Call) Return ¶
func (_c *SysProbeUtil_GetPing_Call) Return(_a0 []byte, _a1 error) *SysProbeUtil_GetPing_Call
func (*SysProbeUtil_GetPing_Call) Run ¶
func (_c *SysProbeUtil_GetPing_Call) Run(run func(clientID string, host string, count int, interval time.Duration, timeout time.Duration)) *SysProbeUtil_GetPing_Call
func (*SysProbeUtil_GetPing_Call) RunAndReturn ¶
type SysProbeUtil_GetPprof_Call ¶
SysProbeUtil_GetPprof_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetPprof'
func (*SysProbeUtil_GetPprof_Call) Return ¶
func (_c *SysProbeUtil_GetPprof_Call) Return(_a0 []byte, _a1 error) *SysProbeUtil_GetPprof_Call
func (*SysProbeUtil_GetPprof_Call) Run ¶
func (_c *SysProbeUtil_GetPprof_Call) Run(run func(path string)) *SysProbeUtil_GetPprof_Call
func (*SysProbeUtil_GetPprof_Call) RunAndReturn ¶
func (_c *SysProbeUtil_GetPprof_Call) RunAndReturn(run func(string) ([]byte, error)) *SysProbeUtil_GetPprof_Call
type SysProbeUtil_GetProcStats_Call ¶
SysProbeUtil_GetProcStats_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetProcStats'
func (*SysProbeUtil_GetProcStats_Call) Return ¶
func (_c *SysProbeUtil_GetProcStats_Call) Return(_a0 *process.ProcStatsWithPermByPID, _a1 error) *SysProbeUtil_GetProcStats_Call
func (*SysProbeUtil_GetProcStats_Call) Run ¶
func (_c *SysProbeUtil_GetProcStats_Call) Run(run func(pids []int32)) *SysProbeUtil_GetProcStats_Call
func (*SysProbeUtil_GetProcStats_Call) RunAndReturn ¶
func (_c *SysProbeUtil_GetProcStats_Call) RunAndReturn(run func([]int32) (*process.ProcStatsWithPermByPID, error)) *SysProbeUtil_GetProcStats_Call
type SysProbeUtil_GetStats_Call ¶
SysProbeUtil_GetStats_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetStats'
func (*SysProbeUtil_GetStats_Call) Return ¶
func (_c *SysProbeUtil_GetStats_Call) Return(_a0 map[string]interface{}, _a1 error) *SysProbeUtil_GetStats_Call
func (*SysProbeUtil_GetStats_Call) Run ¶
func (_c *SysProbeUtil_GetStats_Call) Run(run func()) *SysProbeUtil_GetStats_Call
func (*SysProbeUtil_GetStats_Call) RunAndReturn ¶
func (_c *SysProbeUtil_GetStats_Call) RunAndReturn(run func() (map[string]interface{}, error)) *SysProbeUtil_GetStats_Call
type SysProbeUtil_GetTelemetry_Call ¶
SysProbeUtil_GetTelemetry_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetTelemetry'
func (*SysProbeUtil_GetTelemetry_Call) Return ¶
func (_c *SysProbeUtil_GetTelemetry_Call) Return(_a0 []byte, _a1 error) *SysProbeUtil_GetTelemetry_Call
func (*SysProbeUtil_GetTelemetry_Call) Run ¶
func (_c *SysProbeUtil_GetTelemetry_Call) Run(run func()) *SysProbeUtil_GetTelemetry_Call
func (*SysProbeUtil_GetTelemetry_Call) RunAndReturn ¶
func (_c *SysProbeUtil_GetTelemetry_Call) RunAndReturn(run func() ([]byte, error)) *SysProbeUtil_GetTelemetry_Call
type SysProbeUtil_GetTraceroute_Call ¶
SysProbeUtil_GetTraceroute_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetTraceroute'
func (*SysProbeUtil_GetTraceroute_Call) Return ¶
func (_c *SysProbeUtil_GetTraceroute_Call) Return(_a0 []byte, _a1 error) *SysProbeUtil_GetTraceroute_Call
func (*SysProbeUtil_GetTraceroute_Call) Run ¶
func (_c *SysProbeUtil_GetTraceroute_Call) Run(run func(clientID string, host string, port uint16, protocol payload.Protocol, maxTTL uint8, timeout time.Duration)) *SysProbeUtil_GetTraceroute_Call
func (*SysProbeUtil_GetTraceroute_Call) RunAndReturn ¶
type SysProbeUtil_Register_Call ¶
SysProbeUtil_Register_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Register'
func (*SysProbeUtil_Register_Call) Return ¶
func (_c *SysProbeUtil_Register_Call) Return(_a0 error) *SysProbeUtil_Register_Call
func (*SysProbeUtil_Register_Call) Run ¶
func (_c *SysProbeUtil_Register_Call) Run(run func(clientID string)) *SysProbeUtil_Register_Call
func (*SysProbeUtil_Register_Call) RunAndReturn ¶
func (_c *SysProbeUtil_Register_Call) RunAndReturn(run func(string) error) *SysProbeUtil_Register_Call