pod

package
v0.2.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ApplyObject = apply.ApplyObject
View Source
var ResyncPeriod = 2 * time.Minute

The periodic resync interval. We will re-run the reconciliation logic, even if the NCP configuration hasn't changed.

View Source
var SetControllerReference = controllerutil.SetControllerReference

Functions

func Add

func Add(mgr manager.Manager, status *statusmanager.StatusManager, sharedInfo *sharedinfo.SharedInfo) error

Add creates a new Pod 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 ReconcilePod

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

ReconcilePods watches for updates to specified resources and then updates its StatusManager

func (*ReconcilePod) Reconcile

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

Reconcile updates the ClusterOperator.Status to match the current state of the watched Deployments/DaemonSets

Jump to

Keyboard shortcuts

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