utils

package
v0.6.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 16, 2020 License: Apache-2.0 Imports: 8 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL