Documentation ¶
Index ¶
- type Client
- func (_m *Client) CreateOrUpdateKubernetesAppSetting(scope string) (string, error)
- func (_m *Client) CreateOrUpdateKubernetesSetting(name string, kubeSystemUUID string, scope string) (string, error)
- func (_m *Client) EXPECT() *Client_Expecter
- func (_m *Client) GetActiveGateAuthToken(dynakubeName string) (*dynatrace.ActiveGateAuthTokenInfo, error)
- func (_m *Client) GetActiveGateConnectionInfo() (dynatrace.ActiveGateConnectionInfo, error)
- func (_m *Client) GetAgent(os string, installerType string, flavor string, arch string, version string, ...) error
- func (_m *Client) GetAgentVersions(os string, installerType string, flavor string, arch string) ([]string, error)
- func (_m *Client) GetAgentViaInstallerUrl(url string, writer io.Writer) error
- func (_m *Client) GetCommunicationHostForClient() (dynatrace.CommunicationHost, error)
- func (_m *Client) GetEntityIDForIP(ip string) (string, error)
- func (_m *Client) GetLatestActiveGateImage() (*dynatrace.LatestImageInfo, error)
- func (_m *Client) GetLatestAgent(os string, installerType string, flavor string, arch string, ...) error
- func (_m *Client) GetLatestAgentVersion(os string, installerType string) (string, error)
- func (_m *Client) GetLatestCodeModulesImage() (*dynatrace.LatestImageInfo, error)
- func (_m *Client) GetLatestOneAgentImage() (*dynatrace.LatestImageInfo, error)
- func (_m *Client) GetMonitoredEntitiesForKubeSystemUUID(kubeSystemUUID string) ([]dynatrace.MonitoredEntity, error)
- func (_m *Client) GetOneAgentConnectionInfo() (dynatrace.OneAgentConnectionInfo, error)
- func (_m *Client) GetProcessModuleConfig(prevRevision uint) (*dynatrace.ProcessModuleConfig, error)
- func (_m *Client) GetSettingsForMonitoredEntities(monitoredEntities []dynatrace.MonitoredEntity, schemaId string) (dynatrace.GetSettingsResponse, error)
- func (_m *Client) GetTokenScopes(token string) (dynatrace.TokenScopes, error)
- func (_m *Client) SendEvent(eventData *dynatrace.EventData) error
- type Client_CreateOrUpdateKubernetesAppSetting_Call
- func (_c *Client_CreateOrUpdateKubernetesAppSetting_Call) Return(_a0 string, _a1 error) *Client_CreateOrUpdateKubernetesAppSetting_Call
- func (_c *Client_CreateOrUpdateKubernetesAppSetting_Call) Run(run func(scope string)) *Client_CreateOrUpdateKubernetesAppSetting_Call
- func (_c *Client_CreateOrUpdateKubernetesAppSetting_Call) RunAndReturn(run func(string) (string, error)) *Client_CreateOrUpdateKubernetesAppSetting_Call
- type Client_CreateOrUpdateKubernetesSetting_Call
- func (_c *Client_CreateOrUpdateKubernetesSetting_Call) Return(_a0 string, _a1 error) *Client_CreateOrUpdateKubernetesSetting_Call
- func (_c *Client_CreateOrUpdateKubernetesSetting_Call) Run(run func(name string, kubeSystemUUID string, scope string)) *Client_CreateOrUpdateKubernetesSetting_Call
- func (_c *Client_CreateOrUpdateKubernetesSetting_Call) RunAndReturn(run func(string, string, string) (string, error)) *Client_CreateOrUpdateKubernetesSetting_Call
- type Client_Expecter
- func (_e *Client_Expecter) CreateOrUpdateKubernetesAppSetting(scope interface{}) *Client_CreateOrUpdateKubernetesAppSetting_Call
- func (_e *Client_Expecter) CreateOrUpdateKubernetesSetting(name interface{}, kubeSystemUUID interface{}, scope interface{}) *Client_CreateOrUpdateKubernetesSetting_Call
- func (_e *Client_Expecter) GetActiveGateAuthToken(dynakubeName interface{}) *Client_GetActiveGateAuthToken_Call
- func (_e *Client_Expecter) GetActiveGateConnectionInfo() *Client_GetActiveGateConnectionInfo_Call
- func (_e *Client_Expecter) GetAgent(os interface{}, installerType interface{}, flavor interface{}, ...) *Client_GetAgent_Call
- func (_e *Client_Expecter) GetAgentVersions(os interface{}, installerType interface{}, flavor interface{}, ...) *Client_GetAgentVersions_Call
- func (_e *Client_Expecter) GetAgentViaInstallerUrl(url interface{}, writer interface{}) *Client_GetAgentViaInstallerUrl_Call
- func (_e *Client_Expecter) GetCommunicationHostForClient() *Client_GetCommunicationHostForClient_Call
- func (_e *Client_Expecter) GetEntityIDForIP(ip interface{}) *Client_GetEntityIDForIP_Call
- func (_e *Client_Expecter) GetLatestActiveGateImage() *Client_GetLatestActiveGateImage_Call
- func (_e *Client_Expecter) GetLatestAgent(os interface{}, installerType interface{}, flavor interface{}, ...) *Client_GetLatestAgent_Call
- func (_e *Client_Expecter) GetLatestAgentVersion(os interface{}, installerType interface{}) *Client_GetLatestAgentVersion_Call
- func (_e *Client_Expecter) GetLatestCodeModulesImage() *Client_GetLatestCodeModulesImage_Call
- func (_e *Client_Expecter) GetLatestOneAgentImage() *Client_GetLatestOneAgentImage_Call
- func (_e *Client_Expecter) GetMonitoredEntitiesForKubeSystemUUID(kubeSystemUUID interface{}) *Client_GetMonitoredEntitiesForKubeSystemUUID_Call
- func (_e *Client_Expecter) GetOneAgentConnectionInfo() *Client_GetOneAgentConnectionInfo_Call
- func (_e *Client_Expecter) GetProcessModuleConfig(prevRevision interface{}) *Client_GetProcessModuleConfig_Call
- func (_e *Client_Expecter) GetSettingsForMonitoredEntities(monitoredEntities interface{}, schemaId interface{}) *Client_GetSettingsForMonitoredEntities_Call
- func (_e *Client_Expecter) GetTokenScopes(token interface{}) *Client_GetTokenScopes_Call
- func (_e *Client_Expecter) SendEvent(eventData interface{}) *Client_SendEvent_Call
- type Client_GetActiveGateAuthToken_Call
- func (_c *Client_GetActiveGateAuthToken_Call) Return(_a0 *dynatrace.ActiveGateAuthTokenInfo, _a1 error) *Client_GetActiveGateAuthToken_Call
- func (_c *Client_GetActiveGateAuthToken_Call) Run(run func(dynakubeName string)) *Client_GetActiveGateAuthToken_Call
- func (_c *Client_GetActiveGateAuthToken_Call) RunAndReturn(run func(string) (*dynatrace.ActiveGateAuthTokenInfo, error)) *Client_GetActiveGateAuthToken_Call
- type Client_GetActiveGateConnectionInfo_Call
- func (_c *Client_GetActiveGateConnectionInfo_Call) Return(_a0 dynatrace.ActiveGateConnectionInfo, _a1 error) *Client_GetActiveGateConnectionInfo_Call
- func (_c *Client_GetActiveGateConnectionInfo_Call) Run(run func()) *Client_GetActiveGateConnectionInfo_Call
- func (_c *Client_GetActiveGateConnectionInfo_Call) RunAndReturn(run func() (dynatrace.ActiveGateConnectionInfo, error)) *Client_GetActiveGateConnectionInfo_Call
- type Client_GetAgentVersions_Call
- func (_c *Client_GetAgentVersions_Call) Return(_a0 []string, _a1 error) *Client_GetAgentVersions_Call
- func (_c *Client_GetAgentVersions_Call) Run(run func(os string, installerType string, flavor string, arch string)) *Client_GetAgentVersions_Call
- func (_c *Client_GetAgentVersions_Call) RunAndReturn(run func(string, string, string, string) ([]string, error)) *Client_GetAgentVersions_Call
- type Client_GetAgentViaInstallerUrl_Call
- func (_c *Client_GetAgentViaInstallerUrl_Call) Return(_a0 error) *Client_GetAgentViaInstallerUrl_Call
- func (_c *Client_GetAgentViaInstallerUrl_Call) Run(run func(url string, writer io.Writer)) *Client_GetAgentViaInstallerUrl_Call
- func (_c *Client_GetAgentViaInstallerUrl_Call) RunAndReturn(run func(string, io.Writer) error) *Client_GetAgentViaInstallerUrl_Call
- type Client_GetAgent_Call
- type Client_GetCommunicationHostForClient_Call
- func (_c *Client_GetCommunicationHostForClient_Call) Return(_a0 dynatrace.CommunicationHost, _a1 error) *Client_GetCommunicationHostForClient_Call
- func (_c *Client_GetCommunicationHostForClient_Call) Run(run func()) *Client_GetCommunicationHostForClient_Call
- func (_c *Client_GetCommunicationHostForClient_Call) RunAndReturn(run func() (dynatrace.CommunicationHost, error)) *Client_GetCommunicationHostForClient_Call
- type Client_GetEntityIDForIP_Call
- func (_c *Client_GetEntityIDForIP_Call) Return(_a0 string, _a1 error) *Client_GetEntityIDForIP_Call
- func (_c *Client_GetEntityIDForIP_Call) Run(run func(ip string)) *Client_GetEntityIDForIP_Call
- func (_c *Client_GetEntityIDForIP_Call) RunAndReturn(run func(string) (string, error)) *Client_GetEntityIDForIP_Call
- type Client_GetLatestActiveGateImage_Call
- func (_c *Client_GetLatestActiveGateImage_Call) Return(_a0 *dynatrace.LatestImageInfo, _a1 error) *Client_GetLatestActiveGateImage_Call
- func (_c *Client_GetLatestActiveGateImage_Call) Run(run func()) *Client_GetLatestActiveGateImage_Call
- func (_c *Client_GetLatestActiveGateImage_Call) RunAndReturn(run func() (*dynatrace.LatestImageInfo, error)) *Client_GetLatestActiveGateImage_Call
- type Client_GetLatestAgentVersion_Call
- func (_c *Client_GetLatestAgentVersion_Call) Return(_a0 string, _a1 error) *Client_GetLatestAgentVersion_Call
- func (_c *Client_GetLatestAgentVersion_Call) Run(run func(os string, installerType string)) *Client_GetLatestAgentVersion_Call
- func (_c *Client_GetLatestAgentVersion_Call) RunAndReturn(run func(string, string) (string, error)) *Client_GetLatestAgentVersion_Call
- type Client_GetLatestAgent_Call
- func (_c *Client_GetLatestAgent_Call) Return(_a0 error) *Client_GetLatestAgent_Call
- func (_c *Client_GetLatestAgent_Call) Run(run func(os string, installerType string, flavor string, arch string, ...)) *Client_GetLatestAgent_Call
- func (_c *Client_GetLatestAgent_Call) RunAndReturn(run func(string, string, string, string, []string, bool, io.Writer) error) *Client_GetLatestAgent_Call
- type Client_GetLatestCodeModulesImage_Call
- func (_c *Client_GetLatestCodeModulesImage_Call) Return(_a0 *dynatrace.LatestImageInfo, _a1 error) *Client_GetLatestCodeModulesImage_Call
- func (_c *Client_GetLatestCodeModulesImage_Call) Run(run func()) *Client_GetLatestCodeModulesImage_Call
- func (_c *Client_GetLatestCodeModulesImage_Call) RunAndReturn(run func() (*dynatrace.LatestImageInfo, error)) *Client_GetLatestCodeModulesImage_Call
- type Client_GetLatestOneAgentImage_Call
- func (_c *Client_GetLatestOneAgentImage_Call) Return(_a0 *dynatrace.LatestImageInfo, _a1 error) *Client_GetLatestOneAgentImage_Call
- func (_c *Client_GetLatestOneAgentImage_Call) Run(run func()) *Client_GetLatestOneAgentImage_Call
- func (_c *Client_GetLatestOneAgentImage_Call) RunAndReturn(run func() (*dynatrace.LatestImageInfo, error)) *Client_GetLatestOneAgentImage_Call
- type Client_GetMonitoredEntitiesForKubeSystemUUID_Call
- func (_c *Client_GetMonitoredEntitiesForKubeSystemUUID_Call) Return(_a0 []dynatrace.MonitoredEntity, _a1 error) *Client_GetMonitoredEntitiesForKubeSystemUUID_Call
- func (_c *Client_GetMonitoredEntitiesForKubeSystemUUID_Call) Run(run func(kubeSystemUUID string)) *Client_GetMonitoredEntitiesForKubeSystemUUID_Call
- func (_c *Client_GetMonitoredEntitiesForKubeSystemUUID_Call) RunAndReturn(run func(string) ([]dynatrace.MonitoredEntity, error)) *Client_GetMonitoredEntitiesForKubeSystemUUID_Call
- type Client_GetOneAgentConnectionInfo_Call
- func (_c *Client_GetOneAgentConnectionInfo_Call) Return(_a0 dynatrace.OneAgentConnectionInfo, _a1 error) *Client_GetOneAgentConnectionInfo_Call
- func (_c *Client_GetOneAgentConnectionInfo_Call) Run(run func()) *Client_GetOneAgentConnectionInfo_Call
- func (_c *Client_GetOneAgentConnectionInfo_Call) RunAndReturn(run func() (dynatrace.OneAgentConnectionInfo, error)) *Client_GetOneAgentConnectionInfo_Call
- type Client_GetProcessModuleConfig_Call
- func (_c *Client_GetProcessModuleConfig_Call) Return(_a0 *dynatrace.ProcessModuleConfig, _a1 error) *Client_GetProcessModuleConfig_Call
- func (_c *Client_GetProcessModuleConfig_Call) Run(run func(prevRevision uint)) *Client_GetProcessModuleConfig_Call
- func (_c *Client_GetProcessModuleConfig_Call) RunAndReturn(run func(uint) (*dynatrace.ProcessModuleConfig, error)) *Client_GetProcessModuleConfig_Call
- type Client_GetSettingsForMonitoredEntities_Call
- func (_c *Client_GetSettingsForMonitoredEntities_Call) Return(_a0 dynatrace.GetSettingsResponse, _a1 error) *Client_GetSettingsForMonitoredEntities_Call
- func (_c *Client_GetSettingsForMonitoredEntities_Call) Run(run func(monitoredEntities []dynatrace.MonitoredEntity, schemaId string)) *Client_GetSettingsForMonitoredEntities_Call
- func (_c *Client_GetSettingsForMonitoredEntities_Call) RunAndReturn(...) *Client_GetSettingsForMonitoredEntities_Call
- type Client_GetTokenScopes_Call
- func (_c *Client_GetTokenScopes_Call) Return(_a0 dynatrace.TokenScopes, _a1 error) *Client_GetTokenScopes_Call
- func (_c *Client_GetTokenScopes_Call) Run(run func(token string)) *Client_GetTokenScopes_Call
- func (_c *Client_GetTokenScopes_Call) RunAndReturn(run func(string) (dynatrace.TokenScopes, error)) *Client_GetTokenScopes_Call
- type Client_SendEvent_Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
Client is an autogenerated mock type for the Client type
func NewClient ¶
NewClient creates a new instance of Client. 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 (*Client) CreateOrUpdateKubernetesAppSetting ¶
CreateOrUpdateKubernetesAppSetting provides a mock function with given fields: scope
func (*Client) CreateOrUpdateKubernetesSetting ¶
func (_m *Client) CreateOrUpdateKubernetesSetting(name string, kubeSystemUUID string, scope string) (string, error)
CreateOrUpdateKubernetesSetting provides a mock function with given fields: name, kubeSystemUUID, scope
func (*Client) EXPECT ¶
func (_m *Client) EXPECT() *Client_Expecter
func (*Client) GetActiveGateAuthToken ¶
func (_m *Client) GetActiveGateAuthToken(dynakubeName string) (*dynatrace.ActiveGateAuthTokenInfo, error)
GetActiveGateAuthToken provides a mock function with given fields: dynakubeName
func (*Client) GetActiveGateConnectionInfo ¶
func (_m *Client) GetActiveGateConnectionInfo() (dynatrace.ActiveGateConnectionInfo, error)
GetActiveGateConnectionInfo provides a mock function with given fields:
func (*Client) GetAgent ¶
func (_m *Client) GetAgent(os string, installerType string, flavor string, arch string, version string, technologies []string, skipMetadata bool, writer io.Writer) error
GetAgent provides a mock function with given fields: os, installerType, flavor, arch, version, technologies, skipMetadata, writer
func (*Client) GetAgentVersions ¶
func (_m *Client) GetAgentVersions(os string, installerType string, flavor string, arch string) ([]string, error)
GetAgentVersions provides a mock function with given fields: os, installerType, flavor, arch
func (*Client) GetAgentViaInstallerUrl ¶
GetAgentViaInstallerUrl provides a mock function with given fields: url, writer
func (*Client) GetCommunicationHostForClient ¶
func (_m *Client) GetCommunicationHostForClient() (dynatrace.CommunicationHost, error)
GetCommunicationHostForClient provides a mock function with given fields:
func (*Client) GetEntityIDForIP ¶
GetEntityIDForIP provides a mock function with given fields: ip
func (*Client) GetLatestActiveGateImage ¶
func (_m *Client) GetLatestActiveGateImage() (*dynatrace.LatestImageInfo, error)
GetLatestActiveGateImage provides a mock function with given fields:
func (*Client) GetLatestAgent ¶
func (_m *Client) GetLatestAgent(os string, installerType string, flavor string, arch string, technologies []string, skipMetadata bool, writer io.Writer) error
GetLatestAgent provides a mock function with given fields: os, installerType, flavor, arch, technologies, skipMetadata, writer
func (*Client) GetLatestAgentVersion ¶
GetLatestAgentVersion provides a mock function with given fields: os, installerType
func (*Client) GetLatestCodeModulesImage ¶
func (_m *Client) GetLatestCodeModulesImage() (*dynatrace.LatestImageInfo, error)
GetLatestCodeModulesImage provides a mock function with given fields:
func (*Client) GetLatestOneAgentImage ¶
func (_m *Client) GetLatestOneAgentImage() (*dynatrace.LatestImageInfo, error)
GetLatestOneAgentImage provides a mock function with given fields:
func (*Client) GetMonitoredEntitiesForKubeSystemUUID ¶
func (_m *Client) GetMonitoredEntitiesForKubeSystemUUID(kubeSystemUUID string) ([]dynatrace.MonitoredEntity, error)
GetMonitoredEntitiesForKubeSystemUUID provides a mock function with given fields: kubeSystemUUID
func (*Client) GetOneAgentConnectionInfo ¶
func (_m *Client) GetOneAgentConnectionInfo() (dynatrace.OneAgentConnectionInfo, error)
GetOneAgentConnectionInfo provides a mock function with given fields:
func (*Client) GetProcessModuleConfig ¶
func (_m *Client) GetProcessModuleConfig(prevRevision uint) (*dynatrace.ProcessModuleConfig, error)
GetProcessModuleConfig provides a mock function with given fields: prevRevision
func (*Client) GetSettingsForMonitoredEntities ¶
func (_m *Client) GetSettingsForMonitoredEntities(monitoredEntities []dynatrace.MonitoredEntity, schemaId string) (dynatrace.GetSettingsResponse, error)
GetSettingsForMonitoredEntities provides a mock function with given fields: monitoredEntities, schemaId
func (*Client) GetTokenScopes ¶
func (_m *Client) GetTokenScopes(token string) (dynatrace.TokenScopes, error)
GetTokenScopes provides a mock function with given fields: token
type Client_CreateOrUpdateKubernetesAppSetting_Call ¶
Client_CreateOrUpdateKubernetesAppSetting_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateOrUpdateKubernetesAppSetting'
func (*Client_CreateOrUpdateKubernetesAppSetting_Call) Return ¶
func (_c *Client_CreateOrUpdateKubernetesAppSetting_Call) Return(_a0 string, _a1 error) *Client_CreateOrUpdateKubernetesAppSetting_Call
func (*Client_CreateOrUpdateKubernetesAppSetting_Call) Run ¶
func (_c *Client_CreateOrUpdateKubernetesAppSetting_Call) Run(run func(scope string)) *Client_CreateOrUpdateKubernetesAppSetting_Call
func (*Client_CreateOrUpdateKubernetesAppSetting_Call) RunAndReturn ¶
func (_c *Client_CreateOrUpdateKubernetesAppSetting_Call) RunAndReturn(run func(string) (string, error)) *Client_CreateOrUpdateKubernetesAppSetting_Call
type Client_CreateOrUpdateKubernetesSetting_Call ¶
Client_CreateOrUpdateKubernetesSetting_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateOrUpdateKubernetesSetting'
func (*Client_CreateOrUpdateKubernetesSetting_Call) Return ¶
func (_c *Client_CreateOrUpdateKubernetesSetting_Call) Return(_a0 string, _a1 error) *Client_CreateOrUpdateKubernetesSetting_Call
func (*Client_CreateOrUpdateKubernetesSetting_Call) Run ¶
func (_c *Client_CreateOrUpdateKubernetesSetting_Call) Run(run func(name string, kubeSystemUUID string, scope string)) *Client_CreateOrUpdateKubernetesSetting_Call
func (*Client_CreateOrUpdateKubernetesSetting_Call) RunAndReturn ¶
func (_c *Client_CreateOrUpdateKubernetesSetting_Call) RunAndReturn(run func(string, string, string) (string, error)) *Client_CreateOrUpdateKubernetesSetting_Call
type Client_Expecter ¶
type Client_Expecter struct {
// contains filtered or unexported fields
}
func (*Client_Expecter) CreateOrUpdateKubernetesAppSetting ¶
func (_e *Client_Expecter) CreateOrUpdateKubernetesAppSetting(scope interface{}) *Client_CreateOrUpdateKubernetesAppSetting_Call
CreateOrUpdateKubernetesAppSetting is a helper method to define mock.On call
- scope string
func (*Client_Expecter) CreateOrUpdateKubernetesSetting ¶
func (_e *Client_Expecter) CreateOrUpdateKubernetesSetting(name interface{}, kubeSystemUUID interface{}, scope interface{}) *Client_CreateOrUpdateKubernetesSetting_Call
CreateOrUpdateKubernetesSetting is a helper method to define mock.On call
- name string
- kubeSystemUUID string
- scope string
func (*Client_Expecter) GetActiveGateAuthToken ¶
func (_e *Client_Expecter) GetActiveGateAuthToken(dynakubeName interface{}) *Client_GetActiveGateAuthToken_Call
GetActiveGateAuthToken is a helper method to define mock.On call
- dynakubeName string
func (*Client_Expecter) GetActiveGateConnectionInfo ¶
func (_e *Client_Expecter) GetActiveGateConnectionInfo() *Client_GetActiveGateConnectionInfo_Call
GetActiveGateConnectionInfo is a helper method to define mock.On call
func (*Client_Expecter) GetAgent ¶
func (_e *Client_Expecter) GetAgent(os interface{}, installerType interface{}, flavor interface{}, arch interface{}, version interface{}, technologies interface{}, skipMetadata interface{}, writer interface{}) *Client_GetAgent_Call
GetAgent is a helper method to define mock.On call
- os string
- installerType string
- flavor string
- arch string
- version string
- technologies []string
- skipMetadata bool
- writer io.Writer
func (*Client_Expecter) GetAgentVersions ¶
func (_e *Client_Expecter) GetAgentVersions(os interface{}, installerType interface{}, flavor interface{}, arch interface{}) *Client_GetAgentVersions_Call
GetAgentVersions is a helper method to define mock.On call
- os string
- installerType string
- flavor string
- arch string
func (*Client_Expecter) GetAgentViaInstallerUrl ¶
func (_e *Client_Expecter) GetAgentViaInstallerUrl(url interface{}, writer interface{}) *Client_GetAgentViaInstallerUrl_Call
GetAgentViaInstallerUrl is a helper method to define mock.On call
- url string
- writer io.Writer
func (*Client_Expecter) GetCommunicationHostForClient ¶
func (_e *Client_Expecter) GetCommunicationHostForClient() *Client_GetCommunicationHostForClient_Call
GetCommunicationHostForClient is a helper method to define mock.On call
func (*Client_Expecter) GetEntityIDForIP ¶
func (_e *Client_Expecter) GetEntityIDForIP(ip interface{}) *Client_GetEntityIDForIP_Call
GetEntityIDForIP is a helper method to define mock.On call
- ip string
func (*Client_Expecter) GetLatestActiveGateImage ¶
func (_e *Client_Expecter) GetLatestActiveGateImage() *Client_GetLatestActiveGateImage_Call
GetLatestActiveGateImage is a helper method to define mock.On call
func (*Client_Expecter) GetLatestAgent ¶
func (_e *Client_Expecter) GetLatestAgent(os interface{}, installerType interface{}, flavor interface{}, arch interface{}, technologies interface{}, skipMetadata interface{}, writer interface{}) *Client_GetLatestAgent_Call
GetLatestAgent is a helper method to define mock.On call
- os string
- installerType string
- flavor string
- arch string
- technologies []string
- skipMetadata bool
- writer io.Writer
func (*Client_Expecter) GetLatestAgentVersion ¶
func (_e *Client_Expecter) GetLatestAgentVersion(os interface{}, installerType interface{}) *Client_GetLatestAgentVersion_Call
GetLatestAgentVersion is a helper method to define mock.On call
- os string
- installerType string
func (*Client_Expecter) GetLatestCodeModulesImage ¶
func (_e *Client_Expecter) GetLatestCodeModulesImage() *Client_GetLatestCodeModulesImage_Call
GetLatestCodeModulesImage is a helper method to define mock.On call
func (*Client_Expecter) GetLatestOneAgentImage ¶
func (_e *Client_Expecter) GetLatestOneAgentImage() *Client_GetLatestOneAgentImage_Call
GetLatestOneAgentImage is a helper method to define mock.On call
func (*Client_Expecter) GetMonitoredEntitiesForKubeSystemUUID ¶
func (_e *Client_Expecter) GetMonitoredEntitiesForKubeSystemUUID(kubeSystemUUID interface{}) *Client_GetMonitoredEntitiesForKubeSystemUUID_Call
GetMonitoredEntitiesForKubeSystemUUID is a helper method to define mock.On call
- kubeSystemUUID string
func (*Client_Expecter) GetOneAgentConnectionInfo ¶
func (_e *Client_Expecter) GetOneAgentConnectionInfo() *Client_GetOneAgentConnectionInfo_Call
GetOneAgentConnectionInfo is a helper method to define mock.On call
func (*Client_Expecter) GetProcessModuleConfig ¶
func (_e *Client_Expecter) GetProcessModuleConfig(prevRevision interface{}) *Client_GetProcessModuleConfig_Call
GetProcessModuleConfig is a helper method to define mock.On call
- prevRevision uint
func (*Client_Expecter) GetSettingsForMonitoredEntities ¶
func (_e *Client_Expecter) GetSettingsForMonitoredEntities(monitoredEntities interface{}, schemaId interface{}) *Client_GetSettingsForMonitoredEntities_Call
GetSettingsForMonitoredEntities is a helper method to define mock.On call
- monitoredEntities []dynatrace.MonitoredEntity
- schemaId string
func (*Client_Expecter) GetTokenScopes ¶
func (_e *Client_Expecter) GetTokenScopes(token interface{}) *Client_GetTokenScopes_Call
GetTokenScopes is a helper method to define mock.On call
- token string
func (*Client_Expecter) SendEvent ¶
func (_e *Client_Expecter) SendEvent(eventData interface{}) *Client_SendEvent_Call
SendEvent is a helper method to define mock.On call
- eventData *dynatrace.EventData
type Client_GetActiveGateAuthToken_Call ¶
Client_GetActiveGateAuthToken_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetActiveGateAuthToken'
func (*Client_GetActiveGateAuthToken_Call) Return ¶
func (_c *Client_GetActiveGateAuthToken_Call) Return(_a0 *dynatrace.ActiveGateAuthTokenInfo, _a1 error) *Client_GetActiveGateAuthToken_Call
func (*Client_GetActiveGateAuthToken_Call) Run ¶
func (_c *Client_GetActiveGateAuthToken_Call) Run(run func(dynakubeName string)) *Client_GetActiveGateAuthToken_Call
func (*Client_GetActiveGateAuthToken_Call) RunAndReturn ¶
func (_c *Client_GetActiveGateAuthToken_Call) RunAndReturn(run func(string) (*dynatrace.ActiveGateAuthTokenInfo, error)) *Client_GetActiveGateAuthToken_Call
type Client_GetActiveGateConnectionInfo_Call ¶
Client_GetActiveGateConnectionInfo_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetActiveGateConnectionInfo'
func (*Client_GetActiveGateConnectionInfo_Call) Return ¶
func (_c *Client_GetActiveGateConnectionInfo_Call) Return(_a0 dynatrace.ActiveGateConnectionInfo, _a1 error) *Client_GetActiveGateConnectionInfo_Call
func (*Client_GetActiveGateConnectionInfo_Call) Run ¶
func (_c *Client_GetActiveGateConnectionInfo_Call) Run(run func()) *Client_GetActiveGateConnectionInfo_Call
func (*Client_GetActiveGateConnectionInfo_Call) RunAndReturn ¶
func (_c *Client_GetActiveGateConnectionInfo_Call) RunAndReturn(run func() (dynatrace.ActiveGateConnectionInfo, error)) *Client_GetActiveGateConnectionInfo_Call
type Client_GetAgentVersions_Call ¶
Client_GetAgentVersions_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetAgentVersions'
func (*Client_GetAgentVersions_Call) Return ¶
func (_c *Client_GetAgentVersions_Call) Return(_a0 []string, _a1 error) *Client_GetAgentVersions_Call
func (*Client_GetAgentVersions_Call) Run ¶
func (_c *Client_GetAgentVersions_Call) Run(run func(os string, installerType string, flavor string, arch string)) *Client_GetAgentVersions_Call
func (*Client_GetAgentVersions_Call) RunAndReturn ¶
func (_c *Client_GetAgentVersions_Call) RunAndReturn(run func(string, string, string, string) ([]string, error)) *Client_GetAgentVersions_Call
type Client_GetAgentViaInstallerUrl_Call ¶
Client_GetAgentViaInstallerUrl_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetAgentViaInstallerUrl'
func (*Client_GetAgentViaInstallerUrl_Call) Return ¶
func (_c *Client_GetAgentViaInstallerUrl_Call) Return(_a0 error) *Client_GetAgentViaInstallerUrl_Call
func (*Client_GetAgentViaInstallerUrl_Call) Run ¶
func (_c *Client_GetAgentViaInstallerUrl_Call) Run(run func(url string, writer io.Writer)) *Client_GetAgentViaInstallerUrl_Call
func (*Client_GetAgentViaInstallerUrl_Call) RunAndReturn ¶
func (_c *Client_GetAgentViaInstallerUrl_Call) RunAndReturn(run func(string, io.Writer) error) *Client_GetAgentViaInstallerUrl_Call
type Client_GetAgent_Call ¶
Client_GetAgent_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetAgent'
func (*Client_GetAgent_Call) Return ¶
func (_c *Client_GetAgent_Call) Return(_a0 error) *Client_GetAgent_Call
func (*Client_GetAgent_Call) RunAndReturn ¶
type Client_GetCommunicationHostForClient_Call ¶
Client_GetCommunicationHostForClient_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetCommunicationHostForClient'
func (*Client_GetCommunicationHostForClient_Call) Return ¶
func (_c *Client_GetCommunicationHostForClient_Call) Return(_a0 dynatrace.CommunicationHost, _a1 error) *Client_GetCommunicationHostForClient_Call
func (*Client_GetCommunicationHostForClient_Call) Run ¶
func (_c *Client_GetCommunicationHostForClient_Call) Run(run func()) *Client_GetCommunicationHostForClient_Call
func (*Client_GetCommunicationHostForClient_Call) RunAndReturn ¶
func (_c *Client_GetCommunicationHostForClient_Call) RunAndReturn(run func() (dynatrace.CommunicationHost, error)) *Client_GetCommunicationHostForClient_Call
type Client_GetEntityIDForIP_Call ¶
Client_GetEntityIDForIP_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetEntityIDForIP'
func (*Client_GetEntityIDForIP_Call) Return ¶
func (_c *Client_GetEntityIDForIP_Call) Return(_a0 string, _a1 error) *Client_GetEntityIDForIP_Call
func (*Client_GetEntityIDForIP_Call) Run ¶
func (_c *Client_GetEntityIDForIP_Call) Run(run func(ip string)) *Client_GetEntityIDForIP_Call
func (*Client_GetEntityIDForIP_Call) RunAndReturn ¶
func (_c *Client_GetEntityIDForIP_Call) RunAndReturn(run func(string) (string, error)) *Client_GetEntityIDForIP_Call
type Client_GetLatestActiveGateImage_Call ¶
Client_GetLatestActiveGateImage_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetLatestActiveGateImage'
func (*Client_GetLatestActiveGateImage_Call) Return ¶
func (_c *Client_GetLatestActiveGateImage_Call) Return(_a0 *dynatrace.LatestImageInfo, _a1 error) *Client_GetLatestActiveGateImage_Call
func (*Client_GetLatestActiveGateImage_Call) Run ¶
func (_c *Client_GetLatestActiveGateImage_Call) Run(run func()) *Client_GetLatestActiveGateImage_Call
func (*Client_GetLatestActiveGateImage_Call) RunAndReturn ¶
func (_c *Client_GetLatestActiveGateImage_Call) RunAndReturn(run func() (*dynatrace.LatestImageInfo, error)) *Client_GetLatestActiveGateImage_Call
type Client_GetLatestAgentVersion_Call ¶
Client_GetLatestAgentVersion_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetLatestAgentVersion'
func (*Client_GetLatestAgentVersion_Call) Return ¶
func (_c *Client_GetLatestAgentVersion_Call) Return(_a0 string, _a1 error) *Client_GetLatestAgentVersion_Call
func (*Client_GetLatestAgentVersion_Call) Run ¶
func (_c *Client_GetLatestAgentVersion_Call) Run(run func(os string, installerType string)) *Client_GetLatestAgentVersion_Call
func (*Client_GetLatestAgentVersion_Call) RunAndReturn ¶
func (_c *Client_GetLatestAgentVersion_Call) RunAndReturn(run func(string, string) (string, error)) *Client_GetLatestAgentVersion_Call
type Client_GetLatestAgent_Call ¶
Client_GetLatestAgent_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetLatestAgent'
func (*Client_GetLatestAgent_Call) Return ¶
func (_c *Client_GetLatestAgent_Call) Return(_a0 error) *Client_GetLatestAgent_Call
func (*Client_GetLatestAgent_Call) Run ¶
func (_c *Client_GetLatestAgent_Call) Run(run func(os string, installerType string, flavor string, arch string, technologies []string, skipMetadata bool, writer io.Writer)) *Client_GetLatestAgent_Call
func (*Client_GetLatestAgent_Call) RunAndReturn ¶
type Client_GetLatestCodeModulesImage_Call ¶
Client_GetLatestCodeModulesImage_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetLatestCodeModulesImage'
func (*Client_GetLatestCodeModulesImage_Call) Return ¶
func (_c *Client_GetLatestCodeModulesImage_Call) Return(_a0 *dynatrace.LatestImageInfo, _a1 error) *Client_GetLatestCodeModulesImage_Call
func (*Client_GetLatestCodeModulesImage_Call) Run ¶
func (_c *Client_GetLatestCodeModulesImage_Call) Run(run func()) *Client_GetLatestCodeModulesImage_Call
func (*Client_GetLatestCodeModulesImage_Call) RunAndReturn ¶
func (_c *Client_GetLatestCodeModulesImage_Call) RunAndReturn(run func() (*dynatrace.LatestImageInfo, error)) *Client_GetLatestCodeModulesImage_Call
type Client_GetLatestOneAgentImage_Call ¶
Client_GetLatestOneAgentImage_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetLatestOneAgentImage'
func (*Client_GetLatestOneAgentImage_Call) Return ¶
func (_c *Client_GetLatestOneAgentImage_Call) Return(_a0 *dynatrace.LatestImageInfo, _a1 error) *Client_GetLatestOneAgentImage_Call
func (*Client_GetLatestOneAgentImage_Call) Run ¶
func (_c *Client_GetLatestOneAgentImage_Call) Run(run func()) *Client_GetLatestOneAgentImage_Call
func (*Client_GetLatestOneAgentImage_Call) RunAndReturn ¶
func (_c *Client_GetLatestOneAgentImage_Call) RunAndReturn(run func() (*dynatrace.LatestImageInfo, error)) *Client_GetLatestOneAgentImage_Call
type Client_GetMonitoredEntitiesForKubeSystemUUID_Call ¶
Client_GetMonitoredEntitiesForKubeSystemUUID_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetMonitoredEntitiesForKubeSystemUUID'
func (*Client_GetMonitoredEntitiesForKubeSystemUUID_Call) Return ¶
func (_c *Client_GetMonitoredEntitiesForKubeSystemUUID_Call) Return(_a0 []dynatrace.MonitoredEntity, _a1 error) *Client_GetMonitoredEntitiesForKubeSystemUUID_Call
func (*Client_GetMonitoredEntitiesForKubeSystemUUID_Call) Run ¶
func (_c *Client_GetMonitoredEntitiesForKubeSystemUUID_Call) Run(run func(kubeSystemUUID string)) *Client_GetMonitoredEntitiesForKubeSystemUUID_Call
func (*Client_GetMonitoredEntitiesForKubeSystemUUID_Call) RunAndReturn ¶
func (_c *Client_GetMonitoredEntitiesForKubeSystemUUID_Call) RunAndReturn(run func(string) ([]dynatrace.MonitoredEntity, error)) *Client_GetMonitoredEntitiesForKubeSystemUUID_Call
type Client_GetOneAgentConnectionInfo_Call ¶
Client_GetOneAgentConnectionInfo_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetOneAgentConnectionInfo'
func (*Client_GetOneAgentConnectionInfo_Call) Return ¶
func (_c *Client_GetOneAgentConnectionInfo_Call) Return(_a0 dynatrace.OneAgentConnectionInfo, _a1 error) *Client_GetOneAgentConnectionInfo_Call
func (*Client_GetOneAgentConnectionInfo_Call) Run ¶
func (_c *Client_GetOneAgentConnectionInfo_Call) Run(run func()) *Client_GetOneAgentConnectionInfo_Call
func (*Client_GetOneAgentConnectionInfo_Call) RunAndReturn ¶
func (_c *Client_GetOneAgentConnectionInfo_Call) RunAndReturn(run func() (dynatrace.OneAgentConnectionInfo, error)) *Client_GetOneAgentConnectionInfo_Call
type Client_GetProcessModuleConfig_Call ¶
Client_GetProcessModuleConfig_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetProcessModuleConfig'
func (*Client_GetProcessModuleConfig_Call) Return ¶
func (_c *Client_GetProcessModuleConfig_Call) Return(_a0 *dynatrace.ProcessModuleConfig, _a1 error) *Client_GetProcessModuleConfig_Call
func (*Client_GetProcessModuleConfig_Call) Run ¶
func (_c *Client_GetProcessModuleConfig_Call) Run(run func(prevRevision uint)) *Client_GetProcessModuleConfig_Call
func (*Client_GetProcessModuleConfig_Call) RunAndReturn ¶
func (_c *Client_GetProcessModuleConfig_Call) RunAndReturn(run func(uint) (*dynatrace.ProcessModuleConfig, error)) *Client_GetProcessModuleConfig_Call
type Client_GetSettingsForMonitoredEntities_Call ¶
Client_GetSettingsForMonitoredEntities_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetSettingsForMonitoredEntities'
func (*Client_GetSettingsForMonitoredEntities_Call) Return ¶
func (_c *Client_GetSettingsForMonitoredEntities_Call) Return(_a0 dynatrace.GetSettingsResponse, _a1 error) *Client_GetSettingsForMonitoredEntities_Call
func (*Client_GetSettingsForMonitoredEntities_Call) Run ¶
func (_c *Client_GetSettingsForMonitoredEntities_Call) Run(run func(monitoredEntities []dynatrace.MonitoredEntity, schemaId string)) *Client_GetSettingsForMonitoredEntities_Call
func (*Client_GetSettingsForMonitoredEntities_Call) RunAndReturn ¶
func (_c *Client_GetSettingsForMonitoredEntities_Call) RunAndReturn(run func([]dynatrace.MonitoredEntity, string) (dynatrace.GetSettingsResponse, error)) *Client_GetSettingsForMonitoredEntities_Call
type Client_GetTokenScopes_Call ¶
Client_GetTokenScopes_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetTokenScopes'
func (*Client_GetTokenScopes_Call) Return ¶
func (_c *Client_GetTokenScopes_Call) Return(_a0 dynatrace.TokenScopes, _a1 error) *Client_GetTokenScopes_Call
func (*Client_GetTokenScopes_Call) Run ¶
func (_c *Client_GetTokenScopes_Call) Run(run func(token string)) *Client_GetTokenScopes_Call
func (*Client_GetTokenScopes_Call) RunAndReturn ¶
func (_c *Client_GetTokenScopes_Call) RunAndReturn(run func(string) (dynatrace.TokenScopes, error)) *Client_GetTokenScopes_Call
type Client_SendEvent_Call ¶
Client_SendEvent_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SendEvent'
func (*Client_SendEvent_Call) Return ¶
func (_c *Client_SendEvent_Call) Return(_a0 error) *Client_SendEvent_Call
func (*Client_SendEvent_Call) Run ¶
func (_c *Client_SendEvent_Call) Run(run func(eventData *dynatrace.EventData)) *Client_SendEvent_Call
func (*Client_SendEvent_Call) RunAndReturn ¶
func (_c *Client_SendEvent_Call) RunAndReturn(run func(*dynatrace.EventData) error) *Client_SendEvent_Call