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

[Refactoring/Preparation] use real port structs as prep for registries #427

Merged
merged 2 commits into from
Dec 11, 2020

Conversation

iwilltry42
Copy link
Member

Switch from basic string representations (80:80/tcp) to real struct (nat.PortMap) representations of ports in all structs.
This will allow us to more easily use the various port mappings internally.
The SimpleConfig type still has a more "human-friendly" representation.

As a preparation to bring first-class registry support to k3d, a switch
to real struct representations was necessary. This required a large
refactoring to use nat.PortMap, etc. everywhere.
@iwilltry42 iwilltry42 added enhancement New feature or request breaking change labels Dec 11, 2020
@iwilltry42 iwilltry42 added this to the v4.0.0 milestone Dec 11, 2020
@iwilltry42 iwilltry42 self-assigned this Dec 11, 2020
@iwilltry42 iwilltry42 merged commit c44c576 into main-v4 Dec 11, 2020
@iwilltry42 iwilltry42 deleted the refactoring/real-port-structs branch December 11, 2020 15:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
breaking change enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant