Documentation ¶
Overview ¶
Copyright 2020 New Relic Corporation. All rights reserved. SPDX-License-Identifier: Apache-2.0 Code generated by mockery v1.0.0. DO NOT EDIT.
Index ¶
- type AgentContext
- func (_m *AgentContext) ActiveEntitiesChannel() chan string
- func (_m *AgentContext) AddReconnecting(_a0 agent.Plugin)
- func (_m *AgentContext) CacheServicePids(source string, pidMap map[int]string)
- func (_m *AgentContext) Config() *config.Config
- func (_m *AgentContext) Context() context.Context
- func (_m *AgentContext) EntityKey() string
- func (_m *AgentContext) GetServiceForPid(pid int) (string, bool)
- func (_m *AgentContext) HostnameResolver() hostname.Resolver
- func (_m *AgentContext) IDLookup() host.IDLookup
- func (_m *AgentContext) Identity() entity.Identity
- func (_m *AgentContext) Reconnect()
- func (_m *AgentContext) SendData(_a0 agent.PluginOutput)
- func (_m *AgentContext) SendEvent(event sample.Event, entityKey entity.Key)
- func (_m *AgentContext) Unregister(_a0 ids.PluginID)
- func (_m *AgentContext) Version() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AgentContext ¶
AgentContext is an autogenerated mock type for the AgentContext type
func (*AgentContext) ActiveEntitiesChannel ¶
func (_m *AgentContext) ActiveEntitiesChannel() chan string
ActiveEntitiesChannel provides a mock function with given fields:
func (*AgentContext) AddReconnecting ¶
func (_m *AgentContext) AddReconnecting(_a0 agent.Plugin)
AddReconnecting provides a mock function with given fields: _a0
func (*AgentContext) CacheServicePids ¶
func (_m *AgentContext) CacheServicePids(source string, pidMap map[int]string)
CacheServicePids provides a mock function with given fields: source, pidMap
func (*AgentContext) Config ¶
func (_m *AgentContext) Config() *config.Config
Config provides a mock function with given fields:
func (*AgentContext) Context ¶
func (_m *AgentContext) Context() context.Context
func (*AgentContext) EntityKey ¶
func (_m *AgentContext) EntityKey() string
EntityKey provides a mock function with given fields:
func (*AgentContext) GetServiceForPid ¶
func (_m *AgentContext) GetServiceForPid(pid int) (string, bool)
GetServiceForPid provides a mock function with given fields: pid
func (*AgentContext) HostnameResolver ¶
func (_m *AgentContext) HostnameResolver() hostname.Resolver
HostnameResolver provides a mock function with given fields:
func (*AgentContext) IDLookup ¶
func (_m *AgentContext) IDLookup() host.IDLookup
IDLookup provides a mock function with given fields:
func (*AgentContext) Identity ¶
func (_m *AgentContext) Identity() entity.Identity
AgentIdentity provides a mock function with given fields:
func (*AgentContext) Reconnect ¶
func (_m *AgentContext) Reconnect()
Reconnect provides a mock function with given fields:
func (*AgentContext) SendData ¶
func (_m *AgentContext) SendData(_a0 agent.PluginOutput)
SendData provides a mock function with given fields: _a0
func (*AgentContext) SendEvent ¶
func (_m *AgentContext) SendEvent(event sample.Event, entityKey entity.Key)
SendEvent provides a mock function with given fields: event, entityKey
func (*AgentContext) Unregister ¶
func (_m *AgentContext) Unregister(_a0 ids.PluginID)
Unregister provides a mock function with given fields: _a0
func (*AgentContext) Version ¶
func (_m *AgentContext) Version() string
Version provides a mock function with given fields: