command

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Apr 21, 2020 License: Apache-2.0 Imports: 29 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Add

func Add(mgr manager.Manager) error

Add creates a new Command Controller and adds it to the Manager. The Manager will set fields on the Controller and Start it when the Manager is Started.

Types

type ReconcileCommand

type ReconcileCommand struct {
	// contains filtered or unexported fields
}

ReconcileCommand reconciles a Command object

func NewReconciler

func NewReconciler(client client.Client, scheme *runtime.Scheme, kubernetes *k8s.Kubernetes, config *rest.Config) *ReconcileCommand

NewReconciler is used to create command reconciler

func (*ReconcileCommand) Reconcile

func (r *ReconcileCommand) Reconcile(request reconcile.Request) (reconcile.Result, error)

Reconcile reads that state of the cluster for a Command object and makes changes based on the state read

Jump to

Keyboard shortcuts

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