connectioninfo

package
v1.1.0-rc.1 Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const (
	TenantUUIDKey             = "tenant-uuid"
	TenantTokenKey            = "tenant-token"
	CommunicationEndpointsKey = "communication-endpoints"

	TokenBasePath         = "/var/lib/dynatrace/secrets/tokens"
	TenantTokenMountPoint = TokenBasePath + "/tenant-token"

	TenantSecretVolumeName = "connection-info-secret"

	EnvDtServer = "DT_SERVER"
	EnvDtTenant = "DT_TENANT"
)

Variables

This section is empty.

Functions

func BuildTenantSecret added in v1.1.0

func BuildTenantSecret(owner metav1.Object, scheme *runtime.Scheme, secretName string, connectionInfo dtclient.ConnectionInfo) (*corev1.Secret, error)

func ExtractSensitiveData added in v1.1.0

func ExtractSensitiveData(connectionInfo dtclient.ConnectionInfo) map[string][]byte

func IsTenantSecretPresent added in v1.1.0

func IsTenantSecretPresent(ctx context.Context, apiReader client.Reader, secretNamespacedName types.NamespacedName, log logd.Logger) (bool, error)

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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