vault: github.com/hashicorp/vault/command Index | Files | Directories

package command

import "github.com/hashicorp/vault/command"

Index

Package Files

agent.go audit.go audit_disable.go audit_enable.go audit_list.go auth.go auth_disable.go auth_enable.go auth_help.go auth_list.go auth_tune.go base.go base_flags.go base_helpers.go base_predict.go commands.go commands_nonwindows.go config.go delete.go format.go kv.go kv_delete.go kv_destroy.go kv_enable_versioning.go kv_get.go kv_helpers.go kv_list.go kv_metadata.go kv_metadata_delete.go kv_metadata_get.go kv_metadata_put.go kv_patch.go kv_put.go kv_rollback.go kv_undelete.go lease.go lease_renew.go lease_revoke.go list.go login.go main.go namespace.go namespace_create.go namespace_delete.go namespace_list.go namespace_lookup.go operator.go operator_generate_root.go operator_init.go operator_key_status.go operator_migrate.go operator_raft_configuration.go operator_raft_join.go operator_raft_remove_peer.go operator_raft_snapshot_restore.go operator_raft_snapshot_save.go operator_rekey.go operator_seal.go operator_step_down.go operator_unseal.go path_help.go plugin.go plugin_deregister.go plugin_info.go plugin_list.go plugin_register.go policy.go policy_delete.go policy_fmt.go policy_list.go policy_read.go policy_write.go print.go print_token.go read.go rotate.go secrets.go secrets_disable.go secrets_enable.go secrets_list.go secrets_move.go secrets_tune.go server.go server_devfourcluster.go server_noprofile.go server_util.go ssh.go status.go token.go token_capabilities.go token_create.go token_lookup.go token_renew.go token_revoke.go unwrap.go util.go version.go write.go

Constants

const (
    // EnvVaultCLINoColor is an env var that toggles colored UI output.
    EnvVaultCLINoColor = `VAULT_CLI_NO_COLOR`
    // EnvVaultFormat is the output format
    EnvVaultFormat = `VAULT_FORMAT`
)
const (
    // DefaultConfigPath is the default path to the configuration file
    DefaultConfigPath = "~/.vault"

    // ConfigPathEnv is the environment variable that can be used to
    // override where the Vault configuration is.
    ConfigPathEnv = "VAULT_CONFIG_PATH"
)

Variables

var Commands map[string]cli.CommandFactory

Commands is the mapping of all the available commands.

var Formatters = map[string]Formatter{
    "json":  JsonFormatter{},
    "table": TableFormatter{},
    "yaml":  YamlFormatter{},
    "yml":   YamlFormatter{},
}

func DefaultTokenHelper Uses

func DefaultTokenHelper() (token.TokenHelper, error)

DefaultTokenHelper returns the token helper that is configured for Vault.

func Format Uses

func Format(ui cli.Ui) string

func MakeShutdownCh Uses

func MakeShutdownCh() chan struct{}

MakeShutdownCh returns a channel that can be used for shutdown notifications for commands. This channel will send a message for every SIGINT or SIGTERM received.

func MakeSigUSR2Ch Uses

func MakeSigUSR2Ch() chan struct{}

MakeSigUSR2Ch returns a channel that can be used for SIGUSR2 goroutine logging. This channel will send a message for every SIGUSR2 received.

func MakeSighupCh Uses

func MakeSighupCh() chan struct{}

MakeSighupCh returns a channel that can be used for SIGHUP reloading. This channel will send a message for every SIGHUP received.

func OutputData Uses

func OutputData(ui cli.Ui, data interface{}) int

func OutputList Uses

func OutputList(ui cli.Ui, data interface{}) int

func OutputSealStatus Uses

func OutputSealStatus(ui cli.Ui, client *api.Client, status *api.SealStatusResponse) int

OutputSealStatus will print *api.SealStatusResponse in the CLI according to the format provided

func OutputSecret Uses

func OutputSecret(ui cli.Ui, secret *api.Secret) int

func PredictClient Uses

func PredictClient() *api.Client

PredictClient returns the cached API client for the predictor.

func PrintRaw Uses

func PrintRaw(ui cli.Ui, str string) int

PrintRaw prints a raw value to the terminal. If the process is being "piped" to something else, the "raw" value is printed without a newline character. Otherwise the value is printed as normal.

func PrintRawField Uses

func PrintRawField(ui cli.Ui, data interface{}, field string) int

PrintRawField prints raw field from the secret.

func RawField Uses

func RawField(secret *api.Secret, field string) interface{}

RawField extracts the raw field from the given data and returns it as a string for printing purposes.

func Run Uses

func Run(args []string) int

func RunCustom Uses

func RunCustom(args []string, runOpts *RunOptions) int

RunCustom allows passing in a base command template to pass to other commands. Currently, this is only used for setting a custom token helper.

func SetStorageMigration Uses

func SetStorageMigration(b physical.Backend, active bool) error

type AgentCommand Uses

type AgentCommand struct {
    *BaseCommand

    ShutdownCh chan struct{}
    SighupCh   chan struct{}
    // contains filtered or unexported fields
}

func (*AgentCommand) AutocompleteArgs Uses

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

func (*AgentCommand) AutocompleteFlags Uses

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

func (*AgentCommand) Flags Uses

func (c *AgentCommand) Flags() *FlagSets

func (*AgentCommand) Help Uses

func (c *AgentCommand) Help() string

func (*AgentCommand) Run Uses

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

func (*AgentCommand) Synopsis Uses

func (c *AgentCommand) Synopsis() string

type AuditCommand Uses

type AuditCommand struct {
    *BaseCommand
}

func (*AuditCommand) Help Uses

func (c *AuditCommand) Help() string

func (*AuditCommand) Run Uses

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

func (*AuditCommand) Synopsis Uses

func (c *AuditCommand) Synopsis() string

type AuditDisableCommand Uses

type AuditDisableCommand struct {
    *BaseCommand
}

func (*AuditDisableCommand) AutocompleteArgs Uses

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

func (*AuditDisableCommand) AutocompleteFlags Uses

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

func (*AuditDisableCommand) Flags Uses

func (c *AuditDisableCommand) Flags() *FlagSets

func (*AuditDisableCommand) Help Uses

func (c *AuditDisableCommand) Help() string

func (*AuditDisableCommand) Run Uses

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

func (*AuditDisableCommand) Synopsis Uses

func (c *AuditDisableCommand) Synopsis() string

type AuditEnableCommand Uses

type AuditEnableCommand struct {
    *BaseCommand
    // contains filtered or unexported fields
}

func (*AuditEnableCommand) AutocompleteArgs Uses

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

func (*AuditEnableCommand) AutocompleteFlags Uses

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

func (*AuditEnableCommand) Flags Uses

func (c *AuditEnableCommand) Flags() *FlagSets

func (*AuditEnableCommand) Help Uses

func (c *AuditEnableCommand) Help() string

func (*AuditEnableCommand) Run Uses

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

func (*AuditEnableCommand) Synopsis Uses

func (c *AuditEnableCommand) Synopsis() string

type AuditListCommand Uses

type AuditListCommand struct {
    *BaseCommand
    // contains filtered or unexported fields
}

func (*AuditListCommand) AutocompleteArgs Uses

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

func (*AuditListCommand) AutocompleteFlags Uses

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

func (*AuditListCommand) Flags Uses

func (c *AuditListCommand) Flags() *FlagSets

func (*AuditListCommand) Help Uses

func (c *AuditListCommand) Help() string

func (*AuditListCommand) Run Uses

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

func (*AuditListCommand) Synopsis Uses

func (c *AuditListCommand) Synopsis() string

type AuthCommand Uses

type AuthCommand struct {
    *BaseCommand
}

func (*AuthCommand) Help Uses

func (c *AuthCommand) Help() string

func (*AuthCommand) Run Uses

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

func (*AuthCommand) Synopsis Uses

func (c *AuthCommand) Synopsis() string

type AuthDisableCommand Uses

type AuthDisableCommand struct {
    *BaseCommand
}

func (*AuthDisableCommand) AutocompleteArgs Uses

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

func (*AuthDisableCommand) AutocompleteFlags Uses

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

func (*AuthDisableCommand) Flags Uses

func (c *AuthDisableCommand) Flags() *FlagSets

func (*AuthDisableCommand) Help Uses

func (c *AuthDisableCommand) Help() string

func (*AuthDisableCommand) Run Uses

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

func (*AuthDisableCommand) Synopsis Uses

func (c *AuthDisableCommand) Synopsis() string

type AuthEnableCommand Uses

type AuthEnableCommand struct {
    *BaseCommand
    // contains filtered or unexported fields
}

func (*AuthEnableCommand) AutocompleteArgs Uses

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

func (*AuthEnableCommand) AutocompleteFlags Uses

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

func (*AuthEnableCommand) Flags Uses

func (c *AuthEnableCommand) Flags() *FlagSets

func (*AuthEnableCommand) Help Uses

func (c *AuthEnableCommand) Help() string

func (*AuthEnableCommand) Run Uses

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

