context

package
v0.0.0-...-fb5a1ab Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ForwarderContext

type ForwarderContext struct {

	// Client is a read/write client for fetching resource
	Client kubernetes.Client

	// Reader is a read only client for retrieving kubernetes resources. This
	// client hits the API server directly, by-passing the controller cache
	Reader kubernetes.Reader

	// Forwarder is the ClusterLogForwarder to be reconciled
	Forwarder *obs.ClusterLogForwarder

	// Secrets a map of secrets spec'd by the forwarder
	Secrets map[string]*corev1.Secret

	// ConfigMaps specked by the forwarder
	ConfigMaps map[string]*corev1.ConfigMap

	// ClusterID is the unique ID of the cluster on which the operator is deployed
	ClusterID string

	// ClusterVersion is the version of the cluster on which the operator is deployed
	ClusterVersion string

	// AdditionalContext are additional context options to take pass along during reconciliation
	AdditionalContext utils.Options
}

ForwarderContext provides the parameters needed to reconcile a log forwarder

Jump to

Keyboard shortcuts

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