controllers

package
v0.0.0-...-1d907cd Latest Latest
Warning

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

Go to latest
Published: Jan 11, 2024 License: Apache-2.0 Imports: 24 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type KubernetesManager

type KubernetesManager interface {
	ApplyResources(resourceYAMLs []client.Object) error
	DeleteResources(resourceYAMLs []client.Object) error
}

type Versions

type Versions struct {
	OperatorVersion  string
	CollectorVersion string
	ProxyVersion     string
	LoggingVersion   string
}

type WavefrontReconciler

type WavefrontReconciler struct {
	client.Client

	ComponentsDeployDir fs.FS
	KubernetesManager   KubernetesManager
	DiscoveryClient     discovery.ServerGroupsInterface
	MetricConnection    *metric.Connection
	Versions            Versions

	ClusterUUID string
	// contains filtered or unexported fields
}

WavefrontReconciler reconciles a Wavefront object

func NewWavefrontReconciler

func NewWavefrontReconciler(versions Versions, client client.Client, discoveryClient discovery.ServerGroupsInterface, clusterUUID string) (operator *WavefrontReconciler, err error)

func (*WavefrontReconciler) Reconcile

func (r *WavefrontReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)

func (*WavefrontReconciler) SetupWithManager

func (r *WavefrontReconciler) SetupWithManager(mgr ctrl.Manager) error

SetupWithManager sets up the controller with the Manager.

Jump to

Keyboard shortcuts

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