func (*AuthEnableCommand) Synopsis Uses

func (c *AuthEnableCommand) Synopsis() string

type AuthHelpCommand Uses

type AuthHelpCommand struct {
    *BaseCommand

    Handlers map[string]LoginHandler
}

func (*AuthHelpCommand) AutocompleteArgs Uses

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

func (*AuthHelpCommand) AutocompleteFlags Uses

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

func (*AuthHelpCommand) Flags Uses

func (c *AuthHelpCommand) Flags() *FlagSets

func (*AuthHelpCommand) Help Uses

func (c *AuthHelpCommand) Help() string

func (*AuthHelpCommand) Run Uses

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

func (*AuthHelpCommand) Synopsis Uses

func (c *AuthHelpCommand) Synopsis() string

type AuthListCommand Uses

type AuthListCommand struct {
    *BaseCommand
    // contains filtered or unexported fields
}

func (*AuthListCommand) AutocompleteArgs Uses

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

func (*AuthListCommand) AutocompleteFlags Uses

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

func (*AuthListCommand) Flags Uses

func (c *AuthListCommand) Flags() *FlagSets

func (*AuthListCommand) Help Uses

func (c *AuthListCommand) Help() string

func (*AuthListCommand) Run Uses

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

func (*AuthListCommand) Synopsis Uses

func (c *AuthListCommand) Synopsis() string

type AuthTuneCommand Uses

type AuthTuneCommand struct {
    *BaseCommand
    // contains filtered or unexported fields
}

func (*AuthTuneCommand) AutocompleteArgs Uses

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

func (*AuthTuneCommand) AutocompleteFlags Uses

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

func (*AuthTuneCommand) Flags Uses

func (c *AuthTuneCommand) Flags() *FlagSets

func (*AuthTuneCommand) Help Uses

func (c *AuthTuneCommand) Help() string

func (*AuthTuneCommand) Run Uses

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

func (*AuthTuneCommand) Synopsis Uses

func (c *AuthTuneCommand) Synopsis() string

type BaseCommand Uses

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

func (*BaseCommand) Client Uses

func (c *BaseCommand) Client() (*api.Client, error)

Client returns the HTTP API client. The client is cached on the command to save performance on future calls.

func (*BaseCommand) DefaultWrappingLookupFunc Uses

func (c *BaseCommand) DefaultWrappingLookupFunc(operation, path string) string

DefaultWrappingLookupFunc is the default wrapping function based on the CLI flag.

func (*BaseCommand) PredictVaultAudits Uses

func (b *BaseCommand) PredictVaultAudits() complete.Predictor

PredictVaultAudits returns a predictor for "folders". See PredictVaultFiles for more information and restrictions.

func (*BaseCommand) PredictVaultAuths Uses

func (b *BaseCommand) PredictVaultAuths() complete.Predictor

PredictVaultAuths returns a predictor for "folders". See PredictVaultFiles for more information and restrictions.

func (*BaseCommand) PredictVaultAvailableAuths Uses

func (b *BaseCommand) PredictVaultAvailableAuths() complete.Predictor

PredictVaultAvailableAuths returns a predictor for the available auths in Vault. For now, there is no way to programmatically get this list. If, in the future, such a list exists, we can adapt it here. Until then, it's hard-coded.

func (*BaseCommand) PredictVaultAvailableMounts Uses

func (b *BaseCommand) PredictVaultAvailableMounts() complete.Predictor

PredictVaultAvailableMounts returns a predictor for the available mounts in Vault. For now, there is no way to programmatically get this list. If, in the future, such a list exists, we can adapt it here. Until then, it's hard-coded.

func (*BaseCommand) PredictVaultFiles Uses

func (b *BaseCommand) PredictVaultFiles() complete.Predictor

PredictVaultFiles returns a predictor for Vault mounts and paths based on the configured client for the base command. Unfortunately this happens pre-flag parsing, so users must rely on environment variables for autocomplete if they are not using Vault at the default endpoints.

func (*BaseCommand) PredictVaultFolders Uses

func (b *BaseCommand) PredictVaultFolders() complete.Predictor

PredictVaultFolders returns a predictor for "folders". See PredictVaultFiles for more information and restrictions.

func (*BaseCommand) PredictVaultMounts Uses

func (b *BaseCommand) PredictVaultMounts() complete.Predictor

PredictVaultMounts returns a predictor for "folders". See PredictVaultFiles for more information and restrictions.

func (*BaseCommand) PredictVaultPlugins Uses

func (b *BaseCommand) PredictVaultPlugins(pluginTypes ...consts.PluginType) complete.Predictor

PredictVaultPlugins returns a predictor for installed plugins.

func (*BaseCommand) PredictVaultPolicies Uses

func (b *BaseCommand) PredictVaultPolicies() complete.Predictor

PredictVaultPolicies returns a predictor for "folders". See PredictVaultFiles for more information and restrictions.

func (*BaseCommand) SetAddress Uses

func (c *BaseCommand) SetAddress(addr string)

SetAddress sets the token helper on the command; useful for the demo server and other outside cases.

func (*BaseCommand) SetTokenHelper Uses

func (c *BaseCommand) SetTokenHelper(th token.TokenHelper)

SetTokenHelper sets the token helper on the command.

func (*BaseCommand) TokenHelper Uses

func (c *BaseCommand) TokenHelper() (token.TokenHelper, error)

TokenHelper returns the token helper attached to the command.

type BoolVar Uses

type BoolVar struct {
    Name       string
    Aliases    []string
    Usage      string
    Default    bool
    Hidden     bool
    EnvVar     string
    Target     *bool
    Completion complete.Predictor
}

-- BoolVar and boolValue

type DefaultConfig Uses

type DefaultConfig struct {
    // TokenHelper is the executable/command that is executed for storing
    // and retrieving the authentication token for the Vault CLI. If this
    // is not specified, then vault's internal token store will be used, which
    // stores the token on disk unencrypted.
    TokenHelper string `hcl:"token_helper"`
}

Config is the CLI configuration for Vault that can be specified via a `$HOME/.vault` file which is HCL-formatted (therefore HCL or JSON).

func Config Uses

func Config() (*DefaultConfig, error)

Config loads the configuration and returns it. If the configuration is already loaded, it is returned.

Config just calls into config.Config for backwards compatibility purposes. Use config.Config instead.

func LoadConfig Uses

func LoadConfig(path string) (*DefaultConfig, error)

LoadConfig reads the configuration from the given path. If path is empty, then the default path will be used, or the environment variable if set.

LoadConfig just calls into config.LoadConfig for backwards compatibility purposes. Use config.LoadConfig instead.

func ParseConfig Uses

func ParseConfig(contents string) (*DefaultConfig, error)

ParseConfig parses the given configuration as a string.

ParseConfig just calls into config.ParseConfig for backwards compatibility purposes. Use config.ParseConfig instead.

type DeleteCommand Uses

type DeleteCommand struct {
    *BaseCommand
}

func (*DeleteCommand) AutocompleteArgs Uses

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

func (*DeleteCommand) AutocompleteFlags Uses

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

func (*DeleteCommand) Flags Uses

func (c *DeleteCommand) Flags() *FlagSets

func (*DeleteCommand) Help Uses

func (c *DeleteCommand) Help() string

func (*DeleteCommand) Run Uses

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

func (*DeleteCommand) Synopsis Uses

func (c *DeleteCommand) Synopsis() string

type DurationVar Uses

type DurationVar struct {
    Name       string
    Aliases    []string
    Usage      string
    Default    time.Duration
    Hidden     bool
    EnvVar     string
    Target     *time.Duration
    Completion complete.Predictor
}

-- DurationVar and durationValue

type FlagBool Uses

type FlagBool interface {
    IsBoolFlag() bool
}

FlagBool is an interface which boolean flags implement.

type FlagExample Uses

type FlagExample interface {
    Example() string
}

FlagExample is an interface which declares an example value.

type FlagSet Uses

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

FlagSet is a grouped wrapper around a real flag set and a grouped flag set.

func NewFlagSet Uses

func NewFlagSet(name string) *FlagSet

NewFlagSet creates a new flag set.

func (*FlagSet) BoolVar Uses

func (f *FlagSet) BoolVar(i *BoolVar)

func (*FlagSet) DurationVar Uses

func (f *FlagSet) DurationVar(i *DurationVar)

func (*FlagSet) Float64Var Uses

func (f *FlagSet) Float64Var(i *Float64Var)

func (*FlagSet) Int64Var Uses

func (f *FlagSet) Int64Var(i *Int64Var)

func (*FlagSet) IntVar Uses

func (f *FlagSet) IntVar(i *IntVar)

func (*FlagSet) Name Uses

func (f *FlagSet) Name() string

Name returns the name of this flag set.

func (*FlagSet) StringMapVar Uses

func (f *FlagSet) StringMapVar(i *StringMapVar)

func (*FlagSet) StringSliceVar Uses

func (f *FlagSet) StringSliceVar(i *StringSliceVar)

