cli/command/network: some cleanup and pass smaller interfaces
Pass the appropriate API-client where possible instead of all of DockerCLI, and some cleaning up.
cli/command/network: rewrite consolidateIpam to take an option-struct
Introduce a (non-exported) ipamOptions that collects all options for
creating a network.IPAM, so that this utility is more atomic (potentially
even could be moved to a separate package and exported).
- A picture of a cute animal (not mandatory but encouraged)
cli/command/network: some cleanup and pass smaller interfaces
Pass the appropriate API-client where possible instead of all of DockerCLI, and some cleaning up.
cli/command/network: rewrite consolidateIpam to take an option-struct
Introduce a (non-exported) ipamOptions that collects all options for creating a network.IPAM, so that this utility is more atomic (potentially even could be moved to a separate package and exported).
- A picture of a cute animal (not mandatory but encouraged)