podpreset

package
v1.19.11 Latest Latest
Warning

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

Go to latest
Published: Jan 19, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ReconcilePodPreset

type ReconcilePodPreset struct {
	// This client, initialized using mgr.Client() above, is a split client
	// that reads objects from the cache and writes to the apiserver
	Client client.Client
	Scheme *runtime.Scheme
}

ReconcilePodPreset reconciles a PodPreset object

func (*ReconcilePodPreset) AddNameLabeltoNs added in v1.5.0

func (r *ReconcilePodPreset) AddNameLabeltoNs(nsName string) error

func (*ReconcilePodPreset) Reconcile

func (r *ReconcilePodPreset) Reconcile(ctx context.Context, request ctrl.Request) (ctrl.Result, error)

Reconcile reads that state of the cluster for a PodPreset object and makes changes based on the state read and what is in the PodPreset.Spec TODO(user): Modify this Reconcile function to implement your Controller logic. This example creates a Pod as an example Note: The Controller will requeue the Request to be processed again if the returned error is non-nil or Result.Requeue is true, otherwise upon completion it will remove the work from the queue.

func (*ReconcilePodPreset) SetupWithManager added in v1.4.0

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

Jump to

Keyboard shortcuts

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