func (*FlagSet) StringVar Uses

func (f *FlagSet) StringVar(i *StringVar)

func (*FlagSet) Uint64Var Uses

func (f *FlagSet) Uint64Var(i *Uint64Var)

func (*FlagSet) UintVar Uses

func (f *FlagSet) UintVar(i *UintVar)

func (*FlagSet) Var Uses

func (f *FlagSet) Var(value flag.Value, name, usage string)

Var is a lower-level API for adding something to the flags. It should be used with caution, since it bypasses all validation. Consider VarFlag instead.

func (*FlagSet) VarFlag Uses

func (f *FlagSet) VarFlag(i *VarFlag)

func (*FlagSet) Visit Uses

func (f *FlagSet) Visit(fn func(*flag.Flag))

func (*FlagSet) VisitAll Uses

func (f *FlagSet) VisitAll(fn func(*flag.Flag))

type FlagSetBit Uses

type FlagSetBit uint
const (
    FlagSetNone FlagSetBit = 1 << iota
    FlagSetHTTP
    FlagSetOutputField
    FlagSetOutputFormat
)

type FlagSets Uses

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

FlagSets is a group of flag sets.

func NewFlagSets Uses

func NewFlagSets(ui cli.Ui) *FlagSets

NewFlagSets creates a new flag sets.

func (*FlagSets) Args Uses

func (f *FlagSets) Args() []string

Args returns the remaining args after parsing.

func (*FlagSets) Completions Uses

func (f *FlagSets) Completions() complete.Flags

Completions returns the completions for this flag set.

func (*FlagSets) Help Uses

func (fs *FlagSets) Help() string

Help builds custom help for this command, grouping by flag set.

func (*FlagSets) NewFlagSet Uses

func (f *FlagSets) NewFlagSet(name string) *FlagSet

NewFlagSet creates a new flag set from the given flag sets.

func (*FlagSets) Parse Uses

func (f *FlagSets) Parse(args []string) error

Parse parses the given flags, returning any errors.

func (*FlagSets) Parsed Uses

func (f *FlagSets) Parsed() bool

Parsed reports whether the command-line flags have been parsed.

func (*FlagSets) Visit Uses

func (f *FlagSets) Visit(fn func(*flag.Flag))

Visit visits the flags in lexicographical order, calling fn for each. It visits only those flags that have been set.

type FlagVisibility Uses

type FlagVisibility interface {
    Hidden() bool
}

FlagVisibility is an interface which declares whether a flag should be hidden from help and completions. This is usually used for deprecations on "internal-only" flags.

type Float64Var Uses

type Float64Var struct {
    Name       string
    Aliases    []string
    Usage      string
    Default    float64
    Hidden     bool
    EnvVar     string
    Target     *float64
    Completion complete.Predictor
}

-- Float64Var and float64Value

type FormatOptions Uses

type FormatOptions struct {
    Format string
}

type Formatter Uses

type Formatter interface {
    Output(ui cli.Ui, secret *api.Secret, data interface{}) error
    Format(data interface{}) ([]byte, error)
}

type Int64Var Uses

type Int64Var struct {
    Name       string
    Aliases    []string
    Usage      string
    Default    int64
    Hidden     bool
    EnvVar     string
    Target     *int64
    Completion complete.Predictor
}

-- Int64Var and int64Value

type IntVar Uses

type IntVar struct {
    Name       string
    Aliases    []string
    Usage      string
    Default    int
    Hidden     bool
    EnvVar     string
    Target     *int
    Completion complete.Predictor
}

-- IntVar and intValue

type JsonFormatter Uses

type JsonFormatter struct{}

An output formatter for json output of an object

func (JsonFormatter) Format Uses

func (j JsonFormatter) Format(data interface{}) ([]byte, error)

func (JsonFormatter) Output Uses

func (j JsonFormatter) Output(ui cli.Ui, secret *api.Secret, data interface{}) error

type KVCommand Uses

type KVCommand struct {
    *BaseCommand
}

func (*KVCommand) Help Uses

func (c *KVCommand) Help() string

func (*KVCommand) Run Uses

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

func (*KVCommand) Synopsis Uses

func (c *KVCommand) Synopsis() string

type KVDeleteCommand Uses

type KVDeleteCommand struct {
    *BaseCommand
    // contains filtered or unexported fields
}

func (*KVDeleteCommand) AutocompleteArgs Uses

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

func (*KVDeleteCommand) AutocompleteFlags Uses

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

func (*KVDeleteCommand) Flags Uses

func (c *KVDeleteCommand) Flags() *FlagSets

func (*KVDeleteCommand) Help Uses

func (c *KVDeleteCommand) Help() string

func (*KVDeleteCommand) Run Uses

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

func (*KVDeleteCommand) Synopsis Uses

func (c *KVDeleteCommand) Synopsis() string

type KVDestroyCommand Uses

type KVDestroyCommand struct {
    *BaseCommand
    // contains filtered or unexported fields
}

func (*KVDestroyCommand) AutocompleteArgs Uses

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

func (*KVDestroyCommand) AutocompleteFlags Uses

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

func (*KVDestroyCommand) Flags Uses

func (c *KVDestroyCommand) Flags() *FlagSets

func (*KVDestroyCommand) Help Uses

func (c *KVDestroyCommand) Help() string

func (*KVDestroyCommand) Run Uses

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

func (*KVDestroyCommand) Synopsis Uses

func (c *KVDestroyCommand) Synopsis() string

type KVEnableVersioningCommand Uses

type KVEnableVersioningCommand struct {
    *BaseCommand
}

func (*KVEnableVersioningCommand) AutocompleteArgs Uses

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

func (*KVEnableVersioningCommand) AutocompleteFlags Uses

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

func (*KVEnableVersioningCommand) Flags Uses

func (c *KVEnableVersioningCommand) Flags() *FlagSets

func (*KVEnableVersioningCommand) Help Uses

func (c *KVEnableVersioningCommand) Help() string

func (*KVEnableVersioningCommand) Run Uses

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

func (*KVEnableVersioningCommand) Synopsis Uses

func (c *KVEnableVersioningCommand) Synopsis() string

type KVGetCommand Uses

type KVGetCommand struct {
    *BaseCommand
    // contains filtered or unexported fields
}

func (*KVGetCommand) AutocompleteArgs Uses

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

func (*KVGetCommand) AutocompleteFlags Uses

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

func (*KVGetCommand) Flags Uses

func (c *KVGetCommand) Flags() *FlagSets

func (*KVGetCommand) Help Uses

func (c *KVGetCommand) Help() string

func (*KVGetCommand) Run Uses

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

func (*KVGetCommand) Synopsis Uses

func (c *KVGetCommand) Synopsis() string

type KVListCommand Uses

type KVListCommand struct {
    *BaseCommand
}

func (*KVListCommand) AutocompleteArgs Uses

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

func (*KVListCommand) AutocompleteFlags Uses

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

func (*KVListCommand) Flags Uses

func (c *KVListCommand) Flags() *FlagSets

func (*KVListCommand) Help Uses

func (c *KVListCommand) Help() string

func (*KVListCommand) Run Uses

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

func (*KVListCommand) Synopsis Uses

func (c *KVListCommand) Synopsis() string

type KVMetadataCommand Uses

type KVMetadataCommand struct {
    *BaseCommand
}

func (*KVMetadataCommand) Help Uses

func (c *KVMetadataCommand) Help() string

func (*KVMetadataCommand) Run Uses

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

func (*KVMetadataCommand) Synopsis Uses

func (c *KVMetadataCommand) Synopsis() string

type KVMetadataDeleteCommand Uses

type KVMetadataDeleteCommand struct {
    *BaseCommand
}

func (*KVMetadataDeleteCommand) AutocompleteArgs Uses

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

func (*KVMetadataDeleteCommand) AutocompleteFlags Uses

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

func (*KVMetadataDeleteCommand) Flags Uses

func (c *KVMetadataDeleteCommand) Flags() *FlagSets

func (*KVMetadataDeleteCommand) Help Uses

func (c *KVMetadataDeleteCommand) Help() string

func (*KVMetadataDeleteCommand) Run Uses

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

func (*KVMetadataDeleteCommand) Synopsis Uses

func (c *KVMetadataDeleteCommand) Synopsis() string

type KVMetadataGetCommand Uses

type KVMetadataGetCommand struct {
    *BaseCommand
}

func (*KVMetadataGetCommand) AutocompleteArgs Uses

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

func (*KVMetadataGetCommand) AutocompleteFlags Uses

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

func (*KVMetadataGetCommand) Flags Uses

func (c *KVMetadataGetCommand) Flags() *FlagSets

func (*KVMetadataGetCommand) Help Uses

func (c *KVMetadataGetCommand) Help() string

func (*KVMetadataGetCommand) Run Uses

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

func (*KVMetadataGetCommand) Synopsis Uses

func (c *KVMetadataGetCommand) Synopsis() string

type KVMetadataPutCommand Uses

type KVMetadataPutCommand struct {
    *BaseCommand
    // contains filtered or unexported fields
}

