deploymentmetadata

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Mar 25, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ApplicationMonitoringDeploymentType = "application_monitoring"
	ClassicFullStackDeploymentType      = "classic_fullstack"
	CloudNativeDeploymentType           = "cloud_native_fullstack"
	HostMonitoringDeploymentType        = "host_monitoring"

	EnvDtDeploymentMetadata = "DT_DEPLOYMENT_METADATA"
	EnvDtOperatorVersion    = "DT_OPERATOR_VERSION"

	OneAgentMetadataKey   = "oneagent"
	ActiveGateMetadataKey = "activegate"
	OperatorVersionKey    = "operator"
)

Variables

This section is empty.

Functions

func GetDeploymentMetadataConfigMapName

func GetDeploymentMetadataConfigMapName(dynakubeName string) string

func GetOneAgentDeploymentType

func GetOneAgentDeploymentType(dynakube dynatracev1beta1.DynaKube) string

func NewReconciler

func NewReconciler(clt client.Client, apiReader client.Reader, scheme *runtime.Scheme, dynakube dynatracev1beta1.DynaKube, clusterID string) controllers.Reconciler

Types

type DeploymentMetadata

type DeploymentMetadata struct {
	OrchestratorID string
	DeploymentType string
}

func NewDeploymentMetadata

func NewDeploymentMetadata(orchestratorID string, dt string) *DeploymentMetadata

func (*DeploymentMetadata) AsString

func (metadata *DeploymentMetadata) AsString() string

func (*DeploymentMetadata) OrchestrationTech

func (metadata *DeploymentMetadata) OrchestrationTech() string

type Reconciler

type Reconciler struct {
	// contains filtered or unexported fields
}

func (*Reconciler) Reconcile

func (r *Reconciler) Reconcile(ctx context.Context) error

type ReconcilerBuilder added in v1.0.0

type ReconcilerBuilder func(clt client.Client, apiReader client.Reader, scheme *runtime.Scheme, dynakube dynatracev1beta1.DynaKube, clusterID string) controllers.Reconciler

Jump to

Keyboard shortcuts

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