operator

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Nov 4, 2025 License: Apache-2.0 Imports: 41 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewScheme

func NewScheme(cfg *OperatorConfiguration) *runtime.Scheme

func WithAlertmanagerImage

func WithAlertmanagerImage(image string) 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 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"`
}

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
}

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