func (*KVMetadataPutCommand) AutocompleteArgs Uses

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

func (*KVMetadataPutCommand) AutocompleteFlags Uses

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

func (*KVMetadataPutCommand) Flags Uses

func (c *KVMetadataPutCommand) Flags() *FlagSets

func (*KVMetadataPutCommand) Help Uses

func (c *KVMetadataPutCommand) Help() string

func (*KVMetadataPutCommand) Run Uses

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

func (*KVMetadataPutCommand) Synopsis Uses

func (c *KVMetadataPutCommand) Synopsis() string

type KVPatchCommand Uses

type KVPatchCommand struct {
    *BaseCommand
    // contains filtered or unexported fields
}

func (*KVPatchCommand) AutocompleteArgs Uses

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

func (*KVPatchCommand) AutocompleteFlags Uses

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

func (*KVPatchCommand) Flags Uses

func (c *KVPatchCommand) Flags() *FlagSets

func (*KVPatchCommand) Help Uses

func (c *KVPatchCommand) Help() string

func (*KVPatchCommand) Run Uses

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

func (*KVPatchCommand) Synopsis Uses

func (c *KVPatchCommand) Synopsis() string

type KVPutCommand Uses

type KVPutCommand struct {
    *BaseCommand
    // contains filtered or unexported fields
}

func (*KVPutCommand) AutocompleteArgs Uses

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

func (*KVPutCommand) AutocompleteFlags Uses

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

func (*KVPutCommand) Flags Uses

func (c *KVPutCommand) Flags() *FlagSets

func (*KVPutCommand) Help Uses

func (c *KVPutCommand) Help() string

func (*KVPutCommand) Run Uses

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

func (*KVPutCommand) Synopsis Uses

func (c *KVPutCommand) Synopsis() string

type KVRollbackCommand Uses

type KVRollbackCommand struct {
    *BaseCommand
    // contains filtered or unexported fields
}

func (*KVRollbackCommand) AutocompleteArgs Uses

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

func (*KVRollbackCommand) AutocompleteFlags Uses

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

func (*KVRollbackCommand) Flags Uses

func (c *KVRollbackCommand) Flags() *FlagSets

func (*KVRollbackCommand) Help Uses

func (c *KVRollbackCommand) Help() string

func (*KVRollbackCommand) Run Uses

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

func (*KVRollbackCommand) Synopsis Uses

func (c *KVRollbackCommand) Synopsis() string

type KVUndeleteCommand Uses

type KVUndeleteCommand struct {
    *BaseCommand
    // contains filtered or unexported fields
}

func (*KVUndeleteCommand) AutocompleteArgs Uses

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

func (*KVUndeleteCommand) AutocompleteFlags Uses

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

func (*KVUndeleteCommand) Flags Uses

func (c *KVUndeleteCommand) Flags() *FlagSets

func (*KVUndeleteCommand) Help Uses

func (c *KVUndeleteCommand) Help() string

func (*KVUndeleteCommand) Run Uses

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

func (*KVUndeleteCommand) Synopsis Uses

func (c *KVUndeleteCommand) Synopsis() string

type LeaseCommand Uses

type LeaseCommand struct {
    *BaseCommand
}

func (*LeaseCommand) Help Uses

func (c *LeaseCommand) Help() string

func (*LeaseCommand) Run Uses

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

func (*LeaseCommand) Synopsis Uses

func (c *LeaseCommand) Synopsis() string

type LeaseRenewCommand Uses

type LeaseRenewCommand struct {
    *BaseCommand
    // contains filtered or unexported fields
}

func (*LeaseRenewCommand) AutocompleteArgs Uses

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

func (*LeaseRenewCommand) AutocompleteFlags Uses

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

func (*LeaseRenewCommand) Flags Uses

func (c *LeaseRenewCommand) Flags() *FlagSets

func (*LeaseRenewCommand) Help Uses

func (c *LeaseRenewCommand) Help() string

func (*LeaseRenewCommand) Run Uses

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

func (*LeaseRenewCommand) Synopsis Uses

func (c *LeaseRenewCommand) Synopsis() string

type LeaseRevokeCommand Uses

type LeaseRevokeCommand struct {
    *BaseCommand
    // contains filtered or unexported fields
}

func (*LeaseRevokeCommand) AutocompleteArgs Uses

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

func (*LeaseRevokeCommand) AutocompleteFlags Uses

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

func (*LeaseRevokeCommand) Flags Uses

func (c *LeaseRevokeCommand) Flags() *FlagSets

func (*LeaseRevokeCommand) Help Uses

func (c *LeaseRevokeCommand) Help() string

func (*LeaseRevokeCommand) Run Uses

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

func (*LeaseRevokeCommand) Synopsis Uses

func (c *LeaseRevokeCommand) Synopsis() string

type ListCommand Uses

type ListCommand struct {
    *BaseCommand
}

func (*ListCommand) AutocompleteArgs Uses

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

func (*ListCommand) AutocompleteFlags Uses

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

func (*ListCommand) Flags Uses

func (c *ListCommand) Flags() *FlagSets

func (*ListCommand) Help Uses

func (c *ListCommand) Help() string

func (*ListCommand) Run Uses

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

func (*ListCommand) Synopsis Uses

func (c *ListCommand) Synopsis() string

type LoginCommand Uses

type LoginCommand struct {
    *BaseCommand

    Handlers map[string]LoginHandler
    // contains filtered or unexported fields
}

func (*LoginCommand) AutocompleteArgs Uses

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

func (*LoginCommand) AutocompleteFlags Uses

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

func (*LoginCommand) Flags Uses

func (c *LoginCommand) Flags() *FlagSets

func (*LoginCommand) Help Uses

func (c *LoginCommand) Help() string

func (*LoginCommand) Run Uses

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

func (*LoginCommand) Synopsis Uses

func (c *LoginCommand) Synopsis() string

type LoginHandler Uses

type LoginHandler interface {
    Auth(*api.Client, map[string]string) (*api.Secret, error)
    Help() string
}

LoginHandler is the interface that any auth handlers must implement to enable auth via the CLI.

type NamespaceCommand Uses

type NamespaceCommand struct {
    *BaseCommand
}

func (*NamespaceCommand) Help Uses

func (c *NamespaceCommand) Help() string

func (*NamespaceCommand) Run Uses

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

func (*NamespaceCommand) Synopsis Uses

func (c *NamespaceCommand) Synopsis() string

type NamespaceCreateCommand Uses

type NamespaceCreateCommand struct {
    *BaseCommand
}

func (*NamespaceCreateCommand) AutocompleteArgs Uses

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

func (*NamespaceCreateCommand) AutocompleteFlags Uses

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

func (*NamespaceCreateCommand) Flags Uses

func (c *NamespaceCreateCommand) Flags() *FlagSets

func (*NamespaceCreateCommand) Help Uses

func (c *NamespaceCreateCommand) Help() string

func (*NamespaceCreateCommand) Run Uses

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

func (*NamespaceCreateCommand) Synopsis Uses

func (c *NamespaceCreateCommand) Synopsis() string

type NamespaceDeleteCommand Uses

type NamespaceDeleteCommand struct {
    *BaseCommand
}

func (*NamespaceDeleteCommand) AutocompleteArgs Uses

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

func (*NamespaceDeleteCommand) AutocompleteFlags Uses

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

func (*NamespaceDeleteCommand) Flags Uses

func (c *NamespaceDeleteCommand) Flags() *FlagSets

func (*NamespaceDeleteCommand) Help Uses

func (c *NamespaceDeleteCommand) Help() string

func (*NamespaceDeleteCommand) Run Uses

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

func (*NamespaceDeleteCommand) Synopsis Uses

func (c *NamespaceDeleteCommand) Synopsis() string

type NamespaceListCommand Uses

type NamespaceListCommand struct {
    *BaseCommand
}

func (*NamespaceListCommand) AutocompleteArgs Uses

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

func (*NamespaceListCommand) AutocompleteFlags Uses

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

func (*NamespaceListCommand) Flags Uses

func (c *NamespaceListCommand) Flags() *FlagSets

func (*NamespaceListCommand) Help Uses

func (c *NamespaceListCommand) Help() string

func (*NamespaceListCommand) Run Uses

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

func (*NamespaceListCommand) Synopsis Uses

func (c *NamespaceListCommand) Synopsis() string

type NamespaceLookupCommand Uses

type NamespaceLookupCommand struct {
    *BaseCommand
}

func (*NamespaceLookupCommand) AutocompleteArgs Uses

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

func (*NamespaceLookupCommand) AutocompleteFlags Uses

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

func (*NamespaceLookupCommand) Flags Uses

func (c *NamespaceLookupCommand) Flags() *FlagSets

func (*NamespaceLookupCommand) Help Uses

func (c *NamespaceLookupCommand) Help() string

func (*NamespaceLookupCommand) Run Uses

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

func (*NamespaceLookupCommand) Synopsis Uses

func (c *NamespaceLookupCommand) Synopsis() string

