operator

package
v1.5.1 Latest Latest
Warning

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

Go to latest
Published: Jul 3, 2026 License: Apache-2.0 Imports: 46 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewOpenShiftScheme added in v1.5.0

func NewOpenShiftScheme() *runtime.Scheme

func NewScheme

func NewScheme(cfg *OperatorConfiguration) *runtime.Scheme

func WithAlertmanagerImage

func WithAlertmanagerImage(image string) func(*OperatorConfiguration)

func WithCancelFunc added in v1.5.0

func WithCancelFunc(cancel context.CancelFunc) func(*OperatorConfiguration)

func WithFeatureGates

func WithFeatureGates(featureGates FeatureGates) func(*OperatorConfiguration)

func WithHealthProbeAddr

func WithHealthProbeAddr(addr string) func(*OperatorConfiguration)

func WithMetricsAddr

func WithMetricsAddr(addr string) func(*OperatorConfiguration)

func WithNamespace

func WithNamespace(ns string) func(*OperatorConfiguration)

func WithObservabilityInstaller added in v1.3.0

func WithObservabilityInstaller(configuration ObservabilityInstallerConfiguration) func(*OperatorConfiguration)

func WithPrometheusImage

func WithPrometheusImage(image string) func(*OperatorConfiguration)

func WithTLSProfile added in v1.5.0

func WithTLSProfile(tlsProfile configv1.TLSProfileSpec) func(*OperatorConfiguration)

func WithThanosQuerierImage

func WithThanosQuerierImage(image string) func(*OperatorConfiguration)

func WithThanosSidecarImage

func WithThanosSidecarImage(image string) func(*OperatorConfiguration)

func WithUIPluginImages

func WithUIPluginImages(images map[string]string) func(*OperatorConfiguration)

Types

type FeatureGates

type FeatureGates struct {
	OpenShift OpenShiftFeatureGates `json:"openshift,omitempty"`
}

type ObservabilityInstallerConfiguration added in v1.3.0

type ObservabilityInstallerConfiguration struct {
	COONamespace     string
	OpenTelemetryCSV string
	TempoCSV         string
}

type OpenShiftFeatureGates

type OpenShiftFeatureGates struct {
	Enabled bool   `json:"enabled,omitempty"`
	Version string `json:"version,omitempty"`
}

type Operator

type Operator struct {
	// contains filtered or unexported fields
}

Operator embeds a manager and a serving certificate controller (for OpenShift installations).

func New

func (*Operator) GetClient

func (o *Operator) GetClient() client.Client

func (*Operator) Start

func (o *Operator) Start(ctx context.Context) error

type OperatorConfiguration

type OperatorConfiguration struct {
	Namespace              string
	MetricsAddr            string
	HealthProbeAddr        string
	Prometheus             stackctrl.PrometheusConfiguration
	Alertmanager           stackctrl.AlertmanagerConfiguration
	ThanosSidecar          stackctrl.ThanosConfiguration
	ThanosQuerier          tqctrl.ThanosConfiguration
	UIPlugins              uictrl.UIPluginsConfiguration
	FeatureGates           FeatureGates
	ObservabilityInstaller ObservabilityInstallerConfiguration
	TLSProfile             configv1.TLSProfileSpec
	// CancelFunc is called to trigger graceful shutdown (e.g., on TLS profile change).
	CancelFunc context.CancelFunc
}

func NewOperatorConfiguration

func NewOperatorConfiguration(opts ...func(*OperatorConfiguration)) *OperatorConfiguration

Jump to

Keyboard shortcuts

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