Documentation ¶
Index ¶
- Variables
- func Main(w io.Writer, args []string) error
- func NewBoxCommand() *cobra.Command
- func NewBuildCommand() *cobra.Command
- func NewDoctorCommand() *cobra.Command
- func NewExecCommand() *cobra.Command
- func NewImagesCommand() *cobra.Command
- func NewInitCommand() *cobra.Command
- func NewPsCommand() *cobra.Command
- func NewPullCommand() *cobra.Command
- func NewRmCommand() *cobra.Command
- func NewRmiCommand() *cobra.Command
- func NewRunCommand() *cobra.Command
- func NewStopCommand() *cobra.Command
- func NewVersionCommand() *cobra.Command
- func Run() int
Constants ¶
This section is empty.
Variables ¶
var ErrNotPermitted = errors.New("operation not permitted")
Functions ¶
func Main ¶
Main is the main entrypoint to our Grreeting CLI used by the actual main program as a wrapper to faviliate integration testing
func NewBoxCommand ¶
NewBoxCommand returns the root cobra.Command for box.
func NewBuildCommand ¶
NewBuildCommand implements and returns the build command.
func NewDoctorCommand ¶
NewDoctorCommand implements and returns the version command.
func NewExecCommand ¶
NewExecCommand implements and returns the exec command.
func NewImagesCommand ¶
NewImagesCommand implements and returns the images command.
func NewInitCommand ¶
NewInitCommand implements and returns init command. init command is called by reexec to apply namespaces.
It is a hidden command and requires root path and container id to run.
func NewPsCommand ¶
NewPsCommand implements and returns the ps command.
func NewPullCommand ¶
NewPullCommand implements and returns the pull command.
func NewRmCommand ¶
NewRmCommand implements and returns the rm command.
func NewRmiCommand ¶
NewRmiCommand implements and returns the rmi command.
func NewRunCommand ¶
NewRunCommand implements and returns the run command.
func NewStopCommand ¶
NewStopCommand implements and returns the stop command.
func NewVersionCommand ¶
NewVersionCommand implements and returns the version command.
Types ¶
This section is empty.