controllers

package
v1.5.6 Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2024 License: Apache-2.0 Imports: 28 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// HashAnnotation ...
	HashAnnotation = "registry.ethos.adobe.com/hash"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type ClusterReconciler

type ClusterReconciler struct {
	client.Client
	Log    logr.Logger
	Scheme *runtime.Scheme
	Queue  sqs.Producer
	CAData string
}

ClusterReconciler reconciles a Cluster object

func (*ClusterReconciler) Reconcile

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

Reconcile is part of the main kubernetes reconciliation loop which aims to move the current state of the cluster closer to the desired state.

func (*ClusterReconciler) ReconcileCreateUpdate

func (r *ClusterReconciler) ReconcileCreateUpdate(instance *registryv1.Cluster, log logr.Logger) (ctrl.Result, error)

ReconcileCreateUpdate ...

func (*ClusterReconciler) SetupWithManager

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

SetupWithManager sets up the controller with the Manager.

type ServiceMetadataWatcherReconciler added in v1.5.1

type ServiceMetadataWatcherReconciler struct {
	client.Client
	Log                 logr.Logger
	Scheme              *runtime.Scheme
	WatchedGVKs         []schema.GroupVersionKind
	ServiceIdAnnotation string
}

ServiceMetadataWatcherReconciler reconciles a ServiceMetadataWatcher object

func (*ServiceMetadataWatcherReconciler) Reconcile added in v1.5.1

Reconcile is part of the main kubernetes reconciliation loop which aims to move the current state of the cluster closer to the desired state.

func (*ServiceMetadataWatcherReconciler) SetupWithManager added in v1.5.1

func (r *ServiceMetadataWatcherReconciler) SetupWithManager(ctx context.Context, 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