restart

package
v0.0.0-...-c1f5ca6 Latest Latest
Warning

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

Go to latest
Published: Jan 2, 2025 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

View Source
const (
	RestartertLabelName  = "restarter.kubedoop.dev/enable"
	RestartertLabelValue = "true"

	ConfigMapRestartAnnotationPrefix = "configmap.restarter.kubedoop.dev/"
	SecretRestartAnnotationPrefix    = "secret.restarter.kubedoop.dev/"
)

Variables

This section is empty.

Functions

func GenStatefulSetRestartAnnotationKey

func GenStatefulSetRestartAnnotationKey(obj client.Object) string

func GenStatefulSetRestartAnnotationValue

func GenStatefulSetRestartAnnotationValue(obj client.Object) string

Types

type PodExpiresReconciler

type PodExpiresReconciler struct {
	client.Client
	Schema *runtime.Scheme
}

func (*PodExpiresReconciler) Reconcile

func (r *PodExpiresReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)

func (*PodExpiresReconciler) SetupWithManager

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

type StatefulSetHandler

type StatefulSetHandler struct {
	Client client.Client
	Sts    *appv1.StatefulSet
}

type StatefulSetReconciler

type StatefulSetReconciler struct {
	client.Client

	Schema *runtime.Scheme
}

func (*StatefulSetReconciler) Reconcile

func (r *StatefulSetReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)

func (*StatefulSetReconciler) SetupWithManager

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

Jump to

Keyboard shortcuts

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