command

package
v1.4.4 Latest Latest
Warning

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

Go to latest
Published: Feb 14, 2023 License: MPL-2.0 Imports: 80 Imported by: 111

Documentation

Index

Constants

View Source
const (
	HealthCritical = 2
	HealthWarn     = 1
	HealthPass     = 0
	HealthUnknown  = 3
)
View Source
const (
	// EnvNomadCLINoColor is an env var that toggles colored UI output.
	EnvNomadCLINoColor = `NOMAD_CLI_NO_COLOR`

	// EnvNomadCLIForceColor is an env var that forces colored UI output.
	EnvNomadCLIForceColor = `NOMAD_CLI_FORCE_COLOR`
)
View Source
const (
	// DefaultHclQuotaInitName is the default name we use when initializing the
	// example quota file in HCL format
	DefaultHclQuotaInitName = "spec.hcl"

	// DefaultHclQuotaInitName is the default name we use when initializing the
	// example quota file in JSON format
	DefaultJsonQuotaInitName = "spec.json"
)
View Source
const (
	// DefaultHclVarInitName is the default name we use when initializing the
	// example var file in HCL format
	DefaultHclVarInitName = "spec.nv.hcl"

	// DefaultHclVarInitName is the default name we use when initializing the
	// example var file in JSON format
	DefaultJsonVarInitName = "spec.nv.json"
)
View Source
const (
	// DefaultHclVolumeInitName is the default name we use when initializing
	// the example volume file in HCL format
	DefaultHclVolumeInitName = "volume.hcl"

	// DefaultHclVolumeInitName is the default name we use when initializing
	// the example volume file in JSON format
	DefaultJsonVolumeInitName = "volume.json"
)
View Source
const (
	// DefaultInitName is the default name we use when
	// initializing the example file
	DefaultInitName = "example.nomad"
)

Variables

View Source
var Stdin = os.Stdin

Stdin represents the system's standard input, but it's declared as a variable here to allow tests to override it with a regular file.

Functions

func Asset added in v0.10.0

func Asset(name string) ([]byte, error)

Asset loads and returns the asset for the given name. It returns an error if the asset could not be found or could not be loaded.

func AssetDir added in v0.10.0

func AssetDir(name string) ([]string, error)

AssetDir returns the file names below a certain directory embedded in the file by go-bindata. For example if you run go-bindata on data/... and data contains the following hierarchy:

data/
  foo.txt
  img/
    a.png
    b.png

then AssetDir("data") would return []string{"foo.txt", "img"} AssetDir("data/img") would return []string{"a.png", "b.png"} AssetDir("foo.txt") and AssetDir("notexist") would return an error AssetDir("") will return []string{"data"}.

func AssetInfo added in v0.10.0

func AssetInfo(name string) (os.FileInfo, error)

AssetInfo loads and returns the asset info for the given name. It returns an error if the asset could not be found or could not be loaded.

func AssetNames added in v0.10.0

func AssetNames() []string

AssetNames returns the names of the assets.

func Commands added in v0.8.0

func Commands(metaPtr *Meta, agentUi cli.Ui) map[string]cli.CommandFactory

Commands returns the mapping of CLI commands for Nomad. The meta parameter lets you set meta options for all commands.

func EntCommands added in v0.12.0

func EntCommands(metaPtr *Meta, agentUi cli.Ui) map[string]cli.CommandFactory

func Format added in v0.6.0

func Format(json bool, template string, data interface{}) (string, error)

func MustAsset added in v0.10.0

func MustAsset(name string) []byte

MustAsset is like Asset but panics when Asset would return an error. It simplifies safe initialization of global variables.

func NamespacePredictor added in v0.7.0

func NamespacePredictor(factory ApiClientFactory, filter map[string]struct{}) complete.Predictor

NamespacePredictor returns a namespace predictor that can optionally filter specific namespaces

func NodeClassPredictor added in v1.2.0

func NodeClassPredictor(factory ApiClientFactory) complete.Predictor

NodeClassPredictor returns a client node class predictor TODO dmay: Consider API options for node class filtering

func NodePredictor added in v1.2.0

func NodePredictor(factory ApiClientFactory) complete.Predictor

NodePredictor returns a client node predictor

func OutputLicenseReply added in v0.11.2

func OutputLicenseReply(ui cli.Ui, resp *api.LicenseReply) int

func QuotaPredictor added in v0.7.0

func QuotaPredictor(factory ApiClientFactory) complete.Predictor

QuotaPredictor returns a quota predictor

func RestoreAsset added in v0.10.0

func RestoreAsset(dir, name string) error

RestoreAsset restores an asset under the given directory

func RestoreAssets added in v0.10.0

func RestoreAssets(dir, name string) error

RestoreAssets restores an asset under the given directory recursively

func ServerPredictor added in v1.2.0

func ServerPredictor(factory ApiClientFactory) complete.Predictor

ServerPredictor returns a server member predictor TODO dmay: Consider API options for server member filtering

func TarCZF added in v0.12.0

func TarCZF(archive string, src, target string) error

TarCZF like the tar command, recursively builds a gzip compressed tar archive from a directory. If not empty, all files in the bundle are prefixed with the target path.

func VariablePathPredictor added in v1.4.0

func VariablePathPredictor(factory ApiClientFactory) complete.Predictor

VariablePathPredictor returns a var predictor

Types

type ACLBootstrapCommand added in v0.7.0

type ACLBootstrapCommand struct {
	Meta
}

func (*ACLBootstrapCommand) AutocompleteArgs added in v0.7.0

func (c *ACLBootstrapCommand) AutocompleteArgs() complete.Predictor

func (*ACLBootstrapCommand) AutocompleteFlags added in v0.7.0

func (c *ACLBootstrapCommand) AutocompleteFlags() complete.Flags

func (*ACLBootstrapCommand) Help added in v0.7.0

func (c *ACLBootstrapCommand) Help() string

func (*ACLBootstrapCommand) Name added in v0.8.2

func (c *ACLBootstrapCommand) Name() string

func (*ACLBootstrapCommand) Run added in v0.7.0

func (c *ACLBootstrapCommand) Run(args []string) int

func (*ACLBootstrapCommand) Synopsis added in v0.7.0

func (c *ACLBootstrapCommand) Synopsis() string

type ACLCommand added in v0.7.0

type ACLCommand struct {
	Meta
}

func (*ACLCommand) Help added in v0.7.0

func (f *ACLCommand) Help() string

func (*ACLCommand) Name added in v0.8.2

func (f *ACLCommand) Name() string

func (*ACLCommand) Run added in v0.7.0

func (f *ACLCommand) Run(args []string) int

func (*ACLCommand) Synopsis added in v0.7.0

func (f *ACLCommand) Synopsis() string

type ACLPolicyApplyCommand added in v0.7.0

type ACLPolicyApplyCommand struct {
	Meta
}

func (*ACLPolicyApplyCommand) AutocompleteArgs added in v0.7.0

func (c *ACLPolicyApplyCommand) AutocompleteArgs() complete.Predictor

func (*ACLPolicyApplyCommand) AutocompleteFlags added in v0.7.0

func (c *ACLPolicyApplyCommand) AutocompleteFlags() complete.Flags

func (*ACLPolicyApplyCommand) Help added in v0.7.0

func (c *ACLPolicyApplyCommand) Help() string

func (*ACLPolicyApplyCommand) Name added in v0.8.2

func (c *ACLPolicyApplyCommand) Name() string

func (*ACLPolicyApplyCommand) Run added in v0.7.0

func (c *ACLPolicyApplyCommand) Run(args []string) int

func (*ACLPolicyApplyCommand) Synopsis added in v0.7.0

func (c *ACLPolicyApplyCommand) Synopsis() string

type ACLPolicyCommand added in v0.7.0

type ACLPolicyCommand struct {
	Meta
}

func (*ACLPolicyCommand) Help added in v0.7.0

func (f *ACLPolicyCommand) Help() string

func (*ACLPolicyCommand) Name added in v0.8.2

func (f *ACLPolicyCommand) Name() string

func (*ACLPolicyCommand) Run added in v0.7.0

func (f *ACLPolicyCommand) Run(args []string) int

func (*ACLPolicyCommand) Synopsis added in v0.7.0

func (f *ACLPolicyCommand) Synopsis() string

type ACLPolicyDeleteCommand added in v0.7.0

type ACLPolicyDeleteCommand struct {
	Meta
}

func (*ACLPolicyDeleteCommand) AutocompleteArgs added in v0.7.0

func (c *ACLPolicyDeleteCommand) AutocompleteArgs() complete.Predictor

func (*ACLPolicyDeleteCommand) AutocompleteFlags added in v0.7.0

func (c *ACLPolicyDeleteCommand) AutocompleteFlags() complete.Flags

func (*ACLPolicyDeleteCommand) Help added in v0.7.0

func (c *ACLPolicyDeleteCommand) Help() string

func (*ACLPolicyDeleteCommand) Name added in v0.8.2

func (c *ACLPolicyDeleteCommand) Name() string

func (*ACLPolicyDeleteCommand) Run added in v0.7.0

func (c *ACLPolicyDeleteCommand) Run(args []string) int

func (*ACLPolicyDeleteCommand) Synopsis added in v0.7.0

func (c *ACLPolicyDeleteCommand) Synopsis() string

type ACLPolicyInfoCommand added in v0.7.0

type ACLPolicyInfoCommand struct {
	Meta
}

func (*ACLPolicyInfoCommand) AutocompleteArgs added in v0.7.0

func (c *ACLPolicyInfoCommand) AutocompleteArgs() complete.Predictor

func (*ACLPolicyInfoCommand) AutocompleteFlags added in v0.7.0

func (c *ACLPolicyInfoCommand) AutocompleteFlags() complete.Flags

func (*ACLPolicyInfoCommand) Help added in v0.7.0

func (c *ACLPolicyInfoCommand) Help() string

func (*ACLPolicyInfoCommand) Name added in v0.8.2

func (c *ACLPolicyInfoCommand) Name() string

func (*ACLPolicyInfoCommand) Run added in v0.7.0

func (c *ACLPolicyInfoCommand) Run(args []string) int

func (*ACLPolicyInfoCommand) Synopsis added in v0.7.0

func (c *ACLPolicyInfoCommand) Synopsis() string

type ACLPolicyListCommand added in v0.7.0

type ACLPolicyListCommand struct {
	Meta
}

func (*ACLPolicyListCommand) AutocompleteArgs added in v0.7.0

func (c *ACLPolicyListCommand) AutocompleteArgs() complete.Predictor

func (*ACLPolicyListCommand) AutocompleteFlags added in v0.7.0

func (c *ACLPolicyListCommand) AutocompleteFlags() complete.Flags

func (*ACLPolicyListCommand) Help added in v0.7.0

func (c *ACLPolicyListCommand) Help() string

func (*ACLPolicyListCommand) Name added in v0.8.2

func (c *ACLPolicyListCommand) Name() string

func (*ACLPolicyListCommand) Run added in v0.7.0

func (c *ACLPolicyListCommand) Run(args []string) int

func (*ACLPolicyListCommand) Synopsis added in v0.7.0

func (c *ACLPolicyListCommand) Synopsis() string

type ACLRoleCommand added in v1.4.0

type ACLRoleCommand struct {
	Meta
}

ACLRoleCommand implements cli.Command.

func (*ACLRoleCommand) Help added in v1.4.0

func (a *ACLRoleCommand) Help() string

Help satisfies the cli.Command Help function.

func (*ACLRoleCommand) Name added in v1.4.0

func (a *ACLRoleCommand) Name() string

Name returns the name of this command.

func (*ACLRoleCommand) Run added in v1.4.0

func (a *ACLRoleCommand) Run(_ []string) int

Run satisfies the cli.Command Run function.

func (*ACLRoleCommand) Synopsis added in v1.4.0

func (a *ACLRoleCommand) Synopsis() string

Synopsis satisfies the cli.Command Synopsis function.

type ACLRoleCreateCommand added in v1.4.0

type ACLRoleCreateCommand struct {
	Meta
	// contains filtered or unexported fields
}

ACLRoleCreateCommand implements cli.Command.

func (*ACLRoleCreateCommand) AutocompleteArgs added in v1.4.0

func (a *ACLRoleCreateCommand) AutocompleteArgs() complete.Predictor

func (*ACLRoleCreateCommand) AutocompleteFlags added in v1.4.0

func (a *ACLRoleCreateCommand) AutocompleteFlags() complete.Flags

func (*ACLRoleCreateCommand) Help added in v1.4.0

func (a *ACLRoleCreateCommand) Help() string

Help satisfies the cli.Command Help function.

func (*ACLRoleCreateCommand) Name added in v1.4.0

func (a *ACLRoleCreateCommand) Name() string

Name returns the name of this command.

func (*ACLRoleCreateCommand) Run added in v1.4.0

func (a *ACLRoleCreateCommand) Run(args []string) int

Run satisfies the cli.Command Run function.

func (*ACLRoleCreateCommand) Synopsis added in v1.4.0

func (a *ACLRoleCreateCommand) Synopsis() string

Synopsis satisfies the cli.Command Synopsis function.

type ACLRoleDeleteCommand added in v1.4.0

type ACLRoleDeleteCommand struct {
	Meta
}

ACLRoleDeleteCommand implements cli.Command.

func (*ACLRoleDeleteCommand) AutocompleteArgs added in v1.4.0

func (a *ACLRoleDeleteCommand) AutocompleteArgs() complete.Predictor

func (*ACLRoleDeleteCommand) AutocompleteFlags added in v1.4.0

func (a *ACLRoleDeleteCommand) AutocompleteFlags() complete.Flags

func (*ACLRoleDeleteCommand) Help added in v1.4.0

func (a *ACLRoleDeleteCommand) Help() string

Help satisfies the cli.Command Help function.

func (*ACLRoleDeleteCommand) Name added in v1.4.0

func (a *ACLRoleDeleteCommand) Name() string

Name returns the name of this command.

func (*ACLRoleDeleteCommand) Run added in v1.4.0

func (a *ACLRoleDeleteCommand) Run(args []string) int

Run satisfies the cli.Command Run function.

func (*ACLRoleDeleteCommand) Synopsis added in v1.4.0

func (a *ACLRoleDeleteCommand) Synopsis() string

Synopsis satisfies the cli.Command Synopsis function.

type ACLRoleInfoCommand added in v1.4.0

type ACLRoleInfoCommand struct {
	Meta
	// contains filtered or unexported fields
}

ACLRoleInfoCommand implements cli.Command.

func (*ACLRoleInfoCommand) AutocompleteArgs added in v1.4.0

func (a *ACLRoleInfoCommand) AutocompleteArgs() complete.Predictor

func (*ACLRoleInfoCommand) AutocompleteFlags added in v1.4.0

func (a *ACLRoleInfoCommand) AutocompleteFlags() complete.Flags

func (*ACLRoleInfoCommand) Help added in v1.4.0

func (a *ACLRoleInfoCommand) Help() string

Help satisfies the cli.Command Help function.

func (*ACLRoleInfoCommand) Name added in v1.4.0

func (a *ACLRoleInfoCommand) Name() string

Name returns the name of this command.

func (*ACLRoleInfoCommand) Run added in v1.4.0

func (a *ACLRoleInfoCommand) Run(args []string) int

Run satisfies the cli.Command Run function.

func (*ACLRoleInfoCommand) Synopsis added in v1.4.0

func (a *ACLRoleInfoCommand) Synopsis() string

Synopsis satisfies the cli.Command Synopsis function.

type ACLRoleListCommand added in v1.4.0

type ACLRoleListCommand struct {
	Meta
}

ACLRoleListCommand implements cli.Command.

func (*ACLRoleListCommand) AutocompleteArgs added in v1.4.0

func (a *ACLRoleListCommand) AutocompleteArgs() complete.Predictor

func (*ACLRoleListCommand) AutocompleteFlags added in v1.4.0

func (a *ACLRoleListCommand) AutocompleteFlags() complete.Flags

func (*ACLRoleListCommand) Help added in v1.4.0

func (a *ACLRoleListCommand) Help() string

Help satisfies the cli.Command Help function.

func (*ACLRoleListCommand) Name added in v1.4.0

func (a *ACLRoleListCommand) Name() string

Name returns the name of this command.

func (*ACLRoleListCommand) Run added in v1.4.0

func (a *ACLRoleListCommand) Run(args []string) int

Run satisfies the cli.Command Run function.

func (*ACLRoleListCommand) Synopsis added in v1.4.0

func (a *ACLRoleListCommand) Synopsis() string

Synopsis satisfies the cli.Command Synopsis function.

type ACLRoleUpdateCommand added in v1.4.0

type ACLRoleUpdateCommand struct {
	Meta
	// contains filtered or unexported fields
}

ACLRoleUpdateCommand implements cli.Command.

func (*ACLRoleUpdateCommand) AutocompleteArgs added in v1.4.0

func (a *ACLRoleUpdateCommand) AutocompleteArgs() complete.Predictor

func (*ACLRoleUpdateCommand) AutocompleteFlags added in v1.4.0

func (a *ACLRoleUpdateCommand) AutocompleteFlags() complete.Flags

func (*ACLRoleUpdateCommand) Help added in v1.4.0

func (a *ACLRoleUpdateCommand) Help() string

Help satisfies the cli.Command Help function.

func (*ACLRoleUpdateCommand) Name added in v1.4.0

func (*ACLRoleUpdateCommand) Name() string

Name returns the name of this command.

func (*ACLRoleUpdateCommand) Run added in v1.4.0

func (a *ACLRoleUpdateCommand) Run(args []string) int

Run satisfies the cli.Command Run function.

func (*ACLRoleUpdateCommand) Synopsis added in v1.4.0

func (a *ACLRoleUpdateCommand) Synopsis() string

Synopsis satisfies the cli.Command Synopsis function.

type ACLTokenCommand added in v0.7.0

type ACLTokenCommand struct {
	Meta
}

func (*ACLTokenCommand) Help added in v0.7.0

func (f *ACLTokenCommand) Help() string

func (*ACLTokenCommand) Name added in v0.8.2

func (f *ACLTokenCommand) Name() string

func (*ACLTokenCommand) Run added in v0.7.0

func (f *ACLTokenCommand) Run(args []string) int

func (*ACLTokenCommand) Synopsis added in v0.7.0

func (f *ACLTokenCommand) Synopsis() string

type ACLTokenCreateCommand added in v0.7.0

type ACLTokenCreateCommand struct {
	Meta
	// contains filtered or unexported fields
}

func (*ACLTokenCreateCommand) AutocompleteArgs added in v0.7.0

func (c *ACLTokenCreateCommand) AutocompleteArgs() complete.Predictor

