metadata

package
v1.20.0-rc.3 Latest Latest
Warning

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

Go to latest
Published: Nov 4, 2025 License: Apache-2.0 Imports: 22 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// ErrEmptyAPIKey empty APIKey error
	ErrEmptyAPIKey = errors.New("empty api key")
	// ErrEmptyHostName empty HostName error
	ErrEmptyHostName = errors.New("empty host name")
)

Functions

This section is empty.

Types

type MetadataForwarder

type MetadataForwarder struct {
	OperatorMetadata OperatorMetadata
	// contains filtered or unexported fields
}

func NewMetadataForwarder

func NewMetadataForwarder(logger logr.Logger, k8sClient client.Reader) *MetadataForwarder

NewMetadataForwarder creates a new instance of the metadata forwarder

func (*MetadataForwarder) Start

func (mdf *MetadataForwarder) Start()

Start starts the metadata forwarder

type OperatorMetadata

type OperatorMetadata struct {
	OperatorVersion               string `json:"operator_version"`
	KubernetesVersion             string `json:"kubernetes_version"`
	InstallMethodTool             string `json:"install_method_tool"`
	InstallMethodToolVersion      string `json:"install_method_tool_version"`
	IsLeader                      bool   `json:"is_leader"`
	DatadogAgentEnabled           bool   `json:"datadogagent_enabled"`
	DatadogMonitorEnabled         bool   `json:"datadogmonitor_enabled"`
	DatadogDashboardEnabled       bool   `json:"datadogdashboard_enabled"`
	DatadogSLOEnabled             bool   `json:"datadogslo_enabled"`
	DatadogGenericResourceEnabled bool   `json:"datadoggenericresource_enabled"`
	DatadogAgentProfileEnabled    bool   `json:"datadogagentprofile_enabled"`
	LeaderElectionEnabled         bool   `json:"leader_election_enabled"`
	ExtendedDaemonSetEnabled      bool   `json:"extendeddaemonset_enabled"`
	RemoteConfigEnabled           bool   `json:"remote_config_enabled"`
	IntrospectionEnabled          bool   `json:"introspection_enabled"`
	ClusterName                   string `json:"cluster_name"`
	ConfigDDURL                   string `json:"config_dd_url"`
	ConfigDDSite                  string `json:"config_site"`
}

type OperatorMetadataPayload

type OperatorMetadataPayload struct {
	Hostname  string           `json:"hostname"`
	Timestamp int64            `json:"timestamp"`
	Metadata  OperatorMetadata `json:"datadog_operator_metadata"`
}

Jump to

Keyboard shortcuts

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