Documentation
¶
Overview ¶
+groupName=plugins.rig.dev -- Only used for config doc generation
Index ¶
Constants ¶
View Source
const Name = "rigdev.datadog"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
// DontAddEnabledAnnotation toggles if the pods should have an annotation
// allowing the Datadog Admission controller to modify them.
DontAddEnabledAnnotation bool `json:"dontAddEnabledAnnotation,omitempty"`
// LibraryTag defines configuration for which datadog libraries to inject into the pods.
LibraryTag LibraryTag `json:"libraryTag,omitempty"`
// UnifiedServiceTags configures the values for the Unified Service datadog tags.
UnifiedServiceTags UnifiedServiceTags `json:"unifiedServiceTags,omitempty"`
}
Configuration for the datadog plugin +kubebuilder:object:root=true
type LibraryTag ¶
type LibraryTag struct {
// Tag of the Java library container
Java string `json:"java,omitempty"`
// Tag of the JavaScript library container
JavaScript string `json:"javascript,omitempty"`
// Tag of the Python library container
Python string `json:"python,omitempty"`
// Tag of the .NET library container
NET string `json:"net,omitempty"`
// Tag of the Ruby library container
Ruby string `json:"ruby,omitempty"`
}
LibraryTag defines configuration for which datadog libraries to let the admission controller inject into the pods The admission controller will inject libraries from a container with the specified tag if the field is set.
type Plugin ¶
type Plugin struct {
plugin.NoWatchObjectStatus
// contains filtered or unexported fields
}
func (*Plugin) Initialize ¶
func (d *Plugin) Initialize(req plugin.InitializeRequest) error
type UnifiedServiceTags ¶
type UnifiedServiceTags struct {
// The env tag
Env string `json:"env,omitempty"`
// The service tag
Service string `json:"service,omitempty"`
// The version tag
Version string `json:"version,omitempty"`
}
UnifiedServiceTags configures the values of the Unified Service datadog tags on both Deployment and Pods
Click to show internal directories.
Click to hide internal directories.