Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ErrNoUpdateStrategy is an update error when the update strategy is not // specified. ErrNoUpdateStrategy = errors.New("no update strategy") // ErrUnsupportedUpdateStrategy is an update error when the provided update // strategy is not supported. ErrUnsupportedUpdateStrategy = errors.New("unsupported update strategy") )
Functions ¶
func ApplyPolicies ¶
func ApplyPolicies(ctx context.Context, workDir string, obj *imagev1.ImageUpdateAutomation, policies []imagev1_reflect.ImagePolicy) (update.ResultV2, error)
ApplyPolicies applies the given set of policies on the source present in the workDir based on the provided ImageUpdateAutomation configuration.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.