func (*ACLTokenCreateCommand) AutocompleteFlags added in v0.7.0

func (c *ACLTokenCreateCommand) AutocompleteFlags() complete.Flags

func (*ACLTokenCreateCommand) Help added in v0.7.0

func (c *ACLTokenCreateCommand) Help() string

func (*ACLTokenCreateCommand) Name added in v0.8.2

func (c *ACLTokenCreateCommand) Name() string

func (*ACLTokenCreateCommand) Run added in v0.7.0

func (c *ACLTokenCreateCommand) Run(args []string) int

func (*ACLTokenCreateCommand) Synopsis added in v0.7.0

func (c *ACLTokenCreateCommand) Synopsis() string

type ACLTokenDeleteCommand added in v0.7.0

type ACLTokenDeleteCommand struct {
	Meta
}

func (*ACLTokenDeleteCommand) AutocompleteArgs added in v0.7.0

func (c *ACLTokenDeleteCommand) AutocompleteArgs() complete.Predictor

func (*ACLTokenDeleteCommand) AutocompleteFlags added in v0.7.0

func (c *ACLTokenDeleteCommand) AutocompleteFlags() complete.Flags

func (*ACLTokenDeleteCommand) Help added in v0.7.0

func (c *ACLTokenDeleteCommand) Help() string

func (*ACLTokenDeleteCommand) Name added in v0.8.2

func (c *ACLTokenDeleteCommand) Name() string

func (*ACLTokenDeleteCommand) Run added in v0.7.0

func (c *ACLTokenDeleteCommand) Run(args []string) int

func (*ACLTokenDeleteCommand) Synopsis added in v0.7.0

func (c *ACLTokenDeleteCommand) Synopsis() string

type ACLTokenInfoCommand added in v0.7.0

type ACLTokenInfoCommand struct {
	Meta
}

func (*ACLTokenInfoCommand) AutocompleteArgs added in v0.7.0

func (c *ACLTokenInfoCommand) AutocompleteArgs() complete.Predictor

func (*ACLTokenInfoCommand) AutocompleteFlags added in v0.7.0

func (c *ACLTokenInfoCommand) AutocompleteFlags() complete.Flags

func (*ACLTokenInfoCommand) Help added in v0.7.0

func (c *ACLTokenInfoCommand) Help() string

func (*ACLTokenInfoCommand) Name added in v0.8.2

func (c *ACLTokenInfoCommand) Name() string

func (*ACLTokenInfoCommand) Run added in v0.7.0

func (c *ACLTokenInfoCommand) Run(args []string) int

func (*ACLTokenInfoCommand) Synopsis added in v0.7.0

func (c *ACLTokenInfoCommand) Synopsis() string

type ACLTokenListCommand added in v0.9.2

type ACLTokenListCommand struct {
	Meta
}

func (*ACLTokenListCommand) AutocompleteArgs added in v0.9.2

func (c *ACLTokenListCommand) AutocompleteArgs() complete.Predictor

func (*ACLTokenListCommand) AutocompleteFlags added in v0.9.2

func (c *ACLTokenListCommand) AutocompleteFlags() complete.Flags

func (*ACLTokenListCommand) Help added in v0.9.2

func (c *ACLTokenListCommand) Help() string

func (*ACLTokenListCommand) Name added in v0.9.2

func (c *ACLTokenListCommand) Name() string

func (*ACLTokenListCommand) Run added in v0.9.2

func (c *ACLTokenListCommand) Run(args []string) int

func (*ACLTokenListCommand) Synopsis added in v0.9.2

func (c *ACLTokenListCommand) Synopsis() string

type ACLTokenSelfCommand added in v0.7.0

type ACLTokenSelfCommand struct {
	Meta
}

func (*ACLTokenSelfCommand) AutocompleteArgs added in v0.7.0

func (c *ACLTokenSelfCommand) AutocompleteArgs() complete.Predictor

func (*ACLTokenSelfCommand) AutocompleteFlags added in v0.7.0

func (c *ACLTokenSelfCommand) AutocompleteFlags() complete.Flags

func (*ACLTokenSelfCommand) Help added in v0.7.0

func (c *ACLTokenSelfCommand) Help() string

func (*ACLTokenSelfCommand) Name added in v0.8.2

func (c *ACLTokenSelfCommand) Name() string

func (*ACLTokenSelfCommand) Run added in v0.7.0

func (c *ACLTokenSelfCommand) Run(args []string) int

func (*ACLTokenSelfCommand) Synopsis added in v0.7.0

func (c *ACLTokenSelfCommand) Synopsis() string

type ACLTokenUpdateCommand added in v0.7.0

type ACLTokenUpdateCommand struct {
	Meta
}

func (*ACLTokenUpdateCommand) AutocompleteArgs added in v0.7.0

func (c *ACLTokenUpdateCommand) AutocompleteArgs() complete.Predictor

func (*ACLTokenUpdateCommand) AutocompleteFlags added in v0.7.0

func (c *ACLTokenUpdateCommand) AutocompleteFlags() complete.Flags

func (*ACLTokenUpdateCommand) Help added in v0.7.0

func (c *ACLTokenUpdateCommand) Help() string

func (*ACLTokenUpdateCommand) Name added in v0.8.2

func (*ACLTokenUpdateCommand) Name() string

func (*ACLTokenUpdateCommand) Run added in v0.7.0

func (c *ACLTokenUpdateCommand) Run(args []string) int

func (*ACLTokenUpdateCommand) Synopsis added in v0.7.0

func (c *ACLTokenUpdateCommand) Synopsis() string

type AgentCheckCommand added in v0.4.0

type AgentCheckCommand struct {
	Meta
}

func (*AgentCheckCommand) AutocompleteArgs added in v0.6.1

func (c *AgentCheckCommand) AutocompleteArgs() complete.Predictor

func (*AgentCheckCommand) AutocompleteFlags added in v0.6.1

func (c *AgentCheckCommand) AutocompleteFlags() complete.Flags

func (*AgentCheckCommand) Help added in v0.4.0

func (c *AgentCheckCommand) Help() string

func (*AgentCheckCommand) Name added in v0.8.2

func (c *AgentCheckCommand) Name() string

func (*AgentCheckCommand) Run added in v0.4.0

func (c *AgentCheckCommand) Run(args []string) int

func (*AgentCheckCommand) Synopsis added in v0.4.0

func (c *AgentCheckCommand) Synopsis() string

type AgentInfoCommand

type AgentInfoCommand struct {
	Meta
}

func (*AgentInfoCommand) AutocompleteArgs added in v0.8.4

func (c *AgentInfoCommand) AutocompleteArgs() complete.Predictor

func (*AgentInfoCommand) AutocompleteFlags added in v0.8.4

func (c *AgentInfoCommand) AutocompleteFlags() complete.Flags

func (*AgentInfoCommand) Help

func (c *AgentInfoCommand) Help() string

func (*AgentInfoCommand) Name added in v0.8.2

func (c *AgentInfoCommand) Name() string

func (*AgentInfoCommand) Run

func (c *AgentInfoCommand) Run(args []string) int

func (*AgentInfoCommand) Synopsis

func (c *AgentInfoCommand) Synopsis() string

type AllocChecksCommand added in v1.4.0

type AllocChecksCommand struct {
	Meta
}

func (*AllocChecksCommand) AutocompleteArgs added in v1.4.0

func (c *AllocChecksCommand) AutocompleteArgs() complete.Predictor

func (*AllocChecksCommand) AutocompleteFlags added in v1.4.0

func (c *AllocChecksCommand) AutocompleteFlags() complete.Flags

func (*AllocChecksCommand) Help added in v1.4.0

func (c *AllocChecksCommand) Help() string

func (*AllocChecksCommand) Name added in v1.4.0

func (c *AllocChecksCommand) Name() string

func (*AllocChecksCommand) Run added in v1.4.0

func (c *AllocChecksCommand) Run(args []string) int

func (*AllocChecksCommand) Synopsis added in v1.4.0

func (c *AllocChecksCommand) Synopsis() string

type AllocCommand added in v0.8.0

type AllocCommand struct {
	Meta
}

func (*AllocCommand) Help added in v0.8.0

func (f *AllocCommand) Help() string

func (*AllocCommand) Name added in v0.8.2

func (f *AllocCommand) Name() string

func (*AllocCommand) Run added in v0.8.0

func (f *AllocCommand) Run(args []string) int

func (*AllocCommand) Synopsis added in v0.8.0

func (f *AllocCommand) Synopsis() string

type AllocExecCommand added in v0.9.2

type AllocExecCommand struct {
	Meta

	Stdin  io.Reader
	Stdout io.WriteCloser
	Stderr io.WriteCloser
}

func (*AllocExecCommand) AutocompleteArgs added in v0.9.2

func (l *AllocExecCommand) AutocompleteArgs() complete.Predictor

func (*AllocExecCommand) AutocompleteFlags added in v0.9.2

func (l *AllocExecCommand) AutocompleteFlags() complete.Flags

func (*AllocExecCommand) Help added in v0.9.2

func (l *AllocExecCommand) Help() string

func (*AllocExecCommand) Name added in v0.9.2

func (l *AllocExecCommand) Name() string

func (*AllocExecCommand) Run added in v0.9.2

func (l *AllocExecCommand) Run(args []string) int

func (*AllocExecCommand) Synopsis added in v0.9.2

func (l *AllocExecCommand) Synopsis() string

type AllocFSCommand added in v0.8.0

type AllocFSCommand struct {
	Meta
}

func (*AllocFSCommand) AutocompleteArgs added in v0.8.0

func (f *AllocFSCommand) AutocompleteArgs() complete.Predictor

func (*AllocFSCommand) AutocompleteFlags added in v0.8.0

func (f *AllocFSCommand) AutocompleteFlags() complete.Flags

func (*AllocFSCommand) Help added in v0.8.0

func (f *AllocFSCommand) Help() string

func (*AllocFSCommand) Name added in v0.8.2

func (f *AllocFSCommand) Name() string

func (*AllocFSCommand) Run added in v0.8.0

func (f *AllocFSCommand) Run(args []string) int

func (*AllocFSCommand) Synopsis added in v0.8.0

func (f *AllocFSCommand) Synopsis() string

type AllocLogsCommand added in v0.8.0

type AllocLogsCommand struct {
	Meta
}

func (*AllocLogsCommand) AutocompleteArgs added in v0.8.0

func (l *AllocLogsCommand) AutocompleteArgs() complete.Predictor

func (*AllocLogsCommand) AutocompleteFlags added in v0.8.0

func (l *AllocLogsCommand) AutocompleteFlags() complete.Flags

func (*AllocLogsCommand) Help added in v0.8.0

func (l *AllocLogsCommand) Help() string

func (*AllocLogsCommand) Name added in v0.8.2

func (l *AllocLogsCommand) Name() string

func (*AllocLogsCommand) Run added in v0.8.0

func (l *AllocLogsCommand) Run(args []string) int

func (*AllocLogsCommand) Synopsis added in v0.8.0

func (l *AllocLogsCommand) Synopsis() string

type AllocRestartCommand added in v0.9.2

type AllocRestartCommand struct {
	Meta
}

func (*AllocRestartCommand) AutocompleteArgs added in v0.9.2

func (c *AllocRestartCommand) AutocompleteArgs() complete.Predictor

func (*AllocRestartCommand) Help added in v0.9.2

func (c *AllocRestartCommand) Help() string

func (*AllocRestartCommand) Name added in v0.9.2

func (c *AllocRestartCommand) Name() string

func (*AllocRestartCommand) Run added in v0.9.2

func (c *AllocRestartCommand) Run(args []string) int

func (*AllocRestartCommand) Synopsis added in v0.9.2

func (c *AllocRestartCommand) Synopsis() string

type AllocSignalCommand added in v0.9.2

type AllocSignalCommand struct {
	Meta
}

func (*AllocSignalCommand) AutocompleteArgs added in v0.9.2

func (c *AllocSignalCommand) AutocompleteArgs() complete.Predictor

func (*AllocSignalCommand) AutocompleteFlags added in v0.9.2

func (c *AllocSignalCommand) AutocompleteFlags() complete.Flags

func (*AllocSignalCommand) Help added in v0.9.2

func (c *AllocSignalCommand) Help() string

func (*AllocSignalCommand) Name added in v0.9.2

func (c *AllocSignalCommand) Name() string

func (*AllocSignalCommand) Run added in v0.9.2

func (c *AllocSignalCommand) Run(args []string) int

func (*AllocSignalCommand) Synopsis added in v0.9.2

func (c *AllocSignalCommand) Synopsis() string

type AllocStatusCommand

type AllocStatusCommand struct {
	Meta
}

func (*AllocStatusCommand) AutocompleteArgs added in v0.6.1

func (c *AllocStatusCommand) AutocompleteArgs() complete.Predictor

func (*AllocStatusCommand) AutocompleteFlags added in v0.6.1

func (c *AllocStatusCommand) AutocompleteFlags() complete.Flags

func (*AllocStatusCommand) Help

func (c *AllocStatusCommand) Help() string

func (*AllocStatusCommand) Name added in v0.8.2

func (c *AllocStatusCommand) Name() string

func (*AllocStatusCommand) Run

func (c *AllocStatusCommand) Run(args []string) int

func (*AllocStatusCommand) Synopsis

func (c *AllocStatusCommand) Synopsis() string

type AllocStopCommand added in v0.9.2

type AllocStopCommand struct {
	Meta
}

func (*AllocStopCommand) Help added in v0.9.2

func (c *AllocStopCommand) Help() string

func (*AllocStopCommand) Name added in v0.9.2

func (c *AllocStopCommand) Name() string

func (*AllocStopCommand) Run added in v0.9.2

func (c *AllocStopCommand) Run(args []string) int

func (*AllocStopCommand) Synopsis added in v0.9.2

func (c *AllocStopCommand) Synopsis() string

type ApiClientFactory added in v0.7.0

type ApiClientFactory func() (*api.Client, error)

ApiClientFactory is the signature of a API client factory

type ConfigCommand added in v1.3.0

type ConfigCommand struct {
	Meta
}

func (*ConfigCommand) Help added in v1.3.0

func (f *ConfigCommand) Help() string

func (*ConfigCommand) Name added in v1.3.0

func (f *ConfigCommand) Name() string

func (*ConfigCommand) Run added in v1.3.0

func (f *ConfigCommand) Run(args []string) int

func (*ConfigCommand) Synopsis added in v1.3.0

func (f *ConfigCommand) Synopsis() string

type ConfigValidateCommand added in v1.3.0

type ConfigValidateCommand struct {
	Meta
}

func (*ConfigValidateCommand) Help added in v1.3.0

func (c *ConfigValidateCommand) Help() string

func (*ConfigValidateCommand) Name added in v1.3.0

func (c *ConfigValidateCommand) Name() string

func (*ConfigValidateCommand) Run added in v1.3.0

func (c *ConfigValidateCommand) Run(args []string) int

func (*ConfigValidateCommand) Synopsis added in v1.3.0

func (c *ConfigValidateCommand) Synopsis() string

type DataFormatter added in v0.4.1

type DataFormatter interface {
	// TransformData should return transformed string data.
	TransformData(interface{}) (string, error)
}

DataFormatter is a transformer of the data.

func DataFormat added in v0.4.1

func DataFormat(format, tmpl string) (DataFormatter, error)

DataFormat returns the data formatter specified format.

type DeploymentCommand added in v0.6.0

type DeploymentCommand struct {
	Meta
}

func (*DeploymentCommand) Help added in v0.6.0

func (f *DeploymentCommand) Help() string

func (*DeploymentCommand) Name added in v0.8.2

func (f *DeploymentCommand) Name() string

func (*DeploymentCommand) Run added in v0.6.0

func (f *DeploymentCommand) Run(args []string) int

func (*DeploymentCommand) Synopsis added in v0.6.0

func (f *DeploymentCommand) Synopsis() string

type DeploymentFailCommand added in v0.6.0

type DeploymentFailCommand struct {
	Meta
}

func (*DeploymentFailCommand) AutocompleteArgs added in v0.6.1

func (c *DeploymentFailCommand) AutocompleteArgs() complete.Predictor

func (*DeploymentFailCommand) AutocompleteFlags added in v0.6.1

func (c *DeploymentFailCommand) AutocompleteFlags() complete.Flags

func (*DeploymentFailCommand) Help added in v0.6.0

func (c *DeploymentFailCommand) Help() string

func (*DeploymentFailCommand) Name added in v0.8.2

func (c *DeploymentFailCommand) Name() string

func (*DeploymentFailCommand) Run added in v0.6.0

func (c *DeploymentFailCommand) Run(args []string) int

func (*DeploymentFailCommand) Synopsis added in v0.6.0

func (c *DeploymentFailCommand) Synopsis() string

type DeploymentListCommand added in v0.6.0

type DeploymentListCommand struct {
	Meta
}

func (*DeploymentListCommand) AutocompleteArgs added in v0.6.1

func (c *DeploymentListCommand) AutocompleteArgs() complete.Predictor

func (*DeploymentListCommand) AutocompleteFlags added in v0.6.1

func (c *DeploymentListCommand) AutocompleteFlags() complete.Flags

func (*DeploymentListCommand) Help added in v0.6.0

func (c *DeploymentListCommand) Help() string

func (*DeploymentListCommand) Name added in v0.8.2

func (c *DeploymentListCommand) Name() string

func (*DeploymentListCommand) Run added in v0.6.0

func (c *DeploymentListCommand) Run(args []string) int

func (*DeploymentListCommand) Synopsis added in v0.6.0

func (c *DeploymentListCommand) Synopsis() string

type DeploymentPauseCommand added in v0.6.0

type DeploymentPauseCommand struct {
	Meta
}

func (*DeploymentPauseCommand) AutocompleteArgs added in v0.6.1

func (c *DeploymentPauseCommand) AutocompleteArgs() complete.Predictor

func (*DeploymentPauseCommand) AutocompleteFlags added in v0.6.1

func (c *DeploymentPauseCommand) AutocompleteFlags() complete.Flags

func (*DeploymentPauseCommand) Help added in v0.6.0

func (c *DeploymentPauseCommand) Help() string

func (*DeploymentPauseCommand) Name added in v0.8.2

func (c *DeploymentPauseCommand) Name() string

func (*DeploymentPauseCommand) Run added in v0.6.0

func (c *DeploymentPauseCommand) Run(args []string) int

func (*DeploymentPauseCommand) Synopsis added in v0.6.0

func (c *DeploymentPauseCommand) Synopsis() string

type DeploymentPromoteCommand added in v0.6.0

type DeploymentPromoteCommand struct {
	Meta
}

func (*DeploymentPromoteCommand) AutocompleteArgs added in v0.6.1