type OperatorCommand Uses

type OperatorCommand struct {
    *BaseCommand
}

func (*OperatorCommand) Help Uses

func (c *OperatorCommand) Help() string

func (*OperatorCommand) Run Uses

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

func (*OperatorCommand) Synopsis Uses

func (c *OperatorCommand) Synopsis() string

type OperatorGenerateRootCommand Uses

type OperatorGenerateRootCommand struct {
    *BaseCommand
    // contains filtered or unexported fields
}

func (*OperatorGenerateRootCommand) AutocompleteArgs Uses

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

func (*OperatorGenerateRootCommand) AutocompleteFlags Uses

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

func (*OperatorGenerateRootCommand) Flags Uses

func (c *OperatorGenerateRootCommand) Flags() *FlagSets

func (*OperatorGenerateRootCommand) Help Uses

func (c *OperatorGenerateRootCommand) Help() string

func (*OperatorGenerateRootCommand) Run Uses

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

func (*OperatorGenerateRootCommand) Synopsis Uses

func (c *OperatorGenerateRootCommand) Synopsis() string

type OperatorInitCommand Uses

type OperatorInitCommand struct {
    *BaseCommand
    // contains filtered or unexported fields
}

func (*OperatorInitCommand) AutocompleteArgs Uses

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

func (*OperatorInitCommand) AutocompleteFlags Uses

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

func (*OperatorInitCommand) Flags Uses

func (c *OperatorInitCommand) Flags() *FlagSets

func (*OperatorInitCommand) Help Uses

func (c *OperatorInitCommand) Help() string

func (*OperatorInitCommand) Run Uses

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

func (*OperatorInitCommand) Synopsis Uses

func (c *OperatorInitCommand) Synopsis() string

type OperatorKeyStatusCommand Uses

type OperatorKeyStatusCommand struct {
    *BaseCommand
}

func (*OperatorKeyStatusCommand) AutocompleteArgs Uses

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

func (*OperatorKeyStatusCommand) AutocompleteFlags Uses

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

func (*OperatorKeyStatusCommand) Flags Uses

func (c *OperatorKeyStatusCommand) Flags() *FlagSets

func (*OperatorKeyStatusCommand) Help Uses

func (c *OperatorKeyStatusCommand) Help() string

func (*OperatorKeyStatusCommand) Run Uses

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

func (*OperatorKeyStatusCommand) Synopsis Uses

func (c *OperatorKeyStatusCommand) Synopsis() string

type OperatorMigrateCommand Uses

type OperatorMigrateCommand struct {
    *BaseCommand

    PhysicalBackends map[string]physical.Factory

    ShutdownCh chan struct{}
    // contains filtered or unexported fields
}

func (*OperatorMigrateCommand) AutocompleteArgs Uses

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

func (*OperatorMigrateCommand) AutocompleteFlags Uses

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

func (*OperatorMigrateCommand) Flags Uses

func (c *OperatorMigrateCommand) Flags() *FlagSets

func (*OperatorMigrateCommand) Help Uses

func (c *OperatorMigrateCommand) Help() string

func (*OperatorMigrateCommand) Run Uses

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

func (*OperatorMigrateCommand) Synopsis Uses

func (c *OperatorMigrateCommand) Synopsis() string

type OperatorRaftConfigurationCommand Uses

type OperatorRaftConfigurationCommand struct {
    *BaseCommand
}

func (*OperatorRaftConfigurationCommand) AutocompleteArgs Uses

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

func (*OperatorRaftConfigurationCommand) AutocompleteFlags Uses

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

func (*OperatorRaftConfigurationCommand) Flags Uses

func (c *OperatorRaftConfigurationCommand) Flags() *FlagSets

func (*OperatorRaftConfigurationCommand) Help Uses

func (c *OperatorRaftConfigurationCommand) Help() string

func (*OperatorRaftConfigurationCommand) Run Uses

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

func (*OperatorRaftConfigurationCommand) Synopsis Uses

func (c *OperatorRaftConfigurationCommand) Synopsis() string

type OperatorRaftJoinCommand Uses

type OperatorRaftJoinCommand struct {
    *BaseCommand
    // contains filtered or unexported fields
}

func (*OperatorRaftJoinCommand) AutocompleteArgs Uses

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

func (*OperatorRaftJoinCommand) AutocompleteFlags Uses

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

func (*OperatorRaftJoinCommand) Flags Uses

func (c *OperatorRaftJoinCommand) Flags() *FlagSets

func (*OperatorRaftJoinCommand) Help Uses

func (c *OperatorRaftJoinCommand) Help() string

func (*OperatorRaftJoinCommand) Run Uses

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

func (*OperatorRaftJoinCommand) Synopsis Uses

func (c *OperatorRaftJoinCommand) Synopsis() string

type OperatorRaftRemovePeerCommand Uses

type OperatorRaftRemovePeerCommand struct {
    *BaseCommand
}

func (*OperatorRaftRemovePeerCommand) AutocompleteArgs Uses

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

func (*OperatorRaftRemovePeerCommand) AutocompleteFlags Uses

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

func (*OperatorRaftRemovePeerCommand) Flags Uses

func (c *OperatorRaftRemovePeerCommand) Flags() *FlagSets

func (*OperatorRaftRemovePeerCommand) Help Uses

func (c *OperatorRaftRemovePeerCommand) Help() string

func (*OperatorRaftRemovePeerCommand) Run Uses

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

func (*OperatorRaftRemovePeerCommand) Synopsis Uses

func (c *OperatorRaftRemovePeerCommand) Synopsis() string

type OperatorRaftSnapshotRestoreCommand Uses

type OperatorRaftSnapshotRestoreCommand struct {
    *BaseCommand
    // contains filtered or unexported fields
}

func (*OperatorRaftSnapshotRestoreCommand) AutocompleteArgs Uses

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

func (*OperatorRaftSnapshotRestoreCommand) AutocompleteFlags Uses

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

func (*OperatorRaftSnapshotRestoreCommand) Flags Uses

func (c *OperatorRaftSnapshotRestoreCommand) Flags() *FlagSets

func (*OperatorRaftSnapshotRestoreCommand) Help Uses

func (c *OperatorRaftSnapshotRestoreCommand) Help() string

func (*OperatorRaftSnapshotRestoreCommand) Run Uses

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

func (*OperatorRaftSnapshotRestoreCommand) Synopsis Uses

func (c *OperatorRaftSnapshotRestoreCommand) Synopsis() string

type OperatorRaftSnapshotSaveCommand Uses

type OperatorRaftSnapshotSaveCommand struct {
    *BaseCommand
}

func (*OperatorRaftSnapshotSaveCommand) AutocompleteArgs Uses

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

func (*OperatorRaftSnapshotSaveCommand) AutocompleteFlags Uses

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

func (*OperatorRaftSnapshotSaveCommand) Flags Uses

func (c *OperatorRaftSnapshotSaveCommand) Flags() *FlagSets

func (*OperatorRaftSnapshotSaveCommand) Help Uses

func (c *OperatorRaftSnapshotSaveCommand) Help() string

func (*OperatorRaftSnapshotSaveCommand) Run Uses

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

func (*OperatorRaftSnapshotSaveCommand) Synopsis Uses

func (c *OperatorRaftSnapshotSaveCommand) Synopsis() string

type OperatorRekeyCommand Uses

type OperatorRekeyCommand struct {
    *BaseCommand
    // contains filtered or unexported fields
}

func (*OperatorRekeyCommand) AutocompleteArgs Uses

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

func (*OperatorRekeyCommand) AutocompleteFlags Uses

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

func (*OperatorRekeyCommand) Flags Uses

func (c *OperatorRekeyCommand) Flags() *FlagSets

func (*OperatorRekeyCommand) Help Uses

func (c *OperatorRekeyCommand) Help() string

func (*OperatorRekeyCommand) Run Uses

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

func (*OperatorRekeyCommand) Synopsis Uses

func (c *OperatorRekeyCommand) Synopsis() string

type OperatorRotateCommand Uses

type OperatorRotateCommand struct {
    *BaseCommand
}

func (*OperatorRotateCommand) AutocompleteArgs Uses

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

func (*OperatorRotateCommand) AutocompleteFlags Uses

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

func (*OperatorRotateCommand) Flags Uses

func (c *OperatorRotateCommand) Flags() *FlagSets

func (*OperatorRotateCommand) Help Uses

func (c *OperatorRotateCommand) Help() string

func (*OperatorRotateCommand) Run Uses

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

func (*OperatorRotateCommand) Synopsis Uses

func (c *OperatorRotateCommand) Synopsis() string

type OperatorSealCommand Uses

type OperatorSealCommand struct {
    *BaseCommand
}

func (*OperatorSealCommand) AutocompleteArgs Uses

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

func (*OperatorSealCommand) AutocompleteFlags Uses

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

func (*OperatorSealCommand) Flags Uses

func (c *OperatorSealCommand) Flags() *FlagSets

func (*OperatorSealCommand) Help Uses

func (c *OperatorSealCommand) Help() string

