controllers

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Aug 12, 2021 License: Apache-2.0 Imports: 23 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// OperatorFinalizerName is the name of the finalizer.
	OperatorFinalizerName = "operator.ocean.spot.io"

	// OperatorVersionAnnotation is the annotation holds the operator version.
	OperatorVersionAnnotation = "operator.ocean.spot.io/version"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type OceanComponentReconciler

type OceanComponentReconciler struct {
	Scheme       *runtime.Scheme
	Client       client.Client
	ClientGetter genericclioptions.RESTClientGetter
	Log          log.Logger
	Namespace    string
}

OceanComponentReconciler reconciles a OceanComponent object

func (*OceanComponentReconciler) Reconcile

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

For more details, check Reconcile and its Result here: - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.9.5/pkg/reconcile

func (*OceanComponentReconciler) SetupWithManager

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

SetupWithManager sets up the controller with the Manager.

type RequestContext

type RequestContext struct {
	ctrlutil.RequestContext
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

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