Documentation ¶
Index ¶
- func ParseApplyOncePolicy(app *v1beta1.Application) (*v1alpha1.ApplyOncePolicySpec, error)
- func ParseGarbageCollectPolicy(app *v1beta1.Application) (*v1alpha1.GarbageCollectPolicySpec, error)
- func ParseOverridePolicyRelatedDefinitions(ctx context.Context, cli client.Client, app *v1beta1.Application, ...) (compDefs []*v1beta1.ComponentDefinition, traitDefs []*v1beta1.TraitDefinition, ...)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ParseApplyOncePolicy ¶
func ParseApplyOncePolicy(app *v1beta1.Application) (*v1alpha1.ApplyOncePolicySpec, error)
ParseApplyOncePolicy parse apply-once policy
func ParseGarbageCollectPolicy ¶
func ParseGarbageCollectPolicy(app *v1beta1.Application) (*v1alpha1.GarbageCollectPolicySpec, error)
ParseGarbageCollectPolicy parse garbage-collect policy
func ParseOverridePolicyRelatedDefinitions ¶
func ParseOverridePolicyRelatedDefinitions(ctx context.Context, cli client.Client, app *v1beta1.Application, policy v1beta1.AppPolicy) (compDefs []*v1beta1.ComponentDefinition, traitDefs []*v1beta1.TraitDefinition, err error)
ParseOverridePolicyRelatedDefinitions get definitions inside override policy
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.