Documentation ¶
Index ¶
- func Bash(cmd *cobra.Command) (*exec.Cmd, error)
- func ComposeDown(cmd *cobra.Command) (*exec.Cmd, error)
- func ComposeRestart(cmd *cobra.Command)
- func ComposeUp(cmd *cobra.Command)
- func Composer(cmd *cobra.Command, args []string)
- func ContainerStats(cmd *cobra.Command) (exec *exec.Cmd, err error)
- func ContainerStop(cmd *cobra.Command) (exec *exec.Cmd, err error)
- func Reboot(cmd *cobra.Command)
- func SetCobraCmd(cmd *cobra.Command)
- func Terminus(cmd *cobra.Command, args []string)
- func UI(cmd *cobra.Command)
- func WP(cmd *cobra.Command, args []string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ComposeDown ¶
ComposeDown : Run `docker-compose down` or `docker-compose -f <f> down` if non-empty string is passed in
func ComposeRestart ¶
ComposeRestart : Run `docker-compose restart` or `docker-compose -f <f> restart` if non-empty string is passed in
func ComposeUp ¶
ComposeUp : Run `docker-compose up -d` or `docker-compose -f <f> up -d` if non-empty string is passed in
func ContainerStats ¶
ContainerStats : Run `docker stats <ID> plus JSON formating`
func ContainerStop ¶
ContainerStop : Run `docker stop <ID>` to stop a running container
func SetCobraCmd ¶
SetCobraCmd : Sec command for usage through out run package deprecated
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.