command

package
v0.0.0-...-ae3a0a2 Latest Latest
Warning

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

Go to latest
Published: Dec 14, 2022 License: MPL-2.0 Imports: 83 Imported by: 0

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

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

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

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

func AssetNames() []string

AssetNames returns the names of the assets.

func Commands

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

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

func Format

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

func MustAsset

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

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

NamespacePredictor returns a namespace predictor that can optionally filter specific namespaces

func NodeClassPredictor

func NodeClassPredictor(factory ApiClientFactory) complete.Predictor

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

func NodePredictor

func NodePredictor(factory ApiClientFactory) complete.Predictor

NodePredictor returns a client node predictor

func OutputLicenseReply

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

func QuotaPredictor

func QuotaPredictor(factory ApiClientFactory) complete.Predictor

QuotaPredictor returns a quota predictor

func RestoreAsset

func RestoreAsset(dir, name string) error

RestoreAsset restores an asset under the given directory

func RestoreAssets

func RestoreAssets(dir, name string) error

RestoreAssets restores an asset under the given directory recursively

func ServerPredictor

func ServerPredictor(factory ApiClientFactory) complete.Predictor

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

func TarCZF

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

func VariablePathPredictor(factory ApiClientFactory) complete.Predictor

VariablePathPredictor returns a var predictor

Types

type ACLAuthMethodCommand

type ACLAuthMethodCommand struct {
	Meta
}

ACLAuthMethodCommand implements cli.Command.

func (*ACLAuthMethodCommand) Help

func (a *ACLAuthMethodCommand) Help() string

Help satisfies the cli.Command Help function.

func (*ACLAuthMethodCommand) Name

func (a *ACLAuthMethodCommand) Name() string

Name returns the name of this command.

func (*ACLAuthMethodCommand) Run

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

Run satisfies the cli.Command Run function.

func (*ACLAuthMethodCommand) Synopsis

func (a *ACLAuthMethodCommand) Synopsis() string

Synopsis satisfies the cli.Command Synopsis function.

type ACLAuthMethodCreateCommand

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

ACLAuthMethodCreateCommand implements cli.Command.

func (*ACLAuthMethodCreateCommand) AutocompleteArgs

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

func (*ACLAuthMethodCreateCommand) AutocompleteFlags

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

func (*ACLAuthMethodCreateCommand) Help

Help satisfies the cli.Command Help function.

func (*ACLAuthMethodCreateCommand) Name

Name returns the name of this command.

func (*ACLAuthMethodCreateCommand) Run

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

Run satisfies the cli.Command Run function.

func (*ACLAuthMethodCreateCommand) Synopsis

func (a *ACLAuthMethodCreateCommand) Synopsis() string

Synopsis satisfies the cli.Command Synopsis function.

type ACLAuthMethodDeleteCommand

type ACLAuthMethodDeleteCommand struct {
	Meta
}

ACLAuthMethodDeleteCommand implements cli.Command.

func (*ACLAuthMethodDeleteCommand) AutocompleteArgs

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

func (*ACLAuthMethodDeleteCommand) AutocompleteFlags

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

func (*ACLAuthMethodDeleteCommand) Help

Help satisfies the cli.Command Help function.

func (*ACLAuthMethodDeleteCommand) Name

Name returns the name of this command.

func (*ACLAuthMethodDeleteCommand) Run

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

Run satisfies the cli.Command Run function.

func (*ACLAuthMethodDeleteCommand) Synopsis

func (a *ACLAuthMethodDeleteCommand) Synopsis() string

Synopsis satisfies the cli.Command Synopsis function.

type ACLAuthMethodInfoCommand

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

ACLAuthMethodInfoCommand implements cli.Command.

func (*ACLAuthMethodInfoCommand) AutocompleteArgs

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

func (*ACLAuthMethodInfoCommand) AutocompleteFlags

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

func (*ACLAuthMethodInfoCommand) Help

func (a *ACLAuthMethodInfoCommand) Help() string

Help satisfies the cli.Command Help function.

func (*ACLAuthMethodInfoCommand) Name

func (a *ACLAuthMethodInfoCommand) Name() string

Name returns the name of this command.

func (*ACLAuthMethodInfoCommand) Run

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

Run satisfies the cli.Command Run function.

func (*ACLAuthMethodInfoCommand) Synopsis

func (a *ACLAuthMethodInfoCommand) Synopsis() string

Synopsis satisfies the cli.Command Synopsis function.

type ACLAuthMethodListCommand

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

ACLAuthMethodListCommand implements cli.Command.

func (*ACLAuthMethodListCommand) AutocompleteArgs

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

func (*ACLAuthMethodListCommand) AutocompleteFlags

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

func (*ACLAuthMethodListCommand) Help

func (a *ACLAuthMethodListCommand) Help() string

Help satisfies the cli.Command Help function.

func (*ACLAuthMethodListCommand) Name

func (a *ACLAuthMethodListCommand) Name() string

Name returns the name of this command.

func (*ACLAuthMethodListCommand) Run

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

Run satisfies the cli.Command Run function.

func (*ACLAuthMethodListCommand) Synopsis

func (a *ACLAuthMethodListCommand) Synopsis() string

Synopsis satisfies the cli.Command Synopsis function.

type ACLAuthMethodUpdateCommand

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

ACLAuthMethodUpdateCommand implements cli.Command.

func (*ACLAuthMethodUpdateCommand) AutocompleteArgs

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

func (*ACLAuthMethodUpdateCommand) AutocompleteFlags

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

func (*ACLAuthMethodUpdateCommand) Help

Help satisfies the cli.Command Help function.

func (*ACLAuthMethodUpdateCommand) Name

Name returns the name of this command.

func (*ACLAuthMethodUpdateCommand) Run

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

Run satisfies the cli.Command Run function.

func (*ACLAuthMethodUpdateCommand) Synopsis

func (a *ACLAuthMethodUpdateCommand) Synopsis() string

Synopsis satisfies the cli.Command Synopsis function.

type ACLBootstrapCommand

type ACLBootstrapCommand struct {
	Meta
}

func (*ACLBootstrapCommand) AutocompleteArgs

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

func (*ACLBootstrapCommand) AutocompleteFlags

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

func (*ACLBootstrapCommand) Help

func (c *ACLBootstrapCommand) Help() string

func (*ACLBootstrapCommand) Name

func (c *ACLBootstrapCommand) Name() string

func (*ACLBootstrapCommand) Run

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

func (*ACLBootstrapCommand) Synopsis

func (c *ACLBootstrapCommand) Synopsis() string

type ACLCommand

type ACLCommand struct {
	Meta
}

func (*ACLCommand) Help

func (f *ACLCommand) Help() string

func (*ACLCommand) Name

func (f *ACLCommand) Name() string

func (*ACLCommand) Run

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

func (*ACLCommand) Synopsis

func (f *ACLCommand) Synopsis() string

type ACLPolicyApplyCommand

type ACLPolicyApplyCommand struct {
	Meta
}

func (*ACLPolicyApplyCommand) AutocompleteArgs

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

func (*ACLPolicyApplyCommand) AutocompleteFlags

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

func (*ACLPolicyApplyCommand) Help

func (c *ACLPolicyApplyCommand) Help() string

func (*ACLPolicyApplyCommand) Name

func (c *ACLPolicyApplyCommand) Name() string

func (*ACLPolicyApplyCommand) Run

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

func (*ACLPolicyApplyCommand) Synopsis

func (c *ACLPolicyApplyCommand) Synopsis() string

type ACLPolicyCommand

type ACLPolicyCommand struct {
	Meta
}

func (*ACLPolicyCommand) Help

func (f *ACLPolicyCommand) Help() string

func (*ACLPolicyCommand) Name

func (f *ACLPolicyCommand) Name() string

func (*ACLPolicyCommand) Run

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

func (*ACLPolicyCommand) Synopsis

func (f *ACLPolicyCommand) Synopsis() string

type ACLPolicyDeleteCommand

type ACLPolicyDeleteCommand struct {
	Meta
}

func (*ACLPolicyDeleteCommand) AutocompleteArgs

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

func (*ACLPolicyDeleteCommand) AutocompleteFlags

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

func (*ACLPolicyDeleteCommand) Help

func (c *ACLPolicyDeleteCommand) Help() string

func (*ACLPolicyDeleteCommand) Name

func (c *ACLPolicyDeleteCommand) Name() string

func (*ACLPolicyDeleteCommand) Run

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

func (*ACLPolicyDeleteCommand) Synopsis

func (c *ACLPolicyDeleteCommand) Synopsis() string

type ACLPolicyInfoCommand

type ACLPolicyInfoCommand struct {
	Meta
}

func (*ACLPolicyInfoCommand) AutocompleteArgs

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

func (*ACLPolicyInfoCommand) AutocompleteFlags

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

func (*ACLPolicyInfoCommand) Help

func (c *ACLPolicyInfoCommand) Help() string

func (*ACLPolicyInfoCommand) Name

func (c *ACLPolicyInfoCommand) Name() string

func (*ACLPolicyInfoCommand) Run

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

func (*ACLPolicyInfoCommand) Synopsis

func (c *ACLPolicyInfoCommand) Synopsis() string

type ACLPolicyListCommand

type ACLPolicyListCommand struct {
	Meta
}

func (*ACLPolicyListCommand) AutocompleteArgs

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

func (*ACLPolicyListCommand) AutocompleteFlags

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

func (*ACLPolicyListCommand) Help

func (c *ACLPolicyListCommand) Help() string

func (*ACLPolicyListCommand) Name

func (c *ACLPolicyListCommand) Name() string

func (*ACLPolicyListCommand) Run

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

func (*ACLPolicyListCommand) Synopsis

func (c *ACLPolicyListCommand) Synopsis() string

type ACLRoleCommand

type ACLRoleCommand struct {
	Meta
}

ACLRoleCommand implements cli.Command.

func (*ACLRoleCommand) Help

func (a *ACLRoleCommand) Help() string

Help satisfies the cli.Command Help function.

func (*ACLRoleCommand) Name

func (a *ACLRoleCommand) Name() string

Name returns the name of this command.

func (*ACLRoleCommand) Run

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

Run satisfies the cli.Command Run function.

func (*ACLRoleCommand) Synopsis

func (a *ACLRoleCommand) Synopsis() string

Synopsis satisfies the cli.Command Synopsis function.

type ACLRoleCreateCommand

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

ACLRoleCreateCommand implements cli.Command.

func (*ACLRoleCreateCommand) AutocompleteArgs

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

func (*ACLRoleCreateCommand) AutocompleteFlags

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

func (*ACLRoleCreateCommand) Help

func (a *ACLRoleCreateCommand) Help() string

Help satisfies the cli.Command Help function.

func (*ACLRoleCreateCommand) Name

func (a *ACLRoleCreateCommand) Name() string

Name returns the name of this command.

func (*ACLRoleCreateCommand) Run

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

Run satisfies the cli.Command Run function.

func (*ACLRoleCreateCommand) Synopsis

func (a *ACLRoleCreateCommand) Synopsis() string

Synopsis satisfies the cli.Command Synopsis function.

type ACLRoleDeleteCommand

type ACLRoleDeleteCommand struct {
	Meta
}

ACLRoleDeleteCommand implements cli.Command.

func (*ACLRoleDeleteCommand) AutocompleteArgs

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

func (*ACLRoleDeleteCommand) AutocompleteFlags

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

func (*ACLRoleDeleteCommand) Help

func (a *ACLRoleDeleteCommand) Help() string

Help satisfies the cli.Command Help function.

func (*ACLRoleDeleteCommand) Name

func (a *ACLRoleDeleteCommand) Name() string

Name returns the name of this command.

func (*ACLRoleDeleteCommand) Run

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

Run satisfies the cli.Command Run function.

func (*ACLRoleDeleteCommand) Synopsis

func (a *ACLRoleDeleteCommand) Synopsis() string

Synopsis satisfies the cli.Command Synopsis function.

