Versions in this module Expand all Collapse all v0 v0.1.0 Jul 24, 2015 Changes in this version + func GetRulesString(rs []*ConfigRule) (string, error) + func ParseCheckConfig(s string) (*consulapi.AgentServiceCheck, error) + type ACLCloneCommand struct + func (c *ACLCloneCommand) Help() string + func (c *ACLCloneCommand) Run(args []string) int + func (c *ACLCloneCommand) Synopsis() string + type ACLCreateCommand struct + ConfigRules []*ConfigRule + func (c *ACLCreateCommand) Help() string + func (c *ACLCreateCommand) Run(args []string) int + func (c *ACLCreateCommand) Synopsis() string + type ACLDestroyCommand struct + func (c *ACLDestroyCommand) Help() string + func (c *ACLDestroyCommand) Run(args []string) int + func (c *ACLDestroyCommand) Synopsis() string + type ACLInfoCommand struct + func (c *ACLInfoCommand) Help() string + func (c *ACLInfoCommand) Run(args []string) int + func (c *ACLInfoCommand) Synopsis() string + type ACLListCommand struct + func (c *ACLListCommand) Help() string + func (c *ACLListCommand) Run(args []string) int + func (c *ACLListCommand) Synopsis() string + type ACLUpdateCommand struct + ConfigRules []*ConfigRule + func (c *ACLUpdateCommand) Help() string + func (c *ACLUpdateCommand) Run(args []string) int + func (c *ACLUpdateCommand) Synopsis() string + type AgentChecksCommand struct + func (c *AgentChecksCommand) Help() string + func (c *AgentChecksCommand) Run(args []string) int + func (c *AgentChecksCommand) Synopsis() string + type AgentForceLeaveCommand struct + func (c *AgentForceLeaveCommand) Help() string + func (c *AgentForceLeaveCommand) Run(args []string) int + func (c *AgentForceLeaveCommand) Synopsis() string + type AgentJoinCommand struct + func (c *AgentJoinCommand) Help() string + func (c *AgentJoinCommand) Run(args []string) int + func (c *AgentJoinCommand) Synopsis() string + type AgentMaintenanceCommand struct + func (c *AgentMaintenanceCommand) Help() string + func (c *AgentMaintenanceCommand) Run(args []string) int + func (c *AgentMaintenanceCommand) Synopsis() string + type AgentMembersCommand struct + func (c *AgentMembersCommand) Help() string + func (c *AgentMembersCommand) Run(args []string) int + func (c *AgentMembersCommand) Synopsis() string + type AgentSelfCommand struct + func (c *AgentSelfCommand) Help() string + func (c *AgentSelfCommand) Run(args []string) int + func (c *AgentSelfCommand) Synopsis() string + type AgentServicesCommand struct + func (c *AgentServicesCommand) Help() string + func (c *AgentServicesCommand) Run(args []string) int + func (c *AgentServicesCommand) Synopsis() string + type Auth struct + Enabled bool + Password string + Username string + func (a *Auth) Set(value string) error + func (a *Auth) String() string + type CheckDeregisterCommand struct + func (c *CheckDeregisterCommand) Help() string + func (c *CheckDeregisterCommand) Run(args []string) int + func (c *CheckDeregisterCommand) Synopsis() string + type CheckFailCommand struct + func (c *CheckFailCommand) Help() string + func (c *CheckFailCommand) Run(args []string) int + func (c *CheckFailCommand) Synopsis() string + type CheckPassCommand struct + func (c *CheckPassCommand) Help() string + func (c *CheckPassCommand) Run(args []string) int + func (c *CheckPassCommand) Synopsis() string + type CheckRegisterCommand struct + func (c *CheckRegisterCommand) Help() string + func (c *CheckRegisterCommand) Run(args []string) int + func (c *CheckRegisterCommand) Synopsis() string + type CheckWarnCommand struct + func (c *CheckWarnCommand) Help() string + func (c *CheckWarnCommand) Run(args []string) int + func (c *CheckWarnCommand) Synopsis() string + type ConfigRule struct + Path string + PathType string + Policy string + func ParseRuleConfig(s string) (*ConfigRule, error) + type HealthChecksCommand struct + func (c *HealthChecksCommand) Help() string + func (c *HealthChecksCommand) Run(args []string) int + func (c *HealthChecksCommand) Synopsis() string + type HealthNodeCommand struct + func (c *HealthNodeCommand) Help() string + func (c *HealthNodeCommand) Run(args []string) int + func (c *HealthNodeCommand) Synopsis() string + type HealthServiceCommand struct + func (c *HealthServiceCommand) Help() string + func (c *HealthServiceCommand) Run(args []string) int + func (c *HealthServiceCommand) Synopsis() string + type HealthStateCommand struct + func (c *HealthStateCommand) Help() string + func (c *HealthStateCommand) Run(args []string) int + func (c *HealthStateCommand) Synopsis() string + type KVDeleteCommand struct + func (c *KVDeleteCommand) Help() string + func (c *KVDeleteCommand) Run(args []string) int + func (c *KVDeleteCommand) Synopsis() string + type KVJson struct + CreateIndex uint64 + Flags uint64 + Key string + LockIndex uint64 + ModifyIndex uint64 + Session string + Value string + type KVLockCommand struct + func (c *KVLockCommand) Help() string + func (c *KVLockCommand) Run(args []string) int + func (c *KVLockCommand) Synopsis() string + type KVOutput struct + All bool + CreateIndex bool + Flags bool + Key bool + LockIndex bool + ModifyIndex bool + Session bool + Value bool + func NewKVOutput(ui cli.Ui, fields string) *KVOutput + func (kvo *KVOutput) Output(kv *consulapi.KVPair, of OutputFormat) int + func (kvo *KVOutput) OutputHeader(of OutputFormat) + func (kvo *KVOutput) OutputJSON(kv *consulapi.KVPair, prettyFlag bool) int + func (kvo *KVOutput) OutputJSONList(kvs *consulapi.KVPairs, prettyFlag bool) int + func (kvo *KVOutput) OutputList(kvs *consulapi.KVPairs, of OutputFormat) int + func (kvo *KVOutput) OutputText(kv *consulapi.KVPair, of OutputFormat) int + func (kvo *KVOutput) OutputTextList(kvs *consulapi.KVPairs, of OutputFormat) int + type KVReadCommand struct + func (c *KVReadCommand) Help() string + func (c *KVReadCommand) Run(args []string) int + func (c *KVReadCommand) Synopsis() string + type KVUnlockCommand struct + func (c *KVUnlockCommand) Help() string + func (c *KVUnlockCommand) Run(args []string) int + func (c *KVUnlockCommand) Synopsis() string + type KVWatchCommand struct + func (c *KVWatchCommand) Help() string + func (c *KVWatchCommand) Run(args []string) int + func (c *KVWatchCommand) Synopsis() string + type KVWriteCommand struct + func (c *KVWriteCommand) Help() string + func (c *KVWriteCommand) Run(args []string) int + func (c *KVWriteCommand) Synopsis() string + type Meta struct + UI cli.Ui + func (m *Meta) AddDataCenter() + func (m *Meta) AddWait() + func (m *Meta) Client() (*consulapi.Client, error) + func (m *Meta) ConsulHelp() string + func (m *Meta) FlagSet() *flag.FlagSet + func (m *Meta) OutputJSON(v interface{}, prettyFlag bool) + func (m *Meta) QueryOptions() *consulapi.QueryOptions + func (m *Meta) WriteOptions() *consulapi.WriteOptions + type OutputFormat struct + Delimiter string + Header bool + Type string + type ServiceDeregisterCommand struct + func (c *ServiceDeregisterCommand) Help() string + func (c *ServiceDeregisterCommand) Run(args []string) int + func (c *ServiceDeregisterCommand) Synopsis() string + type ServiceMaintenanceCommand struct + func (c *ServiceMaintenanceCommand) Help() string + func (c *ServiceMaintenanceCommand) Run(args []string) int + func (c *ServiceMaintenanceCommand) Synopsis() string + type ServiceRegisterCommand struct + func (c *ServiceRegisterCommand) Help() string + func (c *ServiceRegisterCommand) Run(args []string) int + func (c *ServiceRegisterCommand) Synopsis() string + type SessionCreateCommand struct + func (c *SessionCreateCommand) Help() string + func (c *SessionCreateCommand) Run(args []string) int + func (c *SessionCreateCommand) Synopsis() string + type SessionDestroyCommand struct + func (c *SessionDestroyCommand) Help() string + func (c *SessionDestroyCommand) Run(args []string) int + func (c *SessionDestroyCommand) Synopsis() string + type SessionInfoCommand struct + func (c *SessionInfoCommand) Help() string + func (c *SessionInfoCommand) Run(args []string) int + func (c *SessionInfoCommand) Synopsis() string + type SessionListCommand struct + func (c *SessionListCommand) Help() string + func (c *SessionListCommand) Run(args []string) int + func (c *SessionListCommand) Synopsis() string + type SessionNodeCommand struct + func (c *SessionNodeCommand) Help() string + func (c *SessionNodeCommand) Run(args []string) int + func (c *SessionNodeCommand) Synopsis() string + type SessionRenewCommand struct + func (c *SessionRenewCommand) Help() string + func (c *SessionRenewCommand) Run(args []string) int + func (c *SessionRenewCommand) Synopsis() string + type StatusLeaderCommand struct + func (c *StatusLeaderCommand) Help() string + func (c *StatusLeaderCommand) Run(args []string) int + func (c *StatusLeaderCommand) Synopsis() string + type StatusPeersCommand struct + func (c *StatusPeersCommand) Help() string + func (c *StatusPeersCommand) Run(args []string) int + func (c *StatusPeersCommand) Synopsis() string