control the state machine of an environment
The environment control command triggers an event in the state machine of an existing O² environment. The event, if valid, starts a transition. The reached state is returned.
An event name must be passed via the mandatory event flag. Valid events: CONFIGURE RESET EXIT START_ACTIVITY STOP_ACTIVITY
Not all events are available in all states.
coconut environment control [environment id] [flags]
-e, --event string environment state machine event to trigger
-h, --help help for control
--config string optional configuration file for coconut (default $HOME/.config/coconut/settings.yaml)
--config_endpoint string configuration endpoint used by AliECS core as PROTO://HOST:PORT (default "apricot://127.0.0.1:32101")
--endpoint string AliECS core endpoint as HOST:PORT (default "127.0.0.1:32102")
--nocolor disable colors in output
--nospinner disable animations in output
-v, --verbose show verbose output for debug purposes
- coconut environment - create, destroy and manage AliECS environments