package
0.75.2-rhobs1
Repository: https://github.com/rhobs/obo-prometheus-operator.git
Documentation: pkg.go.dev

# Functions

BuildArgs takes a list of arguments and a list of additional arguments and returns a []string to use in a container Args.
BuildImagePath builds a container image path based on the given parameters.
BuildImagePathForAgent builds a container image path based on the given parameters for Prometheus Agent.
No description provided by the author
ConfigEnvsubstFile sets the configEnvsubstFile option for the config-reloader container.
ConfigFile sets the configFile option for the config-reloader container.
CreateConfigReloader returns the definition of the config-reloader container.
DefaultConfig returns a default operator configuration.
ExecAction returns an ExecAction probing the given URL.
FindStatusCondition returns the condition matching the given type.
No description provided by the author
No description provided by the author
ImagePullPolicy sets the imagePullPolicy option for the config-reloader container.
InitContainer runs the config-reloader program as an init container meaning that it exits right after generating the configuration.
ListenLocal sets the listenLocal option for the config-reloader container.
ListMatchingNamespaces lists all the namespaces that match the provided selector.
LocalHost sets the localHost option for the config-reloader container.
LogFormat sets the logFormat option for the config-reloader container.
LogLevel sets the logLevel option for the config-reloader container.
MakeHostAliases converts array of monitoringv1 HostAlias to array of corev1 HostAlias.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
NewMetrics initializes operator metrics and registers them with the given registerer.
No description provided by the author
NewResourceReconciler returns a reconciler for the "kind" resource.
NewStatefulSetReporter returns a statefulset's reporter.
No description provided by the author
ReloaderConfig sets the config option for the config-reloader container.
ReloaderURL sets the reloaderURL option for the config-reloader container.
No description provided by the author
RuntimeInfoURL sets the runtimeInfoURL option for the config-reloader container.
SanitizeSTS removes values for APIVersion and Kind from the VolumeClaimTemplates.
Shard sets the shard option for the config-reloader container.
StatusPoller refreshes regularly the objects for which the Available condition isn't True.
StringValOrDefault returns the default val if the given string is empty/whitespace.
No description provided by the author
UpdateConditions merges the existing conditions with newConditions.
UpdateObject updates the object with the provided options.
ValidateRule takes PrometheusRuleSpec and validates it using the upstream prometheus rule validator.
VolumeMounts sets the volumeMounts option for the config-reloader container.
WaitForNamedCacheSync synchronizes the informer's cache and will log a warning every minute if the operation hasn't completed yet, until it reaches a timeout of 10 minutes.
WatchedDirectories sets the watchedDirectories option for the config-reloader container.
WebConfigFile sets the webConfigFile option for the config-reloader container.
WithAnnotations merges the given annotations with the existing object's annotations.
WithLabels merges the given labels with the existing object's labels.
WithManagingOwner adds the given owner as a managing controller.
WithName updates the name of the object.
WithNamespace updates the namespace of the object.
WithNodeNameEnv sets the withNodeNameEnv option for the config-reloader container.
WithOwner adds the given owner to the list of owner references.

# Constants

No description provided by the author
DefaultAlertmanagerBaseImage is a base container registry address for the prometheus alertmanager.
DefaultAlertmanagerImage is a default image pulling address for the prometheus alertmanager.
DefaultAlertmanagerVersion is a default image tag for the prometheus alertmanager.
DefaultThanosBaseImage is a base container registry address for the Thanos long-term prometheus storage collector.
DefaultThanosImage is a default image pulling address for the Thanos long-term prometheus storage collector.
DefaultThanosVersion is a default image tag for the Thanos long-term prometheus storage collector.
No description provided by the author
No description provided by the author
MaxSecretDataSizeBytes is the maximum data size that a single secret shard may use.
NodeNameEnvVar is the name of the environment variable injected in the config-reloader container that contains the node name.
PodNameEnvVar is the name of the environment variable injected in the config-reloader container that contains the pod name.
PrometheusAgentDaemonSetFeature enables the DaemonSet mode for PrometheusAgent.
No description provided by the author
No description provided by the author
ShardEnvVar is the name of the environment variable injected into the config-reloader container that contains the shard number.
No description provided by the author
No description provided by the author

# Variables

DefaultPrometheusBaseImage is a base container registry address for the prometheus.
DefaultPrometheusConfigReloaderImage is an image that will be used as a sidecar to provide dynamic prometheus configuration reloading.
DefaultPrometheusImage is a default image pulling address for the prometheus.
DefaultPrometheusVersion is a default image tag for the prometheus.
No description provided by the author
PrometheusCompatibilityMatrix is a list of supported prometheus versions.

# Structs

Accessor can manipulate objects returned by informers and handlers.
Config defines configuration parameters for the Operator.
ConfigReloader contains the options to configure a config-reloader container.
ContainerConfig holds some configuration for the ConfigReloader sidecar that can be set through prometheus-operator command line arguments.
EventHandler implements the k8s.io/tools/cache.ResourceEventHandler interface.
No description provided by the author
Metrics represents metrics associated to an operator.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
ReconciliationTracker tracks reconciliation status per object.
ResourceReconciler reacts on changes for statefulset-based resources and triggers synchronization of the resources.
ShardedSecret can shard Secret data across multiple k8s Secrets.
No description provided by the author

# Interfaces

No description provided by the author
No description provided by the author
ReconcilerMetrics tracks reconciler metrics.
No description provided by the author
Syncer knows how to synchronize statefulset-based resources.

# Type aliases

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Pod is an alias for the Kubernetes v1.Pod type.
No description provided by the author
No description provided by the author
StringSet represents a list of comma-separated strings.