statefulset

package
v0.10.0 Latest Latest
Warning

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

Go to latest
Published: Oct 17, 2024 License: Apache-2.0 Imports: 9 Imported by: 1

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 StatefulSet 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.

func AddStatefulSetWebhook added in v0.7.0

func AddStatefulSetWebhook(mgr manager.Manager) error

Types

type ReconcileStatefulSet

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

ReconcileStatefulSet reconciles a StatefulSet object

func (*ReconcileStatefulSet) Reconcile

Reconcile reads that state of the cluster for a StatefulSet object and updates its PodSpec based on mounted configuration

type StatefulSetWebhook added in v0.7.0

type StatefulSetWebhook struct {
	client.Client
	Handler *core.Handler[*appsv1.StatefulSet]
}

func (*StatefulSetWebhook) Default added in v0.7.0

func (a *StatefulSetWebhook) Default(ctx context.Context, obj runtime.Object) error

Jump to

Keyboard shortcuts

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