Versions in this module Expand all Collapse all v0 v0.7.1 Dec 20, 2017 Changes in this version + const DefaultHclQuotaInitName + const DefaultInitName + const DefaultJsonQuotaInitName + const HealthCritical + const HealthPass + const HealthUnknown + const HealthWarn + func Format(json bool, template string, data interface{}) (string, error) + func NamespacePredictor(factory ApiClientFactory, filter map[string]struct{}) complete.Predictor + func QuotaPredictor(factory ApiClientFactory) complete.Predictor + type ACLBootstrapCommand struct + func (c *ACLBootstrapCommand) AutocompleteArgs() complete.Predictor + func (c *ACLBootstrapCommand) AutocompleteFlags() complete.Flags + func (c *ACLBootstrapCommand) Help() string + func (c *ACLBootstrapCommand) Run(args []string) int + func (c *ACLBootstrapCommand) Synopsis() string + type ACLCommand struct + func (f *ACLCommand) Help() string + func (f *ACLCommand) Run(args []string) int + func (f *ACLCommand) Synopsis() string + type ACLPolicyApplyCommand struct + func (c *ACLPolicyApplyCommand) AutocompleteArgs() complete.Predictor + func (c *ACLPolicyApplyCommand) AutocompleteFlags() complete.Flags + func (c *ACLPolicyApplyCommand) Help() string + func (c *ACLPolicyApplyCommand) Run(args []string) int + func (c *ACLPolicyApplyCommand) Synopsis() string + type ACLPolicyCommand struct + func (f *ACLPolicyCommand) Help() string + func (f *ACLPolicyCommand) Run(args []string) int + func (f *ACLPolicyCommand) Synopsis() string + type ACLPolicyDeleteCommand struct + func (c *ACLPolicyDeleteCommand) AutocompleteArgs() complete.Predictor + func (c *ACLPolicyDeleteCommand) AutocompleteFlags() complete.Flags + func (c *ACLPolicyDeleteCommand) Help() string + func (c *ACLPolicyDeleteCommand) Run(args []string) int + func (c *ACLPolicyDeleteCommand) Synopsis() string + type ACLPolicyInfoCommand struct + func (c *ACLPolicyInfoCommand) AutocompleteArgs() complete.Predictor + func (c *ACLPolicyInfoCommand) AutocompleteFlags() complete.Flags + func (c *ACLPolicyInfoCommand) Help() string + func (c *ACLPolicyInfoCommand) Run(args []string) int + func (c *ACLPolicyInfoCommand) Synopsis() string + type ACLPolicyListCommand struct + func (c *ACLPolicyListCommand) AutocompleteArgs() complete.Predictor + func (c *ACLPolicyListCommand) AutocompleteFlags() complete.Flags + func (c *ACLPolicyListCommand) Help() string + func (c *ACLPolicyListCommand) Run(args []string) int + func (c *ACLPolicyListCommand) Synopsis() string + type ACLTokenCommand struct + func (f *ACLTokenCommand) Help() string + func (f *ACLTokenCommand) Run(args []string) int + func (f *ACLTokenCommand) Synopsis() string + type ACLTokenCreateCommand struct + func (c *ACLTokenCreateCommand) AutocompleteArgs() complete.Predictor + func (c *ACLTokenCreateCommand) AutocompleteFlags() complete.Flags + func (c *ACLTokenCreateCommand) Help() string + func (c *ACLTokenCreateCommand) Run(args []string) int + func (c *ACLTokenCreateCommand) Synopsis() string + type ACLTokenDeleteCommand struct + func (c *ACLTokenDeleteCommand) AutocompleteArgs() complete.Predictor + func (c *ACLTokenDeleteCommand) AutocompleteFlags() complete.Flags + func (c *ACLTokenDeleteCommand) Help() string + func (c *ACLTokenDeleteCommand) Run(args []string) int + func (c *ACLTokenDeleteCommand) Synopsis() string + type ACLTokenInfoCommand struct + func (c *ACLTokenInfoCommand) AutocompleteArgs() complete.Predictor + func (c *ACLTokenInfoCommand) AutocompleteFlags() complete.Flags + func (c *ACLTokenInfoCommand) Help() string + func (c *ACLTokenInfoCommand) Run(args []string) int + func (c *ACLTokenInfoCommand) Synopsis() string + type ACLTokenSelfCommand struct + func (c *ACLTokenSelfCommand) AutocompleteArgs() complete.Predictor + func (c *ACLTokenSelfCommand) AutocompleteFlags() complete.Flags + func (c *ACLTokenSelfCommand) Help() string + func (c *ACLTokenSelfCommand) Run(args []string) int + func (c *ACLTokenSelfCommand) Synopsis() string + type ACLTokenUpdateCommand struct + func (c *ACLTokenUpdateCommand) AutocompleteArgs() complete.Predictor + func (c *ACLTokenUpdateCommand) AutocompleteFlags() complete.Flags + func (c *ACLTokenUpdateCommand) Help() string + func (c *ACLTokenUpdateCommand) Run(args []string) int + func (c *ACLTokenUpdateCommand) Synopsis() string + type AgentCheckCommand struct + func (c *AgentCheckCommand) AutocompleteArgs() complete.Predictor + func (c *AgentCheckCommand) AutocompleteFlags() complete.Flags + func (c *AgentCheckCommand) Help() string + func (c *AgentCheckCommand) Run(args []string) int + func (c *AgentCheckCommand) Synopsis() string + type AgentInfoCommand struct + func (c *AgentInfoCommand) Help() string + func (c *AgentInfoCommand) Run(args []string) int + func (c *AgentInfoCommand) Synopsis() string + type AllocStatusCommand struct + func (c *AllocStatusCommand) AutocompleteArgs() complete.Predictor + func (c *AllocStatusCommand) AutocompleteFlags() complete.Flags + func (c *AllocStatusCommand) Help() string + func (c *AllocStatusCommand) Run(args []string) int + func (c *AllocStatusCommand) Synopsis() string + type ApiClientFactory func() (*api.Client, error) + type ClientConfigCommand struct + func (c *ClientConfigCommand) AutocompleteArgs() complete.Predictor + func (c *ClientConfigCommand) AutocompleteFlags() complete.Flags + func (c *ClientConfigCommand) Help() string + func (c *ClientConfigCommand) Run(args []string) int + func (c *ClientConfigCommand) Synopsis() string + type DataFormatter interface + TransformData func(interface{}) (string, error) + func DataFormat(format, tmpl string) (DataFormatter, error) + type DeploymentCommand struct + func (f *DeploymentCommand) Help() string + func (f *DeploymentCommand) Run(args []string) int + func (f *DeploymentCommand) Synopsis() string + type DeploymentFailCommand struct + func (c *DeploymentFailCommand) AutocompleteArgs() complete.Predictor + func (c *DeploymentFailCommand) AutocompleteFlags() complete.Flags + func (c *DeploymentFailCommand) Help() string + func (c *DeploymentFailCommand) Run(args []string) int + func (c *DeploymentFailCommand) Synopsis() string + type DeploymentListCommand struct + func (c *DeploymentListCommand) AutocompleteArgs() complete.Predictor + func (c *DeploymentListCommand) AutocompleteFlags() complete.Flags + func (c *DeploymentListCommand) Help() string + func (c *DeploymentListCommand) Run(args []string) int + func (c *DeploymentListCommand) Synopsis() string + type DeploymentPauseCommand struct + func (c *DeploymentPauseCommand) AutocompleteArgs() complete.Predictor + func (c *DeploymentPauseCommand) AutocompleteFlags() complete.Flags + func (c *DeploymentPauseCommand) Help() string + func (c *DeploymentPauseCommand) Run(args []string) int + func (c *DeploymentPauseCommand) Synopsis() string + type DeploymentPromoteCommand struct + func (c *DeploymentPromoteCommand) AutocompleteArgs() complete.Predictor + func (c *DeploymentPromoteCommand) AutocompleteFlags() complete.Flags + func (c *DeploymentPromoteCommand) Help() string + func (c *DeploymentPromoteCommand) Run(args []string) int + func (c *DeploymentPromoteCommand) Synopsis() string + type DeploymentResumeCommand struct + func (c *DeploymentResumeCommand) AutocompleteArgs() complete.Predictor + func (c *DeploymentResumeCommand) AutocompleteFlags() complete.Flags + func (c *DeploymentResumeCommand) Help() string + func (c *DeploymentResumeCommand) Run(args []string) int + func (c *DeploymentResumeCommand) Synopsis() string + type DeploymentStatusCommand struct + func (c *DeploymentStatusCommand) AutocompleteArgs() complete.Predictor + func (c *DeploymentStatusCommand) AutocompleteFlags() complete.Flags + func (c *DeploymentStatusCommand) Help() string + func (c *DeploymentStatusCommand) Run(args []string) int + func (c *DeploymentStatusCommand) Synopsis() string + type EvalStatusCommand struct + func (c *EvalStatusCommand) AutocompleteArgs() complete.Predictor + func (c *EvalStatusCommand) AutocompleteFlags() complete.Flags + func (c *EvalStatusCommand) Help() string + func (c *EvalStatusCommand) Run(args []string) int + func (c *EvalStatusCommand) Synopsis() string + type ExecutorPluginCommand struct + func (e *ExecutorPluginCommand) Help() string + func (e *ExecutorPluginCommand) Run(args []string) int + func (e *ExecutorPluginCommand) Synopsis() string + type FSCommand struct + func (c *FSCommand) AutocompleteFlags() complete.Flags + func (f *FSCommand) AutocompleteArgs() complete.Predictor + func (f *FSCommand) Help() string + func (f *FSCommand) Run(args []string) int + func (f *FSCommand) Synopsis() string + type FlagSetFlags uint + const FlagSetClient + const FlagSetDefault + const FlagSetNone + type InitCommand struct + func (c *InitCommand) Help() string + func (c *InitCommand) Run(args []string) int + func (c *InitCommand) Synopsis() string + type InspectCommand struct + func (c *InspectCommand) AutocompleteArgs() complete.Predictor + func (c *InspectCommand) AutocompleteFlags() complete.Flags + func (c *InspectCommand) Help() string + func (c *InspectCommand) Run(args []string) int + func (c *InspectCommand) Synopsis() string + type JSONFormat struct + func (p *JSONFormat) TransformData(data interface{}) (string, error) + type JobCommand struct + func (f *JobCommand) Help() string + func (f *JobCommand) Run(args []string) int + func (f *JobCommand) Synopsis() string + type JobDeploymentsCommand struct + func (c *JobDeploymentsCommand) AutocompleteArgs() complete.Predictor + func (c *JobDeploymentsCommand) AutocompleteFlags() complete.Flags + func (c *JobDeploymentsCommand) Help() string + func (c *JobDeploymentsCommand) Run(args []string) int + func (c *JobDeploymentsCommand) Synopsis() string + type JobDispatchCommand struct + func (c *JobDispatchCommand) AutocompleteArgs() complete.Predictor + func (c *JobDispatchCommand) AutocompleteFlags() complete.Flags + func (c *JobDispatchCommand) Help() string + func (c *JobDispatchCommand) Run(args []string) int + func (c *JobDispatchCommand) Synopsis() string + type JobGetter struct + func (j *JobGetter) ApiJob(jpath string) (*api.Job, error) + type JobHistoryCommand struct + func (c *JobHistoryCommand) AutocompleteArgs() complete.Predictor + func (c *JobHistoryCommand) Autocompleteflags() complete.Flags + func (c *JobHistoryCommand) Help() string + func (c *JobHistoryCommand) Run(args []string) int + func (c *JobHistoryCommand) Synopsis() string + type JobPromoteCommand struct + func (c *JobPromoteCommand) AutocompleteArgs() complete.Predictor + func (c *JobPromoteCommand) AutocompleteFlags() complete.Flags + func (c *JobPromoteCommand) Help() string + func (c *JobPromoteCommand) Run(args []string) int + func (c *JobPromoteCommand) Synopsis() string + type JobRevertCommand struct + func (c *JobRevertCommand) AutocompleteArgs() complete.Predictor + func (c *JobRevertCommand) AutocompleteFlags() complete.Flags + func (c *JobRevertCommand) Help() string + func (c *JobRevertCommand) Run(args []string) int + func (c *JobRevertCommand) Synopsis() string + type JobStatusCommand struct + func (c *JobStatusCommand) AutocompleteArgs() complete.Predictor + func (c *JobStatusCommand) AutocompleteFlags() complete.Flags + func (c *JobStatusCommand) Help() string + func (c *JobStatusCommand) Run(args []string) int + func (c *JobStatusCommand) Synopsis() string + type KeygenCommand struct + func (c *KeygenCommand) Help() string + func (c *KeygenCommand) Run(_ []string) int + func (c *KeygenCommand) Synopsis() string + type KeyringCommand struct + func (c *KeyringCommand) AutocompleteArgs() complete.Predictor + func (c *KeyringCommand) AutocompleteFlags() complete.Flags + func (c *KeyringCommand) Help() string + func (c *KeyringCommand) Run(args []string) int + func (c *KeyringCommand) Synopsis() string + type LineLimitReader struct + func NewLineLimitReader(r io.ReadCloser, lines, searchLimit int, timeLimit time.Duration) *LineLimitReader + func (l *LineLimitReader) Read(p []byte) (n int, err error) + type LogsCommand struct + func (c *LogsCommand) AutocompleteFlags() complete.Flags + func (l *LogsCommand) AutocompleteArgs() complete.Predictor + func (l *LogsCommand) Help() string + func (l *LogsCommand) Run(args []string) int + func (l *LogsCommand) Synopsis() string + type Meta struct + Ui cli.Ui + func (m *Meta) AutocompleteFlags(fs FlagSetFlags) complete.Flags + func (m *Meta) Client() (*api.Client, error) + func (m *Meta) Colorize() *colorstring.Colorize + func (m *Meta) FlagSet(n string, fs FlagSetFlags) *flag.FlagSet + type NamespaceApplyCommand struct + func (c *NamespaceApplyCommand) AutocompleteArgs() complete.Predictor + func (c *NamespaceApplyCommand) AutocompleteFlags() complete.Flags + func (c *NamespaceApplyCommand) Help() string + func (c *NamespaceApplyCommand) Run(args []string) int + func (c *NamespaceApplyCommand) Synopsis() string + type NamespaceCommand struct + func (f *NamespaceCommand) Help() string + func (f *NamespaceCommand) Run(args []string) int + func (f *NamespaceCommand) Synopsis() string + type NamespaceDeleteCommand struct + func (c *NamespaceDeleteCommand) AutocompleteArgs() complete.Predictor + func (c *NamespaceDeleteCommand) AutocompleteFlags() complete.Flags + func (c *NamespaceDeleteCommand) Help() string + func (c *NamespaceDeleteCommand) Run(args []string) int + func (c *NamespaceDeleteCommand) Synopsis() string + type NamespaceInspectCommand struct + func (c *NamespaceInspectCommand) AutocompleteArgs() complete.Predictor + func (c *NamespaceInspectCommand) AutocompleteFlags() complete.Flags + func (c *NamespaceInspectCommand) Help() string + func (c *NamespaceInspectCommand) Run(args []string) int + func (c *NamespaceInspectCommand) Synopsis() string + type NamespaceListCommand struct + func (c *NamespaceListCommand) AutocompleteArgs() complete.Predictor + func (c *NamespaceListCommand) AutocompleteFlags() complete.Flags + func (c *NamespaceListCommand) Help() string + func (c *NamespaceListCommand) Run(args []string) int + func (c *NamespaceListCommand) Synopsis() string + type NamespaceStatusCommand struct + func (c *NamespaceStatusCommand) AutocompleteArgs() complete.Predictor + func (c *NamespaceStatusCommand) AutocompleteFlags() complete.Flags + func (c *NamespaceStatusCommand) Help() string + func (c *NamespaceStatusCommand) Run(args []string) int + func (c *NamespaceStatusCommand) Synopsis() string + type NodeDrainCommand struct + func (c *NodeDrainCommand) AutocompleteArgs() complete.Predictor + func (c *NodeDrainCommand) AutocompleteFlags() complete.Flags + func (c *NodeDrainCommand) Help() string + func (c *NodeDrainCommand) Run(args []string) int + func (c *NodeDrainCommand) Synopsis() string + type NodeStatusCommand struct + func (c *NodeStatusCommand) AutocompleteArgs() complete.Predictor + func (c *NodeStatusCommand) AutocompleteFlags() complete.Flags + func (c *NodeStatusCommand) Help() string + func (c *NodeStatusCommand) Run(args []string) int + func (c *NodeStatusCommand) Synopsis() string + type OperatorCommand struct + func (f *OperatorCommand) Help() string + func (f *OperatorCommand) Run(args []string) int + func (f *OperatorCommand) Synopsis() string + type OperatorRaftCommand struct + func (c *OperatorRaftCommand) Help() string + func (c *OperatorRaftCommand) Run(args []string) int + func (c *OperatorRaftCommand) Synopsis() string + type OperatorRaftListCommand struct + func (c *OperatorRaftListCommand) AutocompleteArgs() complete.Predictor + func (c *OperatorRaftListCommand) AutocompleteFlags() complete.Flags + func (c *OperatorRaftListCommand) Help() string + func (c *OperatorRaftListCommand) Run(args []string) int + func (c *OperatorRaftListCommand) Synopsis() string + type OperatorRaftRemoveCommand struct + func (c *OperatorRaftRemoveCommand) AutocompleteArgs() complete.Predictor + func (c *OperatorRaftRemoveCommand) AutocompleteFlags() complete.Flags + func (c *OperatorRaftRemoveCommand) Help() string + func (c *OperatorRaftRemoveCommand) Run(args []string) int + func (c *OperatorRaftRemoveCommand) Synopsis() string + type PlanCommand struct + func (c *PlanCommand) AutocompleteArgs() complete.Predictor + func (c *PlanCommand) AutocompleteFlags() complete.Flags + func (c *PlanCommand) Help() string + func (c *PlanCommand) Run(args []string) int + func (c *PlanCommand) Synopsis() string + type QuotaApplyCommand struct + func (c *QuotaApplyCommand) AutocompleteArgs() complete.Predictor + func (c *QuotaApplyCommand) AutocompleteFlags() complete.Flags + func (c *QuotaApplyCommand) Help() string + func (c *QuotaApplyCommand) Run(args []string) int + func (c *QuotaApplyCommand) Synopsis() string + type QuotaCommand struct + func (f *QuotaCommand) Help() string + func (f *QuotaCommand) Run(args []string) int + func (f *QuotaCommand) Synopsis() string + type QuotaDeleteCommand struct + func (c *QuotaDeleteCommand) AutocompleteArgs() complete.Predictor + func (c *QuotaDeleteCommand) AutocompleteFlags() complete.Flags + func (c *QuotaDeleteCommand) Help() string + func (c *QuotaDeleteCommand) Run(args []string) int + func (c *QuotaDeleteCommand) Synopsis() string + type QuotaInitCommand struct + func (c *QuotaInitCommand) AutocompleteArgs() complete.Predictor + func (c *QuotaInitCommand) AutocompleteFlags() complete.Flags + func (c *QuotaInitCommand) Help() string + func (c *QuotaInitCommand) Run(args []string) int + func (c *QuotaInitCommand) Synopsis() string + type QuotaInspectCommand struct + func (c *QuotaInspectCommand) AutocompleteArgs() complete.Predictor + func (c *QuotaInspectCommand) AutocompleteFlags() complete.Flags + func (c *QuotaInspectCommand) Help() string + func (c *QuotaInspectCommand) Run(args []string) int + func (c *QuotaInspectCommand) Synopsis() string + type QuotaListCommand struct + func (c *QuotaListCommand) AutocompleteArgs() complete.Predictor + func (c *QuotaListCommand) AutocompleteFlags() complete.Flags + func (c *QuotaListCommand) Help() string + func (c *QuotaListCommand) Run(args []string) int + func (c *QuotaListCommand) Synopsis() string + type QuotaStatusCommand struct + func (c *QuotaStatusCommand) AutocompleteArgs() complete.Predictor + func (c *QuotaStatusCommand) AutocompleteFlags() complete.Flags + func (c *QuotaStatusCommand) Help() string + func (c *QuotaStatusCommand) Run(args []string) int + func (c *QuotaStatusCommand) Synopsis() string + type RunCommand struct + func (c *RunCommand) AutocompleteArgs() complete.Predictor + func (c *RunCommand) AutocompleteFlags() complete.Flags + func (c *RunCommand) Help() string + func (c *RunCommand) Run(args []string) int + func (c *RunCommand) Synopsis() string + type SentinelApplyCommand struct + func (c *SentinelApplyCommand) AutocompleteArgs() complete.Predictor + func (c *SentinelApplyCommand) AutocompleteFlags() complete.Flags + func (c *SentinelApplyCommand) Help() string + func (c *SentinelApplyCommand) Run(args []string) int + func (c *SentinelApplyCommand) Synopsis() string + type SentinelCommand struct + func (f *SentinelCommand) Help() string + func (f *SentinelCommand) Run(args []string) int + func (f *SentinelCommand) Synopsis() string + type SentinelDeleteCommand struct + func (c *SentinelDeleteCommand) AutocompleteArgs() complete.Predictor + func (c *SentinelDeleteCommand) AutocompleteFlags() complete.Flags + func (c *SentinelDeleteCommand) Help() string + func (c *SentinelDeleteCommand) Run(args []string) int + func (c *SentinelDeleteCommand) Synopsis() string + type SentinelListCommand struct + func (c *SentinelListCommand) AutocompleteArgs() complete.Predictor + func (c *SentinelListCommand) AutocompleteFlags() complete.Flags + func (c *SentinelListCommand) Help() string + func (c *SentinelListCommand) Run(args []string) int + func (c *SentinelListCommand) Synopsis() string + type SentinelReadCommand struct + func (c *SentinelReadCommand) AutocompleteArgs() complete.Predictor + func (c *SentinelReadCommand) AutocompleteFlags() complete.Flags + func (c *SentinelReadCommand) Help() string + func (c *SentinelReadCommand) Run(args []string) int + func (c *SentinelReadCommand) Synopsis() string + type ServerForceLeaveCommand struct + func (c *ServerForceLeaveCommand) Help() string + func (c *ServerForceLeaveCommand) Run(args []string) int + func (c *ServerForceLeaveCommand) Synopsis() string + type ServerJoinCommand struct + func (c *ServerJoinCommand) Help() string + func (c *ServerJoinCommand) Run(args []string) int + func (c *ServerJoinCommand) Synopsis() string + type ServerMembersCommand struct + func (c *ServerMembersCommand) AutocompleteArgs() complete.Predictor + func (c *ServerMembersCommand) AutocompleteFlags() complete.Flags + func (c *ServerMembersCommand) Help() string + func (c *ServerMembersCommand) Run(args []string) int + func (c *ServerMembersCommand) Synopsis() string + type StatusCommand struct + func (c *StatusCommand) AutocompleteArgs() complete.Predictor + func (c *StatusCommand) AutocompleteFlags() complete.Flags + func (c *StatusCommand) Run(args []string) int + func (c *StatusCommand) Synopsis() string + func (s *StatusCommand) Help() string + type StopCommand struct + func (c *StopCommand) AutocompleteArgs() complete.Predictor + func (c *StopCommand) AutocompleteFlags() complete.Flags + func (c *StopCommand) Help() string + func (c *StopCommand) Run(args []string) int + func (c *StopCommand) Synopsis() string + type TemplateFormat struct + func (p *TemplateFormat) TransformData(data interface{}) (string, error) + type UiCommand struct + func (c *UiCommand) AutocompleteArgs() complete.Predictor + func (c *UiCommand) AutocompleteFlags() complete.Flags + func (c *UiCommand) Help() string + func (c *UiCommand) Run(args []string) int + func (c *UiCommand) Synopsis() string + type ValidateCommand struct + func (c *ValidateCommand) AutocompleteArgs() complete.Predictor + func (c *ValidateCommand) AutocompleteFlags() complete.Flags + func (c *ValidateCommand) Help() string + func (c *ValidateCommand) Run(args []string) int + func (c *ValidateCommand) Synopsis() string + type VersionCommand struct + Ui cli.Ui + Version *version.VersionInfo + func (c *VersionCommand) Help() string + func (c *VersionCommand) Run(_ []string) int + func (c *VersionCommand) Synopsis() string