func (c *DeploymentPromoteCommand) AutocompleteArgs() complete.Predictor

func (*DeploymentPromoteCommand) AutocompleteFlags added in v0.6.1

func (c *DeploymentPromoteCommand) AutocompleteFlags() complete.Flags

func (*DeploymentPromoteCommand) Help added in v0.6.0

func (c *DeploymentPromoteCommand) Help() string

func (*DeploymentPromoteCommand) Name added in v0.8.2

func (c *DeploymentPromoteCommand) Name() string

func (*DeploymentPromoteCommand) Run added in v0.6.0

func (c *DeploymentPromoteCommand) Run(args []string) int

func (*DeploymentPromoteCommand) Synopsis added in v0.6.0

func (c *DeploymentPromoteCommand) Synopsis() string

type DeploymentResumeCommand added in v0.6.0

type DeploymentResumeCommand struct {
	Meta
}

func (*DeploymentResumeCommand) AutocompleteArgs added in v0.6.1

func (c *DeploymentResumeCommand) AutocompleteArgs() complete.Predictor

func (*DeploymentResumeCommand) AutocompleteFlags added in v0.6.1

func (c *DeploymentResumeCommand) AutocompleteFlags() complete.Flags

func (*DeploymentResumeCommand) Help added in v0.6.0

func (c *DeploymentResumeCommand) Help() string

func (*DeploymentResumeCommand) Name added in v0.8.2

func (c *DeploymentResumeCommand) Name() string

func (*DeploymentResumeCommand) Run added in v0.6.0

func (c *DeploymentResumeCommand) Run(args []string) int

func (*DeploymentResumeCommand) Synopsis added in v0.6.0

func (c *DeploymentResumeCommand) Synopsis() string

type DeploymentStatusCommand added in v0.6.0

type DeploymentStatusCommand struct {
	Meta
}

func (*DeploymentStatusCommand) AutocompleteArgs added in v0.6.1

func (c *DeploymentStatusCommand) AutocompleteArgs() complete.Predictor

func (*DeploymentStatusCommand) AutocompleteFlags added in v0.6.1

func (c *DeploymentStatusCommand) AutocompleteFlags() complete.Flags

func (*DeploymentStatusCommand) Help added in v0.6.0

func (c *DeploymentStatusCommand) Help() string

func (*DeploymentStatusCommand) Name added in v0.8.2

func (c *DeploymentStatusCommand) Name() string

func (*DeploymentStatusCommand) Run added in v0.6.0

func (c *DeploymentStatusCommand) Run(args []string) int

func (*DeploymentStatusCommand) Synopsis added in v0.6.0

func (c *DeploymentStatusCommand) Synopsis() string

type DeploymentUnblockCommand added in v0.12.0

type DeploymentUnblockCommand struct {
	Meta
}

func (*DeploymentUnblockCommand) AutocompleteArgs added in v0.12.0

func (c *DeploymentUnblockCommand) AutocompleteArgs() complete.Predictor

func (*DeploymentUnblockCommand) AutocompleteFlags added in v0.12.0

func (c *DeploymentUnblockCommand) AutocompleteFlags() complete.Flags

func (*DeploymentUnblockCommand) Help added in v0.12.0

func (c *DeploymentUnblockCommand) Help() string

func (*DeploymentUnblockCommand) Name added in v0.12.0

func (c *DeploymentUnblockCommand) Name() string

func (*DeploymentUnblockCommand) Run added in v0.12.0

func (c *DeploymentUnblockCommand) Run(args []string) int

func (*DeploymentUnblockCommand) Synopsis added in v0.12.0

func (c *DeploymentUnblockCommand) Synopsis() string

type DeprecatedCommand added in v0.8.0

type DeprecatedCommand struct {
	cli.Command
	Meta

	// Old is the old command name, New is the new command name.
	Old, New string
}

DeprecatedCommand is a command that wraps an existing command and prints a deprecation notice and points the user to the new command. Deprecated commands are always hidden from help output.

func (*DeprecatedCommand) Help added in v0.8.0

func (c *DeprecatedCommand) Help() string

Help wraps the embedded Help command and prints a warning about deprecations.

func (*DeprecatedCommand) Run added in v0.8.0

func (c *DeprecatedCommand) Run(args []string) int

Run wraps the embedded Run command and prints a warning about deprecation.

type EvalCommand added in v0.8.0

type EvalCommand struct {
	Meta
}

func (*EvalCommand) Help added in v0.8.0

func (f *EvalCommand) Help() string

func (*EvalCommand) Name added in v0.8.2

func (f *EvalCommand) Name() string

func (*EvalCommand) Run added in v0.8.0

func (f *EvalCommand) Run(_ []string) int

func (*EvalCommand) Synopsis added in v0.8.0

func (f *EvalCommand) Synopsis() string

type EvalDeleteCommand added in v1.3.2

type EvalDeleteCommand struct {
	Meta
	// contains filtered or unexported fields
}

func (*EvalDeleteCommand) AutocompleteArgs added in v1.3.2

func (e *EvalDeleteCommand) AutocompleteArgs() complete.Predictor

func (*EvalDeleteCommand) AutocompleteFlags added in v1.3.2

func (e *EvalDeleteCommand) AutocompleteFlags() complete.Flags

func (*EvalDeleteCommand) Help added in v1.3.2

func (e *EvalDeleteCommand) Help() string

func (*EvalDeleteCommand) Name added in v1.3.2

func (e *EvalDeleteCommand) Name() string

func (*EvalDeleteCommand) Run added in v1.3.2

func (e *EvalDeleteCommand) Run(args []string) int

func (*EvalDeleteCommand) Synopsis added in v1.3.2

func (e *EvalDeleteCommand) Synopsis() string

type EvalListCommand added in v1.2.4

type EvalListCommand struct {
	Meta
}

func (*EvalListCommand) AutocompleteArgs added in v1.2.4

func (c *EvalListCommand) AutocompleteArgs() complete.Predictor

func (*EvalListCommand) AutocompleteFlags added in v1.2.4

func (c *EvalListCommand) AutocompleteFlags() complete.Flags

func (*EvalListCommand) Help added in v1.2.4

func (c *EvalListCommand) Help() string

func (*EvalListCommand) Name added in v1.2.4

func (c *EvalListCommand) Name() string

func (*EvalListCommand) Run added in v1.2.4

func (c *EvalListCommand) Run(args []string) int

func (*EvalListCommand) Synopsis added in v1.2.4

func (c *EvalListCommand) Synopsis() string

type EvalStatusCommand added in v0.4.0

type EvalStatusCommand struct {
	Meta
}

func (*EvalStatusCommand) AutocompleteArgs added in v0.6.1

func (c *EvalStatusCommand) AutocompleteArgs() complete.Predictor

func (*EvalStatusCommand) AutocompleteFlags added in v0.6.1

func (c *EvalStatusCommand) AutocompleteFlags() complete.Flags

func (*EvalStatusCommand) Help added in v0.4.0

func (c *EvalStatusCommand) Help() string

func (*EvalStatusCommand) Name added in v0.8.2

func (c *EvalStatusCommand) Name() string

func (*EvalStatusCommand) Run added in v0.4.0

func (c *EvalStatusCommand) Run(args []string) int

func (*EvalStatusCommand) Synopsis added in v0.4.0

func (c *EvalStatusCommand) Synopsis() string

type EventCommand added in v1.0.0

type EventCommand struct {
	Meta
}

func (*EventCommand) Help added in v1.0.0

func (e *EventCommand) Help() string

Help should return long-form help text that includes the command-line usage, a brief few sentences explaining the function of the command, and the complete list of flags the command accepts.

func (*EventCommand) Run added in v1.0.0

func (e *EventCommand) Run(args []string) int

func (*EventCommand) Synopsis added in v1.0.0

func (e *EventCommand) Synopsis() string

type FlagSetFlags

type FlagSetFlags uint

FlagSetFlags is an enum to define what flags are present in the default FlagSet returned by Meta.FlagSet.

const (
	FlagSetNone    FlagSetFlags = 0
	FlagSetClient  FlagSetFlags = 1 << iota
	FlagSetDefault              = FlagSetClient
)

type FormatCommand added in v1.4.2

type FormatCommand struct {
	Meta
	// contains filtered or unexported fields
}

func (*FormatCommand) AutocompleteArgs added in v1.4.2

func (*FormatCommand) AutocompleteArgs() complete.Predictor

func (*FormatCommand) AutocompleteFlags added in v1.4.2

func (*FormatCommand) AutocompleteFlags() complete.Flags

func (*FormatCommand) Help added in v1.4.2

func (*FormatCommand) Help() string

func (*FormatCommand) Name added in v1.4.2

func (f *FormatCommand) Name() string

func (*FormatCommand) Run added in v1.4.2

func (f *FormatCommand) Run(args []string) int

func (*FormatCommand) Synopsis added in v1.4.2

func (*FormatCommand) Synopsis() string

type JSONFormat added in v0.4.1

type JSONFormat struct {
}

func (*JSONFormat) TransformData added in v0.4.1

func (p *JSONFormat) TransformData(data interface{}) (string, error)

TransformData returns JSON format string data.

type JobAllocsCommand added in v1.2.0

type JobAllocsCommand struct {
	Meta
}

func (*JobAllocsCommand) AutocompleteArgs added in v1.2.0

func (c *JobAllocsCommand) AutocompleteArgs() complete.Predictor

func (*JobAllocsCommand) AutocompleteFlags added in v1.2.0

func (c *JobAllocsCommand) AutocompleteFlags() complete.Flags

func (*JobAllocsCommand) Help added in v1.2.0

func (c *JobAllocsCommand) Help() string

func (*JobAllocsCommand) Name added in v1.2.0

func (c *JobAllocsCommand) Name() string

func (*JobAllocsCommand) Run added in v1.2.0

func (c *JobAllocsCommand) Run(args []string) int

func (*JobAllocsCommand) Synopsis added in v1.2.0

func (c *JobAllocsCommand) Synopsis() string

type JobCommand added in v0.5.3

type JobCommand struct {
	Meta
}

func (*JobCommand) Help added in v0.5.3

func (f *JobCommand) Help() string

func (*JobCommand) Name added in v0.8.2

func (f *JobCommand) Name() string

func (*JobCommand) Run added in v0.5.3

func (f *JobCommand) Run(args []string) int

func (*JobCommand) Synopsis added in v0.5.3

func (f *JobCommand) Synopsis() string

type JobDeploymentsCommand added in v0.6.0

type JobDeploymentsCommand struct {
	Meta
}

func (*JobDeploymentsCommand) AutocompleteArgs added in v0.6.1

func (c *JobDeploymentsCommand) AutocompleteArgs() complete.Predictor

func (*JobDeploymentsCommand) AutocompleteFlags added in v0.6.1

func (c *JobDeploymentsCommand) AutocompleteFlags() complete.Flags

func (*JobDeploymentsCommand) Help added in v0.6.0

func (c *JobDeploymentsCommand) Help() string

func (*JobDeploymentsCommand) Name added in v0.8.2

func (c *JobDeploymentsCommand) Name() string

func (*JobDeploymentsCommand) Run added in v0.6.0

func (c *JobDeploymentsCommand) Run(args []string) int

func (*JobDeploymentsCommand) Synopsis added in v0.6.0

func (c *JobDeploymentsCommand) Synopsis() string

type JobDispatchCommand added in v0.5.3

type JobDispatchCommand struct {
	Meta
}

func (*JobDispatchCommand) AutocompleteArgs added in v0.6.1

func (c *JobDispatchCommand) AutocompleteArgs() complete.Predictor

func (*JobDispatchCommand) AutocompleteFlags added in v0.6.1

func (c *JobDispatchCommand) AutocompleteFlags() complete.Flags

func (*JobDispatchCommand) Help added in v0.5.3

func (c *JobDispatchCommand) Help() string

func (*JobDispatchCommand) Name added in v0.8.2

func (c *JobDispatchCommand) Name() string

func (*JobDispatchCommand) Run added in v0.5.3

func (c *JobDispatchCommand) Run(args []string) int

func (*JobDispatchCommand) Synopsis added in v0.5.3

func (c *JobDispatchCommand) Synopsis() string

type JobEvalCommand added in v0.8.4

type JobEvalCommand struct {
	Meta
	// contains filtered or unexported fields
}

func (*JobEvalCommand) AutocompleteArgs added in v0.8.4

func (c *JobEvalCommand) AutocompleteArgs() complete.Predictor

func (*JobEvalCommand) AutocompleteFlags added in v0.8.4

func (c *JobEvalCommand) AutocompleteFlags() complete.Flags

func (*JobEvalCommand) Help added in v0.8.4

func (c *JobEvalCommand) Help() string

func (*JobEvalCommand) Name added in v0.8.4

func (c *JobEvalCommand) Name() string

func (*JobEvalCommand) Run added in v0.8.4

func (c *JobEvalCommand) Run(args []string) int

func (*JobEvalCommand) Synopsis added in v0.8.4

func (c *JobEvalCommand) Synopsis() string

type JobGetter added in v0.4.1

type JobGetter struct {
	HCL1     bool
	Vars     flaghelper.StringFlag
	VarFiles flaghelper.StringFlag
	Strict   bool
	JSON     bool
	// contains filtered or unexported fields
}

JobGetter provides helpers for retrieving and parsing a jobpsec.

func (*JobGetter) ApiJob added in v0.5.5

func (j *JobGetter) ApiJob(jpath string) (*api.Job, error)

ApiJob returns the Job struct from jobfile.

func (*JobGetter) ApiJobWithArgs added in v1.0.0

func (j *JobGetter) ApiJobWithArgs(jpath string, vars []string, varfiles []string, strict bool) (*api.Job, error)

func (*JobGetter) Get added in v1.3.0

func (j *JobGetter) Get(jpath string) (*api.Job, error)

func (*JobGetter) Validate added in v1.3.0

func (j *JobGetter) Validate() error

type JobHistoryCommand added in v0.6.0

type JobHistoryCommand struct {
	Meta
	// contains filtered or unexported fields
}

func (*JobHistoryCommand) AutocompleteArgs added in v0.6.1

func (c *JobHistoryCommand) AutocompleteArgs() complete.Predictor

func (*JobHistoryCommand) AutocompleteFlags added in v0.8.4

func (c *JobHistoryCommand) AutocompleteFlags() complete.Flags

func (*JobHistoryCommand) Help added in v0.6.0

func (c *JobHistoryCommand) Help() string

func (*JobHistoryCommand) Name added in v0.8.2

func (c *JobHistoryCommand) Name() string

func (*JobHistoryCommand) Run added in v0.6.0

func (c *JobHistoryCommand) Run(args []string) int

func (*JobHistoryCommand) Synopsis added in v0.6.0

func (c *JobHistoryCommand) Synopsis() string

type JobInitCommand added in v0.8.0

type JobInitCommand struct {
	Meta
}

JobInitCommand generates a new job template that you can customize to your liking, like vagrant init

func (*JobInitCommand) AutocompleteArgs added in v0.8.4

func (c *JobInitCommand) AutocompleteArgs() complete.Predictor

func (*JobInitCommand) AutocompleteFlags added in v0.8.4

func (c *JobInitCommand) AutocompleteFlags() complete.Flags

func (*JobInitCommand) Help added in v0.8.0

func (c *JobInitCommand) Help() string

func (*JobInitCommand) Name added in v0.8.2

func (c *JobInitCommand) Name() string

func (*JobInitCommand) Run added in v0.8.0

func (c *JobInitCommand) Run(args []string) int

func (*JobInitCommand) Synopsis added in v0.8.0

func (c *JobInitCommand) Synopsis() string

type JobInspectCommand added in v0.8.0

type JobInspectCommand struct {
	Meta
}

func (*JobInspectCommand) AutocompleteArgs added in v0.8.0

func (c *JobInspectCommand) AutocompleteArgs() complete.Predictor

func (*JobInspectCommand) AutocompleteFlags added in v0.8.0

func (c *JobInspectCommand) AutocompleteFlags() complete.Flags

func (*JobInspectCommand) Help added in v0.8.0

func (c *JobInspectCommand) Help() string

func (*JobInspectCommand) Name added in v0.8.2

func (c *JobInspectCommand) Name() string

func (*JobInspectCommand) Run added in v0.8.0

func (c *JobInspectCommand) Run(args []string) int

func (*JobInspectCommand) Synopsis added in v0.8.0

func (c *JobInspectCommand) Synopsis() string

type JobPeriodicCommand added in v0.9.2

type JobPeriodicCommand struct {
	Meta
}

func (*JobPeriodicCommand) Help added in v0.9.2

func (f *JobPeriodicCommand) Help() string

func (*JobPeriodicCommand) Name added in v0.9.2

func (f *JobPeriodicCommand) Name() string

func (*JobPeriodicCommand) Run added in v0.9.2

func (f *JobPeriodicCommand) Run(args []string) int

func (*JobPeriodicCommand) Synopsis added in v0.9.2

func (f *JobPeriodicCommand) Synopsis() string

type JobPeriodicForceCommand added in v0.9.2

type JobPeriodicForceCommand struct {
	Meta
}

func (*JobPeriodicForceCommand) AutocompleteArgs added in v0.9.2

func (c *JobPeriodicForceCommand) AutocompleteArgs() complete.Predictor

func (*JobPeriodicForceCommand) AutocompleteFlags added in v0.9.2

func (c *JobPeriodicForceCommand) AutocompleteFlags() complete.Flags

func (*JobPeriodicForceCommand) Help added in v0.9.2

func (c *JobPeriodicForceCommand) Help() string

func (*JobPeriodicForceCommand) Name added in v0.9.2

func (c *JobPeriodicForceCommand) Name() string

func (*JobPeriodicForceCommand) Run added in v0.9.2

func (c *JobPeriodicForceCommand) Run(args []string) int

func (*JobPeriodicForceCommand) Synopsis added in v0.9.2

func (c *JobPeriodicForceCommand) Synopsis() string

type JobPlanCommand added in v0.8.0

type JobPlanCommand struct {
	Meta
	JobGetter
}

func (*JobPlanCommand) AutocompleteArgs added in v0.8.0

func (c *JobPlanCommand) AutocompleteArgs() complete.Predictor

func (*JobPlanCommand) AutocompleteFlags added in v0.8.0

func (c *JobPlanCommand) AutocompleteFlags() complete.Flags

func (*JobPlanCommand) Help added in v0.8.0

func (c *JobPlanCommand) Help() string

func (*JobPlanCommand) Name added in v0.8.2

func (c *JobPlanCommand) Name() string

func (*JobPlanCommand) Run added in v0.8.0

func (c *JobPlanCommand) Run(args []string) int

func (*JobPlanCommand) Synopsis added in v0.8.0

