package
0.6.5
Repository: https://github.com/kusionstack/kube-api.git
Documentation: pkg.go.dev

# Functions

Resource takes an unqualified resource and returns a Group qualified GroupResource.

# Constants

No description provided by the author
AnnotationPodDecorationRevision struct: { groupName: {name: pdName, revision: currentRevision}, groupName: {} }.
AnnotationPodDecorationRevision struct: { groupName: {name: pdName, revision: currentRevision}, groupName: {} }.
PodTransitionRule Annotation.
PodTransitionRule Annotation.
No description provided by the author
CollaSetInPlaceIfPossiblePodUpdateStrategyType indicates thath CollaSet will try to update Pod by in-place update when it is possible.
CollaSetInPlaceOnlyPodUpdateStrategyType indicates that CollaSet will always update Pod in-place, instead of recreating pod.
CollaSetRecreatePodUpdateStrategyType indicates that CollaSet will always update Pod by deleting and recreate it.
CollaSetReplacePodUpdateStrategyType indicates that CollaSet will always update Pod by replace, it will create a new Pod and delete the old pod when the new one service available.
No description provided by the author
No description provided by the author
CollaSetUpdateIndicateLabelKey is used to indicate a pod should be updated by label.
No description provided by the author
No description provided by the author
No description provided by the author
DeletePersistentVolumeClaimRetentionPolicyType is the default policy, which specifies that PersistentVolumeClaims associated with CollaSet VolumeClaimTemplates will be deleted in the scenario specified in PersistentVolumeClaimRetentionPolicy.
No description provided by the author
Fail means that an error calling the webhook causes the admission to fail.
GroupName specifies the group name used to register the objects.
Ignore means that an error calling the webhook is ignored.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
indicate the available conditions of a pod.
PodOpsLifecycle labels.
PodCompletingLabelPrefix indicates a pod is completing operation.
PodOpsLifecycle labels.
PodDecoration labels.
well known event reasons.
PodDeletionIndicationLabelKey indicates a pod will be deleted by collaset.
PodDoneOperationTypeLabelPrefix indicates the type of operation has been done.
PodExcludeIndicationLabelKey indicates a pod will be excluded by collaset.
PodInstanceIDLabelKey is used to attach pod instance ID on pod.
PodOperatedLabelPrefix indicates a pod has finished operate phase.
PodOperateLabelPrefix indicates a pod is in operate phase.
PodOpsLifecycle labels.
PodOperatingLabelPrefix indicates a pod is operating.
PodOperationPermissionLabelPrefix indicates the permission of operation.
well known finalizer.
PodOperationTypeLabelPrefix indicates the type of operation.
well known variables.
well known variables.
PodOrphanedIndicateLabelKey indicates pod or pvc is orphaned.
PodPostCheckedLabelPrefix indicates a pod has finished post-check phase.
PodOpsLifecycle labels.
PodPostCheckLabelPrefix indicates a pod is in post-check phase.
PodPreCheckedLabelPrefix indicates a pod has finished pre-check phase.
PodOpsLifecycle labels.
PodPreCheckLabelPrefix indicates a pod is in pre-check phase.
PodOpsLifecycle labels.
PodOpsLifecycle labels.
PodPreparingLabelPrefix indicates a pod is preparing for operation.
PodReplaceByReplaceUpdateLabelKey indicates a pod is replaced by update by collaset.
PodReplaceIndicationLabelKey indicates a pod will be replaced by collaset.
PodReplacePairNewId is used to indicate the new created pod instance on replace origin pod.
PodReplacePairOriginName is used to indicate replace origin pod name on the new created pod.
PodServiceAvailableLabel indicates a pod is available to serve.
PodStayOfflineLabel indicates a pod is not ready and available to serve.
PodUndoOperationTypeLabelPrefix indicates the type of operation has been canceled.
well known finalizer.
PvcTemplateHashLabelKey is used to attach hash of pvc template to pvc resource.
well known readiness gate.
No description provided by the author
No description provided by the author
No description provided by the author
RetainPersistentVolumeClaimRetentionPolicyType specifies that PersistentVolumeClaims associated with CollaSet VolumeClaimTemplates will not be deleted.
well known event reasons.

# Variables

Depreciated: use Install instead.
GroupVersion specifies the group and the version used to register the objects.
No description provided by the author
localSchemeBuilder and AddToScheme will stay in k8s.io/kubernetes.
SchemeGroupVersion is group version used to register these objects Deprecated: use GroupVersion instead.
No description provided by the author

# Structs

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
CollaSet is the Schema for the collasets API.
No description provided by the author
CollaSetList contains a list of CollaSet.
CollaSetSpec defines the desired state of CollaSet.
CollaSetStatus defines the observed state of CollaSet.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
OperationJob is the Schema for the operationjobs API.
OperationJobList contains a list of OperationJob.
OperationJobSpec defines the desired state of OperationJob.
OperationJobStatus defines the observed state of OperationJob.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
+kubebuilder:object:generate=false.
PodDecoration is the Schema for the poddecorations API.
PodDecorationAffinity carries the configuration to inject into the Pod affinity.
No description provided by the author
PodDecorationList contains a list of PodDecoration.
No description provided by the author
No description provided by the author
No description provided by the author
PodDecorationPrimaryContainer contains the decoration configuration to override the application container.
No description provided by the author
PodDecorationSpec defines the desired state of PodDecoration.
PodDecorationStatus defines the observed state of PodDecoration.
No description provided by the author
No description provided by the author
PodOpsTarget defines the target pods of the OperationJob.
No description provided by the author
PodTransitionRule is the Schema for the podtransitionrules API.
PodTransitionRuleList contains a list of PodTransitionRule.
PodTransitionRuleSpec defines the desired state of PodTransitionRule.
PodTransitionRuleStatus defines the observed state of PodTransitionRule.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
ResourceContext is the Schema for the resourcecontext API.
ResourceContextList contains a list of ResourceContext.
ResourceContextSpec defines the desired state of ResourceContext.
ResourceParameter is representing the request body of resource parameter.
RollingUpdateCollaSetStrategy is used to communicate parameter for rolling update.
RuleState defines the resource info in webhook processing progress.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
WebhookRequest is representing the request parameter.
No description provided by the author
WebhookStatus defines the webhook processing status.

# Type aliases

No description provided by the author
No description provided by the author
FailurePolicyType specifies the type of failure policy.
No description provided by the author
OperationProgress indicates operation progress of pod.
PersistentVolumeClaimRetentionPolicyType is a string enumeration of the policies that will determine which action will be applied on volumes from the VolumeClaimTemplates when the CollaSet is deleted or scaled down.
PodUpdateStrategyType is a string enumeration type that enumerates all possible ways we can update a Pod when updating application.
No description provided by the author