Documentation ¶
Overview ¶
Package config contains the operator's runtime configuration.
Package config contains the operator's runtime configuration.
Index ¶
- type Config
- func (c *Config) AutoDetect() error
- func (c *Config) AutoInstrumentationApacheHttpdImage() string
- func (c *Config) AutoInstrumentationDotNetImage() string
- func (c *Config) AutoInstrumentationGoImage() string
- func (c *Config) AutoInstrumentationJavaImage() string
- func (c *Config) AutoInstrumentationNodeJSImage() string
- func (c *Config) AutoInstrumentationPythonImage() string
- func (c *Config) AutoscalingVersion() autodetect.AutoscalingVersion
- func (c *Config) CollectorConfigMapEntry() string
- func (c *Config) CollectorImage() string
- func (c *Config) LabelsFilter() []string
- func (c *Config) OpenShiftRoutes() autodetect.OpenShiftRoutesAvailability
- func (c *Config) RegisterOpenShiftRoutesChangeCallback(f func() error)
- func (c *Config) StartAutoDetect() error
- func (c *Config) TargetAllocatorConfigMapEntry() string
- func (c *Config) TargetAllocatorImage() string
- type Option
- func WithAutoDetect(a autodetect.AutoDetect) Option
- func WithAutoDetectFrequency(t time.Duration) Option
- func WithAutoInstrumentationApacheHttpdImage(s string) Option
- func WithAutoInstrumentationDotNetImage(s string) Option
- func WithAutoInstrumentationGoImage(s string) Option
- func WithAutoInstrumentationJavaImage(s string) Option
- func WithAutoInstrumentationNodeJSImage(s string) Option
- func WithAutoInstrumentationPythonImage(s string) Option
- func WithCollectorConfigMapEntry(s string) Option
- func WithCollectorImage(s string) Option
- func WithLabelFilters(labelFilters []string) Option
- func WithLogger(logger logr.Logger) Option
- func WithOnOpenShiftRoutesChangeCallback(f func() error) Option
- func WithOperatorOpAMPBridgeImage(s string) Option
- func WithPlatform(ora autodetect.OpenShiftRoutesAvailability) Option
- func WithTargetAllocatorConfigMapEntry(s string) Option
- func WithTargetAllocatorImage(s string) Option
- func WithVersion(v version.Version) Option
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
// contains filtered or unexported fields
}
Config holds the static configuration for this operator.
func (*Config) AutoDetect ¶
AutoDetect attempts to automatically detect relevant information for this operator.
func (*Config) AutoInstrumentationApacheHttpdImage ¶ added in v0.78.0
AutoInstrumentationApacheHttpdImage returns OpenTelemetry ApacheHttpd auto-instrumentation container image.
func (*Config) AutoInstrumentationDotNetImage ¶ added in v0.57.2
AutoInstrumentationDotNetImage returns OpenTelemetry DotNet auto-instrumentation container image.
func (*Config) AutoInstrumentationGoImage ¶ added in v0.77.0
AutoInstrumentationGoImage returns OpenTelemetry Go auto-instrumentation container image.
func (*Config) AutoInstrumentationJavaImage ¶ added in v0.41.0
AutoInstrumentationJavaImage returns OpenTelemetry Java auto-instrumentation container image.
func (*Config) AutoInstrumentationNodeJSImage ¶ added in v0.41.1
AutoInstrumentationNodeJSImage returns OpenTelemetry NodeJS auto-instrumentation container image.
func (*Config) AutoInstrumentationPythonImage ¶ added in v0.41.1
AutoInstrumentationPythonImage returns OpenTelemetry Python auto-instrumentation container image.
func (*Config) AutoscalingVersion ¶ added in v0.57.2
func (c *Config) AutoscalingVersion() autodetect.AutoscalingVersion
AutoscalingVersion represents the preferred version of autoscaling.
func (*Config) CollectorConfigMapEntry ¶
CollectorConfigMapEntry represents the configuration file name for the collector. Immutable.
func (*Config) CollectorImage ¶
CollectorImage represents the flag to override the OpenTelemetry Collector container image.
func (*Config) LabelsFilter ¶ added in v0.48.0
LabelsFilter Returns the filters converted to regex strings used to filter out unwanted labels from propagations.
func (*Config) OpenShiftRoutes ¶ added in v0.70.0
func (c *Config) OpenShiftRoutes() autodetect.OpenShiftRoutesAvailability
OpenShiftRoutes represents the availability of the OpenShift Routes API.
func (*Config) RegisterOpenShiftRoutesChangeCallback ¶ added in v0.70.0
RegisterOpenShiftRoutesChangeCallback registers the given function as a callback that is called when the OpenShift Routes detection detects a change.
func (*Config) StartAutoDetect ¶
StartAutoDetect attempts to automatically detect relevant information for this operator. This will block until the first run is executed and will schedule periodic updates.
func (*Config) TargetAllocatorConfigMapEntry ¶ added in v0.33.0
TargetAllocatorConfigMapEntry represents the configuration file name for the TargetAllocator. Immutable.
func (*Config) TargetAllocatorImage ¶ added in v0.33.0
TargetAllocatorImage represents the flag to override the OpenTelemetry TargetAllocator container image.
type Option ¶
type Option func(c *options)
Option represents one specific configuration option.
func WithAutoDetect ¶
func WithAutoDetect(a autodetect.AutoDetect) Option
func WithAutoDetectFrequency ¶
func WithAutoInstrumentationApacheHttpdImage ¶ added in v0.78.0
func WithAutoInstrumentationDotNetImage ¶ added in v0.57.2
func WithAutoInstrumentationGoImage ¶ added in v0.77.0
func WithAutoInstrumentationJavaImage ¶ added in v0.41.0
func WithAutoInstrumentationNodeJSImage ¶ added in v0.41.1
func WithAutoInstrumentationPythonImage ¶ added in v0.41.1
func WithCollectorImage ¶
func WithLabelFilters ¶ added in v0.48.0
func WithLogger ¶
func WithOnOpenShiftRoutesChangeCallback ¶ added in v0.70.0
func WithOperatorOpAMPBridgeImage ¶ added in v0.70.0
func WithPlatform ¶
func WithPlatform(ora autodetect.OpenShiftRoutesAvailability) Option