detector

package
v0.3.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 16, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL