Documentation
¶
Index ¶
- func ListOptions(name string) metav1.ListOptions
- func NewPrometheusCollector(s cache.Store) *prometheusCollector
- func NewPrometheusCollectorForStores(s ...cache.Store) *prometheusCollector
- func PrometheusStatus(ctx context.Context, kclient kubernetes.Interface, p *monitoringv1.Prometheus) (*monitoringv1.PrometheusStatus, []v1.Pod, error)
- type Operator
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ListOptions ¶
func ListOptions(name string) metav1.ListOptions
func NewPrometheusCollector ¶ added in v0.10.0
func NewPrometheusCollectorForStores ¶ added in v0.42.0
func PrometheusStatus ¶
func PrometheusStatus(ctx context.Context, kclient kubernetes.Interface, p *monitoringv1.Prometheus) (*monitoringv1.PrometheusStatus, []v1.Pod, error)
PrometheusStatus evaluates the current status of a Prometheus deployment with respect to its specified resource object. It return the status and a list of pods that are not updated.
Types ¶
type Operator ¶
type Operator struct {
// contains filtered or unexported fields
}
Operator manages life cycle of Prometheus deployments and monitoring configurations.
Click to show internal directories.
Click to hide internal directories.