Documentation ¶
Index ¶
Constants ¶
View Source
const ( DynatracePaasToken = "paasToken" DynatraceApiToken = "apiToken" )
Variables ¶
This section is empty.
Functions ¶
func BuildDynatraceClient ¶
func BuildDynatraceClient(rtc client.Client, instance *dynatracev1alpha1.OneAgent) (dtclient.Client, error)
BuildDynatraceClient creates a new Dynatrace client using the settings configured on the given instance.
Types ¶
type DynatraceClientFunc ¶
type DynatraceClientFunc func(rtc client.Client, instance *dynatracev1alpha1.OneAgent) (dtclient.Client, error)
DynatraceClientFunc defines handler func for dynatrace client
func StaticDynatraceClient ¶
func StaticDynatraceClient(c dtclient.Client) DynatraceClientFunc
StaticDynatraceClient creates a DynatraceClientFunc always returning c.
Click to show internal directories.
Click to hide internal directories.