Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var GVKAlertmanager = schema.GroupVersionKind{ Group: monitoring.GroupName, Version: monitoringv1.Version, Kind: "Alertmanager", }
View Source
var GVKPrometheus = schema.GroupVersionKind{ Group: monitoring.GroupName, Version: monitoringv1.Version, Kind: "Prometheus", }
Functions ¶
This section is empty.
Types ¶
type AlertmanagerDetector ¶ added in v0.3.0
type AlertmanagerDetector interface {
Ready() (bool, error)
RancherManaged() bool
Federated() bool
IsDefault(key types.NamespacedName) bool
}
func NewAlertmanagerDetector ¶ added in v0.3.0
func NewAlertmanagerDetector(kc client.Client) AlertmanagerDetector
type PrometheusDetector ¶ added in v0.3.0
type PrometheusDetector interface {
Ready() (bool, error)
RancherManaged() bool
Federated() bool
IsDefault(key types.NamespacedName) bool
}
func NewPrometheusDetector ¶ added in v0.3.0
func NewPrometheusDetector(kc client.Client) PrometheusDetector
Click to show internal directories.
Click to hide internal directories.