Help us shape the future of Go! Take the 2026 Go Developer Survey

prometheusoperator

package
v1.154.1 Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2026 License: Apache-2.0 Imports: 22 Imported by: 3

Documentation

Index

Constants

View Source
const (
	// ManagedResourceName is the name of the ManagedResource for the resources.
	ManagedResourceName = "prometheus-operator"
)

Variables

View Source
var TimeoutWaitForManagedResource = 5 * time.Minute

TimeoutWaitForManagedResource is the timeout used while waiting for the ManagedResources to become healthy or deleted.

Functions

func GetLabels

func GetLabels() map[string]string

GetLabels returns the labels for the prometheus-operator.

func New

func New(client client.Client, namespace string, values Values) component.DeployWaiter

New creates a new instance of DeployWaiter for the prometheus-operator.

func NewCRDs

func NewCRDs(client client.Client) (component.DeployWaiter, error)

NewCRDs can be used to deploy the CRD definitions for the Prometheus Operator.

Types

type Values

type Values struct {
	// Image defines the container image of prometheus-operator.
	Image string
	// Image defines the container image of config-reloader.
	ImageConfigReloader string
	// PriorityClassName is the name of the priority class for the deployment.
	PriorityClassName string
}

Values contains configuration values for the prometheus-operator resources.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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