Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Admission ¶
type Admission struct {
// contains filtered or unexported fields
}
Admission control for: 1. PrometheusRules (validation, mutation) - ensuring created resources can be loaded by Promethues 2. monitoringv1alpha1.AlertmanagerConfig (validation) - ensuring.
type PrometheusRules ¶
type PrometheusRules struct { metav1.TypeMeta `json:",inline"` // Standard object’s metadata. More info: // http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata metav1.ObjectMeta `json:"metadata,omitempty"` // Specification of desired alerting rule definitions for Prometheus. Spec runtime.RawExtension `json:"spec"` }
PrometheusRules is used to separate the PrometheusRules CRD wrapper from the underlying Prometheus rules.
type RuleGroups ¶
type RuleGroups struct {
Groups []RuleGroup `json:"groups"`
}
Click to show internal directories.
Click to hide internal directories.