Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type K8sMeta ¶
type K8sMeta struct {
Kind string `validate:"required"`
APIVersion string `validate:"required"`
Name string `validate:"required"`
UID string
Namespace string
Annotations map[string]string
Labels map[string]string
}
K8sMeta is the Kubernetes metadata simplified used for storage purposes.
type SLORulesResult ¶
type SLORulesResult struct {
K8sMeta K8sMeta
SLO model.PromSLO
Rules model.PromSLORules
}
SLORulesResult is a common type used to store final SLO rules result in batches.
Click to show internal directories.
Click to hide internal directories.