func (*OperatorSealCommand) Run Uses

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

func (*OperatorSealCommand) Synopsis Uses

func (c *OperatorSealCommand) Synopsis() string

type OperatorStepDownCommand Uses

type OperatorStepDownCommand struct {
    *BaseCommand
}

func (*OperatorStepDownCommand) AutocompleteArgs Uses

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

func (*OperatorStepDownCommand) AutocompleteFlags Uses

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

func (*OperatorStepDownCommand) Flags Uses

func (c *OperatorStepDownCommand) Flags() *FlagSets

func (*OperatorStepDownCommand) Help Uses

func (c *OperatorStepDownCommand) Help() string

func (*OperatorStepDownCommand) Run Uses

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

func (*OperatorStepDownCommand) Synopsis Uses

func (c *OperatorStepDownCommand) Synopsis() string

type OperatorUnsealCommand Uses

type OperatorUnsealCommand struct {
    *BaseCommand
    // contains filtered or unexported fields
}

func (*OperatorUnsealCommand) AutocompleteArgs Uses

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

func (*OperatorUnsealCommand) AutocompleteFlags Uses

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

func (*OperatorUnsealCommand) Flags Uses

func (c *OperatorUnsealCommand) Flags() *FlagSets

func (*OperatorUnsealCommand) Help Uses

func (c *OperatorUnsealCommand) Help() string

func (*OperatorUnsealCommand) Run Uses

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

func (*OperatorUnsealCommand) Synopsis Uses

func (c *OperatorUnsealCommand) Synopsis() string

type PathHelpCommand Uses

type PathHelpCommand struct {
    *BaseCommand
}

func (*PathHelpCommand) AutocompleteArgs Uses

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

func (*PathHelpCommand) AutocompleteFlags Uses

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

func (*PathHelpCommand) Flags Uses

func (c *PathHelpCommand) Flags() *FlagSets

func (*PathHelpCommand) Help Uses

func (c *PathHelpCommand) Help() string

func (*PathHelpCommand) Run Uses

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

func (*PathHelpCommand) Synopsis Uses

func (c *PathHelpCommand) Synopsis() string

type PluginCommand Uses

type PluginCommand struct {
    *BaseCommand
}

func (*PluginCommand) Help Uses

func (c *PluginCommand) Help() string

func (*PluginCommand) Run Uses

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

func (*PluginCommand) Synopsis Uses

func (c *PluginCommand) Synopsis() string

type PluginDeregisterCommand Uses

type PluginDeregisterCommand struct {
    *BaseCommand
}

func (*PluginDeregisterCommand) AutocompleteArgs Uses

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

func (*PluginDeregisterCommand) AutocompleteFlags Uses

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

func (*PluginDeregisterCommand) Flags Uses

func (c *PluginDeregisterCommand) Flags() *FlagSets

func (*PluginDeregisterCommand) Help Uses

func (c *PluginDeregisterCommand) Help() string

func (*PluginDeregisterCommand) Run Uses

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

func (*PluginDeregisterCommand) Synopsis Uses

func (c *PluginDeregisterCommand) Synopsis() string

type PluginInfoCommand Uses

type PluginInfoCommand struct {
    *BaseCommand
}

func (*PluginInfoCommand) AutocompleteArgs Uses

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

func (*PluginInfoCommand) AutocompleteFlags Uses

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

func (*PluginInfoCommand) Flags Uses

func (c *PluginInfoCommand) Flags() *FlagSets

func (*PluginInfoCommand) Help Uses

func (c *PluginInfoCommand) Help() string

func (*PluginInfoCommand) Run Uses

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

func (*PluginInfoCommand) Synopsis Uses

func (c *PluginInfoCommand) Synopsis() string

type PluginListCommand Uses

type PluginListCommand struct {
    *BaseCommand
}

func (*PluginListCommand) AutocompleteArgs Uses

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

func (*PluginListCommand) AutocompleteFlags Uses

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

func (*PluginListCommand) Flags Uses

func (c *PluginListCommand) Flags() *FlagSets

func (*PluginListCommand) Help Uses

func (c *PluginListCommand) Help() string

func (*PluginListCommand) Run Uses

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

func (*PluginListCommand) Synopsis Uses

func (c *PluginListCommand) Synopsis() string

type PluginRegisterCommand Uses

type PluginRegisterCommand struct {
    *BaseCommand
    // contains filtered or unexported fields
}

func (*PluginRegisterCommand) AutocompleteArgs Uses

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

func (*PluginRegisterCommand) AutocompleteFlags Uses

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

func (*PluginRegisterCommand) Flags Uses

func (c *PluginRegisterCommand) Flags() *FlagSets

func (*PluginRegisterCommand) Help Uses

func (c *PluginRegisterCommand) Help() string

func (*PluginRegisterCommand) Run Uses

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

func (*PluginRegisterCommand) Synopsis Uses

func (c *PluginRegisterCommand) Synopsis() string

type PolicyCommand Uses

type PolicyCommand struct {
    *BaseCommand
}

PolicyCommand is a Command that holds the audit commands

func (*PolicyCommand) Help Uses

func (c *PolicyCommand) Help() string

func (*PolicyCommand) Run Uses

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

func (*PolicyCommand) Synopsis Uses

func (c *PolicyCommand) Synopsis() string

type PolicyDeleteCommand Uses

type PolicyDeleteCommand struct {
    *BaseCommand
}

func (*PolicyDeleteCommand) AutocompleteArgs Uses

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

func (*PolicyDeleteCommand) AutocompleteFlags Uses

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

func (*PolicyDeleteCommand) Flags Uses

func (c *PolicyDeleteCommand) Flags() *FlagSets

func (*PolicyDeleteCommand) Help Uses

func (c *PolicyDeleteCommand) Help() string

func (*PolicyDeleteCommand) Run Uses

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

func (*PolicyDeleteCommand) Synopsis Uses

func (c *PolicyDeleteCommand) Synopsis() string

type PolicyFmtCommand Uses

type PolicyFmtCommand struct {
    *BaseCommand
}

func (*PolicyFmtCommand) AutocompleteArgs Uses

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

func (*PolicyFmtCommand) AutocompleteFlags Uses

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

func (*PolicyFmtCommand) Flags Uses

func (c *PolicyFmtCommand) Flags() *FlagSets

func (*PolicyFmtCommand) Help Uses

func (c *PolicyFmtCommand) Help() string

func (*PolicyFmtCommand) Run Uses

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

func (*PolicyFmtCommand) Synopsis Uses

func (c *PolicyFmtCommand) Synopsis() string

type PolicyListCommand Uses

type PolicyListCommand struct {
    *BaseCommand
}

func (*PolicyListCommand) AutocompleteArgs Uses

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

func (*PolicyListCommand) AutocompleteFlags Uses

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

func (*PolicyListCommand) Flags Uses

func (c *PolicyListCommand) Flags() *FlagSets

func (*PolicyListCommand) Help Uses

func (c *PolicyListCommand) Help() string

func (*PolicyListCommand) Run Uses

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

func (*PolicyListCommand) Synopsis Uses

func (c *PolicyListCommand) Synopsis() string

type PolicyReadCommand Uses

type PolicyReadCommand struct {
    *BaseCommand
}

func (*PolicyReadCommand) AutocompleteArgs Uses

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

func (*PolicyReadCommand) AutocompleteFlags Uses

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

func (*PolicyReadCommand) Flags Uses

func (c *PolicyReadCommand) Flags() *FlagSets

func (*PolicyReadCommand) Help Uses

func (c *PolicyReadCommand) Help() string

func (*PolicyReadCommand) Run Uses

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

func (*PolicyReadCommand) Synopsis Uses

func (c *PolicyReadCommand) Synopsis() string

type PolicyWriteCommand Uses

type PolicyWriteCommand struct {
    *BaseCommand
    // contains filtered or unexported fields
}

func (*PolicyWriteCommand) AutocompleteArgs Uses

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

func (*PolicyWriteCommand) AutocompleteFlags Uses

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

func (*PolicyWriteCommand) Flags Uses

func (c *PolicyWriteCommand) Flags() *FlagSets

func (*PolicyWriteCommand) Help Uses

func (c *PolicyWriteCommand) Help() string

func (*PolicyWriteCommand) Run Uses

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

func (*PolicyWriteCommand) Synopsis Uses

func (c *PolicyWriteCommand) Synopsis() string

type Predict Uses

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

func NewPredict Uses

func NewPredict() *Predict

func (*Predict) Client Uses

func (p *Predict) Client() *api.Client

func (*Predict) VaultAudits Uses

func (p *Predict) VaultAudits() complete.Predictor

VaultAudits returns a predictor for Vault "folders". This is a public API for consumers, but you probably want BaseCommand.PredictVaultAudits instead.

func (*Predict) VaultAuths Uses

func (p *Predict) VaultAuths() complete.Predictor

VaultAuths returns a predictor for Vault "folders". This is a public API for consumers, but you probably want BaseCommand.PredictVaultAuths instead.

func (*Predict) VaultFiles Uses

