package
0.8.4
Repository: https://github.com/datadog/datadog-operator.git
Documentation: pkg.go.dev

# Functions

AskForConfirmation asks for the user's confirmation before taking an action.
AskForInput asks the user for a given information.
GetDurationAsString gets object's age.
HasImagePattern returns true if the image string respects the format <string>/<string>:<string>.
IntToString converts int32 to string.
IsAnnotated returns true if annotations contain a key with a given prefix.
NewClient returns a new controller-runtime client instance.
NewClientset returns a new client-go instance.
StreamToBytes converts a stream to bytes.
ValidateAnnotationsContent reports errors in AD annotations content the identifier string is expected to include the AD prefix.
ValidateAnnotationsMatching detects if AD annotations don't match a valid container identifier.
ValidateUpgrade valides the input of the upgrade commands.

# Constants

ADPrefix prefix used for AD annotations.
AgentLabelValue label value to define the Agent.
ClcRunnerLabelValue label value to define the Cluster Checks Runner.
ComponentLabelKey label key used to define the datadog agent component.

# Variables

AgentLabel can be used as a LabelSelector for the Agent.
ClcRunnerLabel can be used as a LabelSelector for the Cluster Checks Runner.

# Structs

Options encapsulates the common fields of command options.