cascade

package
v1.0.34 Latest Latest
Warning

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

Go to latest
Published: Dec 5, 2022 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewController

func NewController(mgr ctrl.Manager, logger logr.Logger) error

func SetTimeline added in v1.0.28

func SetTimeline(cascade *v1alpha1.Cascade)

Types

type Controller

type Controller struct {
	ctrl.Manager
	logr.Logger
	// contains filtered or unexported fields
}

Controller reconciles a Cascade object.

func (*Controller) Finalize

func (r *Controller) Finalize(obj client.Object) error

func (*Controller) Finalizer

func (r *Controller) Finalizer() string

func (*Controller) HasFailed added in v1.0.24

func (r *Controller) HasFailed(ctx context.Context, cascade *v1alpha1.Cascade) error

func (*Controller) HasSucceed added in v1.0.24

func (r *Controller) HasSucceed(ctx context.Context, cascade *v1alpha1.Cascade) error

func (*Controller) Initialize added in v1.0.24

func (r *Controller) Initialize(ctx context.Context, cascade *v1alpha1.Cascade) error

func (*Controller) PopulateView added in v1.0.24

func (r *Controller) PopulateView(ctx context.Context, req types.NamespacedName) error

func (*Controller) Reconcile

func (r *Controller) 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 view of the cascade closer to the desired view.

Jump to

Keyboard shortcuts

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