Documentation ¶
Index ¶
- Constants
- func NewScheme(cfg *OperatorConfiguration) *runtime.Scheme
- func WithAlertmanagerImage(image string) func(*OperatorConfiguration)
- func WithFeatureGates(featureGates FeatureGates) func(*OperatorConfiguration)
- func WithHealthProbeAddr(addr string) func(*OperatorConfiguration)
- func WithMetricsAddr(addr string) func(*OperatorConfiguration)
- func WithNamespace(ns string) func(*OperatorConfiguration)
- func WithPrometheusImage(image string) func(*OperatorConfiguration)
- func WithThanosQuerierImage(image string) func(*OperatorConfiguration)
- func WithThanosSidecarImage(image string) func(*OperatorConfiguration)
- func WithUIPluginImages(images map[string]string) func(*OperatorConfiguration)
- type FeatureGates
- type OpenShiftFeatureGates
- type Operator
- type OperatorConfiguration
Constants ¶
View Source
const (
ObservabilityOperatorName = "observability-operator"
)
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 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 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).
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 }
func NewOperatorConfiguration ¶
func NewOperatorConfiguration(opts ...func(*OperatorConfiguration)) *OperatorConfiguration
Click to show internal directories.
Click to hide internal directories.