1
0
mirror of synced 2026-02-13 13:06:56 +00:00

Implement flux [reconcile|suspend|resume] image policy commands

Signed-off-by: lukas8219 <lucas.c4d@gmail.com>
This commit is contained in:
lukas8219
2025-08-26 09:10:29 -03:00
parent 948ed45f10
commit 48d509d838
9 changed files with 182 additions and 6 deletions

View File

@@ -81,12 +81,6 @@ func init() {
createImageCmd.AddCommand(createImagePolicyCmd)
}
// getObservedGeneration is implemented here, since it's not
// (presently) needed elsewhere.
func (obj imagePolicyAdapter) getObservedGeneration() int64 {
return obj.ImagePolicy.Status.ObservedGeneration
}
func createImagePolicyRun(cmd *cobra.Command, args []string) error {
objectName := args[0]