type ACLRoleInfoCommand

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

ACLRoleInfoCommand implements cli.Command.

func (*ACLRoleInfoCommand) AutocompleteArgs

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

func (*ACLRoleInfoCommand) AutocompleteFlags

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

func (*ACLRoleInfoCommand) Help

func (a *ACLRoleInfoCommand) Help() string

Help satisfies the cli.Command Help function.

func (*ACLRoleInfoCommand) Name

func (a *ACLRoleInfoCommand) Name() string

Name returns the name of this command.

func (*ACLRoleInfoCommand) Run

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

Run satisfies the cli.Command Run function.

func (*ACLRoleInfoCommand) Synopsis

func (a *ACLRoleInfoCommand) Synopsis() string

Synopsis satisfies the cli.Command Synopsis function.

type ACLRoleListCommand

type ACLRoleListCommand struct {
	Meta
}

ACLRoleListCommand implements cli.Command.

func (*ACLRoleListCommand) AutocompleteArgs

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

func (*ACLRoleListCommand) AutocompleteFlags

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

func (*ACLRoleListCommand) Help

func (a *ACLRoleListCommand) Help() string

Help satisfies the cli.Command Help function.

func (*ACLRoleListCommand) Name

func (a *ACLRoleListCommand) Name() string

Name returns the name of this command.

func (*ACLRoleListCommand) Run

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

Run satisfies the cli.Command Run function.

func (*ACLRoleListCommand) Synopsis

func (a *ACLRoleListCommand) Synopsis() string

Synopsis satisfies the cli.Command Synopsis function.

type ACLRoleUpdateCommand

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

ACLRoleUpdateCommand implements cli.Command.

func (*ACLRoleUpdateCommand) AutocompleteArgs

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

func (*ACLRoleUpdateCommand) AutocompleteFlags

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

func (*ACLRoleUpdateCommand) Help

func (a *ACLRoleUpdateCommand) Help() string

Help satisfies the cli.Command Help function.

func (*ACLRoleUpdateCommand) Name

func (*ACLRoleUpdateCommand) Name() string

Name returns the name of this command.

func (*ACLRoleUpdateCommand) Run

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

Run satisfies the cli.Command Run function.

func (*ACLRoleUpdateCommand) Synopsis

func (a *ACLRoleUpdateCommand) Synopsis() string

Synopsis satisfies the cli.Command Synopsis function.

type ACLTokenCommand

type ACLTokenCommand struct {
	Meta
}

func (*ACLTokenCommand) Help

func (f *ACLTokenCommand) Help() string

func (*ACLTokenCommand) Name

func (f *ACLTokenCommand) Name() string

func (*ACLTokenCommand) Run

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

func (*ACLTokenCommand) Synopsis

func (f *ACLTokenCommand) Synopsis() string

type ACLTokenCreateCommand

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

func (*ACLTokenCreateCommand) AutocompleteArgs

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

func (*ACLTokenCreateCommand) AutocompleteFlags

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

func (*ACLTokenCreateCommand) Help

func (c *ACLTokenCreateCommand) Help() string

func (*ACLTokenCreateCommand) Name

func (c *ACLTokenCreateCommand) Name() string

func (*ACLTokenCreateCommand) Run

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

func (*ACLTokenCreateCommand) Synopsis

func (c *ACLTokenCreateCommand) Synopsis() string

type ACLTokenDeleteCommand

type ACLTokenDeleteCommand struct {
	Meta
}

func (*ACLTokenDeleteCommand) AutocompleteArgs

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

func (*ACLTokenDeleteCommand) AutocompleteFlags

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

func (*ACLTokenDeleteCommand) Help

func (c *ACLTokenDeleteCommand) Help() string

func (*ACLTokenDeleteCommand) Name

func (c *ACLTokenDeleteCommand) Name() string

func (*ACLTokenDeleteCommand) Run

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

func (*ACLTokenDeleteCommand) Synopsis

func (c *ACLTokenDeleteCommand) Synopsis() string

type ACLTokenInfoCommand

type ACLTokenInfoCommand struct {
	Meta
}

func (*ACLTokenInfoCommand) AutocompleteArgs

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

func (*ACLTokenInfoCommand) AutocompleteFlags

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

func (*ACLTokenInfoCommand) Help

func (c *ACLTokenInfoCommand) Help() string

func (*ACLTokenInfoCommand) Name

func (c *ACLTokenInfoCommand) Name() string

func (*ACLTokenInfoCommand) Run

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

func (*ACLTokenInfoCommand) Synopsis

func (c *ACLTokenInfoCommand) Synopsis() string

type ACLTokenListCommand

type ACLTokenListCommand struct {
	Meta
}

func (*ACLTokenListCommand) AutocompleteArgs

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

func (*ACLTokenListCommand) AutocompleteFlags

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

func (*ACLTokenListCommand) Help

func (c *ACLTokenListCommand) Help() string

func (*ACLTokenListCommand) Name

func (c *ACLTokenListCommand) Name() string

func (*ACLTokenListCommand) Run

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

func (*ACLTokenListCommand) Synopsis

func (c *ACLTokenListCommand) Synopsis() string

type ACLTokenSelfCommand

type ACLTokenSelfCommand struct {
	Meta
}

func (*ACLTokenSelfCommand) AutocompleteArgs

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

func (*ACLTokenSelfCommand) AutocompleteFlags

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

func (*ACLTokenSelfCommand) Help

func (c *ACLTokenSelfCommand) Help() string

func (*ACLTokenSelfCommand) Name

func (c *ACLTokenSelfCommand) Name() string

func (*ACLTokenSelfCommand) Run

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

func (*ACLTokenSelfCommand) Synopsis

func (c *ACLTokenSelfCommand) Synopsis() string

type ACLTokenUpdateCommand

type ACLTokenUpdateCommand struct {
	Meta
}

func (*ACLTokenUpdateCommand) AutocompleteArgs

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

func (*ACLTokenUpdateCommand) AutocompleteFlags

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

func (*ACLTokenUpdateCommand) Help

func (c *ACLTokenUpdateCommand) Help() string

func (*ACLTokenUpdateCommand) Name

func (*ACLTokenUpdateCommand) Name() string

func (*ACLTokenUpdateCommand) Run

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

func (*ACLTokenUpdateCommand) Synopsis

func (c *ACLTokenUpdateCommand) Synopsis() string

type AgentCheckCommand

type AgentCheckCommand struct {
	Meta
}

func (*AgentCheckCommand) AutocompleteArgs

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

func (*AgentCheckCommand) AutocompleteFlags

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

func (*AgentCheckCommand) Help

func (c *AgentCheckCommand) Help() string

func (*AgentCheckCommand) Name

func (c *AgentCheckCommand) Name() string

func (*AgentCheckCommand) Run

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

func (*AgentCheckCommand) Synopsis

func (c *AgentCheckCommand) Synopsis() string

type AgentInfoCommand

type AgentInfoCommand struct {
	Meta
}

func (*AgentInfoCommand) AutocompleteArgs

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

func (*AgentInfoCommand) AutocompleteFlags

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

func (*AgentInfoCommand) Help

func (c *AgentInfoCommand) Help() string

func (*AgentInfoCommand) Name

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

type AllocChecksCommand struct {
	Meta
}

func (*AllocChecksCommand) AutocompleteArgs

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

func (*AllocChecksCommand) AutocompleteFlags

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

func (*AllocChecksCommand) Help

func (c *AllocChecksCommand) Help() string

func (*AllocChecksCommand) Name

func (c *AllocChecksCommand) Name() string

func (*AllocChecksCommand) Run

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

func (*AllocChecksCommand) Synopsis

func (c *AllocChecksCommand) Synopsis() string

type AllocCommand

type AllocCommand struct {
	Meta
}

func (*AllocCommand) Help

func (f *AllocCommand) Help() string

func (*AllocCommand) Name

func (f *AllocCommand) Name() string

func (*AllocCommand) Run

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

func (*AllocCommand) Synopsis

func (f *AllocCommand) Synopsis() string

type AllocExecCommand

