feat: add network properties to :info output
This commit is contained in:
@@ -113,7 +113,10 @@ flags:
|
||||
- `--exposed-ports`: show service exposed ports
|
||||
- `--id`: show the service container id
|
||||
- `--internal-ip`: show the service internal ip
|
||||
- `--initial-network`: show the initial network being connected to
|
||||
- `--links`: show the service app links
|
||||
- `--post-create-network`: show the networks to attach to after service container creation
|
||||
- `--post-start-network`: show the networks to attach to after service container start
|
||||
- `--service-root`: show the service root directory
|
||||
- `--status`: show the service running status
|
||||
- `--version`: show the service image version
|
||||
@@ -133,7 +136,10 @@ dokku mongo:info lollipop --dsn
|
||||
dokku mongo:info lollipop --exposed-ports
|
||||
dokku mongo:info lollipop --id
|
||||
dokku mongo:info lollipop --internal-ip
|
||||
dokku mongo:info lollipop --initial-network
|
||||
dokku mongo:info lollipop --links
|
||||
dokku mongo:info lollipop --post-create-network
|
||||
dokku mongo:info lollipop --post-start-network
|
||||
dokku mongo:info lollipop --service-root
|
||||
dokku mongo:info lollipop --status
|
||||
dokku mongo:info lollipop --version
|
||||
|
||||
@@ -539,7 +539,10 @@ service_info() {
|
||||
"--exposed-ports: $(service_exposed_ports "$SERVICE")"
|
||||
"--id: ${SERVICE_CONTAINER_ID}"
|
||||
"--internal-ip: $(get_container_ip "${SERVICE_CONTAINER_ID}")"
|
||||
"--initial-network: $(fn-plugin-property-get "$PLUGIN_COMMAND_PREFIX" "$SERVICE" "initial-network")"
|
||||
"--links: $(service_linked_apps "$SERVICE")"
|
||||
"--post-create-network: $(fn-plugin-property-get "$PLUGIN_COMMAND_PREFIX" "$SERVICE" "post-create-network")"
|
||||
"--post-start-network: $(fn-plugin-property-get "$PLUGIN_COMMAND_PREFIX" "$SERVICE" "post-start-network")"
|
||||
"--service-root: ${SERVICE_ROOT}"
|
||||
"--status: $(service_status "$SERVICE")"
|
||||
"--version: $(service_version "$SERVICE")"
|
||||
|
||||
@@ -15,7 +15,10 @@ service-info-cmd() {
|
||||
#E dokku $PLUGIN_COMMAND_PREFIX:info lollipop --exposed-ports
|
||||
#E dokku $PLUGIN_COMMAND_PREFIX:info lollipop --id
|
||||
#E dokku $PLUGIN_COMMAND_PREFIX:info lollipop --internal-ip
|
||||
#E dokku $PLUGIN_COMMAND_PREFIX:info lollipop --initial-network
|
||||
#E dokku $PLUGIN_COMMAND_PREFIX:info lollipop --links
|
||||
#E dokku $PLUGIN_COMMAND_PREFIX:info lollipop --post-create-network
|
||||
#E dokku $PLUGIN_COMMAND_PREFIX:info lollipop --post-start-network
|
||||
#E dokku $PLUGIN_COMMAND_PREFIX:info lollipop --service-root
|
||||
#E dokku $PLUGIN_COMMAND_PREFIX:info lollipop --status
|
||||
#E dokku $PLUGIN_COMMAND_PREFIX:info lollipop --version
|
||||
@@ -26,7 +29,10 @@ service-info-cmd() {
|
||||
#F --exposed-ports, show service exposed ports
|
||||
#F --id, show the service container id
|
||||
#F --internal-ip, show the service internal ip
|
||||
#F --initial-network, show the initial network being connected to
|
||||
#F --links, show the service app links
|
||||
#F --post-create-network, show the networks to attach to after service container creation
|
||||
#F --post-start-network, show the networks to attach to after service container start
|
||||
#F --service-root, show the service root directory
|
||||
#F --status, show the service running status
|
||||
#F --version, show the service image version
|
||||
|
||||
Reference in New Issue
Block a user