wrap

package
v0.5.3 Latest Latest
Warning

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

Go to latest
Published: Oct 1, 2019 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsHexOnly

func IsHexOnly(s string) bool

func PrependUsername

func PrependUsername(s string) string

Types

type Attach

type Attach struct {
	Cmd *flag.FlagSet
}

func (*Attach) InitFlags

func (attach *Attach) InitFlags()

func (*Attach) ParseToArgs

func (attach *Attach) ParseToArgs(rawArgs []string) []string

type Build

type Build struct {
	Cmd       *flag.FlagSet
	Tag       string
	NoCache   bool
	BuildArgs StringSliceFlag
	File      string
	Pull      bool
}

func (*Build) InitFlags

func (build *Build) InitFlags()

func (*Build) ParseToArgs

func (build *Build) ParseToArgs(rawArgs []string) []string

type Exec

type Exec struct {
	Cmd            *flag.FlagSet
	Env            StringSliceFlag
	Detach         bool
	InteractiveTTY bool
}

func (*Exec) InitFlags

func (exec *Exec) InitFlags()

func (*Exec) ParseToArgs

func (exec *Exec) ParseToArgs(rawArgs []string) []string

type Images

type Images struct {
	Cmd    *flag.FlagSet
	Format string
}

func (*Images) InitFlags

func (images *Images) InitFlags()

func (*Images) ParseToArgs

func (images *Images) ParseToArgs(rawArgs []string) []string

type Kill

type Kill struct {
	Cmd *flag.FlagSet
}

func (*Kill) InitFlags

func (kill *Kill) InitFlags()

func (*Kill) ParseToArgs

func (kill *Kill) ParseToArgs(rawArgs []string) []string

type Load

type Load struct {
	Cmd   *flag.FlagSet
	Input string
	Quiet bool
}

func (*Load) InitFlags

func (load *Load) InitFlags()

func (*Load) ParseToArgs

func (load *Load) ParseToArgs(rawArgs []string) []string

type Logs

type Logs struct {
	Cmd    *flag.FlagSet
	Follow bool
	Tail   int
}

func (*Logs) InitFlags

func (logs *Logs) InitFlags()

func (*Logs) ParseToArgs

func (logs *Logs) ParseToArgs(rawArgs []string) []string

type NetworkCreate

type NetworkCreate struct {
	Cmd *flag.FlagSet
}

func (*NetworkCreate) InitFlags

func (c *NetworkCreate) InitFlags()

func (*NetworkCreate) ParseToArgs

func (c *NetworkCreate) ParseToArgs(rawArgs []string) []string

type NetworkList

type NetworkList struct {
	Cmd    *flag.FlagSet
	Format string
	Filter string
	Quiet  bool
}

func (*NetworkList) InitFlags

func (c *NetworkList) InitFlags()

func (*NetworkList) ParseToArgs

func (c *NetworkList) ParseToArgs(rawArgs []string) []string

type NetworkRemove

type NetworkRemove struct {
	Cmd *flag.FlagSet
}

func (*NetworkRemove) InitFlags

func (c *NetworkRemove) InitFlags()

func (*NetworkRemove) ParseToArgs

func (c *NetworkRemove) ParseToArgs(rawArgs []string) []string

type Ps

type Ps struct {
	Cmd    *flag.FlagSet
	All    bool
	Filter string
	Quiet  bool
}

func (*Ps) InitFlags

func (ps *Ps) InitFlags()

func (*Ps) ParseToArgs

func (ps *Ps) ParseToArgs(rawArgs []string) []string

type Pull

type Pull struct {
	Cmd *flag.FlagSet
}

func (*Pull) InitFlags

func (pull *Pull) InitFlags()

func (*Pull) ParseToArgs

func (pull *Pull) ParseToArgs(rawArgs []string) []string

type Rm

type Rm struct {
	Cmd   *flag.FlagSet
	Force bool
}

func (*Rm) InitFlags

func (rm *Rm) InitFlags()

func (*Rm) ParseToArgs

func (rm *Rm) ParseToArgs(rawArgs []string) []string

type Run

type Run struct {
	Cmd            *flag.FlagSet
	Ports          StringSliceFlag
	Volumes        StringSliceFlag
	Env            StringSliceFlag
	EntryPoint     string
	NoRemove       bool
	Detach         bool
	Init           bool
	InteractiveTTY bool
	Name           string
	Network        string
	NetworkAlias   StringSliceFlag
	RestartPolicy  string
}

func (*Run) InitFlags

func (run *Run) InitFlags()

func (*Run) ParseToArgs

func (run *Run) ParseToArgs(rawArgs []string) []string

type Save

type Save struct {
	Cmd    *flag.FlagSet
	Output string
}

func (*Save) InitFlags

func (save *Save) InitFlags()

func (*Save) ParseToArgs

func (save *Save) ParseToArgs(rawArgs []string) []string

type StringSliceFlag

type StringSliceFlag []string

func (*StringSliceFlag) Set

func (s *StringSliceFlag) Set(value string) error

func (*StringSliceFlag) String

func (s *StringSliceFlag) String() string

type WrappedCommand

type WrappedCommand interface {
	InitFlags()
	ParseToArgs(rawArgs []string) []string
}

Jump to

Keyboard shortcuts

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