run

package
v0.0.0-...-38cc344 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 22, 2019 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Bash

func Bash(cmd *cobra.Command) (*exec.Cmd, error)

Bash : Exec bash prompt within a container

func ComposeDown

func ComposeDown(cmd *cobra.Command) (*exec.Cmd, error)

ComposeDown : Run `docker-compose down` or `docker-compose -f <f> down` if non-empty string is passed in

func ComposeRestart

func ComposeRestart(cmd *cobra.Command)

ComposeRestart : Run `docker-compose restart` or `docker-compose -f <f> restart` if non-empty string is passed in

func ComposeUp

func ComposeUp(cmd *cobra.Command)

ComposeUp : Run `docker-compose up -d` or `docker-compose -f <f> up -d` if non-empty string is passed in

func Composer

func Composer(cmd *cobra.Command, args []string)

Composer : Exec Composer within a container

func ContainerStats

func ContainerStats(cmd *cobra.Command) (exec *exec.Cmd, err error)

ContainerStats : Run `docker stats <ID> plus JSON formating`

func ContainerStop

func ContainerStop(cmd *cobra.Command) (exec *exec.Cmd, err error)

ContainerStop : Run `docker stop <ID>` to stop a running container

func Reboot

func Reboot(cmd *cobra.Command)

Reboot : Run ComposeDown() and then ComposeUp()

func SetCobraCmd

func SetCobraCmd(cmd *cobra.Command)

SetCobraCmd : Sec command for usage through out run package deprecated

func Terminus

func Terminus(cmd *cobra.Command, args []string)

Terminus : Exec Terminus within a container

func UI

func UI(cmd *cobra.Command)

UI : Starts http file server to serve Vue UI Application

func WP

func WP(cmd *cobra.Command, args []string)

WP : Exec WP-CLI within a container

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL