package
1.8.0
Repository: https://github.com/openkruise/kruise.git
Documentation: pkg.go.dev

# Functions

Resource is required by pkg/client/listers/...

# Constants

DeletePersistentVolumeClaimRetentionPolicyType specifies that PersistentVolumeClaims associated with StatefulSet VolumeClaimTemplates will be deleted in the scenario specified in StatefulSetPersistentVolumeClaimPolicy.
These are valid conditions of a statefulset.
These are valid conditions of a statefulset.
InPlaceIfPossiblePodUpdateStrategyType indicates that we try to in-place update Pod instead of recreating Pod when possible.
InPlaceOnlyPodUpdateStrategyType indicates that we will in-place update Pod instead of recreating pod.
MaxMinReadySeconds is the max value of MinReadySeconds.
OnPodRollingUpdateVolumeClaimUpdateStrategyType indicates that volume claim updates are triggered when associated Pods undergo rolling updates.
OnPVCDeleteVolumeClaimUpdateStrategyType indicates that updates are triggered when a Persistent Volume Claim (PVC) is deleted.
RecreatePodUpdateStrategyType indicates that we always delete Pod and create new Pod during Pod update, which is the default behavior.
RetainPersistentVolumeClaimRetentionPolicyType is the default PersistentVolumeClaimRetentionPolicy and specifies that PersistentVolumeClaims associated with StatefulSet VolumeClaimTemplates will not be deleted.

# Variables

AddToScheme adds the types in this group-version to the given scheme.
GroupVersion is group version used to register these objects.
SchemeBuilder is used to add go types to the GroupVersionKind scheme.

# Structs

RollingUpdateStatefulSetStrategy is used to communicate parameter for RollingUpdateStatefulSetStrategyType.
StatefulSet is the Schema for the statefulsets API.
StatefulSetList contains a list of StatefulSet.
StatefulSetOrdinals describes the policy used for replica ordinal assignment in this StatefulSet.
StatefulSetPersistentVolumeClaimRetentionPolicy describes the policy used for PVCs created from the StatefulSet VolumeClaims.
StatefulSetScaleStrategy defines strategies for pods scale.
StatefulSetSpec defines the desired state of StatefulSet.
StatefulSetStatus defines the observed state of StatefulSet.
StatefulSetUpdateStrategy indicates the strategy that the StatefulSet controller will use to perform updates.
UnorderedUpdateStrategy defines strategies for non-ordered update.
VolumeClaimStatus describes the status of a volume claim template.
VolumeClaimUpdateStrategy defines the strategy for updating volume claims.

# Type aliases

PersistentVolumeClaimRetentionPolicyType is a string enumeration of the policies that will determine when volumes from the VolumeClaimTemplates will be deleted when the controlling StatefulSet is deleted or scaled down.
PodUpdateStrategyType is a string enumeration type that enumerates all possible ways we can update a Pod when updating application.
VolumeClaimUpdateStrategyType defines the update strategy types for volume claims.