Versions in this module Expand all Collapse all v1 v1.7.9 May 27, 2024 v1.7.8 May 7, 2024 Changes in this version + const DebugPolicyType + const EnvBindingPolicyType + const GarbageCollectPolicyType + const GarbageCollectPropagationCascading + const GarbageCollectPropagationOrphan + const Group + const OverridePolicyType + const ReadOnlyPolicyType + const RefObjectsComponentType + const ReplicationPolicyType + const ResourceUpdatePolicyType + const SharedResourcePolicyType + const TakeOverPolicyType + const TopologyPolicyType + const Version + var AddToScheme = SchemeBuilder.AddToScheme + var PolicyGroupVersionKind = SchemeGroupVersion.WithKind(PolicyKind) + var PolicyKind = "Policy" + var SchemeBuilder = &scheme.Builder + var SchemeGroupVersion = schema.GroupVersion + var WorkflowGroupVersionKind = SchemeGroupVersion.WithKind(WorkflowKind) + var WorkflowKind = "Workflow" + type ApplyOnceAffectStrategy string + const ApplyOncePolicyType + const ApplyOnceStrategyAlways + const ApplyOnceStrategyOnAppStateKeep + const ApplyOnceStrategyOnAppUpdate + type ApplyOncePolicyRule struct + Selector ResourcePolicyRuleSelector + Strategy *ApplyOnceStrategy + func (in *ApplyOncePolicyRule) DeepCopy() *ApplyOncePolicyRule + func (in *ApplyOncePolicyRule) DeepCopyInto(out *ApplyOncePolicyRule) + type ApplyOncePolicySpec struct + Enable bool + Rules []ApplyOncePolicyRule + func (in *ApplyOncePolicySpec) DeepCopy() *ApplyOncePolicySpec + func (in *ApplyOncePolicySpec) DeepCopyInto(out *ApplyOncePolicySpec) + func (in *ApplyOncePolicySpec) FindStrategy(manifest *unstructured.Unstructured) *ApplyOnceStrategy + func (in *ApplyOncePolicySpec) Type() string + type ApplyOnceStrategy struct + ApplyOnceAffectStrategy ApplyOnceAffectStrategy + Path []string + func (in *ApplyOnceStrategy) DeepCopy() *ApplyOnceStrategy + func (in *ApplyOnceStrategy) DeepCopyInto(out *ApplyOnceStrategy) + type ClusterConnection struct + ClusterName string + LastActiveRevision string + func (in *ClusterConnection) DeepCopy() *ClusterConnection + func (in *ClusterConnection) DeepCopyInto(out *ClusterConnection) + type EnvBindingSpec struct + Envs []EnvConfig + func (in *EnvBindingSpec) DeepCopy() *EnvBindingSpec + func (in *EnvBindingSpec) DeepCopyInto(out *EnvBindingSpec) + type EnvBindingStatus struct + ClusterConnections []ClusterConnection + Envs []EnvStatus + func (in *EnvBindingStatus) DeepCopy() *EnvBindingStatus + func (in *EnvBindingStatus) DeepCopyInto(out *EnvBindingStatus) + type EnvComponentPatch struct + ExternalRevision string + Name string + Properties *runtime.RawExtension + Traits []EnvTraitPatch + Type string + func (in *EnvComponentPatch) DeepCopy() *EnvComponentPatch + func (in *EnvComponentPatch) DeepCopyInto(out *EnvComponentPatch) + func (in *EnvComponentPatch) ToApplicationComponent() *common.ApplicationComponent + type EnvConfig struct + Name string + Patch EnvPatch + Placement EnvPlacement + Selector *EnvSelector + func (in *EnvConfig) DeepCopy() *EnvConfig + func (in *EnvConfig) DeepCopyInto(out *EnvConfig) + type EnvPatch struct + Components []EnvComponentPatch + func (in *EnvPatch) DeepCopy() *EnvPatch + func (in *EnvPatch) DeepCopyInto(out *EnvPatch) + type EnvPlacement struct + ClusterSelector *common.ClusterSelector + NamespaceSelector *NamespaceSelector + func (in *EnvPlacement) DeepCopy() *EnvPlacement + func (in *EnvPlacement) DeepCopyInto(out *EnvPlacement) + type EnvSelector struct + Components []string + func (in *EnvSelector) DeepCopy() *EnvSelector + func (in *EnvSelector) DeepCopyInto(out *EnvSelector) + type EnvStatus struct + Env string + Placements []PlacementDecision + func (in *EnvStatus) DeepCopy() *EnvStatus + func (in *EnvStatus) DeepCopyInto(out *EnvStatus) + type EnvTraitPatch struct + Disable bool + Properties *runtime.RawExtension + Type string + func (in *EnvTraitPatch) DeepCopy() *EnvTraitPatch + func (in *EnvTraitPatch) DeepCopyInto(out *EnvTraitPatch) + func (in *EnvTraitPatch) ToApplicationTrait() *common.ApplicationTrait + type GarbageCollectOrder string + const OrderDependency + type GarbageCollectPolicyRule struct + Propagation *GarbageCollectPropagation + Selector ResourcePolicyRuleSelector + Strategy GarbageCollectStrategy + func (in *GarbageCollectPolicyRule) DeepCopy() *GarbageCollectPolicyRule + func (in *GarbageCollectPolicyRule) DeepCopyInto(out *GarbageCollectPolicyRule) + type GarbageCollectPolicySpec struct + ApplicationRevisionLimit *int + ContinueOnFailure bool + KeepLegacyResource bool + Order GarbageCollectOrder + Rules []GarbageCollectPolicyRule + func (in *GarbageCollectPolicySpec) DeepCopy() *GarbageCollectPolicySpec + func (in *GarbageCollectPolicySpec) DeepCopyInto(out *GarbageCollectPolicySpec) + func (in *GarbageCollectPolicySpec) FindDeleteOption(manifest *unstructured.Unstructured) []client.DeleteOption + func (in *GarbageCollectPolicySpec) FindStrategy(manifest *unstructured.Unstructured) *GarbageCollectStrategy + func (in *GarbageCollectPolicySpec) Type() string + type GarbageCollectPropagation string + type GarbageCollectStrategy string + const GarbageCollectStrategyNever + const GarbageCollectStrategyOnAppDelete + const GarbageCollectStrategyOnAppUpdate + type LegacyObjectTypeIdentifier struct + APIVersion string + Kind string + func (in *LegacyObjectTypeIdentifier) DeepCopy() *LegacyObjectTypeIdentifier + func (in *LegacyObjectTypeIdentifier) DeepCopyInto(out *LegacyObjectTypeIdentifier) + type NamespaceSelector struct + Labels map[string]string + Name string + func (in *NamespaceSelector) DeepCopy() *NamespaceSelector + func (in *NamespaceSelector) DeepCopyInto(out *NamespaceSelector) + type ObjectReferrer struct + func (in *ObjectReferrer) DeepCopy() *ObjectReferrer + func (in *ObjectReferrer) DeepCopyInto(out *ObjectReferrer) + type ObjectSelector struct + Cluster string + DeprecatedLabelSelector map[string]string + LabelSelector map[string]string + Name string + Namespace string + func (in *ObjectSelector) DeepCopy() *ObjectSelector + func (in *ObjectSelector) DeepCopyInto(out *ObjectSelector) + type ObjectTypeIdentifier struct + Group string + Resource string + func (in *ObjectTypeIdentifier) DeepCopy() *ObjectTypeIdentifier + func (in *ObjectTypeIdentifier) DeepCopyInto(out *ObjectTypeIdentifier) + type OverridePolicySpec struct + Components []EnvComponentPatch + Selector []string + func (in *OverridePolicySpec) DeepCopy() *OverridePolicySpec + func (in *OverridePolicySpec) DeepCopyInto(out *OverridePolicySpec) + type Placement struct + AllowEmpty bool + ClusterLabelSelector map[string]string + Clusters []string + DeprecatedClusterSelector map[string]string + func (in *Placement) DeepCopy() *Placement + func (in *Placement) DeepCopyInto(out *Placement) + type PlacementDecision struct + Cluster string + Namespace string + func (in *PlacementDecision) DeepCopy() *PlacementDecision + func (in *PlacementDecision) DeepCopyInto(out *PlacementDecision) + func (in PlacementDecision) String() string + type Policy struct + Properties *runtime.RawExtension + Type string + func (in *Policy) DeepCopy() *Policy + func (in *Policy) DeepCopyInto(out *Policy) + func (in *Policy) DeepCopyObject() runtime.Object + type PolicyList struct + Items []Policy + func (in *PolicyList) DeepCopy() *PolicyList + func (in *PolicyList) DeepCopyInto(out *PolicyList) + func (in *PolicyList) DeepCopyObject() runtime.Object + type ReadOnlyPolicyRule struct + Selector ResourcePolicyRuleSelector + func (in *ReadOnlyPolicyRule) DeepCopy() *ReadOnlyPolicyRule + func (in *ReadOnlyPolicyRule) DeepCopyInto(out *ReadOnlyPolicyRule) + type ReadOnlyPolicySpec struct + Rules []ReadOnlyPolicyRule + func (in *ReadOnlyPolicySpec) DeepCopy() *ReadOnlyPolicySpec + func (in *ReadOnlyPolicySpec) DeepCopyInto(out *ReadOnlyPolicySpec) + func (in *ReadOnlyPolicySpec) FindStrategy(manifest *unstructured.Unstructured) bool + func (in *ReadOnlyPolicySpec) Type() string + type RefObjectsComponentSpec struct + Objects []ObjectReferrer + URLs []string + func (in *RefObjectsComponentSpec) DeepCopy() *RefObjectsComponentSpec + func (in *RefObjectsComponentSpec) DeepCopyInto(out *RefObjectsComponentSpec) + type ReplicationPolicySpec struct + Keys []string + Selector []string + func (in *ReplicationPolicySpec) DeepCopy() *ReplicationPolicySpec + func (in *ReplicationPolicySpec) DeepCopyInto(out *ReplicationPolicySpec) + type ResourcePolicyRuleSelector struct + CompNames []string + CompTypes []string + OAMResourceTypes []string + ResourceNames []string + ResourceTypes []string + TraitTypes []string + func (in *ResourcePolicyRuleSelector) DeepCopy() *ResourcePolicyRuleSelector + func (in *ResourcePolicyRuleSelector) DeepCopyInto(out *ResourcePolicyRuleSelector) + func (in *ResourcePolicyRuleSelector) Match(manifest *unstructured.Unstructured) bool + type ResourceUpdateOp string + const ResourceUpdateStrategyPatch + const ResourceUpdateStrategyReplace + type ResourceUpdatePolicyRule struct + Selector ResourcePolicyRuleSelector + Strategy ResourceUpdateStrategy + func (in *ResourceUpdatePolicyRule) DeepCopy() *ResourceUpdatePolicyRule + func (in *ResourceUpdatePolicyRule) DeepCopyInto(out *ResourceUpdatePolicyRule) + type ResourceUpdatePolicySpec struct + Rules []ResourceUpdatePolicyRule + func (in *ResourceUpdatePolicySpec) DeepCopy() *ResourceUpdatePolicySpec + func (in *ResourceUpdatePolicySpec) DeepCopyInto(out *ResourceUpdatePolicySpec) + func (in *ResourceUpdatePolicySpec) FindStrategy(manifest *unstructured.Unstructured) *ResourceUpdateStrategy + func (in *ResourceUpdatePolicySpec) Type() string + type ResourceUpdateStrategy struct + Op ResourceUpdateOp + RecreateFields []string + func (in *ResourceUpdateStrategy) DeepCopy() *ResourceUpdateStrategy + func (in *ResourceUpdateStrategy) DeepCopyInto(out *ResourceUpdateStrategy) + type SharedResourcePolicyRule struct + Selector ResourcePolicyRuleSelector + func (in *SharedResourcePolicyRule) DeepCopy() *SharedResourcePolicyRule + func (in *SharedResourcePolicyRule) DeepCopyInto(out *SharedResourcePolicyRule) + type SharedResourcePolicySpec struct + Rules []SharedResourcePolicyRule + func (in *SharedResourcePolicySpec) DeepCopy() *SharedResourcePolicySpec + func (in *SharedResourcePolicySpec) DeepCopyInto(out *SharedResourcePolicySpec) + func (in *SharedResourcePolicySpec) FindStrategy(manifest *unstructured.Unstructured) bool + func (in *SharedResourcePolicySpec) Type() string + type TakeOverPolicyRule struct + Selector ResourcePolicyRuleSelector + func (in *TakeOverPolicyRule) DeepCopy() *TakeOverPolicyRule + func (in *TakeOverPolicyRule) DeepCopyInto(out *TakeOverPolicyRule) + type TakeOverPolicySpec struct + Rules []TakeOverPolicyRule + func (in *TakeOverPolicySpec) DeepCopy() *TakeOverPolicySpec + func (in *TakeOverPolicySpec) DeepCopyInto(out *TakeOverPolicySpec) + func (in *TakeOverPolicySpec) FindStrategy(manifest *unstructured.Unstructured) bool + func (in *TakeOverPolicySpec) Type() string + type TopologyPolicySpec struct + Namespace string + func (in *TopologyPolicySpec) DeepCopy() *TopologyPolicySpec + func (in *TopologyPolicySpec) DeepCopyInto(out *TopologyPolicySpec)