Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

move RegistryConfig to resolver package #2151

Merged
merged 1 commit into from
Jun 8, 2021

Conversation

thaJeztah
Copy link
Member

@thaJeztah thaJeztah commented Jun 5, 2021

relates to moby/moby#42465 (comment)

This allows using the resolver package without having to import the buildkit daemon configuration.

Aliasses were added in the config package for backward compatibility, and to allow for the config package to diverge / extend the internal type if needed.

@thaJeztah
Copy link
Member Author

Ah, hm.. messed up. Fixing

@thaJeztah thaJeztah marked this pull request as draft June 5, 2021 19:17
@thaJeztah thaJeztah marked this pull request as ready for review June 5, 2021 19:57
@thaJeztah
Copy link
Member Author

@tonistiigi @AkihiroSuda ptal

Copy link
Member

@tonistiigi tonistiigi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

SGTM

Key string `toml:"key"`
Certificate string `toml:"cert"`
}
type RegistryConfig = resolver.RegistryConfig
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this needed? Just adds confusion probably.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This allows using the resolver package without having to import
the buildkit daemon configuration.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
@tonistiigi tonistiigi merged commit 884578f into moby:master Jun 8, 2021
@thaJeztah thaJeztah deleted the move_config_opt branch June 8, 2021 17:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants