horizonsource

package
v0.39.0 Latest Latest
Warning

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

Go to latest
Published: Dec 12, 2023 License: Apache-2.0 Imports: 31 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewController

func NewController(ctx context.Context, cmw configmap.Watcher) *controller.Impl

NewController initializes the controller and is called by the generated code Registers event handlers to enqueue events

Types

type DeploymentReconciler

type DeploymentReconciler struct {
	KubeClientSet kubernetes.Interface
}

func (*DeploymentReconciler) FindOwned

func (*DeploymentReconciler) ReconcileDeployment

func (r *DeploymentReconciler) ReconcileDeployment(ctx context.Context, owner kmeta.OwnerRefable, expected *appsv1.Deployment) (*appsv1.Deployment, pkgreconciler.Event)

ReconcileDeployment reconciles deployment resource (adapter) for HorizonSource

type Reconciler

type Reconciler struct {
	ReceiveAdapterImage string `envconfig:"HORIZON_SOURCE_RA_IMAGE" required:"true"`
	// contains filtered or unexported fields
}

Reconciler reconciles a HorizonSource object

func (*Reconciler) ReconcileKind

func (r *Reconciler) ReconcileKind(ctx context.Context, src *v1alpha1.HorizonSource) pkgreconciler.Event

ReconcileKind implements Interface.ReconcileKind.

func (*Reconciler) UpdateFromLoggingConfigMap

func (r *Reconciler) UpdateFromLoggingConfigMap(cfg *corev1.ConfigMap)

func (*Reconciler) UpdateFromMetricsConfigMap

func (r *Reconciler) UpdateFromMetricsConfigMap(cfg *corev1.ConfigMap)

type ServiceAccountReconciler

type ServiceAccountReconciler struct {
	KubeClientSet kubernetes.Interface
}

func (*ServiceAccountReconciler) ReconcileServiceAccount

func (s *ServiceAccountReconciler) ReconcileServiceAccount(ctx context.Context, src *v1alpha1.HorizonSource, labels map[string]string) (*corev1.ServiceAccount, pkgreconciler.Event)

ReconcileServiceAccount reconciles service account resource for HorizonSource

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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