k3d/cli
Andy Zhou f70a8b42f7 Add support for the --publish option for create subcommand
Inspired by the docker CLI, --publish take same input as docker CLI and
provides similar functions. For the k3s cluster server node, it behaves
the same as docker cli; it exports the k3d server ports to the host
ports.

Handling for worker nodes will be added in the subsequent patches.

This option can be used mutiple times for exposing more ports.

--add-port is an alias to this option.
2019-05-08 01:45:16 -07:00
..
commands.go Add support for the --publish option for create subcommand 2019-05-08 01:45:16 -07:00
config.go make start/stop functions start/stop workers as well 2019-04-23 11:22:59 +02:00
container.go Add support for the --publish option for create subcommand 2019-05-08 01:45:16 -07:00
network.go Only create network if not found 2019-05-03 21:13:22 -07:00
util.go add some comments 2019-04-29 08:19:01 +02:00