type AllocExecCommand struct {
	Meta

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

func (*AllocExecCommand) AutocompleteArgs

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

func (*AllocExecCommand) AutocompleteFlags

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

func (*AllocExecCommand) Help

func (l *AllocExecCommand) Help() string

func (*AllocExecCommand) Name

func (l *AllocExecCommand) Name() string

func (*AllocExecCommand) Run

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

func (*AllocExecCommand) Synopsis

func (l *AllocExecCommand) Synopsis() string

type AllocFSCommand

type AllocFSCommand struct {
	Meta
}

func (*AllocFSCommand) AutocompleteArgs

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

func (*AllocFSCommand) AutocompleteFlags

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

func (*AllocFSCommand) Help

func (f *AllocFSCommand) Help() string

func (*AllocFSCommand) Name

func (f *AllocFSCommand) Name() string

func (*AllocFSCommand) Run

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

func (*AllocFSCommand) Synopsis

func (f *AllocFSCommand) Synopsis() string

type AllocLogsCommand

type AllocLogsCommand struct {
	Meta
}

func (*AllocLogsCommand) AutocompleteArgs

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

func (*AllocLogsCommand) AutocompleteFlags

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

func (*AllocLogsCommand) Help

func (l *AllocLogsCommand) Help() string

func (*AllocLogsCommand) Name

func (l *AllocLogsCommand) Name() string

func (*AllocLogsCommand) Run

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

func (*AllocLogsCommand) Synopsis

func (l *AllocLogsCommand) Synopsis() string

type AllocRestartCommand

type AllocRestartCommand struct {
	Meta
}

func (*AllocRestartCommand) AutocompleteArgs

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

func (*AllocRestartCommand) Help

func (c *AllocRestartCommand) Help() string

func (*AllocRestartCommand) Name

func (c *AllocRestartCommand) Name() string

func (*AllocRestartCommand) Run

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

func (*AllocRestartCommand) Synopsis

func (c *AllocRestartCommand) Synopsis() string

type AllocSignalCommand

type AllocSignalCommand struct {
	Meta
}

func (*AllocSignalCommand) AutocompleteArgs

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

func (*AllocSignalCommand) AutocompleteFlags

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

func (*AllocSignalCommand) Help

func (c *AllocSignalCommand) Help() string

func (*AllocSignalCommand) Name

func (c *AllocSignalCommand) Name() string

func (*AllocSignalCommand) Run

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

func (*AllocSignalCommand) Synopsis

func (c *AllocSignalCommand) Synopsis() string

type AllocStatusCommand

type AllocStatusCommand struct {
	Meta
}

func (*AllocStatusCommand) AutocompleteArgs

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

func (*AllocStatusCommand) AutocompleteFlags

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

func (*AllocStatusCommand) Help

func (c *AllocStatusCommand) Help() string

func (*AllocStatusCommand) Name

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

type AllocStopCommand struct {
	Meta
}

func (*AllocStopCommand) Help

func (c *AllocStopCommand) Help() string

func (*AllocStopCommand) Name

func (c *AllocStopCommand) Name() string

func (*AllocStopCommand) Run

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

func (*AllocStopCommand) Synopsis

func (c *AllocStopCommand) Synopsis() string

type ApiClientFactory

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

ApiClientFactory is the signature of a API client factory

type ConfigCommand

type ConfigCommand struct {
	Meta
}

func (*ConfigCommand) Help

func (f *ConfigCommand) Help() string

func (*ConfigCommand) Name

func (f *ConfigCommand) Name() string

func (*ConfigCommand) Run

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

func (*ConfigCommand) Synopsis

func (f *ConfigCommand) Synopsis() string

type ConfigValidateCommand

type ConfigValidateCommand struct {
	Meta
}

func (*ConfigValidateCommand) Help

func (c *ConfigValidateCommand) Help() string

func (*ConfigValidateCommand) Name

func (c *ConfigValidateCommand) Name() string

func (*ConfigValidateCommand) Run

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

func (*ConfigValidateCommand) Synopsis

func (c *ConfigValidateCommand) Synopsis() string

type DataFormatter

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

DataFormatter is a transformer of the data.

func DataFormat

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

DataFormat returns the data formatter specified format.

type DeploymentCommand

type DeploymentCommand struct {
	Meta
}

func (*DeploymentCommand) Help

func (f *DeploymentCommand) Help() string

func (*DeploymentCommand) Name

func (f *DeploymentCommand) Name() string

func (*DeploymentCommand) Run

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

func (*DeploymentCommand) Synopsis

func (f *DeploymentCommand) Synopsis() string

type DeploymentFailCommand

type DeploymentFailCommand struct {
	Meta
}

func (*DeploymentFailCommand) AutocompleteArgs

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

func (*DeploymentFailCommand) AutocompleteFlags

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

func (*DeploymentFailCommand) Help

func (c *DeploymentFailCommand) Help() string

func (*DeploymentFailCommand) Name

func (c *DeploymentFailCommand) Name() string

func (*DeploymentFailCommand) Run

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

func (*DeploymentFailCommand) Synopsis

func (c *DeploymentFailCommand) Synopsis() string

type DeploymentListCommand

type DeploymentListCommand struct {
	Meta
}

func (*DeploymentListCommand) AutocompleteArgs

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

func (*DeploymentListCommand) AutocompleteFlags

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

func (*DeploymentListCommand) Help

func (c *DeploymentListCommand) Help() string

func (*DeploymentListCommand) Name

func (c *DeploymentListCommand) Name() string

func (*DeploymentListCommand) Run

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

func (*DeploymentListCommand) Synopsis

func (c *DeploymentListCommand) Synopsis() string

type DeploymentPauseCommand

type DeploymentPauseCommand struct {
	Meta
}

func (*DeploymentPauseCommand) AutocompleteArgs

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

func (*DeploymentPauseCommand) AutocompleteFlags

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

func (*DeploymentPauseCommand) Help

func (c *DeploymentPauseCommand) Help() string

func (*DeploymentPauseCommand) Name

func (c *DeploymentPauseCommand) Name() string

func (*DeploymentPauseCommand) Run

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

func (*DeploymentPauseCommand) Synopsis

func (c *DeploymentPauseCommand) Synopsis() string

type DeploymentPromoteCommand

type DeploymentPromoteCommand struct {
	Meta
}

func (*DeploymentPromoteCommand) AutocompleteArgs

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

func (*DeploymentPromoteCommand) AutocompleteFlags

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

func (*DeploymentPromoteCommand) Help

func (c *DeploymentPromoteCommand) Help() string

func (*DeploymentPromoteCommand) Name

func (c *DeploymentPromoteCommand) Name() string

func (*DeploymentPromoteCommand) Run

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

func (*DeploymentPromoteCommand) Synopsis

func (c *DeploymentPromoteCommand) Synopsis() string

type DeploymentResumeCommand

type DeploymentResumeCommand struct {
	Meta
}

func (*DeploymentResumeCommand) AutocompleteArgs

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

func (*DeploymentResumeCommand) AutocompleteFlags

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

func (*DeploymentResumeCommand) Help

func (c *DeploymentResumeCommand) Help() string

func (*DeploymentResumeCommand) Name

func (c *DeploymentResumeCommand) Name() string

func (*DeploymentResumeCommand) Run

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

func (*DeploymentResumeCommand) Synopsis

func (c *DeploymentResumeCommand) Synopsis() string

type DeploymentStatusCommand

type DeploymentStatusCommand struct {
	Meta
}

func (*DeploymentStatusCommand) AutocompleteArgs

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

func (*DeploymentStatusCommand) AutocompleteFlags

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

func (*DeploymentStatusCommand) Help

func (c *DeploymentStatusCommand) Help() string

func (*DeploymentStatusCommand) Name

func (c *DeploymentStatusCommand) Name() string

func (*DeploymentStatusCommand) Run

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

func (*DeploymentStatusCommand) Synopsis

func (c *DeploymentStatusCommand) Synopsis() string

type DeploymentUnblockCommand

type DeploymentUnblockCommand struct {
	Meta
}

func (*DeploymentUnblockCommand) AutocompleteArgs

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

func (*DeploymentUnblockCommand) AutocompleteFlags

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

func (*DeploymentUnblockCommand) Help

func (c *DeploymentUnblockCommand) Help() string

func (*DeploymentUnblockCommand) Name

func (c *DeploymentUnblockCommand) Name() string

func (*DeploymentUnblockCommand) Run

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

func (*DeploymentUnblockCommand) Synopsis

func (c *DeploymentUnblockCommand) Synopsis() string

type DeprecatedCommand

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

func (c *DeprecatedCommand) Help() string

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

func (*DeprecatedCommand) Run

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

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

type EvalCommand

type EvalCommand struct {
	Meta
}

func (*EvalCommand) Help

func (f *EvalCommand) Help() string

func (*EvalCommand) Name

func (f *EvalCommand) Name() string

func (*EvalCommand) Run

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

func (*EvalCommand) Synopsis

func (f *EvalCommand) Synopsis() string

type EvalDeleteCommand

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

func (*EvalDeleteCommand) AutocompleteArgs

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

func (*EvalDeleteCommand) AutocompleteFlags

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

func (*EvalDeleteCommand) Help

func (e *EvalDeleteCommand) Help() string

func (*EvalDeleteCommand) Name

func (e *EvalDeleteCommand) Name() string

func (*EvalDeleteCommand) Run

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

func (*EvalDeleteCommand) Synopsis

func (e *EvalDeleteCommand) Synopsis() string

type EvalListCommand

type EvalListCommand struct {
	Meta
}

func (*EvalListCommand) AutocompleteArgs

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

func (*EvalListCommand) AutocompleteFlags

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

func (*EvalListCommand) Help

func (c *EvalListCommand) Help() string

func (*EvalListCommand) Name

func (c *EvalListCommand) Name() string

func (*EvalListCommand) Run

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

func (*EvalListCommand) Synopsis

func (c *EvalListCommand) Synopsis() string

type EvalStatusCommand

type EvalStatusCommand struct {
	Meta
}

func (*EvalStatusCommand) AutocompleteArgs

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

func (*EvalStatusCommand) AutocompleteFlags

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

func (*EvalStatusCommand) Help

func (c *EvalStatusCommand) Help() string

func (*EvalStatusCommand) Name

func (c *EvalStatusCommand) Name() string

func (*EvalStatusCommand) Run

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

func (*EvalStatusCommand) Synopsis

func (c *EvalStatusCommand) Synopsis() string

type EventCommand

type EventCommand struct {
	Meta
}

func (*EventCommand) Help

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

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

func (*EventCommand) Synopsis

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

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

func (*FormatCommand) AutocompleteArgs

func (*FormatCommand) AutocompleteArgs() complete.Predictor

func (*FormatCommand) AutocompleteFlags

func (*FormatCommand) AutocompleteFlags() complete.Flags

func (*FormatCommand) Help

func (*FormatCommand) Help() string

func (*FormatCommand) Name

func (f *FormatCommand) Name() string

func (*FormatCommand) Run

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

func (*FormatCommand) Synopsis

func (*FormatCommand) Synopsis() string

type JSONFormat

type JSONFormat struct {
}

func (*JSONFormat) TransformData

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

TransformData returns JSON format string data.

type JobAllocsCommand

type JobAllocsCommand struct {
	Meta
}

func (*JobAllocsCommand) AutocompleteArgs

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

func (*JobAllocsCommand) AutocompleteFlags

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

func (*JobAllocsCommand) Help

func (c *JobAllocsCommand) Help() string

func (*JobAllocsCommand) Name

func (c *JobAllocsCommand) Name() string

func (*JobAllocsCommand) Run

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

func (*JobAllocsCommand) Synopsis

func (c *JobAllocsCommand) Synopsis() string

type JobCommand

type JobCommand struct {
	Meta
}

func (*JobCommand) Help

func (f *JobCommand) Help() string

func (*JobCommand) Name

func (f *JobCommand) Name() string

func (*JobCommand) Run

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

func (*JobCommand) Synopsis

func (f *JobCommand) Synopsis() string

type JobDeploymentsCommand

type JobDeploymentsCommand struct {
	Meta
}

func (*JobDeploymentsCommand) AutocompleteArgs

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

func (*JobDeploymentsCommand) AutocompleteFlags

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

func (*JobDeploymentsCommand) Help

func (c *JobDeploymentsCommand) Help() string

func (*JobDeploymentsCommand) Name

func (c *JobDeploymentsCommand) Name() string

func (*JobDeploymentsCommand) Run

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

func (*JobDeploymentsCommand) Synopsis

func (c *JobDeploymentsCommand) Synopsis() string

type JobDispatchCommand

type JobDispatchCommand struct {
	Meta
}

func (*JobDispatchCommand) AutocompleteArgs

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

func (*JobDispatchCommand) AutocompleteFlags

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

func (*JobDispatchCommand) Help

func (c *JobDispatchCommand) Help() string

func (*JobDispatchCommand) Name

func (c *JobDispatchCommand) Name() string

func (*JobDispatchCommand) Run

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

func (*JobDispatchCommand) Synopsis

func (c *JobDispatchCommand) Synopsis() string

type JobEvalCommand

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

func (*JobEvalCommand) AutocompleteArgs

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

func (*JobEvalCommand) AutocompleteFlags

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

func (*JobEvalCommand) Help

func (c *JobEvalCommand) Help() string

func (*JobEvalCommand) Name

func (c *JobEvalCommand) Name() string

func (*JobEvalCommand) Run

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

func (*JobEvalCommand) Synopsis

func (c *JobEvalCommand) Synopsis() string

type JobGetter

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

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

ApiJob returns the Job struct from jobfile.

func (*JobGetter) ApiJobWithArgs

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

func (*JobGetter) Get

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

func (*JobGetter) Validate

func (j *JobGetter) Validate() error

type JobHistoryCommand

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

func (*JobHistoryCommand) AutocompleteArgs

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

func (*JobHistoryCommand) AutocompleteFlags

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

func (*JobHistoryCommand) Help

func (c *JobHistoryCommand) Help() string

func (*JobHistoryCommand) Name

func (c *JobHistoryCommand) Name() string

func (*JobHistoryCommand) Run

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

func (*JobHistoryCommand) Synopsis

func (c *JobHistoryCommand) Synopsis() string

type JobInitCommand

type JobInitCommand struct {
	Meta
}

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

func (*JobInitCommand) AutocompleteArgs

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

func (*JobInitCommand) AutocompleteFlags

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

func (*JobInitCommand) Help

func (c *JobInitCommand) Help() string

func (*JobInitCommand) Name

func (c *JobInitCommand) Name() string

func (*JobInitCommand) Run

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

func (*JobInitCommand) Synopsis

func (c *JobInitCommand) Synopsis() string

type JobInspectCommand

type JobInspectCommand struct {
	Meta
}

func (*JobInspectCommand) AutocompleteArgs

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

func (*JobInspectCommand) AutocompleteFlags

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

func (*JobInspectCommand) Help

func (c *JobInspectCommand) Help() string

func (*JobInspectCommand) Name

func (c *JobInspectCommand) Name() string

func (*JobInspectCommand) Run

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

func (*JobInspectCommand) Synopsis

func (c *JobInspectCommand) Synopsis() string

type JobPeriodicCommand

type JobPeriodicCommand struct {
	Meta
}

func (*JobPeriodicCommand) Help

func (f *JobPeriodicCommand) Help() string

func (*JobPeriodicCommand) Name

func (f *JobPeriodicCommand) Name() string

func (*JobPeriodicCommand) Run

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

func (*JobPeriodicCommand) Synopsis

func (f *JobPeriodicCommand) Synopsis() string

type JobPeriodicForceCommand

type JobPeriodicForceCommand struct {
	Meta
}

func (*JobPeriodicForceCommand) AutocompleteArgs

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

func (*JobPeriodicForceCommand) AutocompleteFlags

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

func (*JobPeriodicForceCommand) Help

func (c *JobPeriodicForceCommand) Help() string

func (*JobPeriodicForceCommand) Name

func (c *JobPeriodicForceCommand) Name() string

func (*JobPeriodicForceCommand) Run

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

func (*JobPeriodicForceCommand) Synopsis

func (c *JobPeriodicForceCommand) Synopsis() string

type JobPlanCommand

type JobPlanCommand struct {
	Meta
	JobGetter
}

func (*JobPlanCommand) AutocompleteArgs

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

func (*JobPlanCommand) AutocompleteFlags

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

func (*JobPlanCommand) Help

func (c *JobPlanCommand) Help() string

func (*JobPlanCommand) Name

func (c *JobPlanCommand) Name() string

func (*JobPlanCommand) Run

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

func (*JobPlanCommand) Synopsis

func (c *JobPlanCommand) Synopsis() string

type JobPromoteCommand

type JobPromoteCommand struct {
	Meta
}

func (*JobPromoteCommand) AutocompleteArgs

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

func (*JobPromoteCommand) AutocompleteFlags

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

func (*JobPromoteCommand) Help

func (c *JobPromoteCommand) Help() string

func (*JobPromoteCommand) Name

func (c *JobPromoteCommand) Name() string

func (*JobPromoteCommand) Run

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

func (*JobPromoteCommand) Synopsis

func (c *JobPromoteCommand) Synopsis() string

type JobRevertCommand

type JobRevertCommand struct {
	Meta
}

func (*JobRevertCommand) AutocompleteArgs

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

func (*JobRevertCommand) AutocompleteFlags

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

func (*JobRevertCommand) Help

func (c *JobRevertCommand) Help() string

func (*JobRevertCommand) Name

func (c *JobRevertCommand) Name() string

func (*JobRevertCommand) Run

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

func (*JobRevertCommand) Synopsis

func (c *JobRevertCommand) Synopsis() string

type JobRunCommand

type JobRunCommand struct {
	Meta
	JobGetter
}

func (*JobRunCommand) AutocompleteArgs

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

func (*JobRunCommand) AutocompleteFlags

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

func (*JobRunCommand) Help

func (c *JobRunCommand) Help() string

func (*JobRunCommand) Name

func (c *JobRunCommand) Name() string

func (*JobRunCommand) Run

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

func (*JobRunCommand) Synopsis

func (c *JobRunCommand) Synopsis() string

type JobScaleCommand

type JobScaleCommand struct {
	Meta
}

JobScaleCommand implements cli.Command.

func (*JobScaleCommand) AutocompleteFlags

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

func (*JobScaleCommand) Help

func (j *JobScaleCommand) Help() string

Help satisfies the cli.Command Help function.

func (*JobScaleCommand) Name

func (j *JobScaleCommand) Name() string

Name returns the name of this command.

func (*JobScaleCommand) Run

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

Run satisfies the cli.Command Run function.

func (*JobScaleCommand) Synopsis

func (j *JobScaleCommand) Synopsis() string

Synopsis satisfies the cli.Command Synopsis function.

type JobScalingEventsCommand

type JobScalingEventsCommand struct {
	Meta
}

JobScalingEventsCommand implements cli.Command.

func (*JobScalingEventsCommand) AutocompleteFlags

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

func (*JobScalingEventsCommand) Help

func (j *JobScalingEventsCommand) Help() string

Help satisfies the cli.Command Help function.

func (*JobScalingEventsCommand) Name

func (j *JobScalingEventsCommand) Name() string

Name returns the name of this command.

func (*JobScalingEventsCommand) Run

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

Run satisfies the cli.Command Run function.

func (*JobScalingEventsCommand) Synopsis

func (j *JobScalingEventsCommand) Synopsis() string

Synopsis satisfies the cli.Command Synopsis function.

type JobStatusCommand

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

func (*JobStatusCommand) AutocompleteArgs

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

func (*JobStatusCommand) AutocompleteFlags

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

func (*JobStatusCommand) Help

func (c *JobStatusCommand) Help() string

func (*JobStatusCommand) Name

func (c *JobStatusCommand) Name() string

func (*JobStatusCommand) Run

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

func (*JobStatusCommand) Synopsis

func (c *JobStatusCommand) Synopsis() string

type JobStopCommand

type JobStopCommand struct {
	Meta
}

func (*JobStopCommand) AutocompleteArgs

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

func (*JobStopCommand) AutocompleteFlags

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

func (*JobStopCommand) Help

func (c *JobStopCommand) Help() string

func (*JobStopCommand) Name

func (c *JobStopCommand) Name() string

func (*JobStopCommand) Run

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

func (*JobStopCommand) Synopsis

func (c *JobStopCommand) Synopsis() string

type JobValidateCommand

type JobValidateCommand struct {
	Meta
	JobGetter
}

func (*JobValidateCommand) AutocompleteArgs

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

func (*JobValidateCommand) AutocompleteFlags

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

func (*JobValidateCommand) Help

func (c *JobValidateCommand) Help() string

func (*JobValidateCommand) Name

func (c *JobValidateCommand) Name() string

func (*JobValidateCommand) Run

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

func (*JobValidateCommand) Synopsis

func (c *JobValidateCommand) Synopsis() string

type KVBuilder

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

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

Add adds to the mapping with the given args.

func (*KVBuilder) Map

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

Map returns the built map.

type LicenseCommand

type LicenseCommand struct {
	Meta
}

func (*LicenseCommand) Help

func (l *LicenseCommand) Help() string

func (*LicenseCommand) Name

func (l *LicenseCommand) Name() string

func (*LicenseCommand) Run

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

func (*LicenseCommand) Synopsis

func (l *LicenseCommand) Synopsis() string

type LicenseGetCommand

type LicenseGetCommand struct {
	Meta
}

func (*LicenseGetCommand) AutocompleteArgs

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

func (*LicenseGetCommand) AutocompleteFlags

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

func (*LicenseGetCommand) Help

func (c *LicenseGetCommand) Help() string

func (*LicenseGetCommand) Name

func (c *LicenseGetCommand) Name() string

func (*LicenseGetCommand) Run

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

func (*LicenseGetCommand) Synopsis

func (c *LicenseGetCommand) Synopsis() string

type LineLimitReader

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

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

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

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

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

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

type MonitorCommand

type MonitorCommand struct {
	Meta
}

func (*MonitorCommand) Help

func (c *MonitorCommand) Help() string

func (*MonitorCommand) Name

func (c *MonitorCommand) Name() string

func (*MonitorCommand) Run

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

func (*MonitorCommand) Synopsis

func (c *MonitorCommand) Synopsis() string

type NamedCommand

type NamedCommand interface {
	Name() string
}

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

type NamespaceApplyCommand

type NamespaceApplyCommand struct {
	Meta
}

func (*NamespaceApplyCommand) AutocompleteArgs

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

func (*NamespaceApplyCommand) AutocompleteFlags

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

func (*NamespaceApplyCommand) Help

func (c *NamespaceApplyCommand) Help() string

func (*NamespaceApplyCommand) Name

func (c *NamespaceApplyCommand) Name() string

func (*NamespaceApplyCommand) Run

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

func (*NamespaceApplyCommand) Synopsis

func (c *NamespaceApplyCommand) Synopsis() string

type NamespaceCommand

type NamespaceCommand struct {
	Meta
}

func (*NamespaceCommand) Help

func (f *NamespaceCommand) Help() string

func (*NamespaceCommand) Name

func (f *NamespaceCommand) Name() string

func (*NamespaceCommand) Run

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

func (*NamespaceCommand) Synopsis

func (f *NamespaceCommand) Synopsis() string

type NamespaceDeleteCommand

type NamespaceDeleteCommand struct {
	Meta
}

func (*NamespaceDeleteCommand) AutocompleteArgs

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

func (*NamespaceDeleteCommand) AutocompleteFlags

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

func (*NamespaceDeleteCommand) Help

func (c *NamespaceDeleteCommand) Help() string

func (*NamespaceDeleteCommand) Name

func (c *NamespaceDeleteCommand) Name() string

func (*NamespaceDeleteCommand) Run

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

func (*NamespaceDeleteCommand) Synopsis

func (c *NamespaceDeleteCommand) Synopsis() string

type NamespaceInspectCommand

type NamespaceInspectCommand struct {
	Meta
}

func (*NamespaceInspectCommand) AutocompleteArgs

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

func (*NamespaceInspectCommand) AutocompleteFlags

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

func (*NamespaceInspectCommand) Help

func (c *NamespaceInspectCommand) Help() string

func (*NamespaceInspectCommand) Name

func (c *NamespaceInspectCommand) Name() string

func (*NamespaceInspectCommand) Run

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

func (*NamespaceInspectCommand) Synopsis

func (c *NamespaceInspectCommand) Synopsis() string

type NamespaceListCommand

type NamespaceListCommand struct {
	Meta
}

func (*NamespaceListCommand) AutocompleteArgs

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

func (*NamespaceListCommand) AutocompleteFlags

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

func (*NamespaceListCommand) Help

func (c *NamespaceListCommand) Help() string

func (*NamespaceListCommand) Name

func (c *NamespaceListCommand) Name() string

func (*NamespaceListCommand) Run

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

func (*NamespaceListCommand) Synopsis

func (c *NamespaceListCommand) Synopsis() string

type NamespaceStatusCommand

type NamespaceStatusCommand struct {
	Meta
}

func (*NamespaceStatusCommand) AutocompleteArgs

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

func (*NamespaceStatusCommand) AutocompleteFlags

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

func (*NamespaceStatusCommand) Help

func (c *NamespaceStatusCommand) Help() string

func (*NamespaceStatusCommand) Name

func (c *NamespaceStatusCommand) Name() string

func (*NamespaceStatusCommand) Run

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

func (*NamespaceStatusCommand) Synopsis

func (c *NamespaceStatusCommand) Synopsis() string

type NodeCommand

type NodeCommand struct {
	Meta
}

func (*NodeCommand) Help

func (f *NodeCommand) Help() string

func (*NodeCommand) Name

func (f *NodeCommand) Name() string

func (*NodeCommand) Run

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

func (*NodeCommand) Synopsis

func (f *NodeCommand) Synopsis() string

type NodeConfigCommand

type NodeConfigCommand struct {
	Meta
}

func (*NodeConfigCommand) AutocompleteArgs

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

func (*NodeConfigCommand) AutocompleteFlags

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

func (*NodeConfigCommand) Help

func (c *NodeConfigCommand) Help() string

func (*NodeConfigCommand) Name

func (c *NodeConfigCommand) Name() string

func (*NodeConfigCommand) Run

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

func (*NodeConfigCommand) Synopsis

func (c *NodeConfigCommand) Synopsis() string

type NodeDrainCommand

type NodeDrainCommand struct {
	Meta
}

func (*NodeDrainCommand) AutocompleteArgs

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

func (*NodeDrainCommand) AutocompleteFlags

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

func (*NodeDrainCommand) Help

func (c *NodeDrainCommand) Help() string

func (*NodeDrainCommand) Name

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

type NodeEligibilityCommand struct {
	Meta
}

func (*NodeEligibilityCommand) AutocompleteArgs

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

func (*NodeEligibilityCommand) AutocompleteFlags

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

func (*NodeEligibilityCommand) Help

func (c *NodeEligibilityCommand) Help() string

func (*NodeEligibilityCommand) Name

func (c *NodeEligibilityCommand) Name() string

func (*NodeEligibilityCommand) Run

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

func (*NodeEligibilityCommand) Synopsis

func (c *NodeEligibilityCommand) Synopsis() string

type NodeStatusCommand

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

func (*NodeStatusCommand) AutocompleteArgs

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

func (*NodeStatusCommand) AutocompleteFlags

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

func (*NodeStatusCommand) Help

func (c *NodeStatusCommand) Help() string

func (*NodeStatusCommand) Name

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

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

func (*OperatorAPICommand) AutocompleteArgs

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

func (*OperatorAPICommand) AutocompleteFlags

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

func (*OperatorAPICommand) Help

func (*OperatorAPICommand) Help() string

func (*OperatorAPICommand) Name

func (*OperatorAPICommand) Name() string

func (*OperatorAPICommand) Run

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

func (*OperatorAPICommand) Synopsis

func (*OperatorAPICommand) Synopsis() string

type OperatorAutopilotCommand

type OperatorAutopilotCommand struct {
	Meta
}

func (*OperatorAutopilotCommand) Help

func (c *OperatorAutopilotCommand) Help() string

func (*OperatorAutopilotCommand) Name

func (c *OperatorAutopilotCommand) Name() string

func (*OperatorAutopilotCommand) Run

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

func (*OperatorAutopilotCommand) Synopsis

func (c *OperatorAutopilotCommand) Synopsis() string

type OperatorAutopilotGetCommand

type OperatorAutopilotGetCommand struct {
	Meta
}

func (*OperatorAutopilotGetCommand) AutocompleteArgs

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

func (*OperatorAutopilotGetCommand) AutocompleteFlags

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

func (*OperatorAutopilotGetCommand) Help

func (*OperatorAutopilotGetCommand) Name

func (*OperatorAutopilotGetCommand) Run

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

func (*OperatorAutopilotGetCommand) Synopsis

func (c *OperatorAutopilotGetCommand) Synopsis() string

type OperatorAutopilotSetCommand

type OperatorAutopilotSetCommand struct {
	Meta
}

func (*OperatorAutopilotSetCommand) AutocompleteArgs

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

func (*OperatorAutopilotSetCommand) AutocompleteFlags

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

func (*OperatorAutopilotSetCommand) Help

func (*OperatorAutopilotSetCommand) Name

func (*OperatorAutopilotSetCommand) Run

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

func (*OperatorAutopilotSetCommand) Synopsis

func (c *OperatorAutopilotSetCommand) Synopsis() string

type OperatorCommand

type OperatorCommand struct {
	Meta
}

func (*OperatorCommand) Help

func (f *OperatorCommand) Help() string

func (*OperatorCommand) Name

func (f *OperatorCommand) Name() string

func (*OperatorCommand) Run

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

func (*OperatorCommand) Synopsis

func (f *OperatorCommand) Synopsis() string

type OperatorDebugCommand

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

func (*OperatorDebugCommand) AutocompleteArgs

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

func (*OperatorDebugCommand) AutocompleteFlags

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

func (*OperatorDebugCommand) Help

func (c *OperatorDebugCommand) Help() string

func (*OperatorDebugCommand) Name

func (c *OperatorDebugCommand) Name() string

func (*OperatorDebugCommand) Run

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

func (*OperatorDebugCommand) Synopsis

func (c *OperatorDebugCommand) Synopsis() string

type OperatorGossipKeyringCommand

type OperatorGossipKeyringCommand struct {
	Meta
}

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

func (*OperatorGossipKeyringCommand) AutocompleteArgs

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

func (*OperatorGossipKeyringCommand) AutocompleteFlags

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

func (*OperatorGossipKeyringCommand) Help

func (*OperatorGossipKeyringCommand) Name

func (*OperatorGossipKeyringCommand) Run

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

func (*OperatorGossipKeyringCommand) Synopsis

func (c *OperatorGossipKeyringCommand) Synopsis() string

type OperatorGossipKeyringGenerateCommand

type OperatorGossipKeyringGenerateCommand struct {
	Meta
}

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

func (*OperatorGossipKeyringGenerateCommand) Help

func (*OperatorGossipKeyringGenerateCommand) Name

func (*OperatorGossipKeyringGenerateCommand) Run

func (*OperatorGossipKeyringGenerateCommand) Synopsis

type OperatorGossipKeyringInstallCommand

type OperatorGossipKeyringInstallCommand struct {
	Meta
}

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

func (*OperatorGossipKeyringInstallCommand) AutocompleteArgs

func (*OperatorGossipKeyringInstallCommand) AutocompleteFlags

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

func (*OperatorGossipKeyringInstallCommand) Help

func (*OperatorGossipKeyringInstallCommand) Name

func (*OperatorGossipKeyringInstallCommand) Run

func (*OperatorGossipKeyringInstallCommand) Synopsis

type OperatorGossipKeyringListCommand

type OperatorGossipKeyringListCommand struct {
	Meta
}

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

func (*OperatorGossipKeyringListCommand) AutocompleteArgs

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

func (*OperatorGossipKeyringListCommand) AutocompleteFlags

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

func (*OperatorGossipKeyringListCommand) Help

func (*OperatorGossipKeyringListCommand) Name

func (*OperatorGossipKeyringListCommand) Run

func (*OperatorGossipKeyringListCommand) Synopsis

type OperatorGossipKeyringRemoveCommand

type OperatorGossipKeyringRemoveCommand struct {
	Meta
}

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

func (*OperatorGossipKeyringRemoveCommand) AutocompleteArgs

func (*OperatorGossipKeyringRemoveCommand) AutocompleteFlags

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

func (*OperatorGossipKeyringRemoveCommand) Help

func (*OperatorGossipKeyringRemoveCommand) Name

func (*OperatorGossipKeyringRemoveCommand) Run

func (*OperatorGossipKeyringRemoveCommand) Synopsis

type OperatorGossipKeyringUseCommand

type OperatorGossipKeyringUseCommand struct {
	Meta
}

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

func (*OperatorGossipKeyringUseCommand) AutocompleteArgs

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

func (*OperatorGossipKeyringUseCommand) AutocompleteFlags

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

func (*OperatorGossipKeyringUseCommand) Help

func (*OperatorGossipKeyringUseCommand) Name

func (*OperatorGossipKeyringUseCommand) Run

func (*OperatorGossipKeyringUseCommand) Synopsis

type OperatorKeyringCommand

type OperatorKeyringCommand struct {
	Meta
}

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

func (*OperatorKeyringCommand) AutocompleteArgs

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

func (*OperatorKeyringCommand) AutocompleteFlags

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

func (*OperatorKeyringCommand) Help

func (c *OperatorKeyringCommand) Help() string

func (*OperatorKeyringCommand) Name

func (c *OperatorKeyringCommand) Name() string

func (*OperatorKeyringCommand) Run

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

func (*OperatorKeyringCommand) Synopsis

func (c *OperatorKeyringCommand) Synopsis() string

type OperatorMetricsCommand

type OperatorMetricsCommand struct {
	Meta
}

func (*OperatorMetricsCommand) AutocompleteFlags

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

func (*OperatorMetricsCommand) Help

func (c *OperatorMetricsCommand) Help() string

func (*OperatorMetricsCommand) Name

func (c *OperatorMetricsCommand) Name() string

func (*OperatorMetricsCommand) Run

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

func (*OperatorMetricsCommand) Synopsis

func (c *OperatorMetricsCommand) Synopsis() string

type OperatorRaftCommand

type OperatorRaftCommand struct {
	Meta
}

func (*OperatorRaftCommand) Help

func (c *OperatorRaftCommand) Help() string

func (*OperatorRaftCommand) Name

func (c *OperatorRaftCommand) Name() string

func (*OperatorRaftCommand) Run

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

func (*OperatorRaftCommand) Synopsis

func (c *OperatorRaftCommand) Synopsis() string

type OperatorRaftInfoCommand

type OperatorRaftInfoCommand struct {
	Meta
}

func (*OperatorRaftInfoCommand) AutocompleteArgs

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

func (*OperatorRaftInfoCommand) AutocompleteFlags

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

func (*OperatorRaftInfoCommand) Help

func (c *OperatorRaftInfoCommand) Help() string

func (*OperatorRaftInfoCommand) Name

func (c *OperatorRaftInfoCommand) Name() string

func (*OperatorRaftInfoCommand) Run

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

func (*OperatorRaftInfoCommand) Synopsis

func (c *OperatorRaftInfoCommand) Synopsis() string

type OperatorRaftListCommand

type OperatorRaftListCommand struct {
	Meta
}

func (*OperatorRaftListCommand) AutocompleteArgs

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

func (*OperatorRaftListCommand) AutocompleteFlags

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

func (*OperatorRaftListCommand) Help

func (c *OperatorRaftListCommand) Help() string

func (*OperatorRaftListCommand) Name

func (c *OperatorRaftListCommand) Name() string

func (*OperatorRaftListCommand) Run

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

func (*OperatorRaftListCommand) Synopsis

func (c *OperatorRaftListCommand) Synopsis() string

type OperatorRaftLogsCommand

type OperatorRaftLogsCommand struct {
	Meta
}

func (*OperatorRaftLogsCommand) AutocompleteArgs

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

func (*OperatorRaftLogsCommand) AutocompleteFlags

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

func (*OperatorRaftLogsCommand) Help

func (c *OperatorRaftLogsCommand) Help() string

func (*OperatorRaftLogsCommand) Name

func (c *OperatorRaftLogsCommand) Name() string

func (*OperatorRaftLogsCommand) Run

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

func (*OperatorRaftLogsCommand) Synopsis

func (c *OperatorRaftLogsCommand) Synopsis() string

type OperatorRaftRemoveCommand

type OperatorRaftRemoveCommand struct {
	Meta
}

func (*OperatorRaftRemoveCommand) AutocompleteArgs

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

func (*OperatorRaftRemoveCommand) AutocompleteFlags

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

func (*OperatorRaftRemoveCommand) Help

func (*OperatorRaftRemoveCommand) Name

func (*OperatorRaftRemoveCommand) Run

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

func (*OperatorRaftRemoveCommand) Synopsis

func (c *OperatorRaftRemoveCommand) Synopsis() string

type OperatorRaftStateCommand

type OperatorRaftStateCommand struct {
	Meta
}

func (*OperatorRaftStateCommand) AutocompleteArgs

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

func (*OperatorRaftStateCommand) AutocompleteFlags

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

func (*OperatorRaftStateCommand) Help

func (c *OperatorRaftStateCommand) Help() string

func (*OperatorRaftStateCommand) Name

func (c *OperatorRaftStateCommand) Name() string

func (*OperatorRaftStateCommand) Run

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

func (*OperatorRaftStateCommand) Synopsis

func (c *OperatorRaftStateCommand) Synopsis() string

type OperatorRootKeyringCommand

type OperatorRootKeyringCommand struct {
	Meta
}

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

func (*OperatorRootKeyringCommand) AutocompleteArgs

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

func (*OperatorRootKeyringCommand) AutocompleteFlags

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

func (*OperatorRootKeyringCommand) Help

func (*OperatorRootKeyringCommand) Name

func (*OperatorRootKeyringCommand) Run

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

func (*OperatorRootKeyringCommand) Synopsis

func (c *OperatorRootKeyringCommand) Synopsis() string

type OperatorRootKeyringListCommand

type OperatorRootKeyringListCommand struct {
	Meta
}

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

func (*OperatorRootKeyringListCommand) AutocompleteArgs

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

func (*OperatorRootKeyringListCommand) AutocompleteFlags

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

func (*OperatorRootKeyringListCommand) Help

func (*OperatorRootKeyringListCommand) Name

func (*OperatorRootKeyringListCommand) Run

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

func (*OperatorRootKeyringListCommand) Synopsis

func (c *OperatorRootKeyringListCommand) Synopsis() string

type OperatorRootKeyringRemoveCommand

type OperatorRootKeyringRemoveCommand struct {
	Meta
}

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

func (*OperatorRootKeyringRemoveCommand) AutocompleteArgs

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

func (*OperatorRootKeyringRemoveCommand) AutocompleteFlags

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

func (*OperatorRootKeyringRemoveCommand) Help

func (*OperatorRootKeyringRemoveCommand) Name

func (*OperatorRootKeyringRemoveCommand) Run

func (*OperatorRootKeyringRemoveCommand) Synopsis

type OperatorRootKeyringRotateCommand

type OperatorRootKeyringRotateCommand struct {
	Meta
}

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

func (*OperatorRootKeyringRotateCommand) AutocompleteArgs

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

func (*OperatorRootKeyringRotateCommand) AutocompleteFlags

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

func (*OperatorRootKeyringRotateCommand) Help

func (*OperatorRootKeyringRotateCommand) Name

func (*OperatorRootKeyringRotateCommand) Run

func (*OperatorRootKeyringRotateCommand) Synopsis

type OperatorSchedulerCommand

type OperatorSchedulerCommand struct {
	Meta
}

func (*OperatorSchedulerCommand) Help

func (o *OperatorSchedulerCommand) Help() string

func (*OperatorSchedulerCommand) Name

func (o *OperatorSchedulerCommand) Name() string

func (*OperatorSchedulerCommand) Run

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

func (*OperatorSchedulerCommand) Synopsis

func (o *OperatorSchedulerCommand) Synopsis() string

type OperatorSchedulerGetConfig

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

func (*OperatorSchedulerGetConfig) AutocompleteArgs

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

func (*OperatorSchedulerGetConfig) AutocompleteFlags

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

func (*OperatorSchedulerGetConfig) Help

func (*OperatorSchedulerGetConfig) Name

func (*OperatorSchedulerGetConfig) Run

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

func (*OperatorSchedulerGetConfig) Synopsis

func (o *OperatorSchedulerGetConfig) Synopsis() string

type OperatorSchedulerSetConfig

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

func (*OperatorSchedulerSetConfig) AutocompleteArgs

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

func (*OperatorSchedulerSetConfig) AutocompleteFlags

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

func (*OperatorSchedulerSetConfig) Help

func (*OperatorSchedulerSetConfig) Name

func (*OperatorSchedulerSetConfig) Run

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

func (*OperatorSchedulerSetConfig) Synopsis

func (o *OperatorSchedulerSetConfig) Synopsis() string

type OperatorSnapshotCommand

type OperatorSnapshotCommand struct {
	Meta
}

func (*OperatorSnapshotCommand) Help

func (f *OperatorSnapshotCommand) Help() string

func (*OperatorSnapshotCommand) Name

func (f *OperatorSnapshotCommand) Name() string

func (*OperatorSnapshotCommand) Run

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

func (*OperatorSnapshotCommand) Synopsis

func (f *OperatorSnapshotCommand) Synopsis() string

type OperatorSnapshotInspectCommand

type OperatorSnapshotInspectCommand struct {
	Meta
}

func (*OperatorSnapshotInspectCommand) AutocompleteArgs

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

func (*OperatorSnapshotInspectCommand) AutocompleteFlags

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

func (*OperatorSnapshotInspectCommand) Help

func (*OperatorSnapshotInspectCommand) Name

func (*OperatorSnapshotInspectCommand) Run

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

func (*OperatorSnapshotInspectCommand) Synopsis

func (c *OperatorSnapshotInspectCommand) Synopsis() string

type OperatorSnapshotRestoreCommand

type OperatorSnapshotRestoreCommand struct {
	Meta
}

func (*OperatorSnapshotRestoreCommand) AutocompleteArgs

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

func (*OperatorSnapshotRestoreCommand) AutocompleteFlags

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

func (*OperatorSnapshotRestoreCommand) Help

func (*OperatorSnapshotRestoreCommand) Name

func (*OperatorSnapshotRestoreCommand) Run

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

func (*OperatorSnapshotRestoreCommand) Synopsis

func (c *OperatorSnapshotRestoreCommand) Synopsis() string

type OperatorSnapshotSaveCommand

type OperatorSnapshotSaveCommand struct {
	Meta
}

func (*OperatorSnapshotSaveCommand) AutocompleteArgs

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

func (*OperatorSnapshotSaveCommand) AutocompleteFlags

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

func (*OperatorSnapshotSaveCommand) Help

func (*OperatorSnapshotSaveCommand) Name

func (*OperatorSnapshotSaveCommand) Run

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

func (*OperatorSnapshotSaveCommand) Synopsis

func (c *OperatorSnapshotSaveCommand) Synopsis() string

type OperatorSnapshotStateCommand

type OperatorSnapshotStateCommand struct {
	Meta
}

func (*OperatorSnapshotStateCommand) AutocompleteArgs

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

func (*OperatorSnapshotStateCommand) AutocompleteFlags

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

func (*OperatorSnapshotStateCommand) Help

func (*OperatorSnapshotStateCommand) Name

func (*OperatorSnapshotStateCommand) Run

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

func (*OperatorSnapshotStateCommand) Synopsis

func (c *OperatorSnapshotStateCommand) Synopsis() string

type PluginCommand

type PluginCommand struct {
	Meta
}

func (*PluginCommand) Help

func (c *PluginCommand) Help() string

func (*PluginCommand) Name

func (c *PluginCommand) Name() string

func (*PluginCommand) Run

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

func (*PluginCommand) Synopsis

func (c *PluginCommand) Synopsis() string

type PluginStatusCommand

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

func (*PluginStatusCommand) AutocompleteArgs

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

func (*PluginStatusCommand) AutocompleteFlags

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

func (*PluginStatusCommand) Help

func (c *PluginStatusCommand) Help() string

func (*PluginStatusCommand) Name

func (c *PluginStatusCommand) Name() string

func (*PluginStatusCommand) Run

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

func (*PluginStatusCommand) Synopsis

func (c *PluginStatusCommand) Synopsis() string

type QuotaApplyCommand

type QuotaApplyCommand struct {
	Meta
}

func (*QuotaApplyCommand) AutocompleteArgs

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

func (*QuotaApplyCommand) AutocompleteFlags

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

func (*QuotaApplyCommand) Help

func (c *QuotaApplyCommand) Help() string

func (*QuotaApplyCommand) Name

func (c *QuotaApplyCommand) Name() string

func (*QuotaApplyCommand) Run

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

func (*QuotaApplyCommand) Synopsis

func (c *QuotaApplyCommand) Synopsis() string

type QuotaCommand

type QuotaCommand struct {
	Meta
}

func (*QuotaCommand) Help

func (f *QuotaCommand) Help() string

func (*QuotaCommand) Name

func (f *QuotaCommand) Name() string

func (*QuotaCommand) Run

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

func (*QuotaCommand) Synopsis

func (f *QuotaCommand) Synopsis() string

type QuotaDeleteCommand

type QuotaDeleteCommand struct {
	Meta
}

func (*QuotaDeleteCommand) AutocompleteArgs

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

func (*QuotaDeleteCommand) AutocompleteFlags

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

func (*QuotaDeleteCommand) Help

func (c *QuotaDeleteCommand) Help() string

func (*QuotaDeleteCommand) Name

func (c *QuotaDeleteCommand) Name() string

func (*QuotaDeleteCommand) Run

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

func (*QuotaDeleteCommand) Synopsis

func (c *QuotaDeleteCommand) Synopsis() string

type QuotaInitCommand

type QuotaInitCommand struct {
	Meta
}

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

func (*QuotaInitCommand) AutocompleteArgs

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

func (*QuotaInitCommand) AutocompleteFlags

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

func (*QuotaInitCommand) Help

func (c *QuotaInitCommand) Help() string

func (*QuotaInitCommand) Name

func (c *QuotaInitCommand) Name() string

func (*QuotaInitCommand) Run

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

func (*QuotaInitCommand) Synopsis

func (c *QuotaInitCommand) Synopsis() string

type QuotaInspectCommand

type QuotaInspectCommand struct {
	Meta
}

func (*QuotaInspectCommand) AutocompleteArgs

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

func (*QuotaInspectCommand) AutocompleteFlags

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

func (*QuotaInspectCommand) Help

func (c *QuotaInspectCommand) Help() string

func (*QuotaInspectCommand) Name

func (c *QuotaInspectCommand) Name() string

func (*QuotaInspectCommand) Run

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

func (*QuotaInspectCommand) Synopsis

func (c *QuotaInspectCommand) Synopsis() string

type QuotaListCommand

type QuotaListCommand struct {
	Meta
}

func (*QuotaListCommand) AutocompleteArgs

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

func (*QuotaListCommand) AutocompleteFlags

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

func (*QuotaListCommand) Help

func (c *QuotaListCommand) Help() string

func (*QuotaListCommand) Name

func (c *QuotaListCommand) Name() string

func (*QuotaListCommand) Run

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

func (*QuotaListCommand) Synopsis

func (c *QuotaListCommand) Synopsis() string

type QuotaStatusCommand

type QuotaStatusCommand struct {
	Meta
}

func (*QuotaStatusCommand) AutocompleteArgs

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

func (*QuotaStatusCommand) AutocompleteFlags

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

func (*QuotaStatusCommand) Help

func (c *QuotaStatusCommand) Help() string

func (*QuotaStatusCommand) Name

func (c *QuotaStatusCommand) Name() string

func (*QuotaStatusCommand) Run

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

func (*QuotaStatusCommand) Synopsis

func (c *QuotaStatusCommand) Synopsis() string

type RecommendationApplyCommand

type RecommendationApplyCommand struct {
	RecommendationAutocompleteCommand
}

RecommendationApplyCommand implements cli.Command.

func (*RecommendationApplyCommand) AutocompleteFlags

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

func (*RecommendationApplyCommand) Help

Help satisfies the cli.Command Help function.

func (*RecommendationApplyCommand) Name

Name returns the name of this command.

func (*RecommendationApplyCommand) Run

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

Run satisfies the cli.Command Run function.

func (*RecommendationApplyCommand) Synopsis

func (r *RecommendationApplyCommand) Synopsis() string

Synopsis satisfies the cli.Command Synopsis function.

type RecommendationAutocompleteCommand

type RecommendationAutocompleteCommand struct {
	Meta
}

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

func (*RecommendationAutocompleteCommand) AutocompleteArgs

type RecommendationCommand

type RecommendationCommand struct {
	Meta
}

RecommendationCommand implements cli.Command.

func (*RecommendationCommand) Help

func (r *RecommendationCommand) Help() string

Help satisfies the cli.Command Help function.

func (*RecommendationCommand) Name

func (r *RecommendationCommand) Name() string

Name returns the name of this command.

func (*RecommendationCommand) Run

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

Run satisfies the cli.Command Run function.

func (*RecommendationCommand) Synopsis

func (r *RecommendationCommand) Synopsis() string

Synopsis satisfies the cli.Command Synopsis function.

type RecommendationDismissCommand

type RecommendationDismissCommand struct {
	RecommendationAutocompleteCommand
}

RecommendationDismissCommand implements cli.Command.

func (*RecommendationDismissCommand) AutocompleteFlags

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

func (*RecommendationDismissCommand) Help

Help satisfies the cli.Command Help function.

func (*RecommendationDismissCommand) Name

Name returns the name of this command.

func (*RecommendationDismissCommand) Run

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

Run satisfies the cli.Command Run function.

func (*RecommendationDismissCommand) Synopsis

func (r *RecommendationDismissCommand) Synopsis() string

Synopsis satisfies the cli.Command Synopsis function.

type RecommendationInfoCommand

type RecommendationInfoCommand struct {
	RecommendationAutocompleteCommand
}

RecommendationInfoCommand implements cli.Command.

func (*RecommendationInfoCommand) AutocompleteFlags

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

func (*RecommendationInfoCommand) Help

Help satisfies the cli.Command Help function.

func (*RecommendationInfoCommand) Name

Name returns the name of this command.

func (*RecommendationInfoCommand) Run

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

Run satisfies the cli.Command Run function.

func (*RecommendationInfoCommand) Synopsis

func (r *RecommendationInfoCommand) Synopsis() string

Synopsis satisfies the cli.Command Synopsis function.

type RecommendationListCommand

type RecommendationListCommand struct {
	Meta
}

RecommendationListCommand implements cli.Command.

func (*RecommendationListCommand) AutocompleteFlags

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

func (*RecommendationListCommand) Help

Help satisfies the cli.Command Help function.

func (*RecommendationListCommand) Name

Name returns the name of this command.

func (*RecommendationListCommand) Run

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

Run satisfies the cli.Command Run function.

func (*RecommendationListCommand) Synopsis

func (r *RecommendationListCommand) Synopsis() string

Synopsis satisfies the cli.Command Synopsis function.

type ScalingCommand

type ScalingCommand struct {
	Meta
}

ScalingCommand implements cli.Command.

func (*ScalingCommand) Help

func (s *ScalingCommand) Help() string

Help satisfies the cli.Command Help function.

func (*ScalingCommand) Name

func (s *ScalingCommand) Name() string

Name returns the name of this command.

func (*ScalingCommand) Run

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

Run satisfies the cli.Command Run function.

func (*ScalingCommand) Synopsis

func (s *ScalingCommand) Synopsis() string

Synopsis satisfies the cli.Command Synopsis function.

type ScalingPolicyCommand

type ScalingPolicyCommand struct {
	Meta
}

ScalingPolicyCommand implements cli.Command.

func (*ScalingPolicyCommand) Help

func (s *ScalingPolicyCommand) Help() string

Help satisfies the cli.Command Help function.

func (*ScalingPolicyCommand) Name

func (s *ScalingPolicyCommand) Name() string

Name returns the name of this command.

func (*ScalingPolicyCommand) Run

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

Run satisfies the cli.Command Run function.

func (*ScalingPolicyCommand) Synopsis

func (s *ScalingPolicyCommand) Synopsis() string

Synopsis satisfies the cli.Command Synopsis function.

type ScalingPolicyInfoCommand

type ScalingPolicyInfoCommand struct {
	Meta
}

ScalingPolicyListCommand implements cli.Command.

func (*ScalingPolicyInfoCommand) AutocompleteArgs

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

func (*ScalingPolicyInfoCommand) AutocompleteFlags

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

func (*ScalingPolicyInfoCommand) Help

func (s *ScalingPolicyInfoCommand) Help() string

Help satisfies the cli.Command Help function.

func (*ScalingPolicyInfoCommand) Name

func (s *ScalingPolicyInfoCommand) Name() string

Name returns the name of this command.

func (*ScalingPolicyInfoCommand) Run

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

Run satisfies the cli.Command Run function.

func (*ScalingPolicyInfoCommand) Synopsis

func (s *ScalingPolicyInfoCommand) Synopsis() string

Synopsis satisfies the cli.Command Synopsis function.

type ScalingPolicyListCommand

type ScalingPolicyListCommand struct {
	Meta
}

ScalingPolicyListCommand implements cli.Command.

func (*ScalingPolicyListCommand) AutocompleteFlags

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

func (*ScalingPolicyListCommand) Help

func (s *ScalingPolicyListCommand) Help() string

Help satisfies the cli.Command Help function.

func (*ScalingPolicyListCommand) Name

func (s *ScalingPolicyListCommand) Name() string

Name returns the name of this command.

func (*ScalingPolicyListCommand) Run

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

Run satisfies the cli.Command Run function.

func (*ScalingPolicyListCommand) Synopsis

func (s *ScalingPolicyListCommand) Synopsis() string

Synopsis satisfies the cli.Command Synopsis function.

type SentinelApplyCommand

type SentinelApplyCommand struct {
	Meta
}

func (*SentinelApplyCommand) AutocompleteArgs

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

func (*SentinelApplyCommand) AutocompleteFlags

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

func (*SentinelApplyCommand) Help

func (c *SentinelApplyCommand) Help() string

func (*SentinelApplyCommand) Name

func (c *SentinelApplyCommand) Name() string

func (*SentinelApplyCommand) Run

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

func (*SentinelApplyCommand) Synopsis

func (c *SentinelApplyCommand) Synopsis() string

type SentinelCommand

type SentinelCommand struct {
	Meta
}

func (*SentinelCommand) Help

func (f *SentinelCommand) Help() string

func (*SentinelCommand) Name

func (f *SentinelCommand) Name() string

func (*SentinelCommand) Run

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

func (*SentinelCommand) Synopsis

func (f *SentinelCommand) Synopsis() string

type SentinelDeleteCommand

type SentinelDeleteCommand struct {
	Meta
}

func (*SentinelDeleteCommand) AutocompleteArgs

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

func (*SentinelDeleteCommand) AutocompleteFlags

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

func (*SentinelDeleteCommand) Help

func (c *SentinelDeleteCommand) Help() string

func (*SentinelDeleteCommand) Name

func (c *SentinelDeleteCommand) Name() string

func (*SentinelDeleteCommand) Run

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

func (*SentinelDeleteCommand) Synopsis

func (c *SentinelDeleteCommand) Synopsis() string

type SentinelListCommand

type SentinelListCommand struct {
	Meta
}

func (*SentinelListCommand) AutocompleteArgs

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

func (*SentinelListCommand) AutocompleteFlags

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

func (*SentinelListCommand) Help

func (c *SentinelListCommand) Help() string

func (*SentinelListCommand) Name

func (c *SentinelListCommand) Name() string

func (*SentinelListCommand) Run

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

func (*SentinelListCommand) Synopsis

func (c *SentinelListCommand) Synopsis() string

type SentinelReadCommand

type SentinelReadCommand struct {
	Meta
}

func (*SentinelReadCommand) AutocompleteArgs

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

func (*SentinelReadCommand) AutocompleteFlags

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

func (*SentinelReadCommand) Help

func (c *SentinelReadCommand) Help() string

func (*SentinelReadCommand) Name

func (c *SentinelReadCommand) Name() string

func (*SentinelReadCommand) Run

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

func (*SentinelReadCommand) Synopsis

func (c *SentinelReadCommand) Synopsis() string

type ServerCommand

type ServerCommand struct {
	Meta
}

func (*ServerCommand) Help

func (f *ServerCommand) Help() string

func (*ServerCommand) Name

func (f *ServerCommand) Name() string

func (*ServerCommand) Run

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

func (*ServerCommand) Synopsis

func (f *ServerCommand) Synopsis() string

type ServerForceLeaveCommand

type ServerForceLeaveCommand struct {
	Meta
}

func (*ServerForceLeaveCommand) AutocompleteArgs

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

func (*ServerForceLeaveCommand) AutocompleteFlags

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

func (*ServerForceLeaveCommand) Help

func (c *ServerForceLeaveCommand) Help() string

func (*ServerForceLeaveCommand) Name

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

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

func (*ServerJoinCommand) AutocompleteFlags

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

func (*ServerJoinCommand) Help

func (c *ServerJoinCommand) Help() string

func (*ServerJoinCommand) Name

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

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

func (*ServerMembersCommand) AutocompleteFlags

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

func (*ServerMembersCommand) Help

func (c *ServerMembersCommand) Help() string

func (*ServerMembersCommand) Name

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

type ServiceCommand struct {
	Meta
}

func (*ServiceCommand) Help

func (c *ServiceCommand) Help() string

func (*ServiceCommand) Name

func (c *ServiceCommand) Name() string

func (*ServiceCommand) Run

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

func (*ServiceCommand) Synopsis

func (c *ServiceCommand) Synopsis() string

type ServiceDeleteCommand

type ServiceDeleteCommand struct {
	Meta
}

func (*ServiceDeleteCommand) AutocompleteFlags

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

func (*ServiceDeleteCommand) Help

func (s *ServiceDeleteCommand) Help() string

func (*ServiceDeleteCommand) Name

func (s *ServiceDeleteCommand) Name() string

func (*ServiceDeleteCommand) Run

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

func (*ServiceDeleteCommand) Synopsis

func (s *ServiceDeleteCommand) Synopsis() string

type ServiceInfoCommand

type ServiceInfoCommand struct {
	Meta
}

ServiceInfoCommand implements cli.Command.

func (*ServiceInfoCommand) AutocompleteFlags

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

func (*ServiceInfoCommand) Help

func (s *ServiceInfoCommand) Help() string

Help satisfies the cli.Command Help function.

func (*ServiceInfoCommand) Name

func (s *ServiceInfoCommand) Name() string

Name returns the name of this command.

func (*ServiceInfoCommand) Run

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

Run satisfies the cli.Command Run function.

func (*ServiceInfoCommand) Synopsis

func (s *ServiceInfoCommand) Synopsis() string

Synopsis satisfies the cli.Command Synopsis function.

type ServiceListCommand

type ServiceListCommand struct {
	Meta
}

ServiceListCommand implements cli.Command.

func (*ServiceListCommand) AutocompleteFlags

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

func (*ServiceListCommand) Help

func (s *ServiceListCommand) Help() string

Help satisfies the cli.Command Help function.

func (*ServiceListCommand) Name

func (s *ServiceListCommand) Name() string

Name returns the name of this command.

func (*ServiceListCommand) Run

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

Run satisfies the cli.Command Run function.

func (*ServiceListCommand) Synopsis

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

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

func (*StatusCommand) AutocompleteFlags

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

type SystemCommand struct {
	Meta
}

func (*SystemCommand) Help

func (sc *SystemCommand) Help() string

func (*SystemCommand) Name

func (sc *SystemCommand) Name() string

func (*SystemCommand) Run

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

func (*SystemCommand) Synopsis

func (sc *SystemCommand) Synopsis() string

type SystemGCCommand

type SystemGCCommand struct {
	Meta
}

func (*SystemGCCommand) AutocompleteArgs

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

func (*SystemGCCommand) AutocompleteFlags

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

func (*SystemGCCommand) Help

func (c *SystemGCCommand) Help() string

func (*SystemGCCommand) Name

func (c *SystemGCCommand) Name() string

func (*SystemGCCommand) Run

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

func (*SystemGCCommand) Synopsis

func (c *SystemGCCommand) Synopsis() string

type SystemReconcileCommand

type SystemReconcileCommand struct {
	Meta
}

func (*SystemReconcileCommand) Help

func (s *SystemReconcileCommand) Help() string

func (*SystemReconcileCommand) Name

func (s *SystemReconcileCommand) Name() string

func (*SystemReconcileCommand) Run

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

func (*SystemReconcileCommand) Synopsis

func (s *SystemReconcileCommand) Synopsis() string

type SystemReconcileSummariesCommand

type SystemReconcileSummariesCommand struct {
	Meta
}

func (*SystemReconcileSummariesCommand) AutocompleteArgs

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

func (*SystemReconcileSummariesCommand) AutocompleteFlags

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

func (*SystemReconcileSummariesCommand) Help

func (*SystemReconcileSummariesCommand) Name

func (*SystemReconcileSummariesCommand) Run

func (*SystemReconcileSummariesCommand) Synopsis

type TLSCACommand

type TLSCACommand struct {
	Meta
}

func (*TLSCACommand) AutocompleteArgs

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

func (*TLSCACommand) Help

func (c *TLSCACommand) Help() string

func (*TLSCACommand) Name

func (c *TLSCACommand) Name() string

func (*TLSCACommand) Run

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

func (*TLSCACommand) Synopsis

func (c *TLSCACommand) Synopsis() string

type TLSCACreateCommand

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

func (*TLSCACreateCommand) AutocompleteArgs

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

func (*TLSCACreateCommand) AutocompleteFlags

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

func (*TLSCACreateCommand) Help

func (c *TLSCACreateCommand) Help() string

func (*TLSCACreateCommand) Name

func (c *TLSCACreateCommand) Name() string

func (*TLSCACreateCommand) Run

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

func (*TLSCACreateCommand) Synopsis

func (c *TLSCACreateCommand) Synopsis() string

type TLSCAInfoCommand

type TLSCAInfoCommand struct {
	Meta
}

func (*TLSCAInfoCommand) AutocompleteArgs

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

func (*TLSCAInfoCommand) AutocompleteFlags

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

func (*TLSCAInfoCommand) Help

func (c *TLSCAInfoCommand) Help() string

func (*TLSCAInfoCommand) Name

func (c *TLSCAInfoCommand) Name() string

func (*TLSCAInfoCommand) Run

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

func (*TLSCAInfoCommand) Synopsis

func (c *TLSCAInfoCommand) Synopsis() string

type TLSCertCommand

type TLSCertCommand struct {
	Meta
}

func (*TLSCertCommand) AutocompleteArgs

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

func (*TLSCertCommand) Help

func (c *TLSCertCommand) Help() string

func (*TLSCertCommand) Name

func (c *TLSCertCommand) Name() string

func (*TLSCertCommand) Run

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

func (*TLSCertCommand) Synopsis

func (c *TLSCertCommand) Synopsis() string

type TLSCertCreateCommand

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

func (*TLSCertCreateCommand) AutocompleteArgs

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

func (*TLSCertCreateCommand) AutocompleteFlags

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

func (*TLSCertCreateCommand) Help

func (c *TLSCertCreateCommand) Help() string

func (*TLSCertCreateCommand) Name

func (c *TLSCertCreateCommand) Name() string

func (*TLSCertCreateCommand) Run

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

func (*TLSCertCreateCommand) Synopsis

func (c *TLSCertCreateCommand) Synopsis() string

type TLSCertInfoCommand

type TLSCertInfoCommand struct {
	Meta
}

func (*TLSCertInfoCommand) AutocompleteArgs

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

func (*TLSCertInfoCommand) AutocompleteFlags

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

func (*TLSCertInfoCommand) Help

func (c *TLSCertInfoCommand) Help() string

func (*TLSCertInfoCommand) Name

func (c *TLSCertInfoCommand) Name() string

func (*TLSCertInfoCommand) Run

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

func (*TLSCertInfoCommand) Synopsis

func (c *TLSCertInfoCommand) Synopsis() string

type TLSCommand

type TLSCommand struct {
	Meta
}

func (*TLSCommand) Help

func (c *TLSCommand) Help() string

func (*TLSCommand) Name

func (c *TLSCommand) Name() string

func (*TLSCommand) Run

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

func (*TLSCommand) Synopsis

func (c *TLSCommand) Synopsis() string

type TemplateFormat

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

func (*TemplateFormat) TransformData

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

TransformData returns template format string data.

type UiCommand

type UiCommand struct {
	Meta
}

func (*UiCommand) AutocompleteArgs

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

func (*UiCommand) AutocompleteFlags

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

func (*UiCommand) Help

func (c *UiCommand) Help() string

func (*UiCommand) Name

func (c *UiCommand) Name() string

func (*UiCommand) Run

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

func (*UiCommand) Synopsis

func (c *UiCommand) Synopsis() string

type VarCommand

type VarCommand struct {
	Meta
}

func (*VarCommand) Help

func (f *VarCommand) Help() string

func (*VarCommand) Name

func (f *VarCommand) Name() string

func (*VarCommand) Run

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

func (*VarCommand) Synopsis

func (f *VarCommand) Synopsis() string

type VarGetCommand

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

func (*VarGetCommand) AutocompleteArgs

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

func (*VarGetCommand) AutocompleteFlags

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

func (*VarGetCommand) GetConcurrentUI

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

func (*VarGetCommand) Help

func (c *VarGetCommand) Help() string

func (*VarGetCommand) Name

func (c *VarGetCommand) Name() string

func (*VarGetCommand) Run

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

func (*VarGetCommand) Synopsis

func (c *VarGetCommand) Synopsis() string

type VarInitCommand

type VarInitCommand struct {
	Meta
}

VarInitCommand generates a new variable specification

func (*VarInitCommand) AutocompleteArgs

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

func (*VarInitCommand) AutocompleteFlags

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

func (*VarInitCommand) Help

func (c *VarInitCommand) Help() string

func (*VarInitCommand) Name

func (c *VarInitCommand) Name() string

func (*VarInitCommand) Run

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

func (*VarInitCommand) Synopsis

func (c *VarInitCommand) Synopsis() string

type VarListCommand

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

func (*VarListCommand) AutocompleteArgs

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

func (*VarListCommand) AutocompleteFlags

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

func (*VarListCommand) Help

func (c *VarListCommand) Help() string

func (*VarListCommand) Name

func (c *VarListCommand) Name() string

func (*VarListCommand) Run

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

func (*VarListCommand) Synopsis

func (c *VarListCommand) Synopsis() string

type VarPurgeCommand

type VarPurgeCommand struct {
	Meta
}

func (*VarPurgeCommand) AutocompleteArgs

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

func (*VarPurgeCommand) AutocompleteFlags

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

func (*VarPurgeCommand) GetConcurrentUI

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

func (*VarPurgeCommand) Help

func (c *VarPurgeCommand) Help() string

func (*VarPurgeCommand) Name

func (c *VarPurgeCommand) Name() string

func (*VarPurgeCommand) Run

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

func (*VarPurgeCommand) Synopsis

func (c *VarPurgeCommand) Synopsis() string

type VarPutCommand

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

func (*VarPutCommand) AutocompleteArgs

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

func (*VarPutCommand) AutocompleteFlags

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

func (*VarPutCommand) GetConcurrentUI

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

func (*VarPutCommand) Help

func (c *VarPutCommand) Help() string

func (*VarPutCommand) Name

func (c *VarPutCommand) Name() string

func (*VarPutCommand) Run

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

func (*VarPutCommand) Synopsis

func (c *VarPutCommand) Synopsis() string

type VarUI

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

func (c *VersionCommand) Name() string

func (*VersionCommand) Run

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

func (*VersionCommand) Synopsis

func (c *VersionCommand) Synopsis() string

type VolumeCommand

type VolumeCommand struct {
	Meta
}

func (*VolumeCommand) Help

func (c *VolumeCommand) Help() string

func (*VolumeCommand) Name

func (c *VolumeCommand) Name() string

func (*VolumeCommand) Run

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

func (*VolumeCommand) Synopsis

func (c *VolumeCommand) Synopsis() string

type VolumeCreateCommand

type VolumeCreateCommand struct {
	Meta
}

func (*VolumeCreateCommand) AutocompleteArgs

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

func (*VolumeCreateCommand) AutocompleteFlags

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

func (*VolumeCreateCommand) Help

func (c *VolumeCreateCommand) Help() string

func (*VolumeCreateCommand) Name

func (c *VolumeCreateCommand) Name() string

func (*VolumeCreateCommand) Run

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

func (*VolumeCreateCommand) Synopsis

func (c *VolumeCreateCommand) Synopsis() string

type VolumeDeleteCommand

type VolumeDeleteCommand struct {
	Meta
	Secrets string
}

func (*VolumeDeleteCommand) AutocompleteArgs

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

func (*VolumeDeleteCommand) AutocompleteFlags

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

func (*VolumeDeleteCommand) Help

func (c *VolumeDeleteCommand) Help() string

func (*VolumeDeleteCommand) Name

func (c *VolumeDeleteCommand) Name() string

func (*VolumeDeleteCommand) Run

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

func (*VolumeDeleteCommand) Synopsis

func (c *VolumeDeleteCommand) Synopsis() string

type VolumeDeregisterCommand

type VolumeDeregisterCommand struct {
	Meta
}

func (*VolumeDeregisterCommand) AutocompleteArgs

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

func (*VolumeDeregisterCommand) AutocompleteFlags

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

func (*VolumeDeregisterCommand) Help

func (c *VolumeDeregisterCommand) Help() string

func (*VolumeDeregisterCommand) Name

func (c *VolumeDeregisterCommand) Name() string

func (*VolumeDeregisterCommand) Run

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

func (*VolumeDeregisterCommand) Synopsis

func (c *VolumeDeregisterCommand) Synopsis() string

type VolumeDetachCommand

type VolumeDetachCommand struct {
	Meta
}

func (*VolumeDetachCommand) AutocompleteArgs

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

func (*VolumeDetachCommand) AutocompleteFlags

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

func (*VolumeDetachCommand) Help

func (c *VolumeDetachCommand) Help() string

func (*VolumeDetachCommand) Name

func (c *VolumeDetachCommand) Name() string

func (*VolumeDetachCommand) Run

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

func (*VolumeDetachCommand) Synopsis

func (c *VolumeDetachCommand) Synopsis() string

type VolumeInitCommand

type VolumeInitCommand struct {
	Meta
}

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

func (*VolumeInitCommand) AutocompleteArgs

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

func (*VolumeInitCommand) AutocompleteFlags

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

func (*VolumeInitCommand) Help

func (c *VolumeInitCommand) Help() string

func (*VolumeInitCommand) Name

func (c *VolumeInitCommand) Name() string

func (*VolumeInitCommand) Run

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

func (*VolumeInitCommand) Synopsis

func (c *VolumeInitCommand) Synopsis() string

type VolumeRegisterCommand

type VolumeRegisterCommand struct {
	Meta
}

func (*VolumeRegisterCommand) AutocompleteArgs

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

func (*VolumeRegisterCommand) AutocompleteFlags

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

func (*VolumeRegisterCommand) Help

func (c *VolumeRegisterCommand) Help() string

func (*VolumeRegisterCommand) Name

func (c *VolumeRegisterCommand) Name() string

func (*VolumeRegisterCommand) Run

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

func (*VolumeRegisterCommand) Synopsis

func (c *VolumeRegisterCommand) Synopsis() string

type VolumeSnapshotCommand

type VolumeSnapshotCommand struct {
	Meta
}

func (*VolumeSnapshotCommand) Help

func (f *VolumeSnapshotCommand) Help() string

func (*VolumeSnapshotCommand) Name

func (f *VolumeSnapshotCommand) Name() string

func (*VolumeSnapshotCommand) Run

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

func (*VolumeSnapshotCommand) Synopsis

func (f *VolumeSnapshotCommand) Synopsis() string

type VolumeSnapshotCreateCommand

type VolumeSnapshotCreateCommand struct {
	Meta
}

func (*VolumeSnapshotCreateCommand) AutocompleteArgs

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

func (*VolumeSnapshotCreateCommand) AutocompleteFlags

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

func (*VolumeSnapshotCreateCommand) Help

func (*VolumeSnapshotCreateCommand) Name

func (*VolumeSnapshotCreateCommand) Run

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

func (*VolumeSnapshotCreateCommand) Synopsis

func (c *VolumeSnapshotCreateCommand) Synopsis() string

type VolumeSnapshotDeleteCommand

type VolumeSnapshotDeleteCommand struct {
	Meta
}

func (*VolumeSnapshotDeleteCommand) AutocompleteArgs

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

func (*VolumeSnapshotDeleteCommand) AutocompleteFlags

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

func (*VolumeSnapshotDeleteCommand) Help

func (*VolumeSnapshotDeleteCommand) Name

func (*VolumeSnapshotDeleteCommand) Run

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

func (*VolumeSnapshotDeleteCommand) Synopsis

func (c *VolumeSnapshotDeleteCommand) Synopsis() string

type VolumeSnapshotListCommand

type VolumeSnapshotListCommand struct {
	Meta
}

func (*VolumeSnapshotListCommand) AutocompleteArgs

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

func (*VolumeSnapshotListCommand) AutocompleteFlags

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

func (*VolumeSnapshotListCommand) Help

func (*VolumeSnapshotListCommand) Name

func (*VolumeSnapshotListCommand) Run

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

func (*VolumeSnapshotListCommand) Synopsis

func (c *VolumeSnapshotListCommand) Synopsis() string

type VolumeStatusCommand

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

func (*VolumeStatusCommand) AutocompleteArgs

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

func (*VolumeStatusCommand) AutocompleteFlags

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

func (*VolumeStatusCommand) Help

func (c *VolumeStatusCommand) Help() string

func (*VolumeStatusCommand) Name

func (c *VolumeStatusCommand) Name() string

func (*VolumeStatusCommand) Run

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

func (*VolumeStatusCommand) Synopsis

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