persistentpodstate

package
v1.6.2 Latest Latest
Warning

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

Go to latest
Published: Apr 3, 2024 License: Apache-2.0 Imports: 37 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (

	// kubernetes
	KindSts = appsv1.SchemeGroupVersion.WithKind("StatefulSet")
	// kruise
	KruiseKindSts = appsv1beta1.SchemeGroupVersion.WithKind("StatefulSet")
	KruiseKindPps = appsv1alpha1.SchemeGroupVersion.WithKind("PersistentPodState")
	// AutoGeneratePersistentPodStatePrefix auto generate PersistentPodState crd
	AutoGeneratePersistentPodStatePrefix = "generate#"
)

Functions

func Add

func Add(mgr manager.Manager) error

Add creates a new PersistentPodState 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 ReconcilePersistentPodState

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

ReconcilePersistentPodState reconciles a PersistentPodState object

func (*ReconcilePersistentPodState) Reconcile

Reconcile reads that state of the cluster for a PersistentPodState object and makes changes based on the state read and what is in the PersistentPodState.Spec

Jump to

Keyboard shortcuts

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