oneagent_utils

package
v0.5.4 Latest Latest
Warning

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

Go to latest
Published: Jan 7, 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 added in v0.5.1

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.

func ExtractToken

func ExtractToken(secret *v1.Secret, key string) (string, error)

func VerifySecret

func VerifySecret(secret *v1.Secret) error

Types

type DynatraceClientFunc added in v0.5.1

type DynatraceClientFunc func(rtc client.Client, instance *dynatracev1alpha1.OneAgent) (dtclient.Client, error)

DynatraceClientFunc defines handler func for dynatrace client

Jump to

Keyboard shortcuts

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