Documentation ¶
Overview ¶
+kubebuilder:validation:Optional
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PrometheusConfig ¶
type PrometheusConfig struct { // A list of labels to be attached to every query Labels []PrometheusLabel `json:"labels,omitempty"` // Address of the Prometheus server Address string `json:"address,omitempty" validate:"omitempty,hostname_port|url|fqdn,omitempty"` }
PrometheusConfig holds configuration for Prometheus Server. swagger:model +kubebuilder:object:generate=true
func (*PrometheusConfig) DeepCopy ¶
func (in *PrometheusConfig) DeepCopy() *PrometheusConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PrometheusConfig.
func (*PrometheusConfig) DeepCopyInto ¶
func (in *PrometheusConfig) DeepCopyInto(out *PrometheusConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PrometheusLabel ¶ added in v2.8.0
PrometheusLabel holds Name->Value mapping for the label that will be attached to every PromQL query executed by the controller.
Click to show internal directories.
Click to hide internal directories.