package
1.7.9
Repository: https://github.com/kuberly/kubevela-core-api.git
Documentation: pkg.go.dev

# Constants

ApplyOncePolicyType refers to the type of configuration drift policy.
ApplyOnceStrategyAlways policy takes effect always.
ApplyOnceStrategyOnAppStateKeep policy takes effect on application state keep.
ApplyOnceStrategyOnAppUpdate policy takes effect on application updating.
DebugPolicyType refers to the type of debug policy.
EnvBindingPolicyType refers to the type of EnvBinding.
GarbageCollectPolicyType refers to the type of garbage-collect.
GarbageCollectPropagationCascading delete child resources in background while deleting target resources.
GarbageCollectPropagationOrphan orphan child resources while deleting target resources.
GarbageCollectStrategyNever do not recycle target resource, leave it.
GarbageCollectStrategyOnAppDelete do not recycle target resource until application is deleted this means the resource will be kept even it is not used in the latest version.
GarbageCollectStrategyOnAppUpdate recycle target resource when it is not inUse.
Package type metadata.
OrderDependency is the order of dependency.
OverridePolicyType refers to the type of override policy.
ReadOnlyPolicyType refers to the type of read-only policy.
RefObjectsComponentType refers to the type of ref-objects.
ReplicationPolicyType refers to the type of replication policy.
ResourceUpdatePolicyType refers to the type of resource-update policy.
ResourceUpdateStrategyPatch patch the target resource (three-way patch).
ResourceUpdateStrategyReplace update the target resource.
SharedResourcePolicyType refers to the type of shared resource policy.
TakeOverPolicyType refers to the type of take-over policy.
TopologyPolicyType refers to the type of topology policy.
Package type metadata.

# Variables

AddToScheme is a global function that registers this API group & version to a scheme.
Policy meta.
Policy meta.
SchemeBuilder is used to add go types to the GroupVersionKind scheme.
SchemeGroupVersion is group version used to register these objects.
Workflow meta.
Workflow meta.

# Structs

ApplyOncePolicyRule defines a single apply-once policy rule.
ApplyOncePolicySpec defines the spec of preventing configuration drift.
ApplyOnceStrategy the strategy for resource path to allow configuration drift.
ClusterConnection records the connection with clusters and the last active app revision when they are active (still be used) Deprecated.
EnvBindingSpec defines a list of envs Deprecated This spec is deprecated and replaced by Topology/Override Policy.
EnvBindingStatus records the status of all env Deprecated.
EnvComponentPatch is the patch to component.
EnvConfig is the configuration for different environments.
EnvPatch specify the parameter configuration for different environments.
EnvPlacement defines the placement rules for an app.
EnvSelector defines which components should this env contains.
EnvStatus records the status of one env Deprecated.
EnvTraitPatch is the patch to trait.
GarbageCollectPolicyRule defines a single garbage-collect policy rule.
GarbageCollectPolicySpec defines the spec of configuration drift.
LegacyObjectTypeIdentifier legacy object type identifier.
NamespaceSelector defines the rules to select a Namespace resource.
ObjectReferrer selects Kubernetes objects.
ObjectSelector selector for Kubernetes object.
ObjectTypeIdentifier identifies the scheme of Kubernetes object.
OverridePolicySpec defines the spec of override policy.
Placement describes which clusters to be selected in this topology.
PlacementDecision describes the placement of one application instance.
Policy is the Schema for the policy API +kubebuilder:storageversion +kubebuilder:resource:categories={oam} +kubebuilder:printcolumn:name="TYPE",type=string,JSONPath=`.type` +genclient +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object.
PolicyList contains a list of Policy +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object.
ReadOnlyPolicyRule defines the rule for read-only resources.
ReadOnlyPolicySpec defines the spec of read-only policy.
RefObjectsComponentSpec defines the spec of ref-objects component.
ReplicationPolicySpec defines the spec of replication policy Override policy should be used together with replication policy to select the deployment target components.
ResourcePolicyRuleSelector select the targets of the rule if multiple conditions are specified, combination logic is AND.
ResourceUpdatePolicyRule defines the rule for resource-update resources.
ResourceUpdatePolicySpec defines the spec of resource-update policy.
ResourceUpdateStrategy the update strategy for resource.
SharedResourcePolicyRule defines the rule for sharing resources.
SharedResourcePolicySpec defines the spec of shared-resource policy.
TakeOverPolicyRule defines the rule for taking over resources.
TakeOverPolicySpec defines the spec of take-over policy.
TopologyPolicySpec defines the spec of topology policy.

# Type aliases

ApplyOnceAffectStrategy is a string that mark the policy effective stage.
GarbageCollectOrder is the order of garbage collect.
GarbageCollectPropagation the deletion propagation setting similar to metav1.DeletionPropagation.
GarbageCollectStrategy the strategy for target resource to recycle.
ResourceUpdateOp update op for resource.