Versions in this module Expand all Collapse all v0 v0.17.0 Aug 23, 2023 Changes in this version + var Commands = []cli.Command + var ErrExpectedOneMachine = errors.New("Error: Expected one machine name as an argument") + var ErrHostLoad = errors.New("All specified hosts had errors loading their configuration") + var ErrNoDefault = fmt.Errorf("Error: No machine name(s) specified and no %q machine exists", ...) + var ErrNoMachineSpecified = errors.New("Error: Expected to get one or more machine names as arguments") + var ErrTooManyArguments = errors.New("Error: Too many arguments given") + var SharedCreateFlags = []cli.Flag + type ByFlagName []cli.Flag + func (flags ByFlagName) Len() int + func (flags ByFlagName) Less(i, j int) bool + func (flags ByFlagName) Swap(i, j int) + type CommandLine interface + Application func() *cli.App + Args func() cli.Args + Bool func(name string) bool + FlagNames func() (names []string) + Generic func(name string) interface{} + GlobalString func(name string) string + Int func(name string) int + IsSet func(name string) bool + ShowHelp func() + ShowVersion func() + String func(name string) string + StringSlice func(name string) []string + type EnvUsageHintGenerator struct + func (g *EnvUsageHintGenerator) GenerateUsageHint(userShell string, args []string) string + type FilterOptions struct + DriverName []string + Labels []string + Name []string + State []string + SwarmName []string + type HostInfo interface + GetMachineName func() string + GetSSHHostname func() (string, error) + GetSSHKeyPath func() string + GetSSHPort func() (int, error) + GetSSHUsername func() string + type HostInfoLoader interface + type HostListItem struct + Active string + ActiveHost bool + ActiveSwarm bool + DockerVersion string + DriverName string + EngineOptions *engine.Options + Error string + Name string + ResponseTime time.Duration + State state.State + Swarm string + SwarmOptions *swarm.Options + URL string + type ShellConfig struct + ComposePathsVar bool + Delimiter string + DockerCertPath string + DockerHost string + DockerTLSVerify string + MachineName string + NoProxyValue string + NoProxyVar string + Prefix string + Suffix string + UsageHint string + type UsageHintGenerator interface + GenerateUsageHint func(string, []string) string