consts

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: May 7, 2024 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (
	AgentNoHostTenant                  = "-"
	AgentContainerConfFilenameTemplate = "container_%s.conf"
	AgentInitSecretName                = "dynatrace-dynakube-config"
	AgentInitSecretConfigField         = "config"

	LdPreloadFilename = "ld.so.preload"
	LibAgentProcPath  = "/agent/lib64/liboneagentproc.so"

	AgentCurlOptionsFileName = "curl_options.conf"

	AgentInstallerUrlEnv     = "INSTALLER_URL"
	AgentInstallerFlavorEnv  = "FLAVOR"
	AgentInstallerTechEnv    = "TECHNOLOGIES"
	AgentInstallerVersionEnv = "VERSION"

	AgentInstallPathEnv            = "INSTALLPATH"
	AgentContainerCountEnv         = "CONTAINERS_COUNT"
	AgentContainerNameEnvTemplate  = "CONTAINER_%d_NAME"
	AgentContainerImageEnvTemplate = "CONTAINER_%d_IMAGE"

	AgentInjectedEnv = "ONEAGENT_INJECTED"

	AgentBinDirMount      = "/mnt/bin"
	AgentShareDirMount    = "/mnt/share"
	AgentConfigDirMount   = "/mnt/config"
	AgentConfInitDirMount = "/mnt/agent-conf"

	TrustedCAsInitSecretField    = "trustedcas"
	ActiveGateCAsInitSecretField = "agcerts"
	CustomCertsFileName          = "custom.pem"
	CustomProxyCertsFileName     = "custom_proxy.pem"
)
View Source
const (
	EnrichmentEndpointSecretName = "dynatrace-metadata-enrichment-endpoint"
	EnrichmentFilenameTemplate   = "dt_metadata.%s"
	EnrichmentInjectedEnv        = "METADATA_ENRICHMENT_INJECTED"
	EnrichmentWorkloadKindEnv    = "DT_WORKLOAD_KIND"
	EnrichmentWorkloadNameEnv    = "DT_WORKLOAD_NAME"
	EnrichmentUnknownWorkload    = "UNKNOWN"
)
View Source
const (
	InjectionFailurePolicyEnv = "FAILURE_POLICY"

	K8sNodeNameEnv    = "K8S_NODE_NAME"
	K8sPodNameEnv     = "K8S_PODNAME"
	K8sPodUIDEnv      = "K8S_PODUID"
	K8sBasePodNameEnv = "K8S_BASEPODNAME"
	K8sNamespaceEnv   = "K8S_NAMESPACE"
	K8sClusterIDEnv   = "K8S_CLUSTER_ID"
)

Variables

View Source
var (
	EnrichmentMountPath = "/var/lib/dynatrace/enrichment"
)

Functions

This section is empty.

Types

type InstallMode

type InstallMode string

Jump to

Keyboard shortcuts

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