pod

package
v0.8.3 Latest Latest
Warning

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

Go to latest
Published: Mar 12, 2020 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Add

func Add(mgr manager.Manager, poolManager *pool_manager.PoolManager) error

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

Types

type ReconcilePolicy

type ReconcilePolicy struct {
	client.Client
	// contains filtered or unexported fields
}

ReconcilePolicy reconciles a Policy object

func (*ReconcilePolicy) Reconcile

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

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

Jump to

Keyboard shortcuts

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