Commit Graph

4 Commits

Author SHA1 Message Date
Stefan Prodan 91bbe7491f
Refactor pkg structure
- move pkg/test to internal/testutil
- move pkg/update to internal/update

Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2025-08-11 20:23:26 +03:00
cappyzawa f1a92cb661
Consolidate Result and ResultV2 types for GA
Remove old Result type and rename ResultV2 to Result, following
Stefan's review feedback to eliminate complex nested structures.
This creates a single, flat Result type containing only FileChanges
for improved API simplicity.

Breaking changes:
- .Changed.ImageResult.Files/.Images/.Objects no longer available
- Users must migrate to .Changed.FileChanges, .Changed.Objects,
  and .Changed.Changes

Enhanced error handling provides specific guidance for removed
template fields, setting Stalled condition with clear migration
instructions. Updated documentation includes removal notes and
migration examples.

Signed-off-by: cappyzawa <cappyzawa@gmail.com>
2025-06-30 22:16:08 +09:00
Matheus Pimenta 806d41081a
Update digest of latest image
Signed-off-by: Matheus Pimenta <matheuscscp@gmail.com>
2025-05-28 10:13:23 +01:00
Sunny 83865d39c9 Add policy package for applying policy
Move the policy applying code to a separate package so that it can be
tested and maintained independent of the other components, and imported
to other packages where needed.

Signed-off-by: Sunny <github@darkowlzz.space>
2024-04-18 16:16:09 +05:30