func (p *Predict) VaultFiles() complete.Predictor

VaultFiles returns a predictor for Vault "files". This is a public API for consumers, but you probably want BaseCommand.PredictVaultFiles instead.

func (*Predict) VaultFolders Uses

func (p *Predict) VaultFolders() complete.Predictor

VaultFolders returns a predictor for Vault "folders". This is a public API for consumers, but you probably want BaseCommand.PredictVaultFolders instead.

func (*Predict) VaultMounts Uses

func (p *Predict) VaultMounts() complete.Predictor

VaultMounts returns a predictor for Vault "folders". This is a public API for consumers, but you probably want BaseCommand.PredictVaultMounts instead.

func (*Predict) VaultPlugins Uses

func (p *Predict) VaultPlugins(pluginTypes ...consts.PluginType) complete.Predictor

VaultPlugins returns a predictor for Vault's plugin catalog. This is a public API for consumers, but you probably want BaseCommand.PredictVaultPlugins instead.

func (*Predict) VaultPolicies Uses

func (p *Predict) VaultPolicies() complete.Predictor

VaultPolicies returns a predictor for Vault "folders". This is a public API for consumers, but you probably want BaseCommand.PredictVaultPolicies instead.

type PrintCommand Uses

type PrintCommand struct {
    *BaseCommand
}

func (*PrintCommand) AutocompleteArgs Uses

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

func (*PrintCommand) AutocompleteFlags Uses

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

func (*PrintCommand) Help Uses

func (c *PrintCommand) Help() string

func (*PrintCommand) Run Uses

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

func (*PrintCommand) Synopsis Uses

func (c *PrintCommand) Synopsis() string

type PrintTokenCommand Uses

type PrintTokenCommand struct {
    *BaseCommand
}

func (*PrintTokenCommand) AutocompleteArgs Uses

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

func (*PrintTokenCommand) AutocompleteFlags Uses

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

func (*PrintTokenCommand) Help Uses

func (c *PrintTokenCommand) Help() string

func (*PrintTokenCommand) Run Uses

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

func (*PrintTokenCommand) Synopsis Uses

func (c *PrintTokenCommand) Synopsis() string

type ReadCommand Uses

type ReadCommand struct {
    *BaseCommand
    // contains filtered or unexported fields
}

func (*ReadCommand) AutocompleteArgs Uses

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

func (*ReadCommand) AutocompleteFlags Uses

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

func (*ReadCommand) Flags Uses

func (c *ReadCommand) Flags() *FlagSets

func (*ReadCommand) Help Uses

func (c *ReadCommand) Help() string

func (*ReadCommand) Run Uses

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

func (*ReadCommand) Synopsis Uses

func (c *ReadCommand) Synopsis() string

type RunOptions Uses

type RunOptions struct {
    TokenHelper token.TokenHelper
    Stdout      io.Writer
    Stderr      io.Writer
    Address     string
    Client      *api.Client
}

type SSHCommand Uses

type SSHCommand struct {
    *BaseCommand
    // contains filtered or unexported fields
}

func (*SSHCommand) AutocompleteArgs Uses

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

func (*SSHCommand) AutocompleteFlags Uses

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

func (*SSHCommand) Flags Uses

func (c *SSHCommand) Flags() *FlagSets

func (*SSHCommand) Help Uses

func (c *SSHCommand) Help() string

func (*SSHCommand) Run Uses

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

func (*SSHCommand) Synopsis Uses

func (c *SSHCommand) Synopsis() string

type SSHCredentialResp Uses

type SSHCredentialResp struct {
    KeyType  string `mapstructure:"key_type"`
    Key      string `mapstructure:"key"`
    Username string `mapstructure:"username"`
    IP       string `mapstructure:"ip"`
    Port     string `mapstructure:"port"`
}

Structure to hold the fields returned when asked for a credential from SSH secrets engine.

type SecretsCommand Uses

type SecretsCommand struct {
    *BaseCommand
}

func (*SecretsCommand) Help Uses

func (c *SecretsCommand) Help() string

func (*SecretsCommand) Run Uses

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

func (*SecretsCommand) Synopsis Uses

func (c *SecretsCommand) Synopsis() string

type SecretsDisableCommand Uses

type SecretsDisableCommand struct {
    *BaseCommand
}

func (*SecretsDisableCommand) AutocompleteArgs Uses

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

func (*SecretsDisableCommand) AutocompleteFlags Uses

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

func (*SecretsDisableCommand) Flags Uses

func (c *SecretsDisableCommand) Flags() *FlagSets

func (*SecretsDisableCommand) Help Uses

func (c *SecretsDisableCommand) Help() string

func (*SecretsDisableCommand) Run Uses

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

func (*SecretsDisableCommand) Synopsis Uses

func (c *SecretsDisableCommand) Synopsis() string

type SecretsEnableCommand Uses

type SecretsEnableCommand struct {
    *BaseCommand
    // contains filtered or unexported fields
}

func (*SecretsEnableCommand) AutocompleteArgs Uses

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

func (*SecretsEnableCommand) AutocompleteFlags Uses

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

func (*SecretsEnableCommand) Flags Uses

func (c *SecretsEnableCommand) Flags() *FlagSets

func (*SecretsEnableCommand) Help Uses

func (c *SecretsEnableCommand) Help() string

func (*SecretsEnableCommand) Run Uses

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

func (*SecretsEnableCommand) Synopsis Uses

func (c *SecretsEnableCommand) Synopsis() string

type SecretsListCommand Uses

type SecretsListCommand struct {
    *BaseCommand
    // contains filtered or unexported fields
}

func (*SecretsListCommand) AutocompleteArgs Uses

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

func (*SecretsListCommand) AutocompleteFlags Uses

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

func (*SecretsListCommand) Flags Uses

func (c *SecretsListCommand) Flags() *FlagSets

func (*SecretsListCommand) Help Uses

func (c *SecretsListCommand) Help() string

func (*SecretsListCommand) Run Uses

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

func (*SecretsListCommand) Synopsis Uses

func (c *SecretsListCommand) Synopsis() string

type SecretsMoveCommand Uses

type SecretsMoveCommand struct {
    *BaseCommand
}

func (*SecretsMoveCommand) AutocompleteArgs Uses

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

func (*SecretsMoveCommand) AutocompleteFlags Uses

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

func (*SecretsMoveCommand) Flags Uses

func (c *SecretsMoveCommand) Flags() *FlagSets

func (*SecretsMoveCommand) Help Uses

func (c *SecretsMoveCommand) Help() string

func (*SecretsMoveCommand) Run Uses

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

func (*SecretsMoveCommand) Synopsis Uses

func (c *SecretsMoveCommand) Synopsis() string

type SecretsTuneCommand Uses

type SecretsTuneCommand struct {
    *BaseCommand
    // contains filtered or unexported fields
}

func (*SecretsTuneCommand) AutocompleteArgs Uses

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

func (*SecretsTuneCommand) AutocompleteFlags Uses

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

func (*SecretsTuneCommand) Flags Uses

func (c *SecretsTuneCommand) Flags() *FlagSets

func (*SecretsTuneCommand) Help Uses

func (c *SecretsTuneCommand) Help() string

func (*SecretsTuneCommand) Run Uses

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

func (*SecretsTuneCommand) Synopsis Uses

func (c *SecretsTuneCommand) Synopsis() string

type ServerCommand Uses

type ServerCommand struct {
    *BaseCommand

    AuditBackends      map[string]audit.Factory
    CredentialBackends map[string]logical.Factory
    LogicalBackends    map[string]logical.Factory
    PhysicalBackends   map[string]physical.Factory

    ShutdownCh chan struct{}
    SighupCh   chan struct{}
    SigUSR2Ch  chan struct{}

    WaitGroup *sync.WaitGroup
    // contains filtered or unexported fields
}

func (*ServerCommand) AutocompleteArgs Uses

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

func (*ServerCommand) AutocompleteFlags Uses

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

func (*ServerCommand) Flags Uses

func (c *ServerCommand) Flags() *FlagSets

func (*ServerCommand) Help Uses

func (c *ServerCommand) Help() string

func (*ServerCommand) Reload Uses

func (c *ServerCommand) Reload(lock *sync.RWMutex, reloadFuncs *map[string][]reload.ReloadFunc, configPath []string) error

func (*ServerCommand) Run Uses

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

func (*ServerCommand) Synopsis Uses

func (c *ServerCommand) Synopsis() string

type ServerListener Uses

type ServerListener struct {
    net.Listener
    // contains filtered or unexported fields
}

type StatusCommand Uses

type StatusCommand struct {
    *BaseCommand
}

func (*StatusCommand) AutocompleteArgs Uses

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

func (*StatusCommand) AutocompleteFlags Uses

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

func (*StatusCommand) Flags Uses

func (c *StatusCommand) Flags() *FlagSets

func (*StatusCommand) Help Uses

func (c *StatusCommand) Help() string

func (*StatusCommand) Run Uses

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

func (*StatusCommand) Synopsis Uses

