Skip to content

policy: separate sourcemetaresolver utility to reusable pkg #3653

Open
tonistiigi wants to merge 1 commit intodocker:masterfrom
tonistiigi:util-sourcemeta-resolver
Open

policy: separate sourcemetaresolver utility to reusable pkg #3653
tonistiigi wants to merge 1 commit intodocker:masterfrom
tonistiigi:util-sourcemeta-resolver

Conversation

@tonistiigi
Copy link
Member

depends on #3652

Turn the current utility used by policy helper commands that
allows getting gateway.Client lazily into a reusable package.

This is preparation for using this utility also in the policy
verification, outside of commands.

Only expose SourceMetaResolver as other methods of the gateway client
are not needed atm by any callers.

Signed-off-by: Tonis Tiigi tonistiigi@gmail.com

Turn the current utility used by policy helper commands that
allows getting gateway.Client lazily into reusable package.

This is preparation for using this utility also in the policy
verification, outside of commands.

Only expose SourceMetaResolver as other methods of gateway client
are not needed atm by any callers.

Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
@tonistiigi tonistiigi force-pushed the util-sourcemeta-resolver branch from a3cc236 to dce5289 Compare February 13, 2026 21:59
@tonistiigi tonistiigi marked this pull request as ready for review February 13, 2026 21:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant