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

# Functions

# Constants

ContainerLaunchBarrierEnvName is the env name that Kruise webhook will inject into containers if the pod have configured launch priority.
ContainerLaunchOrdered is the annotation value that indicates containers in pod should be launched by ordinal.
ContainerLaunchPriorityCompletedKey is the annotation indicates the pod has all its priorities patched into its barrier configmap.
ContainerLaunchPriorityEnvName is the env name that users have to define in pod container to identity the launch priority of this container.
ContainerLaunchPriorityKey is the annotation key that users could define in pod annotation to make containers in pod launched by ordinal.
InPlaceUpdateGraceKey records the spec that Pod should be updated when grace period ends.
TODO: will be removed since v1.0.0.
InPlaceUpdateReady must be added into template.spec.readinessGates when pod podUpdatePolicy is InPlaceIfPossible or InPlaceOnly.
InPlaceUpdateStateKey records the state of inplace-update.
TODO: will be removed since v1.0.0.
KruisePodReadyConditionType can support multiple writers, such as: - ContainerRecreateRequest; - Workload controller, including CloneSet, Advanced StatefulSet, Advanced Daemonset.
LifecycleStateNormal is a necessary condition for Pod to be available.
LifecycleStatePreparingDelete means the Pod is prepared to delete.
LifecycleStatePreparingNormal means the Pod is created but unavailable.
LifecycleStatePreparingUpdate means pod is being prepared to update.
LifecycleStateUpdated means the Pod is updated, but unavailable.
LifecycleStateUpdating means the Pod is being updated.
PubUnavailablePodLabelPrefix indicates if the pod has this label, both kruise workload and pub will determine that the pod is unavailable, even if pod.status.ready=true.
RuntimeContainerMetaKey is a key in pod annotations.

# Structs

InPlaceUpdateContainerBatch indicates the timestamp and containers for a batch update.
InPlaceUpdateContainerStatus records the statuses of the container that are mainly used to determine whether the InPlaceUpdate is completed.
InPlaceUpdatePreCheckBeforeNext contains the pre-check that must pass before the next containers can be in-place update.
InPlaceUpdateState records latest inplace-update state, including old statuses of containers.
InPlaceUpdateStrategy defines the strategies for in-place update.
Lifecycle contains the hooks for Pod lifecycle.
RuntimeContainerHashes contains the hashes of such container.
RuntimeContainerMeta contains the meta data of a runtime container.
RuntimeContainerMetaSet contains all the containers' meta of the Pod.
UpdatePriorityOrderTerm defines order priority.
UpdatePriorityStrategy is the strategy to define priority for pods update.
UpdatePriorityWeightTerm defines weight priority.

# Type aliases