controllers

package
v0.8.1 Latest Latest
Warning

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

Go to latest
Published: Jul 17, 2020 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrorInvalidDeploymentTargetNoTargetName = errors.New("must set spec.deploymentTargetName if spec.spec.deploymentTargetId is not specified")

Functions

This section is empty.

Types

type VpDeploymentReconciler

type VpDeploymentReconciler struct {
	client.Client
	Log              logr.Logger
	AppManagerClient appmanager.Client
	// contains filtered or unexported fields
}

VpDeploymentReconciler reconciles a VpDeployment object

func (*VpDeploymentReconciler) Reconcile

func (r *VpDeploymentReconciler) Reconcile(req ctrl.Request) (ctrl.Result, error)

Reconcile is the main reconciliation loop handler

func (*VpDeploymentReconciler) SetupWithManager

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

SetupWithManager hooks the reconciler into the main manager

type VpDeploymentTargetReconciler

type VpDeploymentTargetReconciler struct {
	client.Client
	Log              logr.Logger
	AppManagerClient appmanager.Client
}

VpDeploymentTargetReconciler reconciles a VpDeploymentTarget object

func (*VpDeploymentTargetReconciler) Reconcile

Reconcile tries to make the current state more like the desired state

func (*VpDeploymentTargetReconciler) SetupWithManager

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

SetupWithManager is a helper function to initial on manager boot

type VpNamespaceReconciler

type VpNamespaceReconciler struct {
	client.Client
	Log            logr.Logger
	PlatformClient platform.Client
	// contains filtered or unexported fields
}

VpNamespaceReconciler reconciles a VpNamespace object

func (*VpNamespaceReconciler) Reconcile

func (r *VpNamespaceReconciler) Reconcile(req ctrl.Request) (ctrl.Result, error)

Reconcile tries to make the current state more like the desired state

func (*VpNamespaceReconciler) SetupWithManager

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

SetupWithManager is a helper function to initial on manager boot

type VpSavepointReconciler

type VpSavepointReconciler struct {
	client.Client
	Log              logr.Logger
	AppManagerClient appmanager.Client
	// contains filtered or unexported fields
}

VpSavepointReconciler reconciles a VpSavepoint object

func (*VpSavepointReconciler) Reconcile

func (r *VpSavepointReconciler) Reconcile(req ctrl.Request) (ctrl.Result, error)

Reconcile is the main entrypoint for the reconciliation loop

func (*VpSavepointReconciler) SetupWithManager

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

SetupWithManager registers the controller

Jump to

Keyboard shortcuts

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