func (c *StatusCommand) Synopsis() string

type StorageMigrationStatus Uses

type StorageMigrationStatus struct {
    Start time.Time `json:"start"`
}

func CheckStorageMigration Uses

func CheckStorageMigration(b physical.Backend) (*StorageMigrationStatus, error)

type StringMapVar Uses

type StringMapVar struct {
    Name       string
    Aliases    []string
    Usage      string
    Default    map[string]string
    Hidden     bool
    Target     *map[string]string
    Completion complete.Predictor
}

-- StringMapVar and stringMapValue

type StringSliceVar Uses

type StringSliceVar struct {
    Name       string
    Aliases    []string
    Usage      string
    Default    []string
    Hidden     bool
    EnvVar     string
    Target     *[]string
    Completion complete.Predictor
}

-- StringSliceVar and stringSliceValue

type StringVar Uses

type StringVar struct {
    Name       string
    Aliases    []string
    Usage      string
    Default    string
    Hidden     bool
    EnvVar     string
    Target     *string
    Completion complete.Predictor
}

-- StringVar and stringValue

type TableFormatter Uses

type TableFormatter struct{}

An output formatter for table output of an object

func (TableFormatter) Format Uses

func (t TableFormatter) Format(data interface{}) ([]byte, error)

We don't use this

func (TableFormatter) Output Uses

func (t TableFormatter) Output(ui cli.Ui, secret *api.Secret, data interface{}) error

func (TableFormatter) OutputList Uses

func (t TableFormatter) OutputList(ui cli.Ui, secret *api.Secret, data interface{}) error

func (TableFormatter) OutputMap Uses

func (t TableFormatter) OutputMap(ui cli.Ui, data map[string]interface{}) error

func (TableFormatter) OutputSecret Uses

func (t TableFormatter) OutputSecret(ui cli.Ui, secret *api.Secret) error

type TokenCapabilitiesCommand Uses

type TokenCapabilitiesCommand struct {
    *BaseCommand
}

func (*TokenCapabilitiesCommand) AutocompleteArgs Uses

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

func (*TokenCapabilitiesCommand) AutocompleteFlags Uses

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

func (*TokenCapabilitiesCommand) Flags Uses

func (c *TokenCapabilitiesCommand) Flags() *FlagSets

func (*TokenCapabilitiesCommand) Help Uses

func (c *TokenCapabilitiesCommand) Help() string

func (*TokenCapabilitiesCommand) Run Uses

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

func (*TokenCapabilitiesCommand) Synopsis Uses

func (c *TokenCapabilitiesCommand) Synopsis() string

type TokenCommand Uses

type TokenCommand struct {
    *BaseCommand
}

func (*TokenCommand) Help Uses

func (c *TokenCommand) Help() string

func (*TokenCommand) Run Uses

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

func (*TokenCommand) Synopsis Uses

func (c *TokenCommand) Synopsis() string

type TokenCreateCommand Uses

type TokenCreateCommand struct {
    *BaseCommand
    // contains filtered or unexported fields
}

func (*TokenCreateCommand) AutocompleteArgs Uses

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

func (*TokenCreateCommand) AutocompleteFlags Uses

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

func (*TokenCreateCommand) Flags Uses

func (c *TokenCreateCommand) Flags() *FlagSets

func (*TokenCreateCommand) Help Uses

func (c *TokenCreateCommand) Help() string

func (*TokenCreateCommand) Run Uses

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

func (*TokenCreateCommand) Synopsis Uses

func (c *TokenCreateCommand) Synopsis() string

type TokenLookupCommand Uses

type TokenLookupCommand struct {
    *BaseCommand
    // contains filtered or unexported fields
}

func (*TokenLookupCommand) AutocompleteArgs Uses

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

func (*TokenLookupCommand) AutocompleteFlags Uses

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

func (*TokenLookupCommand) Flags Uses

func (c *TokenLookupCommand) Flags() *FlagSets

func (*TokenLookupCommand) Help Uses

func (c *TokenLookupCommand) Help() string

func (*TokenLookupCommand) Run Uses

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

func (*TokenLookupCommand) Synopsis Uses

func (c *TokenLookupCommand) Synopsis() string

type TokenRenewCommand Uses

type TokenRenewCommand struct {
    *BaseCommand
    // contains filtered or unexported fields
}

func (*TokenRenewCommand) AutocompleteArgs Uses

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

func (*TokenRenewCommand) AutocompleteFlags Uses

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

func (*TokenRenewCommand) Flags Uses

func (c *TokenRenewCommand) Flags() *FlagSets

func (*TokenRenewCommand) Help Uses

func (c *TokenRenewCommand) Help() string

func (*TokenRenewCommand) Run Uses

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

func (*TokenRenewCommand) Synopsis Uses

func (c *TokenRenewCommand) Synopsis() string

type TokenRevokeCommand Uses

type TokenRevokeCommand struct {
    *BaseCommand
    // contains filtered or unexported fields
}

func (*TokenRevokeCommand) AutocompleteArgs Uses

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

func (*TokenRevokeCommand) AutocompleteFlags Uses

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

func (*TokenRevokeCommand) Flags Uses

func (c *TokenRevokeCommand) Flags() *FlagSets

func (*TokenRevokeCommand) Help Uses

func (c *TokenRevokeCommand) Help() string

func (*TokenRevokeCommand) Run Uses

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

func (*TokenRevokeCommand) Synopsis Uses

func (c *TokenRevokeCommand) Synopsis() string

type Uint64Var Uses

type Uint64Var struct {
    Name       string
    Aliases    []string
    Usage      string
    Default    uint64
    Hidden     bool
    EnvVar     string
    Target     *uint64
    Completion complete.Predictor
}

-- Uint64Var and uint64Value

type UintVar Uses

type UintVar struct {
    Name       string
    Aliases    []string
    Usage      string
    Default    uint
    Hidden     bool
    EnvVar     string
    Target     *uint
    Completion complete.Predictor
}

-- UintVar && uintValue

type UnwrapCommand Uses

type UnwrapCommand struct {
    *BaseCommand
}

UnwrapCommand is a Command that behaves like ReadCommand but specifically for unwrapping cubbyhole-wrapped secrets

func (*UnwrapCommand) AutocompleteArgs Uses

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

func (*UnwrapCommand) AutocompleteFlags Uses

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

func (*UnwrapCommand) Flags Uses

func (c *UnwrapCommand) Flags() *FlagSets

func (*UnwrapCommand) Help Uses

func (c *UnwrapCommand) Help() string

func (*UnwrapCommand) Run Uses

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

func (*UnwrapCommand) Synopsis Uses

func (c *UnwrapCommand) Synopsis() string

type VarFlag Uses

type VarFlag struct {
    Name       string
    Aliases    []string
    Usage      string
    Default    string
    EnvVar     string
    Value      flag.Value
    Completion complete.Predictor
}

-- VarFlag

type VaultUI Uses

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

type VersionCommand Uses

type VersionCommand struct {
    *BaseCommand

    VersionInfo *version.VersionInfo
}

VersionCommand is a Command implementation prints the version.

func (*VersionCommand) AutocompleteArgs Uses

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

func (*VersionCommand) AutocompleteFlags Uses

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

func (*VersionCommand) Flags Uses

func (c *VersionCommand) Flags() *FlagSets

func (*VersionCommand) Help Uses

func (c *VersionCommand) Help() string

func (*VersionCommand) Run Uses

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

func (*VersionCommand) Synopsis Uses

func (c *VersionCommand) Synopsis() string

type WriteCommand Uses

type WriteCommand struct {
    *BaseCommand
    // contains filtered or unexported fields
}

WriteCommand is a Command that puts data into the Vault.

func (*WriteCommand) AutocompleteArgs Uses

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

func (*WriteCommand) AutocompleteFlags Uses

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

func (*WriteCommand) Flags Uses

func (c *WriteCommand) Flags() *FlagSets

func (*WriteCommand) Help Uses

func (c *WriteCommand) Help() string

func (*WriteCommand) Run Uses

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

func (*WriteCommand) Synopsis Uses

func (c *WriteCommand) Synopsis() string

type YamlFormatter Uses

type YamlFormatter struct{}

An output formatter for yaml output format of an object

func (YamlFormatter) Format Uses

func (y YamlFormatter) Format(data interface{}) ([]byte, error)

func (YamlFormatter) Output Uses

func (y YamlFormatter) Output(ui cli.Ui, secret *api.Secret, data interface{}) error

Directories

PathSynopsis
agent
agent/auth
agent/auth/alicloud
agent/auth/approle
agent/auth/aws
agent/auth/azure
agent/auth/cert
agent/auth/gcp
agent/auth/jwt
agent/auth/kubernetes
agent/auth/pcf
agent/cache
agent/cache/cachememdb
agent/config
agent/sink
agent/sink/file
agent/sink/inmem
agent/sink/mock
config
server
server/seal
token

Package command imports 149 packages (graph) and is imported by 24 packages. Updated 2019-07-08. Refresh now. Tools for package owners.