func (c *JobPlanCommand) Synopsis() string

type JobPromoteCommand added in v0.6.0

type JobPromoteCommand struct {
	Meta
}

func (*JobPromoteCommand) AutocompleteArgs added in v0.6.1

func (c *JobPromoteCommand) AutocompleteArgs() complete.Predictor

func (*JobPromoteCommand) AutocompleteFlags added in v0.6.1

func (c *JobPromoteCommand) AutocompleteFlags() complete.Flags

func (*JobPromoteCommand) Help added in v0.6.0

func (c *JobPromoteCommand) Help() string

func (*JobPromoteCommand) Name added in v0.8.2

func (c *JobPromoteCommand) Name() string

func (*JobPromoteCommand) Run added in v0.6.0

func (c *JobPromoteCommand) Run(args []string) int

func (*JobPromoteCommand) Synopsis added in v0.6.0

func (c *JobPromoteCommand) Synopsis() string

type JobRevertCommand added in v0.6.0

type JobRevertCommand struct {
	Meta
}

func (*JobRevertCommand) AutocompleteArgs added in v0.6.1

func (c *JobRevertCommand) AutocompleteArgs() complete.Predictor

func (*JobRevertCommand) AutocompleteFlags added in v0.6.1

func (c *JobRevertCommand) AutocompleteFlags() complete.Flags

func (*JobRevertCommand) Help added in v0.6.0

func (c *JobRevertCommand) Help() string

func (*JobRevertCommand) Name added in v0.8.2

func (c *JobRevertCommand) Name() string

func (*JobRevertCommand) Run added in v0.6.0

func (c *JobRevertCommand) Run(args []string) int

func (*JobRevertCommand) Synopsis added in v0.6.0

func (c *JobRevertCommand) Synopsis() string

type JobRunCommand added in v0.8.0

type JobRunCommand struct {
	Meta
	JobGetter
}

func (*JobRunCommand) AutocompleteArgs added in v0.8.0

func (c *JobRunCommand) AutocompleteArgs() complete.Predictor

func (*JobRunCommand) AutocompleteFlags added in v0.8.0

func (c *JobRunCommand) AutocompleteFlags() complete.Flags

func (*JobRunCommand) Help added in v0.8.0

func (c *JobRunCommand) Help() string

func (*JobRunCommand) Name added in v0.8.2

func (c *JobRunCommand) Name() string

func (*JobRunCommand) Run added in v0.8.0

func (c *JobRunCommand) Run(args []string) int

func (*JobRunCommand) Synopsis added in v0.8.0

func (c *JobRunCommand) Synopsis() string

type JobScaleCommand added in v1.0.0

type JobScaleCommand struct {
	Meta
}

JobScaleCommand implements cli.Command.

func (*JobScaleCommand) AutocompleteFlags added in v1.0.0

func (j *JobScaleCommand) AutocompleteFlags() complete.Flags

func (*JobScaleCommand) Help added in v1.0.0

func (j *JobScaleCommand) Help() string

Help satisfies the cli.Command Help function.

func (*JobScaleCommand) Name added in v1.0.0

func (j *JobScaleCommand) Name() string

Name returns the name of this command.

func (*JobScaleCommand) Run added in v1.0.0

func (j *JobScaleCommand) Run(args []string) int

Run satisfies the cli.Command Run function.

func (*JobScaleCommand) Synopsis added in v1.0.0

func (j *JobScaleCommand) Synopsis() string

Synopsis satisfies the cli.Command Synopsis function.

type JobScalingEventsCommand added in v1.0.0

type JobScalingEventsCommand struct {
	Meta
}

JobScalingEventsCommand implements cli.Command.

func (*JobScalingEventsCommand) AutocompleteFlags added in v1.0.0

func (j *JobScalingEventsCommand) AutocompleteFlags() complete.Flags

func (*JobScalingEventsCommand) Help added in v1.0.0

func (j *JobScalingEventsCommand) Help() string

Help satisfies the cli.Command Help function.

func (*JobScalingEventsCommand) Name added in v1.0.0

func (j *JobScalingEventsCommand) Name() string

Name returns the name of this command.

func (*JobScalingEventsCommand) Run added in v1.0.0

func (j *JobScalingEventsCommand) Run(args []string) int

Run satisfies the cli.Command Run function.

func (*JobScalingEventsCommand) Synopsis added in v1.0.0

func (j *JobScalingEventsCommand) Synopsis() string

Synopsis satisfies the cli.Command Synopsis function.

type JobStatusCommand added in v0.6.1

type JobStatusCommand struct {
	Meta
	// contains filtered or unexported fields
}

func (*JobStatusCommand) AutocompleteArgs added in v0.6.1

func (c *JobStatusCommand) AutocompleteArgs() complete.Predictor

func (*JobStatusCommand) AutocompleteFlags added in v0.6.1

func (c *JobStatusCommand) AutocompleteFlags() complete.Flags

func (*JobStatusCommand) Help added in v0.6.1

func (c *JobStatusCommand) Help() string

func (*JobStatusCommand) Name added in v0.8.2

func (c *JobStatusCommand) Name() string

func (*JobStatusCommand) Run added in v0.6.1

func (c *JobStatusCommand) Run(args []string) int

func (*JobStatusCommand) Synopsis added in v0.6.1

func (c *JobStatusCommand) Synopsis() string

type JobStopCommand added in v0.8.0

type JobStopCommand struct {
	Meta
}

func (*JobStopCommand) AutocompleteArgs added in v0.8.0

func (c *JobStopCommand) AutocompleteArgs() complete.Predictor

func (*JobStopCommand) AutocompleteFlags added in v0.8.0

func (c *JobStopCommand) AutocompleteFlags() complete.Flags

func (*JobStopCommand) Help added in v0.8.0

func (c *JobStopCommand) Help() string

func (*JobStopCommand) Name added in v0.8.2

func (c *JobStopCommand) Name() string

func (*JobStopCommand) Run added in v0.8.0

func (c *JobStopCommand) Run(args []string) int

func (*JobStopCommand) Synopsis added in v0.8.0

func (c *JobStopCommand) Synopsis() string

type JobValidateCommand added in v0.8.0

type JobValidateCommand struct {
	Meta
	JobGetter
}

func (*JobValidateCommand) AutocompleteArgs added in v0.8.0

func (c *JobValidateCommand) AutocompleteArgs() complete.Predictor

func (*JobValidateCommand) AutocompleteFlags added in v0.8.0

func (c *JobValidateCommand) AutocompleteFlags() complete.Flags

func (*JobValidateCommand) Help added in v0.8.0

func (c *JobValidateCommand) Help() string

func (*JobValidateCommand) Name added in v0.8.2

func (c *JobValidateCommand) Name() string

func (*JobValidateCommand) Run added in v0.8.0

func (c *JobValidateCommand) Run(args []string) int

func (*JobValidateCommand) Synopsis added in v0.8.0

func (c *JobValidateCommand) Synopsis() string

type KVBuilder added in v1.4.0

type KVBuilder struct {
	Stdin io.Reader
	// contains filtered or unexported fields
}

KVBuilder is a struct to build a key/value mapping based on a list of "k=v" pairs, where the value might come from stdin, a file, etc.

func (*KVBuilder) Add added in v1.4.0

func (b *KVBuilder) Add(args ...string) error

Add adds to the mapping with the given args.

func (*KVBuilder) Map added in v1.4.0

func (b *KVBuilder) Map() map[string]interface{}

Map returns the built map.

type LicenseCommand added in v0.11.2

type LicenseCommand struct {
	Meta
}

func (*LicenseCommand) Help added in v0.11.2

func (l *LicenseCommand) Help() string

func (*LicenseCommand) Name added in v0.11.2

func (l *LicenseCommand) Name() string

func (*LicenseCommand) Run added in v0.11.2

func (l *LicenseCommand) Run(args []string) int

func (*LicenseCommand) Synopsis added in v0.11.2

func (l *LicenseCommand) Synopsis() string

type LicenseGetCommand added in v0.11.2

type LicenseGetCommand struct {
	Meta
}

func (*LicenseGetCommand) AutocompleteArgs added in v1.1.0

func (c *LicenseGetCommand) AutocompleteArgs() complete.Predictor

func (*LicenseGetCommand) AutocompleteFlags added in v1.1.0

func (c *LicenseGetCommand) AutocompleteFlags() complete.Flags

func (*LicenseGetCommand) Help added in v0.11.2

func (c *LicenseGetCommand) Help() string

func (*LicenseGetCommand) Name added in v0.11.2

func (c *LicenseGetCommand) Name() string

func (*LicenseGetCommand) Run added in v0.11.2

func (c *LicenseGetCommand) Run(args []string) int

func (*LicenseGetCommand) Synopsis added in v0.11.2

func (c *LicenseGetCommand) Synopsis() string

type LineLimitReader added in v0.4.1

type LineLimitReader struct {
	io.ReadCloser
	// contains filtered or unexported fields
}

LineLimitReader wraps another reader and provides `tail -n` like behavior. LineLimitReader buffers up to the searchLimit and returns `-n` number of lines. After those lines have been returned, LineLimitReader streams the underlying ReadCloser

func NewLineLimitReader added in v0.4.1

func NewLineLimitReader(r io.ReadCloser, lines, searchLimit int, timeLimit time.Duration) *LineLimitReader

NewLineLimitReader takes the ReadCloser to wrap, the number of lines to find searching backwards in the first searchLimit bytes. timeLimit can optionally be specified by passing a non-zero duration. When set, the search for the last n lines is aborted if no data has been read in the duration. This can be used to flush what is had if no extra data is being received. When used, the underlying reader must not block forever and must periodically unblock even when no data has been read.

func (*LineLimitReader) Read added in v0.4.1

func (l *LineLimitReader) Read(p []byte) (n int, err error)

type Meta

type Meta struct {
	Ui cli.Ui
	// contains filtered or unexported fields
}

Meta contains the meta-options and functionality that nearly every Nomad command inherits.

func (*Meta) AutocompleteFlags added in v0.6.1

func (m *Meta) AutocompleteFlags(fs FlagSetFlags) complete.Flags

AutocompleteFlags returns a set of flag completions for the given flag set.

func (*Meta) Client

func (m *Meta) Client() (*api.Client, error)

func (*Meta) Colorize added in v0.4.0

func (m *Meta) Colorize() *colorstring.Colorize

func (*Meta) FlagSet

func (m *Meta) FlagSet(n string, fs FlagSetFlags) *flag.FlagSet

FlagSet returns a FlagSet with the common flags that every command implements. The exact behavior of FlagSet can be configured using the flags as the second parameter, for example to disable server settings on the commands that don't talk to a server.

func (*Meta) SetupUi added in v1.2.0

func (m *Meta) SetupUi(args []string)

type MonitorCommand added in v0.10.2

type MonitorCommand struct {
	Meta
}

func (*MonitorCommand) Help added in v0.10.2

func (c *MonitorCommand) Help() string

func (*MonitorCommand) Name added in v0.10.2

func (c *MonitorCommand) Name() string

func (*MonitorCommand) Run added in v0.10.2

func (c *MonitorCommand) Run(args []string) int

func (*MonitorCommand) Synopsis added in v0.10.2

func (c *MonitorCommand) Synopsis() string

type NamedCommand added in v0.8.2

type NamedCommand interface {
	Name() string
}

NamedCommand is a interface to denote a commmand's name.

type NamespaceApplyCommand added in v0.7.0

type NamespaceApplyCommand struct {
	Meta
}

func (*NamespaceApplyCommand) AutocompleteArgs added in v0.7.0

func (c *NamespaceApplyCommand) AutocompleteArgs() complete.Predictor

func (*NamespaceApplyCommand) AutocompleteFlags added in v0.7.0

func (c *NamespaceApplyCommand) AutocompleteFlags() complete.Flags

func (*NamespaceApplyCommand) Help added in v0.7.0

func (c *NamespaceApplyCommand) Help() string

func (*NamespaceApplyCommand) Name added in v0.8.2

func (c *NamespaceApplyCommand) Name() string

func (*NamespaceApplyCommand) Run added in v0.7.0

func (c *NamespaceApplyCommand) Run(args []string) int

func (*NamespaceApplyCommand) Synopsis added in v0.7.0

func (c *NamespaceApplyCommand) Synopsis() string

type NamespaceCommand added in v0.7.0

type NamespaceCommand struct {
	Meta
}

func (*NamespaceCommand) Help added in v0.7.0

func (f *NamespaceCommand) Help() string

func (*NamespaceCommand) Name added in v0.8.2

func (f *NamespaceCommand) Name() string

func (*NamespaceCommand) Run added in v0.7.0

func (f *NamespaceCommand) Run(args []string) int

func (*NamespaceCommand) Synopsis added in v0.7.0

func (f *NamespaceCommand) Synopsis() string

type NamespaceDeleteCommand added in v0.7.0

type NamespaceDeleteCommand struct {
	Meta
}

func (*NamespaceDeleteCommand) AutocompleteArgs added in v0.7.0

func (c *NamespaceDeleteCommand) AutocompleteArgs() complete.Predictor

func (*NamespaceDeleteCommand) AutocompleteFlags added in v0.7.0

func (c *NamespaceDeleteCommand) AutocompleteFlags() complete.Flags

func (*NamespaceDeleteCommand) Help added in v0.7.0

func (c *NamespaceDeleteCommand) Help() string

func (*NamespaceDeleteCommand) Name added in v0.8.2

func (c *NamespaceDeleteCommand) Name() string

func (*NamespaceDeleteCommand) Run added in v0.7.0

func (c *NamespaceDeleteCommand) Run(args []string) int

func (*NamespaceDeleteCommand) Synopsis added in v0.7.0

func (c *NamespaceDeleteCommand) Synopsis() string

type NamespaceInspectCommand added in v0.7.0

type NamespaceInspectCommand struct {
	Meta
}

func (*NamespaceInspectCommand) AutocompleteArgs added in v0.7.0

func (c *NamespaceInspectCommand) AutocompleteArgs() complete.Predictor

func (*NamespaceInspectCommand) AutocompleteFlags added in v0.7.0

func (c *NamespaceInspectCommand) AutocompleteFlags() complete.Flags

func (*NamespaceInspectCommand) Help added in v0.7.0

func (c *NamespaceInspectCommand) Help() string

func (*NamespaceInspectCommand) Name added in v0.8.2

func (c *NamespaceInspectCommand) Name() string

func (*NamespaceInspectCommand) Run added in v0.7.0

func (c *NamespaceInspectCommand) Run(args []string) int

func (*NamespaceInspectCommand) Synopsis added in v0.7.0

func (c *NamespaceInspectCommand) Synopsis() string

type NamespaceListCommand added in v0.7.0

type NamespaceListCommand struct {
	Meta
}

func (*NamespaceListCommand) AutocompleteArgs added in v0.7.0

func (c *NamespaceListCommand) AutocompleteArgs() complete.Predictor

func (*NamespaceListCommand) AutocompleteFlags added in v0.7.0

func (c *NamespaceListCommand) AutocompleteFlags() complete.Flags

func (*NamespaceListCommand) Help added in v0.7.0

func (c *NamespaceListCommand) Help() string

func (*NamespaceListCommand) Name added in v0.8.2

func (c *NamespaceListCommand) Name() string

func (*NamespaceListCommand) Run added in v0.7.0

func (c *NamespaceListCommand) Run(args []string) int

func (*NamespaceListCommand) Synopsis added in v0.7.0

func (c *NamespaceListCommand) Synopsis() string

type NamespaceStatusCommand added in v0.7.0

type NamespaceStatusCommand struct {
	Meta
}

func (*NamespaceStatusCommand) AutocompleteArgs added in v0.7.0

func (c *NamespaceStatusCommand) AutocompleteArgs() complete.Predictor

func (*NamespaceStatusCommand) AutocompleteFlags added in v0.7.0

func (c *NamespaceStatusCommand) AutocompleteFlags() complete.Flags

func (*NamespaceStatusCommand) Help added in v0.7.0

func (c *NamespaceStatusCommand) Help() string

func (*NamespaceStatusCommand) Name added in v0.8.2

func (c *NamespaceStatusCommand) Name() string

func (*NamespaceStatusCommand) Run added in v0.7.0

func (c *NamespaceStatusCommand) Run(args []string) int

func (*NamespaceStatusCommand) Synopsis added in v0.7.0

func (c *NamespaceStatusCommand) Synopsis() string

type NodeCommand added in v0.8.0

type NodeCommand struct {
	Meta
}

func (*NodeCommand) Help added in v0.8.0

func (f *NodeCommand) Help() string

func (*NodeCommand) Name added in v0.8.2

func (f *NodeCommand) Name() string

func (*NodeCommand) Run added in v0.8.0

func (f *NodeCommand) Run(args []string) int

func (*NodeCommand) Synopsis added in v0.8.0

func (f *NodeCommand) Synopsis() string

type NodeConfigCommand added in v0.8.0

type NodeConfigCommand struct {
	Meta
}

func (*NodeConfigCommand) AutocompleteArgs added in v0.8.0

func (c *NodeConfigCommand) AutocompleteArgs() complete.Predictor

func (*NodeConfigCommand) AutocompleteFlags added in v0.8.0

func (c *NodeConfigCommand) AutocompleteFlags() complete.Flags

func (*NodeConfigCommand) Help added in v0.8.0

func (c *NodeConfigCommand) Help() string

func (*NodeConfigCommand) Name added in v0.8.2

func (c *NodeConfigCommand) Name() string

func (*NodeConfigCommand) Run added in v0.8.0

func (c *NodeConfigCommand) Run(args []string) int

func (*NodeConfigCommand) Synopsis added in v0.8.0

func (c *NodeConfigCommand) Synopsis() string

type NodeDrainCommand

type NodeDrainCommand struct {
	Meta
}

func (*NodeDrainCommand) AutocompleteArgs added in v0.6.1

func (c *NodeDrainCommand) AutocompleteArgs() complete.Predictor

func (*NodeDrainCommand) AutocompleteFlags added in v0.6.1

func (c *NodeDrainCommand) AutocompleteFlags() complete.Flags

func (*NodeDrainCommand) Help

func (c *NodeDrainCommand) Help() string

func (*NodeDrainCommand) Name added in v0.8.2

func (c *NodeDrainCommand) Name() string

func (*NodeDrainCommand) Run

func (c *NodeDrainCommand) Run(args []string) int

func (*NodeDrainCommand) Synopsis

func (c *NodeDrainCommand) Synopsis() string

type NodeEligibilityCommand added in v0.8.0

type NodeEligibilityCommand struct {
	Meta
}

func (*NodeEligibilityCommand) AutocompleteArgs added in v0.8.0

