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