oneagent

package
v1.4.0-rc.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	EmptyConnectionInfoReason = "EmptyConnectionInfo"
	UnknownCodeModuleReason   = "UnknownCodeModule"
	EmptyTenantUUIDReason     = "EmptyTenantUUID"

	OneAgentBinVolumeName = "oneagent-bin"

	OneAgentConfMountPath = "/opt/dynatrace/oneagent-paas/agent/conf"
)

Variables

This section is empty.

Functions

func ContainerIsInjected added in v1.3.0

func ContainerIsInjected(container corev1.Container) bool

Types

type Mutator

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

func NewMutator

func NewMutator(image, clusterID, webhookNamespace string, client client.Client, apiReader client.Reader) *Mutator

func (*Mutator) Enabled

func (mut *Mutator) Enabled(request *dtwebhook.BaseRequest) bool

func (*Mutator) Injected

func (mut *Mutator) Injected(request *dtwebhook.BaseRequest) bool

func (*Mutator) Mutate

func (mut *Mutator) Mutate(ctx context.Context, request *dtwebhook.MutationRequest) error

func (*Mutator) Reinvoke

func (mut *Mutator) Reinvoke(request *dtwebhook.ReinvocationRequest) bool

type VersionLabelMapping

type VersionLabelMapping map[string]string

Jump to

Keyboard shortcuts

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