func (c *NodeEligibilityCommand) AutocompleteArgs() complete.Predictor

func (*NodeEligibilityCommand) AutocompleteFlags added in v0.8.0

func (c *NodeEligibilityCommand) AutocompleteFlags() complete.Flags

func (*NodeEligibilityCommand) Help added in v0.8.0

func (c *NodeEligibilityCommand) Help() string

func (*NodeEligibilityCommand) Name added in v0.8.2

func (c *NodeEligibilityCommand) Name() string

func (*NodeEligibilityCommand) Run added in v0.8.0

func (c *NodeEligibilityCommand) Run(args []string) int

func (*NodeEligibilityCommand) Synopsis added in v0.8.0

func (c *NodeEligibilityCommand) Synopsis() string

type NodeStatusCommand

type NodeStatusCommand struct {
	Meta
	// contains filtered or unexported fields
}

func (*NodeStatusCommand) AutocompleteArgs added in v0.6.1

func (c *NodeStatusCommand) AutocompleteArgs() complete.Predictor

func (*NodeStatusCommand) AutocompleteFlags added in v0.6.1

func (c *NodeStatusCommand) AutocompleteFlags() complete.Flags

func (*NodeStatusCommand) Help

func (c *NodeStatusCommand) Help() string

func (*NodeStatusCommand) Name added in v0.8.2

func (c *NodeStatusCommand) Name() string

func (*NodeStatusCommand) Run

func (c *NodeStatusCommand) Run(args []string) int

func (*NodeStatusCommand) Synopsis

func (c *NodeStatusCommand) Synopsis() string

type OperatorAPICommand added in v1.3.0

type OperatorAPICommand struct {
	Meta
	// contains filtered or unexported fields
}

func (*OperatorAPICommand) AutocompleteArgs added in v1.3.0

func (c *OperatorAPICommand) AutocompleteArgs() complete.Predictor

func (*OperatorAPICommand) AutocompleteFlags added in v1.3.0

func (c *OperatorAPICommand) AutocompleteFlags() complete.Flags

func (*OperatorAPICommand) Help added in v1.3.0

func (*OperatorAPICommand) Help() string

func (*OperatorAPICommand) Name added in v1.3.0

func (*OperatorAPICommand) Name() string

func (*OperatorAPICommand) Run added in v1.3.0

func (c *OperatorAPICommand) Run(args []string) int

func (*OperatorAPICommand) Synopsis added in v1.3.0

func (*OperatorAPICommand) Synopsis() string

type OperatorAutopilotCommand added in v0.8.0

type OperatorAutopilotCommand struct {
	Meta
}

func (*OperatorAutopilotCommand) Help added in v0.8.0

func (c *OperatorAutopilotCommand) Help() string

func (*OperatorAutopilotCommand) Name added in v0.8.2

func (c *OperatorAutopilotCommand) Name() string

func (*OperatorAutopilotCommand) Run added in v0.8.0

func (c *OperatorAutopilotCommand) Run(args []string) int

func (*OperatorAutopilotCommand) Synopsis added in v0.8.0

func (c *OperatorAutopilotCommand) Synopsis() string

type OperatorAutopilotGetCommand added in v0.8.0

type OperatorAutopilotGetCommand struct {
	Meta
}

func (*OperatorAutopilotGetCommand) AutocompleteArgs added in v0.8.0

func (c *OperatorAutopilotGetCommand) AutocompleteArgs() complete.Predictor

func (*OperatorAutopilotGetCommand) AutocompleteFlags added in v0.8.0

func (c *OperatorAutopilotGetCommand) AutocompleteFlags() complete.Flags

func (*OperatorAutopilotGetCommand) Help added in v0.8.0

func (*OperatorAutopilotGetCommand) Name added in v0.8.2

func (*OperatorAutopilotGetCommand) Run added in v0.8.0

func (c *OperatorAutopilotGetCommand) Run(args []string) int

func (*OperatorAutopilotGetCommand) Synopsis added in v0.8.0

func (c *OperatorAutopilotGetCommand) Synopsis() string

type OperatorAutopilotSetCommand added in v0.8.0

type OperatorAutopilotSetCommand struct {
	Meta
}

func (*OperatorAutopilotSetCommand) AutocompleteArgs added in v0.8.0

func (c *OperatorAutopilotSetCommand) AutocompleteArgs() complete.Predictor

func (*OperatorAutopilotSetCommand) AutocompleteFlags added in v0.8.0

func (c *OperatorAutopilotSetCommand) AutocompleteFlags() complete.Flags

func (*OperatorAutopilotSetCommand) Help added in v0.8.0

func (*OperatorAutopilotSetCommand) Name added in v0.8.2

func (*OperatorAutopilotSetCommand) Run added in v0.8.0

func (c *OperatorAutopilotSetCommand) Run(args []string) int

func (*OperatorAutopilotSetCommand) Synopsis added in v0.8.0

func (c *OperatorAutopilotSetCommand) Synopsis() string

type OperatorCommand added in v0.5.5

type OperatorCommand struct {
	Meta
}

func (*OperatorCommand) Help added in v0.5.5

func (f *OperatorCommand) Help() string

func (*OperatorCommand) Name added in v0.8.2

func (f *OperatorCommand) Name() string

func (*OperatorCommand) Run added in v0.5.5

func (f *OperatorCommand) Run(args []string) int

func (*OperatorCommand) Synopsis added in v0.5.5

func (f *OperatorCommand) Synopsis() string

type OperatorDebugCommand added in v0.12.2

type OperatorDebugCommand struct {
	Meta
	// contains filtered or unexported fields
}

func (*OperatorDebugCommand) AutocompleteArgs added in v0.12.2

func (c *OperatorDebugCommand) AutocompleteArgs() complete.Predictor

func (*OperatorDebugCommand) AutocompleteFlags added in v0.12.2

func (c *OperatorDebugCommand) AutocompleteFlags() complete.Flags

func (*OperatorDebugCommand) Help added in v0.12.2

func (c *OperatorDebugCommand) Help() string

func (*OperatorDebugCommand) Name added in v0.12.2

func (c *OperatorDebugCommand) Name() string

func (*OperatorDebugCommand) Run added in v0.12.2

func (c *OperatorDebugCommand) Run(args []string) int

func (*OperatorDebugCommand) Synopsis added in v0.12.2

func (c *OperatorDebugCommand) Synopsis() string

type OperatorGossipKeyringCommand added in v1.4.0

type OperatorGossipKeyringCommand struct {
	Meta
}

OperatorGossipKeyringCommand is a Command implementation that handles querying, installing, and removing gossip encryption keys from a keyring.

func (*OperatorGossipKeyringCommand) AutocompleteArgs added in v1.4.0

func (c *OperatorGossipKeyringCommand) AutocompleteArgs() complete.Predictor

func (*OperatorGossipKeyringCommand) AutocompleteFlags added in v1.4.0

func (c *OperatorGossipKeyringCommand) AutocompleteFlags() complete.Flags

func (*OperatorGossipKeyringCommand) Help added in v1.4.0

func (*OperatorGossipKeyringCommand) Name added in v1.4.0

func (*OperatorGossipKeyringCommand) Run added in v1.4.0

func (c *OperatorGossipKeyringCommand) Run(args []string) int

func (*OperatorGossipKeyringCommand) Synopsis added in v1.4.0

func (c *OperatorGossipKeyringCommand) Synopsis() string

type OperatorGossipKeyringGenerateCommand added in v1.4.0

type OperatorGossipKeyringGenerateCommand struct {
	Meta
}

OperatorGossipKeyringGenerateCommand is a Command implementation that generates an encryption key for use in `nomad agent`.

func (*OperatorGossipKeyringGenerateCommand) Help added in v1.4.0

func (*OperatorGossipKeyringGenerateCommand) Name added in v1.4.0

func (*OperatorGossipKeyringGenerateCommand) Run added in v1.4.0

func (*OperatorGossipKeyringGenerateCommand) Synopsis added in v1.4.0

type OperatorGossipKeyringInstallCommand added in v1.4.0

type OperatorGossipKeyringInstallCommand struct {
	Meta
}

OperatorGossipKeyringInstallCommand is a Command implementation that handles installing a gossip encryption key from a keyring

func (*OperatorGossipKeyringInstallCommand) AutocompleteArgs added in v1.4.0

func (*OperatorGossipKeyringInstallCommand) AutocompleteFlags added in v1.4.0

func (c *OperatorGossipKeyringInstallCommand) AutocompleteFlags() complete.Flags

func (*OperatorGossipKeyringInstallCommand) Help added in v1.4.0

func (*OperatorGossipKeyringInstallCommand) Name added in v1.4.0

func (*OperatorGossipKeyringInstallCommand) Run added in v1.4.0

func (*OperatorGossipKeyringInstallCommand) Synopsis added in v1.4.0

type OperatorGossipKeyringListCommand added in v1.4.0

type OperatorGossipKeyringListCommand struct {
	Meta
}

OperatorGossipKeyringListCommand is a Command implementation that handles removing a gossip encryption key from a keyring

func (*OperatorGossipKeyringListCommand) AutocompleteArgs added in v1.4.0

func (c *OperatorGossipKeyringListCommand) AutocompleteArgs() complete.Predictor

func (*OperatorGossipKeyringListCommand) AutocompleteFlags added in v1.4.0

func (c *OperatorGossipKeyringListCommand) AutocompleteFlags() complete.Flags

func (*OperatorGossipKeyringListCommand) Help added in v1.4.0

func (*OperatorGossipKeyringListCommand) Name added in v1.4.0

func (*OperatorGossipKeyringListCommand) Run added in v1.4.0

func (*OperatorGossipKeyringListCommand) Synopsis added in v1.4.0

type OperatorGossipKeyringRemoveCommand added in v1.4.0

type OperatorGossipKeyringRemoveCommand struct {
	Meta
}

OperatorGossipKeyringRemoveCommand is a Command implementation that handles removing a gossip encryption key from a keyring

func (*OperatorGossipKeyringRemoveCommand) AutocompleteArgs added in v1.4.0

func (*OperatorGossipKeyringRemoveCommand) AutocompleteFlags added in v1.4.0

func (c *OperatorGossipKeyringRemoveCommand) AutocompleteFlags() complete.Flags

func (*OperatorGossipKeyringRemoveCommand) Help added in v1.4.0

func (*OperatorGossipKeyringRemoveCommand) Name added in v1.4.0

func (*OperatorGossipKeyringRemoveCommand) Run added in v1.4.0

func (*OperatorGossipKeyringRemoveCommand) Synopsis added in v1.4.0

type OperatorGossipKeyringUseCommand added in v1.4.0

type OperatorGossipKeyringUseCommand struct {
	Meta
}

OperatorGossipKeyringUseCommand is a Command implementation that handles setting the gossip encryption key from a keyring

func (*OperatorGossipKeyringUseCommand) AutocompleteArgs added in v1.4.0

func (c *OperatorGossipKeyringUseCommand) AutocompleteArgs() complete.Predictor

func (*OperatorGossipKeyringUseCommand) AutocompleteFlags added in v1.4.0

func (c *OperatorGossipKeyringUseCommand) AutocompleteFlags() complete.Flags

func (*OperatorGossipKeyringUseCommand) Help added in v1.4.0

func (*OperatorGossipKeyringUseCommand) Name added in v1.4.0

func (*OperatorGossipKeyringUseCommand) Run added in v1.4.0

func (*OperatorGossipKeyringUseCommand) Synopsis added in v1.4.0

type OperatorKeyringCommand added in v0.8.0

type OperatorKeyringCommand struct {
	Meta
}

OperatorKeyringCommand is a Command implementation that handles querying, installing, and removing gossip encryption keys from a keyring.

func (*OperatorKeyringCommand) AutocompleteArgs added in v0.8.0

func (c *OperatorKeyringCommand) AutocompleteArgs() complete.Predictor

func (*OperatorKeyringCommand) AutocompleteFlags added in v0.8.0

func (c *OperatorKeyringCommand) AutocompleteFlags() complete.Flags

func (*OperatorKeyringCommand) Help added in v0.8.0

func (c *OperatorKeyringCommand) Help() string

func (*OperatorKeyringCommand) Name added in v0.8.2

func (c *OperatorKeyringCommand) Name() string

func (*OperatorKeyringCommand) Run added in v0.8.0

func (c *OperatorKeyringCommand) Run(args []string) int

func (*OperatorKeyringCommand) Synopsis added in v0.8.0

func (c *OperatorKeyringCommand) Synopsis() string

type OperatorMetricsCommand added in v1.0.0

type OperatorMetricsCommand struct {
	Meta
}

func (*OperatorMetricsCommand) AutocompleteFlags added in v1.0.0

func (c *OperatorMetricsCommand) AutocompleteFlags() complete.Flags

func (*OperatorMetricsCommand) Help added in v1.0.0

func (c *OperatorMetricsCommand) Help() string

func (*OperatorMetricsCommand) Name added in v1.0.0

func (c *OperatorMetricsCommand) Name() string

func (*OperatorMetricsCommand) Run added in v1.0.0

func (c *OperatorMetricsCommand) Run(args []string) int

func (*OperatorMetricsCommand) Synopsis added in v1.0.0

func (c *OperatorMetricsCommand) Synopsis() string

type OperatorRaftCommand added in v0.5.5

type OperatorRaftCommand struct {
	Meta
}

func (*OperatorRaftCommand) Help added in v0.5.5

func (c *OperatorRaftCommand) Help() string

func (*OperatorRaftCommand) Name added in v0.8.2

func (c *OperatorRaftCommand) Name() string

func (*OperatorRaftCommand) Run added in v0.5.5

func (c *OperatorRaftCommand) Run(args []string) int

func (*OperatorRaftCommand) Synopsis added in v0.5.5

func (c *OperatorRaftCommand) Synopsis() string

type OperatorRaftInfoCommand added in v0.12.4

type OperatorRaftInfoCommand struct {
	Meta
}

func (*OperatorRaftInfoCommand) AutocompleteArgs added in v0.12.4

func (c *OperatorRaftInfoCommand) AutocompleteArgs() complete.Predictor

func (*OperatorRaftInfoCommand) AutocompleteFlags added in v0.12.4

func (c *OperatorRaftInfoCommand) AutocompleteFlags() complete.Flags

func (*OperatorRaftInfoCommand) Help added in v0.12.4

func (c *OperatorRaftInfoCommand) Help() string

func (*OperatorRaftInfoCommand) Name added in v0.12.4

func (c *OperatorRaftInfoCommand) Name() string

func (*OperatorRaftInfoCommand) Run added in v0.12.4

func (c *OperatorRaftInfoCommand) Run(args []string) int

func (*OperatorRaftInfoCommand) Synopsis added in v0.12.4

func (c *OperatorRaftInfoCommand) Synopsis() string

type OperatorRaftListCommand added in v0.5.5

type OperatorRaftListCommand struct {
	Meta
}

func (*OperatorRaftListCommand) AutocompleteArgs added in v0.6.1

func (c *OperatorRaftListCommand) AutocompleteArgs() complete.Predictor

func (*OperatorRaftListCommand) AutocompleteFlags added in v0.6.1

func (c *OperatorRaftListCommand) AutocompleteFlags() complete.Flags

func (*OperatorRaftListCommand) Help added in v0.5.5

func (c *OperatorRaftListCommand) Help() string

func (*OperatorRaftListCommand) Name added in v0.8.2

func (c *OperatorRaftListCommand) Name() string

func (*OperatorRaftListCommand) Run added in v0.5.5

func (c *OperatorRaftListCommand) Run(args []string) int

func (*OperatorRaftListCommand) Synopsis added in v0.5.5

func (c *OperatorRaftListCommand) Synopsis() string

type OperatorRaftLogsCommand added in v0.12.4

type OperatorRaftLogsCommand struct {
	Meta
}

func (*OperatorRaftLogsCommand) AutocompleteArgs added in v0.12.4

func (c *OperatorRaftLogsCommand) AutocompleteArgs() complete.Predictor

func (*OperatorRaftLogsCommand) AutocompleteFlags added in v0.12.4

func (c *OperatorRaftLogsCommand) AutocompleteFlags() complete.Flags

func (*OperatorRaftLogsCommand) Help added in v0.12.4

func (c *OperatorRaftLogsCommand) Help() string

func (*OperatorRaftLogsCommand) Name added in v0.12.4

func (c *OperatorRaftLogsCommand) Name() string

func (*OperatorRaftLogsCommand) Run added in v0.12.4

func (c *OperatorRaftLogsCommand) Run(args []string) int

func (*OperatorRaftLogsCommand) Synopsis added in v0.12.4

func (c *OperatorRaftLogsCommand) Synopsis() string

type OperatorRaftRemoveCommand added in v0.5.5

type OperatorRaftRemoveCommand struct {
	Meta
}

func (*OperatorRaftRemoveCommand) AutocompleteArgs added in v0.6.1

func (c *OperatorRaftRemoveCommand) AutocompleteArgs() complete.Predictor

func (*OperatorRaftRemoveCommand) AutocompleteFlags added in v0.6.1

func (c *OperatorRaftRemoveCommand) AutocompleteFlags() complete.Flags

func (*OperatorRaftRemoveCommand) Help added in v0.5.5

func (*OperatorRaftRemoveCommand) Name added in v0.8.2

func (*OperatorRaftRemoveCommand) Run added in v0.5.5

func (c *OperatorRaftRemoveCommand) Run(args []string) int

func (*OperatorRaftRemoveCommand) Synopsis added in v0.5.5

func (c *OperatorRaftRemoveCommand) Synopsis() string

type OperatorRaftStateCommand added in v0.12.4

type OperatorRaftStateCommand struct {
	Meta
}

func (*OperatorRaftStateCommand) AutocompleteArgs added in v0.12.4

func (c *OperatorRaftStateCommand) AutocompleteArgs() complete.Predictor

func (*OperatorRaftStateCommand) AutocompleteFlags added in v0.12.4

func (c *OperatorRaftStateCommand) AutocompleteFlags() complete.Flags

func (*OperatorRaftStateCommand) Help added in v0.12.4

func (c *OperatorRaftStateCommand) Help() string

func (*OperatorRaftStateCommand) Name added in v0.12.4

func (c *OperatorRaftStateCommand) Name() string

func (*OperatorRaftStateCommand) Run added in v0.12.4

func (c *OperatorRaftStateCommand) Run(args []string) int

func (*OperatorRaftStateCommand) Synopsis added in v0.12.4

func (c *OperatorRaftStateCommand) Synopsis() string

type OperatorRootKeyringCommand added in v1.4.0

type OperatorRootKeyringCommand struct {
	Meta
}

OperatorRootKeyringCommand is a Command implementation that handles querying, rotating, and removing root encryption keys from a keyring.

func (*OperatorRootKeyringCommand) AutocompleteArgs added in v1.4.0

func (c *OperatorRootKeyringCommand) AutocompleteArgs() complete.Predictor

func (*OperatorRootKeyringCommand) AutocompleteFlags added in v1.4.0

func (c *OperatorRootKeyringCommand) AutocompleteFlags() complete.Flags

func (*OperatorRootKeyringCommand) Help added in v1.4.0

func (*OperatorRootKeyringCommand) Name added in v1.4.0

func (*OperatorRootKeyringCommand) Run added in v1.4.0

func (c *OperatorRootKeyringCommand) Run(args []string) int

func (*OperatorRootKeyringCommand) Synopsis added in v1.4.0

func (c *OperatorRootKeyringCommand) Synopsis() string

type OperatorRootKeyringListCommand added in v1.4.0

type OperatorRootKeyringListCommand struct {
	Meta
}

OperatorRootKeyringListCommand is a Command implementation that lists the variables encryption keys.

func (*OperatorRootKeyringListCommand) AutocompleteArgs added in v1.4.0

func (c *OperatorRootKeyringListCommand) AutocompleteArgs() complete.Predictor

func (*OperatorRootKeyringListCommand) AutocompleteFlags added in v1.4.0

func (c *OperatorRootKeyringListCommand) AutocompleteFlags() complete.Flags

func (*OperatorRootKeyringListCommand) Help added in v1.4.0

func (*OperatorRootKeyringListCommand) Name added in v1.4.0

func (*OperatorRootKeyringListCommand) Run added in v1.4.0

func (c *OperatorRootKeyringListCommand) Run(args []string) int

func (*OperatorRootKeyringListCommand) Synopsis added in v1.4.0

func (c *OperatorRootKeyringListCommand) Synopsis() string

type OperatorRootKeyringRemoveCommand added in v1.4.0

type OperatorRootKeyringRemoveCommand struct {
	Meta
}

OperatorRootKeyringRemoveCommand is a Command implementation that handles removeing variables encryption keys from a keyring.

func (*OperatorRootKeyringRemoveCommand) AutocompleteArgs added in v1.4.0

func (c *OperatorRootKeyringRemoveCommand) AutocompleteArgs() complete.Predictor

func (*OperatorRootKeyringRemoveCommand) AutocompleteFlags added in v1.4.0

func (c *OperatorRootKeyringRemoveCommand) AutocompleteFlags() complete.Flags

func (*OperatorRootKeyringRemoveCommand) Help added in v1.4.0

func (*OperatorRootKeyringRemoveCommand) Name added in v1.4.0

func (*OperatorRootKeyringRemoveCommand) Run added in v1.4.0

func (*OperatorRootKeyringRemoveCommand) Synopsis added in v1.4.0

type OperatorRootKeyringRotateCommand added in v1.4.0

type OperatorRootKeyringRotateCommand struct {
	Meta
}

OperatorRootKeyringRotateCommand is a Command implementation that rotates the variables encryption key.

func (*OperatorRootKeyringRotateCommand) AutocompleteArgs added in v1.4.0

func (c *OperatorRootKeyringRotateCommand) AutocompleteArgs() complete.Predictor

func (*OperatorRootKeyringRotateCommand) AutocompleteFlags added in v1.4.0

func (c *OperatorRootKeyringRotateCommand) AutocompleteFlags() complete.Flags

func (*OperatorRootKeyringRotateCommand) Help added in v1.4.0

func (*OperatorRootKeyringRotateCommand) Name added in v1.4.0

func (*OperatorRootKeyringRotateCommand) Run added in v1.4.0

func (*OperatorRootKeyringRotateCommand) Synopsis added in v1.4.0

type OperatorSchedulerCommand added in v1.3.2

type OperatorSchedulerCommand struct {
	Meta
}

func (*OperatorSchedulerCommand) Help added in v1.3.2

func (o *OperatorSchedulerCommand) Help() string

func (*OperatorSchedulerCommand) Name added in v1.3.2

func (o *OperatorSchedulerCommand) Name() string

func (*OperatorSchedulerCommand) Run added in v1.3.2

func (o *OperatorSchedulerCommand) Run(_ []string) int

func (*OperatorSchedulerCommand) Synopsis added in v1.3.2

func (o *OperatorSchedulerCommand) Synopsis() string

type OperatorSchedulerGetConfig added in v1.3.2

type OperatorSchedulerGetConfig struct {
	Meta
	// contains filtered or unexported fields
}

func (*OperatorSchedulerGetConfig) AutocompleteArgs added in v1.3.2

func (o *OperatorSchedulerGetConfig) AutocompleteArgs() complete.Predictor

func (*OperatorSchedulerGetConfig) AutocompleteFlags added in v1.3.2

func (o *OperatorSchedulerGetConfig) AutocompleteFlags() complete.Flags

func (*OperatorSchedulerGetConfig) Help added in v1.3.2

func (*OperatorSchedulerGetConfig) Name added in v1.3.2

func (*OperatorSchedulerGetConfig) Run added in v1.3.2

func (o *OperatorSchedulerGetConfig) Run(args []string) int

func (*OperatorSchedulerGetConfig) Synopsis added in v1.3.2

func (o *OperatorSchedulerGetConfig) Synopsis() string

type OperatorSchedulerSetConfig added in v1.3.2

type OperatorSchedulerSetConfig struct {
	Meta
	// contains filtered or unexported fields
}

func (*OperatorSchedulerSetConfig) AutocompleteArgs added in v1.3.2

func (o *OperatorSchedulerSetConfig) AutocompleteArgs() complete.Predictor

func (*OperatorSchedulerSetConfig) AutocompleteFlags added in v1.3.2

func (o *OperatorSchedulerSetConfig) AutocompleteFlags() complete.Flags

func (*OperatorSchedulerSetConfig) Help added in v1.3.2

func (*OperatorSchedulerSetConfig) Name added in v1.3.2

func (*OperatorSchedulerSetConfig) Run added in v1.3.2

func (o *OperatorSchedulerSetConfig) Run(args []string) int

func (*OperatorSchedulerSetConfig) Synopsis added in v1.3.2

func (o *OperatorSchedulerSetConfig) Synopsis() string

type OperatorSnapshotCommand added in v0.12.0

type OperatorSnapshotCommand struct {
	Meta
}

func (*OperatorSnapshotCommand) Help added in v0.12.0

func (f *OperatorSnapshotCommand) Help() string

func (*OperatorSnapshotCommand) Name added in v0.12.0

func (f *OperatorSnapshotCommand) Name() string

func (*OperatorSnapshotCommand) Run added in v0.12.0

func (f *OperatorSnapshotCommand) Run(args []string) int

func (*OperatorSnapshotCommand) Synopsis added in v0.12.0

func (f *OperatorSnapshotCommand) Synopsis() string

type OperatorSnapshotInspectCommand added in v0.12.0

type OperatorSnapshotInspectCommand struct {
	Meta
}

func (*OperatorSnapshotInspectCommand) AutocompleteArgs added in v0.12.0

func (c *OperatorSnapshotInspectCommand) AutocompleteArgs() complete.Predictor

func (*OperatorSnapshotInspectCommand) AutocompleteFlags added in v0.12.0

func (c *OperatorSnapshotInspectCommand) AutocompleteFlags() complete.Flags

func (*OperatorSnapshotInspectCommand) Help added in v0.12.0

func (*OperatorSnapshotInspectCommand) Name added in v0.12.0

func (*OperatorSnapshotInspectCommand) Run added in v0.12.0

func (c *OperatorSnapshotInspectCommand) Run(args []string) int

func (*OperatorSnapshotInspectCommand) Synopsis added in v0.12.0

func (c *OperatorSnapshotInspectCommand) Synopsis() string

type OperatorSnapshotRestoreCommand added in v0.12.0

type OperatorSnapshotRestoreCommand struct {
	Meta
}

func (*OperatorSnapshotRestoreCommand) AutocompleteArgs added in v0.12.0

func (c *OperatorSnapshotRestoreCommand) AutocompleteArgs() complete.Predictor

func (*OperatorSnapshotRestoreCommand) AutocompleteFlags added in v0.12.0

func (c *OperatorSnapshotRestoreCommand) AutocompleteFlags() complete.Flags

func (*OperatorSnapshotRestoreCommand) Help added in v0.12.0

func (*OperatorSnapshotRestoreCommand) Name added in v0.12.0

func (*OperatorSnapshotRestoreCommand) Run added in v0.12.0

func (c *OperatorSnapshotRestoreCommand) Run(args []string) int

func (*OperatorSnapshotRestoreCommand) Synopsis added in v0.12.0

func (c *OperatorSnapshotRestoreCommand) Synopsis() string

type OperatorSnapshotSaveCommand added in v0.12.0

type OperatorSnapshotSaveCommand struct {
	Meta
}

func (*OperatorSnapshotSaveCommand) AutocompleteArgs added in v0.12.0

func (c *OperatorSnapshotSaveCommand) AutocompleteArgs() complete.Predictor

func (*OperatorSnapshotSaveCommand) AutocompleteFlags added in v0.12.0

func (c *OperatorSnapshotSaveCommand) AutocompleteFlags() complete.Flags

func (*OperatorSnapshotSaveCommand) Help added in v0.12.0

func (*OperatorSnapshotSaveCommand) Name added in v0.12.0

func (*OperatorSnapshotSaveCommand) Run added in v0.12.0

func (c *OperatorSnapshotSaveCommand) Run(args []string) int

func (*OperatorSnapshotSaveCommand) Synopsis added in v0.12.0

func (c *OperatorSnapshotSaveCommand) Synopsis() string

type OperatorSnapshotStateCommand added in v1.2.0

type OperatorSnapshotStateCommand struct {
	Meta
}

func (*OperatorSnapshotStateCommand) AutocompleteArgs added in v1.2.0

func (c *OperatorSnapshotStateCommand) AutocompleteArgs() complete.Predictor

func (*OperatorSnapshotStateCommand) AutocompleteFlags added in v1.2.0

func (c *OperatorSnapshotStateCommand) AutocompleteFlags() complete.Flags

func (*OperatorSnapshotStateCommand) Help added in v1.2.0

func (*OperatorSnapshotStateCommand) Name added in v1.2.0

func (*OperatorSnapshotStateCommand) Run added in v1.2.0

func (c *OperatorSnapshotStateCommand) Run(args []string) int

func (*OperatorSnapshotStateCommand) Synopsis added in v1.2.0

func (c *OperatorSnapshotStateCommand) Synopsis() string

type PluginCommand added in v0.11.0

type PluginCommand struct {
	Meta
}

func (*PluginCommand) Help added in v0.11.0

func (c *PluginCommand) Help() string

func (*PluginCommand) Name added in v0.11.0

func (c *PluginCommand) Name() string

func (*PluginCommand) Run added in v0.11.0

func (c *PluginCommand) Run(args []string) int

func (*PluginCommand) Synopsis added in v0.11.0

func (c *PluginCommand) Synopsis() string

type PluginStatusCommand added in v0.11.0

type PluginStatusCommand struct {
	Meta
	// contains filtered or unexported fields
}

func (*PluginStatusCommand) AutocompleteArgs added in v0.11.0

func (c *PluginStatusCommand) AutocompleteArgs() complete.Predictor

func (*PluginStatusCommand) AutocompleteFlags added in v0.11.0

func (c *PluginStatusCommand) AutocompleteFlags() complete.Flags

func (*PluginStatusCommand) Help added in v0.11.0

func (c *PluginStatusCommand) Help() string

func (*PluginStatusCommand) Name added in v0.11.0

func (c *PluginStatusCommand) Name() string

func (*PluginStatusCommand) Run added in v0.11.0

func (c *PluginStatusCommand) Run(args []string) int

func (*PluginStatusCommand) Synopsis added in v0.11.0

func (c *PluginStatusCommand) Synopsis() string

type QuotaApplyCommand added in v0.7.0

type QuotaApplyCommand struct {
	Meta
}

func (*QuotaApplyCommand) AutocompleteArgs added in v0.7.0

func (c *QuotaApplyCommand) AutocompleteArgs() complete.Predictor

func (*QuotaApplyCommand) AutocompleteFlags added in v0.7.0

func (c *QuotaApplyCommand) AutocompleteFlags() complete.Flags

func (*QuotaApplyCommand) Help added in v0.7.0

func (c *QuotaApplyCommand) Help() string

func (*QuotaApplyCommand) Name added in v0.8.2

func (c *QuotaApplyCommand) Name() string

func (*QuotaApplyCommand) Run added in v0.7.0

func (c *QuotaApplyCommand) Run(args []string) int

func (*QuotaApplyCommand) Synopsis added in v0.7.0

func (c *QuotaApplyCommand) Synopsis() string

type QuotaCommand added in v0.7.0

type QuotaCommand struct {
	Meta
}

func (*QuotaCommand) Help added in v0.7.0

func (f *QuotaCommand) Help() string

func (*QuotaCommand) Name added in v0.8.2

func (f *QuotaCommand) Name() string

func (*QuotaCommand) Run added in v0.7.0

func (f *QuotaCommand) Run(args []string) int

func (*QuotaCommand) Synopsis added in v0.7.0

func (f *QuotaCommand) Synopsis() string

type QuotaDeleteCommand added in v0.7.0

type QuotaDeleteCommand struct {
	Meta
}

func (*QuotaDeleteCommand) AutocompleteArgs added in v0.7.0

func (c *QuotaDeleteCommand) AutocompleteArgs() complete.Predictor

func (*QuotaDeleteCommand) AutocompleteFlags added in v0.7.0

func (c *QuotaDeleteCommand) AutocompleteFlags() complete.Flags

func (*QuotaDeleteCommand) Help added in v0.7.0

func (c *QuotaDeleteCommand) Help() string

func (*QuotaDeleteCommand) Name added in v0.8.2

func (c *QuotaDeleteCommand) Name() string

func (*QuotaDeleteCommand) Run added in v0.7.0

func (c *QuotaDeleteCommand) Run(args []string) int

func (*QuotaDeleteCommand) Synopsis added in v0.7.0

func (c *QuotaDeleteCommand) Synopsis() string

type QuotaInitCommand added in v0.7.0

type QuotaInitCommand struct {
	Meta
}

QuotaInitCommand generates a new quota spec that you can customize to your liking, like vagrant init

func (*QuotaInitCommand) AutocompleteArgs added in v0.7.0

func (c *QuotaInitCommand) AutocompleteArgs() complete.Predictor

func (*QuotaInitCommand) AutocompleteFlags added in v0.7.0

func (c *QuotaInitCommand) AutocompleteFlags() complete.Flags

func (*QuotaInitCommand) Help added in v0.7.0

func (c *QuotaInitCommand) Help() string

func (*QuotaInitCommand) Name added in v0.8.2

func (c *QuotaInitCommand) Name() string

func (*QuotaInitCommand) Run added in v0.7.0

func (c *QuotaInitCommand) Run(args []string) int

func (*QuotaInitCommand) Synopsis added in v0.7.0

func (c *QuotaInitCommand) Synopsis() string

type QuotaInspectCommand added in v0.7.0

type QuotaInspectCommand struct {
	Meta
}

func (*QuotaInspectCommand) AutocompleteArgs added in v0.7.0

func (c *QuotaInspectCommand) AutocompleteArgs() complete.Predictor

func (*QuotaInspectCommand) AutocompleteFlags added in v0.7.0

func (c *QuotaInspectCommand) AutocompleteFlags() complete.Flags

func (*QuotaInspectCommand) Help added in v0.7.0

func (c *QuotaInspectCommand) Help() string

func (*QuotaInspectCommand) Name added in v0.8.2

func (c *QuotaInspectCommand) Name() string

func (*QuotaInspectCommand) Run added in v0.7.0

func (c *QuotaInspectCommand) Run(args []string) int

func (*QuotaInspectCommand) Synopsis added in v0.7.0

func (c *QuotaInspectCommand) Synopsis() string

type QuotaListCommand added in v0.7.0

type QuotaListCommand struct {
	Meta
}

func (*QuotaListCommand) AutocompleteArgs added in v0.7.0

func (c *QuotaListCommand) AutocompleteArgs() complete.Predictor

func (*QuotaListCommand) AutocompleteFlags added in v0.7.0

func (c *QuotaListCommand) AutocompleteFlags() complete.Flags

func (*QuotaListCommand) Help added in v0.7.0

func (c *QuotaListCommand) Help() string

func (*QuotaListCommand) Name added in v0.8.2

func (c *QuotaListCommand) Name() string

func (*QuotaListCommand) Run added in v0.7.0

func (c *QuotaListCommand) Run(args []string) int

func (*QuotaListCommand) Synopsis added in v0.7.0

func (c *QuotaListCommand) Synopsis() string

type QuotaStatusCommand added in v0.7.0

type QuotaStatusCommand struct {
	Meta
}

func (*QuotaStatusCommand) AutocompleteArgs added in v0.7.0

func (c *QuotaStatusCommand) AutocompleteArgs() complete.Predictor

func (*QuotaStatusCommand) AutocompleteFlags added in v0.7.0

func (c *QuotaStatusCommand) AutocompleteFlags() complete.Flags

func (*QuotaStatusCommand) Help added in v0.7.0

func (c *QuotaStatusCommand) Help() string

func (*QuotaStatusCommand) Name added in v0.8.2

func (c *QuotaStatusCommand) Name() string

func (*QuotaStatusCommand) Run added in v0.7.0

func (c *QuotaStatusCommand) Run(args []string) int

func (*QuotaStatusCommand) Synopsis added in v0.7.0

func (c *QuotaStatusCommand) Synopsis() string

type RecommendationApplyCommand added in v1.0.0

type RecommendationApplyCommand struct {
	RecommendationAutocompleteCommand
}

RecommendationApplyCommand implements cli.Command.

func (*RecommendationApplyCommand) AutocompleteFlags added in v1.0.0

func (r *RecommendationApplyCommand) AutocompleteFlags() complete.Flags

func (*RecommendationApplyCommand) Help added in v1.0.0

Help satisfies the cli.Command Help function.

func (*RecommendationApplyCommand) Name added in v1.0.0

Name returns the name of this command.

func (*RecommendationApplyCommand) Run added in v1.0.0

func (r *RecommendationApplyCommand) Run(args []string) int

Run satisfies the cli.Command Run function.

func (*RecommendationApplyCommand) Synopsis added in v1.0.0

func (r *RecommendationApplyCommand) Synopsis() string

Synopsis satisfies the cli.Command Synopsis function.

type RecommendationAutocompleteCommand added in v1.0.0

type RecommendationAutocompleteCommand struct {
	Meta
}

RecommendationAutocompleteCommand provides AutocompleteArgs for all recommendation commands that support prefix-search autocompletion

func (*RecommendationAutocompleteCommand) AutocompleteArgs added in v1.0.0

type RecommendationCommand added in v1.0.0

type RecommendationCommand struct {
	Meta
}

RecommendationCommand implements cli.Command.

func (*RecommendationCommand) Help added in v1.0.0

func (r *RecommendationCommand) Help() string

Help satisfies the cli.Command Help function.

func (*RecommendationCommand) Name added in v1.0.0

func (r *RecommendationCommand) Name() string

Name returns the name of this command.

func (*RecommendationCommand) Run added in v1.0.0

func (r *RecommendationCommand) Run(_ []string) int

Run satisfies the cli.Command Run function.

func (*RecommendationCommand) Synopsis added in v1.0.0

func (r *RecommendationCommand) Synopsis() string

Synopsis satisfies the cli.Command Synopsis function.

type RecommendationDismissCommand added in v1.0.0

type RecommendationDismissCommand struct {
	RecommendationAutocompleteCommand
}

RecommendationDismissCommand implements cli.Command.

func (*RecommendationDismissCommand) AutocompleteFlags added in v1.0.0

func (r *RecommendationDismissCommand) AutocompleteFlags() complete.Flags

func (*RecommendationDismissCommand) Help added in v1.0.0

Help satisfies the cli.Command Help function.

func (*RecommendationDismissCommand) Name added in v1.0.0

Name returns the name of this command.

func (*RecommendationDismissCommand) Run added in v1.0.0

func (r *RecommendationDismissCommand) Run(args []string) int

Run satisfies the cli.Command Run function.

func (*RecommendationDismissCommand) Synopsis added in v1.0.0

func (r *RecommendationDismissCommand) Synopsis() string

Synopsis satisfies the cli.Command Synopsis function.

type RecommendationInfoCommand added in v1.0.0

type RecommendationInfoCommand struct {
	RecommendationAutocompleteCommand
}

RecommendationInfoCommand implements cli.Command.

func (*RecommendationInfoCommand) AutocompleteFlags added in v1.0.0

func (r *RecommendationInfoCommand) AutocompleteFlags() complete.Flags

func (*RecommendationInfoCommand) Help added in v1.0.0

Help satisfies the cli.Command Help function.

func (*RecommendationInfoCommand) Name added in v1.0.0

Name returns the name of this command.

func (*RecommendationInfoCommand) Run added in v1.0.0

func (r *RecommendationInfoCommand) Run(args []string) int

Run satisfies the cli.Command Run function.

func (*RecommendationInfoCommand) Synopsis added in v1.0.0

func (r *RecommendationInfoCommand) Synopsis() string

Synopsis satisfies the cli.Command Synopsis function.

type RecommendationListCommand added in v1.0.0

type RecommendationListCommand struct {
	Meta
}

RecommendationListCommand implements cli.Command.

func (*RecommendationListCommand) AutocompleteFlags added in v1.0.0

func (r *RecommendationListCommand) AutocompleteFlags() complete.Flags

func (*RecommendationListCommand) Help added in v1.0.0

Help satisfies the cli.Command Help function.

func (*RecommendationListCommand) Name added in v1.0.0

Name returns the name of this command.

func (*RecommendationListCommand) Run added in v1.0.0

func (r *RecommendationListCommand) Run(args []string) int

Run satisfies the cli.Command Run function.

func (*RecommendationListCommand) Synopsis added in v1.0.0

func (r *RecommendationListCommand) Synopsis() string

Synopsis satisfies the cli.Command Synopsis function.

type ScalingCommand added in v1.0.0

type ScalingCommand struct {
	Meta
}

ScalingCommand implements cli.Command.

func (*ScalingCommand) Help added in v1.0.0

func (s *ScalingCommand) Help() string

Help satisfies the cli.Command Help function.

func (*ScalingCommand) Name added in v1.0.0

func (s *ScalingCommand) Name() string

Name returns the name of this command.

func (*ScalingCommand) Run added in v1.0.0

func (s *ScalingCommand) Run(_ []string) int

Run satisfies the cli.Command Run function.

func (*ScalingCommand) Synopsis added in v1.0.0

func (s *ScalingCommand) Synopsis() string

Synopsis satisfies the cli.Command Synopsis function.

type ScalingPolicyCommand added in v1.0.0

type ScalingPolicyCommand struct {
	Meta
}

ScalingPolicyCommand implements cli.Command.

func (*ScalingPolicyCommand) Help added in v1.0.0

func (s *ScalingPolicyCommand) Help() string

Help satisfies the cli.Command Help function.

func (*ScalingPolicyCommand) Name added in v1.0.0

func (s *ScalingPolicyCommand) Name() string

Name returns the name of this command.

func (*ScalingPolicyCommand) Run added in v1.0.0

func (s *ScalingPolicyCommand) Run(_ []string) int

Run satisfies the cli.Command Run function.

func (*ScalingPolicyCommand) Synopsis added in v1.0.0

func (s *ScalingPolicyCommand) Synopsis() string

Synopsis satisfies the cli.Command Synopsis function.

type ScalingPolicyInfoCommand added in v1.0.0

type ScalingPolicyInfoCommand struct {
	Meta
}

ScalingPolicyListCommand implements cli.Command.

func (*ScalingPolicyInfoCommand) AutocompleteArgs added in v1.0.4

func (s *ScalingPolicyInfoCommand) AutocompleteArgs() complete.Predictor

func (*ScalingPolicyInfoCommand) AutocompleteFlags added in v1.0.0

func (s *ScalingPolicyInfoCommand) AutocompleteFlags() complete.Flags

func (*ScalingPolicyInfoCommand) Help added in v1.0.0

func (s *ScalingPolicyInfoCommand) Help() string

Help satisfies the cli.Command Help function.

func (*ScalingPolicyInfoCommand) Name added in v1.0.0

func (s *ScalingPolicyInfoCommand) Name() string

Name returns the name of this command.

func (*ScalingPolicyInfoCommand) Run added in v1.0.0

func (s *ScalingPolicyInfoCommand) Run(args []string) int

Run satisfies the cli.Command Run function.

func (*ScalingPolicyInfoCommand) Synopsis added in v1.0.0

func (s *ScalingPolicyInfoCommand) Synopsis() string

Synopsis satisfies the cli.Command Synopsis function.

type ScalingPolicyListCommand added in v1.0.0

type ScalingPolicyListCommand struct {
	Meta
}

ScalingPolicyListCommand implements cli.Command.

func (*ScalingPolicyListCommand) AutocompleteFlags added in v1.0.0

func (s *ScalingPolicyListCommand) AutocompleteFlags() complete.Flags

func (*ScalingPolicyListCommand) Help added in v1.0.0

func (s *ScalingPolicyListCommand) Help() string

Help satisfies the cli.Command Help function.

func (*ScalingPolicyListCommand) Name added in v1.0.0

func (s *ScalingPolicyListCommand) Name() string

Name returns the name of this command.

func (*ScalingPolicyListCommand) Run added in v1.0.0

func (s *ScalingPolicyListCommand) Run(args []string) int

Run satisfies the cli.Command Run function.

func (*ScalingPolicyListCommand) Synopsis added in v1.0.0

func (s *ScalingPolicyListCommand) Synopsis() string

Synopsis satisfies the cli.Command Synopsis function.

type SentinelApplyCommand added in v0.7.0

type SentinelApplyCommand struct {
	Meta
}

func (*SentinelApplyCommand) AutocompleteArgs added in v0.7.0

func (c *SentinelApplyCommand) AutocompleteArgs() complete.Predictor

func (*SentinelApplyCommand) AutocompleteFlags added in v0.7.0

func (c *SentinelApplyCommand) AutocompleteFlags() complete.Flags

func (*SentinelApplyCommand) Help added in v0.7.0

func (c *SentinelApplyCommand) Help() string

func (*SentinelApplyCommand) Name added in v0.8.2

func (c *SentinelApplyCommand) Name() string

func (*SentinelApplyCommand) Run added in v0.7.0

func (c *SentinelApplyCommand) Run(args []string) int

func (*SentinelApplyCommand) Synopsis added in v0.7.0

func (c *SentinelApplyCommand) Synopsis() string

type SentinelCommand added in v0.7.0

type SentinelCommand struct {
	Meta
}

func (*SentinelCommand) Help added in v0.7.0

func (f *SentinelCommand) Help() string

func (*SentinelCommand) Name added in v0.8.2

func (f *SentinelCommand) Name() string

func (*SentinelCommand) Run added in v0.7.0

func (f *SentinelCommand) Run(args []string) int

func (*SentinelCommand) Synopsis added in v0.7.0

func (f *SentinelCommand) Synopsis() string

type SentinelDeleteCommand added in v0.7.0

type SentinelDeleteCommand struct {
	Meta
}

func (*SentinelDeleteCommand) AutocompleteArgs added in v0.7.0

func (c *SentinelDeleteCommand) AutocompleteArgs() complete.Predictor

func (*SentinelDeleteCommand) AutocompleteFlags added in v0.7.0

func (c *SentinelDeleteCommand) AutocompleteFlags() complete.Flags

func (*SentinelDeleteCommand) Help added in v0.7.0

func (c *SentinelDeleteCommand) Help() string

func (*SentinelDeleteCommand) Name added in v0.8.2

func (c *SentinelDeleteCommand) Name() string

func (*SentinelDeleteCommand) Run added in v0.7.0

func (c *SentinelDeleteCommand) Run(args []string) int

func (*SentinelDeleteCommand) Synopsis added in v0.7.0

func (c *SentinelDeleteCommand) Synopsis() string

type SentinelListCommand added in v0.7.0

type SentinelListCommand struct {
	Meta
}

func (*SentinelListCommand) AutocompleteArgs added in v0.7.0

func (c *SentinelListCommand) AutocompleteArgs() complete.Predictor

func (*SentinelListCommand) AutocompleteFlags added in v0.7.0

func (c *SentinelListCommand) AutocompleteFlags() complete.Flags

func (*SentinelListCommand) Help added in v0.7.0

func (c *SentinelListCommand) Help() string

func (*SentinelListCommand) Name added in v0.8.2

func (c *SentinelListCommand) Name() string

func (*SentinelListCommand) Run added in v0.7.0

func (c *SentinelListCommand) Run(args []string) int

func (*SentinelListCommand) Synopsis added in v0.7.0

func (c *SentinelListCommand) Synopsis() string

type SentinelReadCommand added in v0.7.0

type SentinelReadCommand struct {
	Meta
}

func (*SentinelReadCommand) AutocompleteArgs added in v0.7.0

func (c *SentinelReadCommand) AutocompleteArgs() complete.Predictor

func (*SentinelReadCommand) AutocompleteFlags added in v0.7.0

func (c *SentinelReadCommand) AutocompleteFlags() complete.Flags

func (*SentinelReadCommand) Help added in v0.7.0

func (c *SentinelReadCommand) Help() string

func (*SentinelReadCommand) Name added in v0.8.2

func (c *SentinelReadCommand) Name() string

func (*SentinelReadCommand) Run added in v0.7.0

func (c *SentinelReadCommand) Run(args []string) int

func (*SentinelReadCommand) Synopsis added in v0.7.0

func (c *SentinelReadCommand) Synopsis() string

type ServerCommand added in v0.8.0

type ServerCommand struct {
	Meta
}

func (*ServerCommand) Help added in v0.8.0

func (f *ServerCommand) Help() string

func (*ServerCommand) Name added in v0.8.2

func (f *ServerCommand) Name() string

func (*ServerCommand) Run added in v0.8.0

func (f *ServerCommand) Run(args []string) int

func (*ServerCommand) Synopsis added in v0.8.0

func (f *ServerCommand) Synopsis() string

type ServerForceLeaveCommand

type ServerForceLeaveCommand struct {
	Meta
}

func (*ServerForceLeaveCommand) AutocompleteArgs added in v0.8.4

func (c *ServerForceLeaveCommand) AutocompleteArgs() complete.Predictor

func (*ServerForceLeaveCommand) AutocompleteFlags added in v0.8.4

func (c *ServerForceLeaveCommand) AutocompleteFlags() complete.Flags

func (*ServerForceLeaveCommand) Help

func (c *ServerForceLeaveCommand) Help() string

func (*ServerForceLeaveCommand) Name added in v0.8.2

func (c *ServerForceLeaveCommand) Name() string

func (*ServerForceLeaveCommand) Run

func (c *ServerForceLeaveCommand) Run(args []string) int

func (*ServerForceLeaveCommand) Synopsis

func (c *ServerForceLeaveCommand) Synopsis() string

type ServerJoinCommand

type ServerJoinCommand struct {
	Meta
}

func (*ServerJoinCommand) AutocompleteArgs added in v0.8.4

func (c *ServerJoinCommand) AutocompleteArgs() complete.Predictor

func (*ServerJoinCommand) AutocompleteFlags added in v0.8.4

func (c *ServerJoinCommand) AutocompleteFlags() complete.Flags

func (*ServerJoinCommand) Help

func (c *ServerJoinCommand) Help() string

func (*ServerJoinCommand) Name added in v0.8.2

func (c *ServerJoinCommand) Name() string

func (*ServerJoinCommand) Run

func (c *ServerJoinCommand) Run(args []string) int

func (*ServerJoinCommand) Synopsis

func (c *ServerJoinCommand) Synopsis() string

type ServerMembersCommand

type ServerMembersCommand struct {
	Meta
}

func (*ServerMembersCommand) AutocompleteArgs added in v0.6.1

func (c *ServerMembersCommand) AutocompleteArgs() complete.Predictor

func (*ServerMembersCommand) AutocompleteFlags added in v0.6.1

func (c *ServerMembersCommand) AutocompleteFlags() complete.Flags

func (*ServerMembersCommand) Help

func (c *ServerMembersCommand) Help() string

func (*ServerMembersCommand) Name added in v0.8.2

func (c *ServerMembersCommand) Name() string

func (*ServerMembersCommand) Run

func (c *ServerMembersCommand) Run(args []string) int

func (*ServerMembersCommand) Synopsis

func (c *ServerMembersCommand) Synopsis() string

type ServiceCommand added in v1.3.0

type ServiceCommand struct {
	Meta
}

func (*ServiceCommand) Help added in v1.3.0

func (c *ServiceCommand) Help() string

func (*ServiceCommand) Name added in v1.3.0

func (c *ServiceCommand) Name() string

func (*ServiceCommand) Run added in v1.3.0

func (c *ServiceCommand) Run(_ []string) int

func (*ServiceCommand) Synopsis added in v1.3.0

func (c *ServiceCommand) Synopsis() string

type ServiceDeleteCommand added in v1.3.0

type ServiceDeleteCommand struct {
	Meta
}

func (*ServiceDeleteCommand) AutocompleteFlags added in v1.3.0

func (s *ServiceDeleteCommand) AutocompleteFlags() complete.Flags

func (*ServiceDeleteCommand) Help added in v1.3.0

func (s *ServiceDeleteCommand) Help() string

func (*ServiceDeleteCommand) Name added in v1.3.0

func (s *ServiceDeleteCommand) Name() string

func (*ServiceDeleteCommand) Run added in v1.3.0

func (s *ServiceDeleteCommand) Run(args []string) int

func (*ServiceDeleteCommand) Synopsis added in v1.3.0

func (s *ServiceDeleteCommand) Synopsis() string

type ServiceInfoCommand added in v1.3.0

type ServiceInfoCommand struct {
	Meta
}

ServiceInfoCommand implements cli.Command.

func (*ServiceInfoCommand) AutocompleteFlags added in v1.3.0

func (s *ServiceInfoCommand) AutocompleteFlags() complete.Flags

func (*ServiceInfoCommand) Help added in v1.3.0

func (s *ServiceInfoCommand) Help() string

Help satisfies the cli.Command Help function.

func (*ServiceInfoCommand) Name added in v1.3.0

func (s *ServiceInfoCommand) Name() string

Name returns the name of this command.

func (*ServiceInfoCommand) Run added in v1.3.0

func (s *ServiceInfoCommand) Run(args []string) int

Run satisfies the cli.Command Run function.

func (*ServiceInfoCommand) Synopsis added in v1.3.0

func (s *ServiceInfoCommand) Synopsis() string

Synopsis satisfies the cli.Command Synopsis function.

type ServiceListCommand added in v1.3.0

type ServiceListCommand struct {
	Meta
}

ServiceListCommand implements cli.Command.

func (*ServiceListCommand) AutocompleteFlags added in v1.3.0

func (s *ServiceListCommand) AutocompleteFlags() complete.Flags

func (*ServiceListCommand) Help added in v1.3.0

func (s *ServiceListCommand) Help() string

Help satisfies the cli.Command Help function.

func (*ServiceListCommand) Name added in v1.3.0

func (s *ServiceListCommand) Name() string

Name returns the name of this command.

func (*ServiceListCommand) Run added in v1.3.0

func (s *ServiceListCommand) Run(args []string) int

Run satisfies the cli.Command Run function.

func (*ServiceListCommand) Synopsis added in v1.3.0

func (s *ServiceListCommand) Synopsis() string

Synopsis satisfies the cli.Command Synopsis function.

type StatusCommand

type StatusCommand struct {
	Meta
	// contains filtered or unexported fields
}

func (*StatusCommand) AutocompleteArgs added in v0.6.1

func (c *StatusCommand) AutocompleteArgs() complete.Predictor

func (*StatusCommand) AutocompleteFlags added in v0.6.1

func (c *StatusCommand) AutocompleteFlags() complete.Flags

func (*StatusCommand) Help

func (c *StatusCommand) Help() string

func (*StatusCommand) Run

func (c *StatusCommand) Run(args []string) int

func (*StatusCommand) Synopsis

func (c *StatusCommand) Synopsis() string

type SystemCommand added in v0.10.4

type SystemCommand struct {
	Meta
}

func (*SystemCommand) Help added in v0.10.4

func (sc *SystemCommand) Help() string

func (*SystemCommand) Name added in v0.10.4

func (sc *SystemCommand) Name() string

func (*SystemCommand) Run added in v0.10.4

func (sc *SystemCommand) Run(args []string) int

func (*SystemCommand) Synopsis added in v0.10.4

func (sc *SystemCommand) Synopsis() string

type SystemGCCommand added in v0.10.4

type SystemGCCommand struct {
	Meta
}

func (*SystemGCCommand) AutocompleteArgs added in v0.10.4

func (c *SystemGCCommand) AutocompleteArgs() complete.Predictor

func (*SystemGCCommand) AutocompleteFlags added in v0.10.4

func (c *SystemGCCommand) AutocompleteFlags() complete.Flags

func (*SystemGCCommand) Help added in v0.10.4

func (c *SystemGCCommand) Help() string

func (*SystemGCCommand) Name added in v0.10.4

func (c *SystemGCCommand) Name() string

func (*SystemGCCommand) Run added in v0.10.4

func (c *SystemGCCommand) Run(args []string) int

func (*SystemGCCommand) Synopsis added in v0.10.4

func (c *SystemGCCommand) Synopsis() string

type SystemReconcileCommand added in v0.10.4

type SystemReconcileCommand struct {
	Meta
}

func (*SystemReconcileCommand) Help added in v0.10.4

func (s *SystemReconcileCommand) Help() string

func (*SystemReconcileCommand) Name added in v0.10.4

func (s *SystemReconcileCommand) Name() string

func (*SystemReconcileCommand) Run added in v0.10.4

func (s *SystemReconcileCommand) Run(args []string) int

func (*SystemReconcileCommand) Synopsis added in v0.10.4

func (s *SystemReconcileCommand) Synopsis() string

type SystemReconcileSummariesCommand added in v0.10.4

type SystemReconcileSummariesCommand struct {
	Meta
}

func (*SystemReconcileSummariesCommand) AutocompleteArgs added in v0.10.4

func (c *SystemReconcileSummariesCommand) AutocompleteArgs() complete.Predictor

func (*SystemReconcileSummariesCommand) AutocompleteFlags added in v0.10.4

func (c *SystemReconcileSummariesCommand) AutocompleteFlags() complete.Flags

func (*SystemReconcileSummariesCommand) Help added in v0.10.4

func (*SystemReconcileSummariesCommand) Name added in v0.10.4

func (*SystemReconcileSummariesCommand) Run added in v0.10.4

func (*SystemReconcileSummariesCommand) Synopsis added in v0.10.4

type TemplateFormat added in v0.4.1

type TemplateFormat struct {
	// contains filtered or unexported fields
}

func (*TemplateFormat) TransformData added in v0.4.1

func (p *TemplateFormat) TransformData(data interface{}) (string, error)

TransformData returns template format string data.

type UiCommand added in v0.7.0

type UiCommand struct {
	Meta
}

func (*UiCommand) AutocompleteArgs added in v0.7.0

func (c *UiCommand) AutocompleteArgs() complete.Predictor

func (*UiCommand) AutocompleteFlags added in v0.7.0

func (c *UiCommand) AutocompleteFlags() complete.Flags

func (*UiCommand) Help added in v0.7.0

func (c *UiCommand) Help() string

func (*UiCommand) Name added in v0.8.2

func (c *UiCommand) Name() string

func (*UiCommand) Run added in v0.7.0

func (c *UiCommand) Run(args []string) int

func (*UiCommand) Synopsis added in v0.7.0

func (c *UiCommand) Synopsis() string

type VarCommand added in v1.4.0

type VarCommand struct {
	Meta
}

func (*VarCommand) Help added in v1.4.0

func (f *VarCommand) Help() string

func (*VarCommand) Name added in v1.4.0

func (f *VarCommand) Name() string

func (*VarCommand) Run added in v1.4.0

func (f *VarCommand) Run(args []string) int

func (*VarCommand) Synopsis added in v1.4.0

func (f *VarCommand) Synopsis() string

type VarGetCommand added in v1.4.0

type VarGetCommand struct {
	Meta
	// contains filtered or unexported fields
}

func (*VarGetCommand) AutocompleteArgs added in v1.4.0

func (c *VarGetCommand) AutocompleteArgs() complete.Predictor

func (*VarGetCommand) AutocompleteFlags added in v1.4.0

func (c *VarGetCommand) AutocompleteFlags() complete.Flags

func (*VarGetCommand) GetConcurrentUI added in v1.4.0

func (c *VarGetCommand) GetConcurrentUI() cli.ConcurrentUi

func (*VarGetCommand) Help added in v1.4.0

func (c *VarGetCommand) Help() string

func (*VarGetCommand) Name added in v1.4.0

func (c *VarGetCommand) Name() string

func (*VarGetCommand) Run added in v1.4.0

func (c *VarGetCommand) Run(args []string) int

func (*VarGetCommand) Synopsis added in v1.4.0

func (c *VarGetCommand) Synopsis() string

type VarInitCommand added in v1.4.0

type VarInitCommand struct {
	Meta
}

VarInitCommand generates a new variable specification

func (*VarInitCommand) AutocompleteArgs added in v1.4.0

func (c *VarInitCommand) AutocompleteArgs() complete.Predictor

func (*VarInitCommand) AutocompleteFlags added in v1.4.0

func (c *VarInitCommand) AutocompleteFlags() complete.Flags

func (*VarInitCommand) Help added in v1.4.0

func (c *VarInitCommand) Help() string

func (*VarInitCommand) Name added in v1.4.0

func (c *VarInitCommand) Name() string

func (*VarInitCommand) Run added in v1.4.0

func (c *VarInitCommand) Run(args []string) int

func (*VarInitCommand) Synopsis added in v1.4.0

func (c *VarInitCommand) Synopsis() string

type VarListCommand added in v1.4.0

type VarListCommand struct {
	Meta
	// contains filtered or unexported fields
}

func (*VarListCommand) AutocompleteArgs added in v1.4.0

func (c *VarListCommand) AutocompleteArgs() complete.Predictor

func (*VarListCommand) AutocompleteFlags added in v1.4.0

func (c *VarListCommand) AutocompleteFlags() complete.Flags

func (*VarListCommand) Help added in v1.4.0

func (c *VarListCommand) Help() string

func (*VarListCommand) Name added in v1.4.0

func (c *VarListCommand) Name() string

func (*VarListCommand) Run added in v1.4.0

func (c *VarListCommand) Run(args []string) int

func (*VarListCommand) Synopsis added in v1.4.0

func (c *VarListCommand) Synopsis() string

type VarPurgeCommand added in v1.4.0

type VarPurgeCommand struct {
	Meta
}

func (*VarPurgeCommand) AutocompleteArgs added in v1.4.0

func (c *VarPurgeCommand) AutocompleteArgs() complete.Predictor

func (*VarPurgeCommand) AutocompleteFlags added in v1.4.0

func (c *VarPurgeCommand) AutocompleteFlags() complete.Flags

func (*VarPurgeCommand) GetConcurrentUI added in v1.4.0

func (c *VarPurgeCommand) GetConcurrentUI() cli.ConcurrentUi

func (*VarPurgeCommand) Help added in v1.4.0

func (c *VarPurgeCommand) Help() string

func (*VarPurgeCommand) Name added in v1.4.0

func (c *VarPurgeCommand) Name() string

func (*VarPurgeCommand) Run added in v1.4.0

func (c *VarPurgeCommand) Run(args []string) int

func (*VarPurgeCommand) Synopsis added in v1.4.0

func (c *VarPurgeCommand) Synopsis() string

type VarPutCommand added in v1.4.0

type VarPutCommand struct {
	Meta
	// contains filtered or unexported fields
}

func (*VarPutCommand) AutocompleteArgs added in v1.4.0

func (c *VarPutCommand) AutocompleteArgs() complete.Predictor

func (*VarPutCommand) AutocompleteFlags added in v1.4.0

func (c *VarPutCommand) AutocompleteFlags() complete.Flags

func (*VarPutCommand) GetConcurrentUI added in v1.4.0

func (c *VarPutCommand) GetConcurrentUI() cli.ConcurrentUi

func (*VarPutCommand) Help added in v1.4.0

func (c *VarPutCommand) Help() string

func (*VarPutCommand) Name added in v1.4.0

func (c *VarPutCommand) Name() string

func (*VarPutCommand) Run added in v1.4.0

func (c *VarPutCommand) Run(args []string) int

func (*VarPutCommand) Synopsis added in v1.4.0

func (c *VarPutCommand) Synopsis() string

type VarUI added in v1.4.0

type VarUI interface {
	GetConcurrentUI() cli.ConcurrentUi
	Colorize() *colorstring.Colorize
}

type VersionCommand

type VersionCommand struct {
	Version *version.VersionInfo
	Ui      cli.Ui
}

VersionCommand is a Command implementation prints the version.

func (*VersionCommand) Help

func (c *VersionCommand) Help() string

func (*VersionCommand) Name added in v0.8.2

func (c *VersionCommand) Name() string

func (*VersionCommand) Run

func (c *VersionCommand) Run(_ []string) int

func (*VersionCommand) Synopsis

func (c *VersionCommand) Synopsis() string

type VolumeCommand added in v0.11.0

type VolumeCommand struct {
	Meta
}

func (*VolumeCommand) Help added in v0.11.0

func (c *VolumeCommand) Help() string

func (*VolumeCommand) Name added in v0.11.0

func (c *VolumeCommand) Name() string

func (*VolumeCommand) Run added in v0.11.0

func (c *VolumeCommand) Run(args []string) int

func (*VolumeCommand) Synopsis added in v0.11.0

func (c *VolumeCommand) Synopsis() string

type VolumeCreateCommand added in v1.1.0

type VolumeCreateCommand struct {
	Meta
}

func (*VolumeCreateCommand) AutocompleteArgs added in v1.1.0

func (c *VolumeCreateCommand) AutocompleteArgs() complete.Predictor

func (*VolumeCreateCommand) AutocompleteFlags added in v1.1.0

func (c *VolumeCreateCommand) AutocompleteFlags() complete.Flags

func (*VolumeCreateCommand) Help added in v1.1.0

func (c *VolumeCreateCommand) Help() string

func (*VolumeCreateCommand) Name added in v1.1.0

func (c *VolumeCreateCommand) Name() string

func (*VolumeCreateCommand) Run added in v1.1.0

func (c *VolumeCreateCommand) Run(args []string) int

func (*VolumeCreateCommand) Synopsis added in v1.1.0

func (c *VolumeCreateCommand) Synopsis() string

type VolumeDeleteCommand added in v1.1.0

type VolumeDeleteCommand struct {
	Meta
	Secrets string
}

func (*VolumeDeleteCommand) AutocompleteArgs added in v1.1.0

func (c *VolumeDeleteCommand) AutocompleteArgs() complete.Predictor

func (*VolumeDeleteCommand) AutocompleteFlags added in v1.1.0

func (c *VolumeDeleteCommand) AutocompleteFlags() complete.Flags

func (*VolumeDeleteCommand) Help added in v1.1.0

func (c *VolumeDeleteCommand) Help() string

func (*VolumeDeleteCommand) Name added in v1.1.0

func (c *VolumeDeleteCommand) Name() string

func (*VolumeDeleteCommand) Run added in v1.1.0

func (c *VolumeDeleteCommand) Run(args []string) int

func (*VolumeDeleteCommand) Synopsis added in v1.1.0

func (c *VolumeDeleteCommand) Synopsis() string

type VolumeDeregisterCommand added in v0.11.0

type VolumeDeregisterCommand struct {
	Meta
}

func (*VolumeDeregisterCommand) AutocompleteArgs added in v0.11.0

func (c *VolumeDeregisterCommand) AutocompleteArgs() complete.Predictor

func (*VolumeDeregisterCommand) AutocompleteFlags added in v0.11.0

func (c *VolumeDeregisterCommand) AutocompleteFlags() complete.Flags

func (*VolumeDeregisterCommand) Help added in v0.11.0

func (c *VolumeDeregisterCommand) Help() string

func (*VolumeDeregisterCommand) Name added in v0.11.0

func (c *VolumeDeregisterCommand) Name() string

func (*VolumeDeregisterCommand) Run added in v0.11.0

func (c *VolumeDeregisterCommand) Run(args []string) int

func (*VolumeDeregisterCommand) Synopsis added in v0.11.0

func (c *VolumeDeregisterCommand) Synopsis() string

type VolumeDetachCommand added in v0.12.2

type VolumeDetachCommand struct {
	Meta
}

func (*VolumeDetachCommand) AutocompleteArgs added in v0.12.2

func (c *VolumeDetachCommand) AutocompleteArgs() complete.Predictor

func (*VolumeDetachCommand) AutocompleteFlags added in v0.12.2

func (c *VolumeDetachCommand) AutocompleteFlags() complete.Flags

func (*VolumeDetachCommand) Help added in v0.12.2

func (c *VolumeDetachCommand) Help() string

func (*VolumeDetachCommand) Name added in v0.12.2

func (c *VolumeDetachCommand) Name() string

func (*VolumeDetachCommand) Run added in v0.12.2

func (c *VolumeDetachCommand) Run(args []string) int

func (*VolumeDetachCommand) Synopsis added in v0.12.2

func (c *VolumeDetachCommand) Synopsis() string

type VolumeInitCommand added in v1.1.0

type VolumeInitCommand struct {
	Meta
}

VolumeInitCommand generates a new volume spec that you can customize to your liking, like vagrant init

func (*VolumeInitCommand) AutocompleteArgs added in v1.1.0

func (c *VolumeInitCommand) AutocompleteArgs() complete.Predictor

func (*VolumeInitCommand) AutocompleteFlags added in v1.1.0

func (c *VolumeInitCommand) AutocompleteFlags() complete.Flags

func (*VolumeInitCommand) Help added in v1.1.0

func (c *VolumeInitCommand) Help() string

func (*VolumeInitCommand) Name added in v1.1.0

func (c *VolumeInitCommand) Name() string

func (*VolumeInitCommand) Run added in v1.1.0

func (c *VolumeInitCommand) Run(args []string) int

func (*VolumeInitCommand) Synopsis added in v1.1.0

func (c *VolumeInitCommand) Synopsis() string

type VolumeRegisterCommand added in v0.11.0

type VolumeRegisterCommand struct {
	Meta
}

func (*VolumeRegisterCommand) AutocompleteArgs added in v0.11.0

func (c *VolumeRegisterCommand) AutocompleteArgs() complete.Predictor

func (*VolumeRegisterCommand) AutocompleteFlags added in v0.11.0

func (c *VolumeRegisterCommand) AutocompleteFlags() complete.Flags

func (*VolumeRegisterCommand) Help added in v0.11.0

func (c *VolumeRegisterCommand) Help() string

func (*VolumeRegisterCommand) Name added in v0.11.0

func (c *VolumeRegisterCommand) Name() string

func (*VolumeRegisterCommand) Run added in v0.11.0

func (c *VolumeRegisterCommand) Run(args []string) int

func (*VolumeRegisterCommand) Synopsis added in v0.11.0

func (c *VolumeRegisterCommand) Synopsis() string

type VolumeSnapshotCommand added in v1.3.0

type VolumeSnapshotCommand struct {
	Meta
}

func (*VolumeSnapshotCommand) Help added in v1.3.0

func (f *VolumeSnapshotCommand) Help() string

func (*VolumeSnapshotCommand) Name added in v1.3.0

func (f *VolumeSnapshotCommand) Name() string

func (*VolumeSnapshotCommand) Run added in v1.3.0

func (f *VolumeSnapshotCommand) Run(args []string) int

func (*VolumeSnapshotCommand) Synopsis added in v1.3.0

func (f *VolumeSnapshotCommand) Synopsis() string

type VolumeSnapshotCreateCommand added in v1.1.0

type VolumeSnapshotCreateCommand struct {
	Meta
}

func (*VolumeSnapshotCreateCommand) AutocompleteArgs added in v1.1.0

func (c *VolumeSnapshotCreateCommand) AutocompleteArgs() complete.Predictor

func (*VolumeSnapshotCreateCommand) AutocompleteFlags added in v1.1.0

func (c *VolumeSnapshotCreateCommand) AutocompleteFlags() complete.Flags

func (*VolumeSnapshotCreateCommand) Help added in v1.1.0

func (*VolumeSnapshotCreateCommand) Name added in v1.1.0

func (*VolumeSnapshotCreateCommand) Run added in v1.1.0

func (c *VolumeSnapshotCreateCommand) Run(args []string) int

func (*VolumeSnapshotCreateCommand) Synopsis added in v1.1.0

func (c *VolumeSnapshotCreateCommand) Synopsis() string

type VolumeSnapshotDeleteCommand added in v1.1.0

type VolumeSnapshotDeleteCommand struct {
	Meta
}

func (*VolumeSnapshotDeleteCommand) AutocompleteArgs added in v1.1.0

func (c *VolumeSnapshotDeleteCommand) AutocompleteArgs() complete.Predictor

func (*VolumeSnapshotDeleteCommand) AutocompleteFlags added in v1.1.0

func (c *VolumeSnapshotDeleteCommand) AutocompleteFlags() complete.Flags

func (*VolumeSnapshotDeleteCommand) Help added in v1.1.0

func (*VolumeSnapshotDeleteCommand) Name added in v1.1.0

func (*VolumeSnapshotDeleteCommand) Run added in v1.1.0

func (c *VolumeSnapshotDeleteCommand) Run(args []string) int

func (*VolumeSnapshotDeleteCommand) Synopsis added in v1.1.0

func (c *VolumeSnapshotDeleteCommand) Synopsis() string

type VolumeSnapshotListCommand added in v1.1.0

type VolumeSnapshotListCommand struct {
	Meta
}

func (*VolumeSnapshotListCommand) AutocompleteArgs added in v1.1.0

func (c *VolumeSnapshotListCommand) AutocompleteArgs() complete.Predictor

func (*VolumeSnapshotListCommand) AutocompleteFlags added in v1.1.0

func (c *VolumeSnapshotListCommand) AutocompleteFlags() complete.Flags

func (*VolumeSnapshotListCommand) Help added in v1.1.0

func (*VolumeSnapshotListCommand) Name added in v1.1.0

func (*VolumeSnapshotListCommand) Run added in v1.1.0

func (c *VolumeSnapshotListCommand) Run(args []string) int

func (*VolumeSnapshotListCommand) Synopsis added in v1.1.0

func (c *VolumeSnapshotListCommand) Synopsis() string

type VolumeStatusCommand added in v0.11.0

type VolumeStatusCommand struct {
	Meta
	// contains filtered or unexported fields
}

func (*VolumeStatusCommand) AutocompleteArgs added in v0.11.0

func (c *VolumeStatusCommand) AutocompleteArgs() complete.Predictor

func (*VolumeStatusCommand) AutocompleteFlags added in v0.11.0

func (c *VolumeStatusCommand) AutocompleteFlags() complete.Flags

func (*VolumeStatusCommand) Help added in v0.11.0

func (c *VolumeStatusCommand) Help() string

func (*VolumeStatusCommand) Name added in v0.11.0

func (c *VolumeStatusCommand) Name() string

func (*VolumeStatusCommand) Run added in v0.11.0

func (c *VolumeStatusCommand) Run(args []string) int

func (*VolumeStatusCommand) Synopsis added in v0.11.0

func (c *VolumeStatusCommand) Synopsis() string

Source Files

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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