Documentation ¶
Index ¶
- Constants
- Variables
- func DefaultTokenHelper() (token.TokenHelper, error)
- func Detailed(ui cli.Ui) bool
- func Format(ui cli.Ui) string
- func ImportKey(c *BaseCommand, operation string, pathFunc ImportKeyFunc, flags *FlagSets, ...) int
- func MakeShutdownCh() chan struct{}
- func MakeSigUSR2Ch() chan struct{}
- func MakeSighupCh() chan struct{}
- func OutputData(ui cli.Ui, data interface{}) int
- func OutputList(ui cli.Ui, data interface{}) int
- func OutputSealStatus(ui cli.Ui, client *api.Client, status *api.SealStatusResponse) int
- func OutputSecret(ui cli.Ui, secret *api.Secret) int
- func PredictClient() *api.Client
- func PrintRaw(ui cli.Ui, str string) int
- func PrintRawField(ui cli.Ui, data interface{}, field string) int
- func RawField(secret *api.Secret, field string) interface{}
- func Run(args []string) int
- func RunCustom(args []string, runOpts *RunOptions) int
- func SetStorageMigration(b physical.Backend, active bool) error
- type AgentCommand
- type AuditCommand
- type AuditDisableCommand
- func (c *AuditDisableCommand) AutocompleteArgs() complete.Predictor
- func (c *AuditDisableCommand) AutocompleteFlags() complete.Flags
- func (c *AuditDisableCommand) Flags() *FlagSets
- func (c *AuditDisableCommand) Help() string
- func (c *AuditDisableCommand) Run(args []string) int
- func (c *AuditDisableCommand) Synopsis() string
- type AuditEnableCommand
- func (c *AuditEnableCommand) AutocompleteArgs() complete.Predictor
- func (c *AuditEnableCommand) AutocompleteFlags() complete.Flags
- func (c *AuditEnableCommand) Flags() *FlagSets
- func (c *AuditEnableCommand) Help() string
- func (c *AuditEnableCommand) Run(args []string) int
- func (c *AuditEnableCommand) Synopsis() string
- type AuditListCommand
- func (c *AuditListCommand) AutocompleteArgs() complete.Predictor
- func (c *AuditListCommand) AutocompleteFlags() complete.Flags
- func (c *AuditListCommand) Flags() *FlagSets
- func (c *AuditListCommand) Help() string
- func (c *AuditListCommand) Run(args []string) int
- func (c *AuditListCommand) Synopsis() string
- type AuthCommand
- type AuthDisableCommand
- func (c *AuthDisableCommand) AutocompleteArgs() complete.Predictor
- func (c *AuthDisableCommand) AutocompleteFlags() complete.Flags
- func (c *AuthDisableCommand) Flags() *FlagSets
- func (c *AuthDisableCommand) Help() string
- func (c *AuthDisableCommand) Run(args []string) int
- func (c *AuthDisableCommand) Synopsis() string
- type AuthEnableCommand
- func (c *AuthEnableCommand) AutocompleteArgs() complete.Predictor
- func (c *AuthEnableCommand) AutocompleteFlags() complete.Flags
- func (c *AuthEnableCommand) Flags() *FlagSets
- func (c *AuthEnableCommand) Help() string
- func (c *AuthEnableCommand) Run(args []string) int
- func (c *AuthEnableCommand) Synopsis() string
- type AuthHelpCommand
- func (c *AuthHelpCommand) AutocompleteArgs() complete.Predictor
- func (c *AuthHelpCommand) AutocompleteFlags() complete.Flags
- func (c *AuthHelpCommand) Flags() *FlagSets
- func (c *AuthHelpCommand) Help() string
- func (c *AuthHelpCommand) Run(args []string) int
- func (c *AuthHelpCommand) Synopsis() string
- type AuthListCommand
- func (c *AuthListCommand) AutocompleteArgs() complete.Predictor
- func (c *AuthListCommand) AutocompleteFlags() complete.Flags
- func (c *AuthListCommand) Flags() *FlagSets
- func (c *AuthListCommand) Help() string
- func (c *AuthListCommand) Run(args []string) int
- func (c *AuthListCommand) Synopsis() string
- type AuthMoveCommand
- func (c *AuthMoveCommand) AutocompleteArgs() complete.Predictor
- func (c *AuthMoveCommand) AutocompleteFlags() complete.Flags
- func (c *AuthMoveCommand) Flags() *FlagSets
- func (c *AuthMoveCommand) Help() string
- func (c *AuthMoveCommand) Run(args []string) int
- func (c *AuthMoveCommand) Synopsis() string
- type AuthTuneCommand
- func (c *AuthTuneCommand) AutocompleteArgs() complete.Predictor
- func (c *AuthTuneCommand) AutocompleteFlags() complete.Flags
- func (c *AuthTuneCommand) Flags() *FlagSets
- func (c *AuthTuneCommand) Help() string
- func (c *AuthTuneCommand) Run(args []string) int
- func (c *AuthTuneCommand) Synopsis() string
- type BaseCommand
- func (c *BaseCommand) Client() (*api.Client, error)
- func (c *BaseCommand) DefaultWrappingLookupFunc(operation, path string) string
- func (b *BaseCommand) PredictVaultAudits() complete.Predictor
- func (b *BaseCommand) PredictVaultAuths() complete.Predictor
- func (b *BaseCommand) PredictVaultAvailableAuths() complete.Predictor
- func (b *BaseCommand) PredictVaultAvailableMounts() complete.Predictor
- func (b *BaseCommand) PredictVaultDebugTargets() complete.Predictor
- func (b *BaseCommand) PredictVaultFiles() complete.Predictor
- func (b *BaseCommand) PredictVaultFolders() complete.Predictor
- func (b *BaseCommand) PredictVaultMounts() complete.Predictor
- func (b *BaseCommand) PredictVaultNamespaces() complete.Predictor
- func (b *BaseCommand) PredictVaultPlugins(pluginTypes ...api.PluginType) complete.Predictor
- func (b *BaseCommand) PredictVaultPolicies() complete.Predictor
- func (c *BaseCommand) SetAddress(addr string)
- func (c *BaseCommand) SetTokenHelper(th token.TokenHelper)
- func (c *BaseCommand) TokenHelper() (token.TokenHelper, error)
- type BoolPtr
- type BoolPtrVar
- type BoolVar
- type DebugCommand
- type DefaultConfig
- type DeleteCommand
- type DisableDisplayFlagWarning
- type DurationVar
- type EventsSubscribeCommands
- func (c *EventsSubscribeCommands) AutocompleteArgs() complete.Predictor
- func (c *EventsSubscribeCommands) AutocompleteFlags() complete.Flags
- func (c *EventsSubscribeCommands) Flags() *FlagSets
- func (c *EventsSubscribeCommands) Help() string
- func (c *EventsSubscribeCommands) Run(args []string) int
- func (c *EventsSubscribeCommands) Synopsis() string
- type FlagBool
- type FlagExample
- type FlagSet
- func (f *FlagSet) BoolPtrVar(i *BoolPtrVar)
- func (f *FlagSet) BoolVar(i *BoolVar)
- func (f *FlagSet) DurationVar(i *DurationVar)
- func (f *FlagSet) Float64Var(i *Float64Var)
- func (f *FlagSet) Int64Var(i *Int64Var)
- func (f *FlagSet) IntVar(i *IntVar)
- func (f *FlagSet) Name() string
- func (f *FlagSet) StringMapVar(i *StringMapVar)
- func (f *FlagSet) StringSliceVar(i *StringSliceVar)
- func (f *FlagSet) StringVar(i *StringVar)
- func (f *FlagSet) TimeVar(i *TimeVar)
- func (f *FlagSet) Uint64Var(i *Uint64Var)
- func (f *FlagSet) UintVar(i *UintVar)
- func (f *FlagSet) Var(value flag.Value, name, usage string)
- func (f *FlagSet) VarFlag(i *VarFlag)
- func (f *FlagSet) Visit(fn func(*flag.Flag))
- func (f *FlagSet) VisitAll(fn func(*flag.Flag))
- type FlagSetBit
- type FlagSets
- func (f *FlagSets) Args() []string
- func (f *FlagSets) Completions() complete.Flags
- func (f *FlagSets) Help() string
- func (f *FlagSets) NewFlagSet(name string) *FlagSet
- func (f *FlagSets) Parse(args []string, opts ...ParseOptions) error
- func (f *FlagSets) Parsed() bool
- func (f *FlagSets) Visit(fn func(*flag.Flag))
- type FlagVisibility
- type Float64Var
- type FormatOptions
- type Formatter
- type ImportKeyFunc
- type Int64Var
- type IntVar
- type JsonFormatter
- type KVCommand
- type KVDeleteCommand
- func (c *KVDeleteCommand) AutocompleteArgs() complete.Predictor
- func (c *KVDeleteCommand) AutocompleteFlags() complete.Flags
- func (c *KVDeleteCommand) Flags() *FlagSets
- func (c *KVDeleteCommand) Help() string
- func (c *KVDeleteCommand) Run(args []string) int
- func (c *KVDeleteCommand) Synopsis() string
- type KVDestroyCommand
- func (c *KVDestroyCommand) AutocompleteArgs() complete.Predictor
- func (c *KVDestroyCommand) AutocompleteFlags() complete.Flags
- func (c *KVDestroyCommand) Flags() *FlagSets
- func (c *KVDestroyCommand) Help() string
- func (c *KVDestroyCommand) Run(args []string) int
- func (c *KVDestroyCommand) Synopsis() string
- type KVEnableVersioningCommand
- func (c *KVEnableVersioningCommand) AutocompleteArgs() complete.Predictor
- func (c *KVEnableVersioningCommand) AutocompleteFlags() complete.Flags
- func (c *KVEnableVersioningCommand) Flags() *FlagSets
- func (c *KVEnableVersioningCommand) Help() string
- func (c *KVEnableVersioningCommand) Run(args []string) int
- func (c *KVEnableVersioningCommand) Synopsis() string
- type KVGetCommand
- type KVListCommand
- type KVMetadataCommand
- type KVMetadataDeleteCommand
- func (c *KVMetadataDeleteCommand) AutocompleteArgs() complete.Predictor
- func (c *KVMetadataDeleteCommand) AutocompleteFlags() complete.Flags
- func (c *KVMetadataDeleteCommand) Flags() *FlagSets
- func (c *KVMetadataDeleteCommand) Help() string
- func (c *KVMetadataDeleteCommand) Run(args []string) int
- func (c *KVMetadataDeleteCommand) Synopsis() string
- type KVMetadataGetCommand
- func (c *KVMetadataGetCommand) AutocompleteArgs() complete.Predictor
- func (c *KVMetadataGetCommand) AutocompleteFlags() complete.Flags
- func (c *KVMetadataGetCommand) Flags() *FlagSets
- func (c *KVMetadataGetCommand) Help() string
- func (c *KVMetadataGetCommand) Run(args []string) int
- func (c *KVMetadataGetCommand) Synopsis() string
- type KVMetadataPatchCommand
- func (c *KVMetadataPatchCommand) AutocompleteArgs() complete.Predictor
- func (c *KVMetadataPatchCommand) AutocompleteFlags() complete.Flags
- func (c *KVMetadataPatchCommand) Flags() *FlagSets
- func (c *KVMetadataPatchCommand) Help() string
- func (c *KVMetadataPatchCommand) Run(args []string) int
- func (c *KVMetadataPatchCommand) Synopsis() string
- type KVMetadataPutCommand
- func (c *KVMetadataPutCommand) AutocompleteArgs() complete.Predictor
- func (c *KVMetadataPutCommand) AutocompleteFlags() complete.Flags
- func (c *KVMetadataPutCommand) Flags() *FlagSets
- func (c *KVMetadataPutCommand) Help() string
- func (c *KVMetadataPutCommand) Run(args []string) int
- func (c *KVMetadataPutCommand) Synopsis() string
- type KVPatchCommand
- type KVPutCommand
- type KVRollbackCommand
- func (c *KVRollbackCommand) AutocompleteArgs() complete.Predictor
- func (c *KVRollbackCommand) AutocompleteFlags() complete.Flags
- func (c *KVRollbackCommand) Flags() *FlagSets
- func (c *KVRollbackCommand) Help() string
- func (c *KVRollbackCommand) Run(args []string) int
- func (c *KVRollbackCommand) Synopsis() string
- type KVUndeleteCommand
- func (c *KVUndeleteCommand) AutocompleteArgs() complete.Predictor
- func (c *KVUndeleteCommand) AutocompleteFlags() complete.Flags
- func (c *KVUndeleteCommand) Flags() *FlagSets
- func (c *KVUndeleteCommand) Help() string
- func (c *KVUndeleteCommand) Run(args []string) int
- func (c *KVUndeleteCommand) Synopsis() string
- type LeaseCommand
- type LeaseLookupCommand
- func (c *LeaseLookupCommand) AutocompleteArgs() complete.Predictor
- func (c *LeaseLookupCommand) AutocompleteFlags() complete.Flags
- func (c *LeaseLookupCommand) Flags() *FlagSets
- func (c *LeaseLookupCommand) Help() string
- func (c *LeaseLookupCommand) Run(args []string) int
- func (c *LeaseLookupCommand) Synopsis() string
- type LeaseRenewCommand
- func (c *LeaseRenewCommand) AutocompleteArgs() complete.Predictor
- func (c *LeaseRenewCommand) AutocompleteFlags() complete.Flags
- func (c *LeaseRenewCommand) Flags() *FlagSets
- func (c *LeaseRenewCommand) Help() string
- func (c *LeaseRenewCommand) Run(args []string) int
- func (c *LeaseRenewCommand) Synopsis() string
- type LeaseRevokeCommand
- func (c *LeaseRevokeCommand) AutocompleteArgs() complete.Predictor
- func (c *LeaseRevokeCommand) AutocompleteFlags() complete.Flags
- func (c *LeaseRevokeCommand) Flags() *FlagSets
- func (c *LeaseRevokeCommand) Help() string
- func (c *LeaseRevokeCommand) Run(args []string) int
- func (c *LeaseRevokeCommand) Synopsis() string
- type ListCommand
- type LoginCommand
- type LoginHandler
- type MFAMethodInfo
- type MonitorCommand
- type NamespaceAPILockCommand
- func (c *NamespaceAPILockCommand) AutocompleteArgs() complete.Predictor
- func (c *NamespaceAPILockCommand) AutocompleteFlags() complete.Flags
- func (c *NamespaceAPILockCommand) Flags() *FlagSets
- func (c *NamespaceAPILockCommand) Help() string
- func (c *NamespaceAPILockCommand) Run(args []string) int
- func (c *NamespaceAPILockCommand) Synopsis() string
- type NamespaceAPIUnlockCommand
- func (c *NamespaceAPIUnlockCommand) AutocompleteArgs() complete.Predictor
- func (c *NamespaceAPIUnlockCommand) AutocompleteFlags() complete.Flags
- func (c *NamespaceAPIUnlockCommand) Flags() *FlagSets
- func (c *NamespaceAPIUnlockCommand) Help() string
- func (c *NamespaceAPIUnlockCommand) Run(args []string) int
- func (c *NamespaceAPIUnlockCommand) Synopsis() string
- type NamespaceCommand
- type NamespaceCreateCommand
- func (c *NamespaceCreateCommand) AutocompleteArgs() complete.Predictor
- func (c *NamespaceCreateCommand) AutocompleteFlags() complete.Flags
- func (c *NamespaceCreateCommand) Flags() *FlagSets
- func (c *NamespaceCreateCommand) Help() string
- func (c *NamespaceCreateCommand) Run(args []string) int
- func (c *NamespaceCreateCommand) Synopsis() string
- type NamespaceDeleteCommand
- func (c *NamespaceDeleteCommand) AutocompleteArgs() complete.Predictor
- func (c *NamespaceDeleteCommand) AutocompleteFlags() complete.Flags
- func (c *NamespaceDeleteCommand) Flags() *FlagSets
- func (c *NamespaceDeleteCommand) Help() string
- func (c *NamespaceDeleteCommand) Run(args []string) int
- func (c *NamespaceDeleteCommand) Synopsis() string
- type NamespaceListCommand
- func (c *NamespaceListCommand) AutocompleteArgs() complete.Predictor
- func (c *NamespaceListCommand) AutocompleteFlags() complete.Flags
- func (c *NamespaceListCommand) Flags() *FlagSets
- func (c *NamespaceListCommand) Help() string
- func (c *NamespaceListCommand) Run(args []string) int
- func (c *NamespaceListCommand) Synopsis() string
- type NamespaceLookupCommand
- func (c *NamespaceLookupCommand) AutocompleteArgs() complete.Predictor
- func (c *NamespaceLookupCommand) AutocompleteFlags() complete.Flags
- func (c *NamespaceLookupCommand) Flags() *FlagSets
- func (c *NamespaceLookupCommand) Help() string
- func (c *NamespaceLookupCommand) Run(args []string) int
- func (c *NamespaceLookupCommand) Synopsis() string
- type NamespacePatchCommand
- func (c *NamespacePatchCommand) AutocompleteArgs() complete.Predictor
- func (c *NamespacePatchCommand) AutocompleteFlags() complete.Flags
- func (c *NamespacePatchCommand) Flags() *FlagSets
- func (c *NamespacePatchCommand) Help() string
- func (c *NamespacePatchCommand) Run(args []string) int
- func (c *NamespacePatchCommand) Synopsis() string
- type OperatorCommand
- type OperatorDiagnoseCommand
- func (c *OperatorDiagnoseCommand) AutocompleteArgs() complete.Predictor
- func (c *OperatorDiagnoseCommand) AutocompleteFlags() complete.Flags
- func (c *OperatorDiagnoseCommand) Flags() *FlagSets
- func (c *OperatorDiagnoseCommand) Help() string
- func (c *OperatorDiagnoseCommand) Run(args []string) int
- func (c *OperatorDiagnoseCommand) RunWithParsedFlags() int
- func (c *OperatorDiagnoseCommand) Synopsis() string
- type OperatorGenerateRootCommand
- func (c *OperatorGenerateRootCommand) AutocompleteArgs() complete.Predictor
- func (c *OperatorGenerateRootCommand) AutocompleteFlags() complete.Flags
- func (c *OperatorGenerateRootCommand) Flags() *FlagSets
- func (c *OperatorGenerateRootCommand) Help() string
- func (c *OperatorGenerateRootCommand) Run(args []string) int
- func (c *OperatorGenerateRootCommand) Synopsis() string
- type OperatorInitCommand
- func (c *OperatorInitCommand) AutocompleteArgs() complete.Predictor
- func (c *OperatorInitCommand) AutocompleteFlags() complete.Flags
- func (c *OperatorInitCommand) Flags() *FlagSets
- func (c *OperatorInitCommand) Help() string
- func (c *OperatorInitCommand) Run(args []string) int
- func (c *OperatorInitCommand) Synopsis() string
- type OperatorKeyStatusCommand
- func (c *OperatorKeyStatusCommand) AutocompleteArgs() complete.Predictor
- func (c *OperatorKeyStatusCommand) AutocompleteFlags() complete.Flags
- func (c *OperatorKeyStatusCommand) Flags() *FlagSets
- func (c *OperatorKeyStatusCommand) Help() string
- func (c *OperatorKeyStatusCommand) Run(args []string) int
- func (c *OperatorKeyStatusCommand) Synopsis() string
- type OperatorMembersCommand
- func (c *OperatorMembersCommand) AutocompleteArgs() complete.Predictor
- func (c *OperatorMembersCommand) AutocompleteFlags() complete.Flags
- func (c *OperatorMembersCommand) Flags() *FlagSets
- func (c *OperatorMembersCommand) Help() string
- func (c *OperatorMembersCommand) Run(args []string) int
- func (c *OperatorMembersCommand) Synopsis() string
- type OperatorMigrateCommand
- func (c *OperatorMigrateCommand) AutocompleteArgs() complete.Predictor
- func (c *OperatorMigrateCommand) AutocompleteFlags() complete.Flags
- func (c *OperatorMigrateCommand) Flags() *FlagSets
- func (c *OperatorMigrateCommand) Help() string
- func (c *OperatorMigrateCommand) Run(args []string) int
- func (c *OperatorMigrateCommand) Synopsis() string
- type OperatorRaftAutopilotGetConfigCommand
- func (c *OperatorRaftAutopilotGetConfigCommand) AutocompleteArgs() complete.Predictor
- func (c *OperatorRaftAutopilotGetConfigCommand) AutocompleteFlags() complete.Flags
- func (c *OperatorRaftAutopilotGetConfigCommand) Flags() *FlagSets
- func (c *OperatorRaftAutopilotGetConfigCommand) Help() string
- func (c *OperatorRaftAutopilotGetConfigCommand) Run(args []string) int
- func (c *OperatorRaftAutopilotGetConfigCommand) Synopsis() string
- type OperatorRaftAutopilotSetConfigCommand
- func (c *OperatorRaftAutopilotSetConfigCommand) AutocompleteArgs() complete.Predictor
- func (c *OperatorRaftAutopilotSetConfigCommand) AutocompleteFlags() complete.Flags
- func (c *OperatorRaftAutopilotSetConfigCommand) Flags() *FlagSets
- func (c *OperatorRaftAutopilotSetConfigCommand) Help() string
- func (c *OperatorRaftAutopilotSetConfigCommand) Run(args []string) int
- func (c *OperatorRaftAutopilotSetConfigCommand) Synopsis() string
- type OperatorRaftAutopilotStateCommand
- func (c *OperatorRaftAutopilotStateCommand) AutocompleteArgs() complete.Predictor
- func (c *OperatorRaftAutopilotStateCommand) AutocompleteFlags() complete.Flags
- func (c *OperatorRaftAutopilotStateCommand) Flags() *FlagSets
- func (c *OperatorRaftAutopilotStateCommand) Help() string
- func (c *OperatorRaftAutopilotStateCommand) Run(args []string) int
- func (c *OperatorRaftAutopilotStateCommand) Synopsis() string
- type OperatorRaftCommand
- type OperatorRaftJoinCommand
- func (c *OperatorRaftJoinCommand) AutocompleteArgs() complete.Predictor
- func (c *OperatorRaftJoinCommand) AutocompleteFlags() complete.Flags
- func (c *OperatorRaftJoinCommand) Flags() *FlagSets
- func (c *OperatorRaftJoinCommand) Help() string
- func (c *OperatorRaftJoinCommand) Run(args []string) int
- func (c *OperatorRaftJoinCommand) Synopsis() string
- type OperatorRaftListPeersCommand
- func (c *OperatorRaftListPeersCommand) AutocompleteArgs() complete.Predictor
- func (c *OperatorRaftListPeersCommand) AutocompleteFlags() complete.Flags
- func (c *OperatorRaftListPeersCommand) Flags() *FlagSets
- func (c *OperatorRaftListPeersCommand) Help() string
- func (c *OperatorRaftListPeersCommand) Run(args []string) int
- func (c *OperatorRaftListPeersCommand) Synopsis() string
- type OperatorRaftRemovePeerCommand
- func (c *OperatorRaftRemovePeerCommand) AutocompleteArgs() complete.Predictor
- func (c *OperatorRaftRemovePeerCommand) AutocompleteFlags() complete.Flags
- func (c *OperatorRaftRemovePeerCommand) Flags() *FlagSets
- func (c *OperatorRaftRemovePeerCommand) Help() string
- func (c *OperatorRaftRemovePeerCommand) Run(args []string) int
- func (c *OperatorRaftRemovePeerCommand) Synopsis() string
- type OperatorRaftSnapshotCommand
- type OperatorRaftSnapshotRestoreCommand
- func (c *OperatorRaftSnapshotRestoreCommand) AutocompleteArgs() complete.Predictor
- func (c *OperatorRaftSnapshotRestoreCommand) AutocompleteFlags() complete.Flags
- func (c *OperatorRaftSnapshotRestoreCommand) Flags() *FlagSets
- func (c *OperatorRaftSnapshotRestoreCommand) Help() string
- func (c *OperatorRaftSnapshotRestoreCommand) Run(args []string) int
- func (c *OperatorRaftSnapshotRestoreCommand) Synopsis() string
- type OperatorRaftSnapshotSaveCommand
- func (c *OperatorRaftSnapshotSaveCommand) AutocompleteArgs() complete.Predictor
- func (c *OperatorRaftSnapshotSaveCommand) AutocompleteFlags() complete.Flags
- func (c *OperatorRaftSnapshotSaveCommand) Flags() *FlagSets
- func (c *OperatorRaftSnapshotSaveCommand) Help() string
- func (c *OperatorRaftSnapshotSaveCommand) Run(args []string) int
- func (c *OperatorRaftSnapshotSaveCommand) Synopsis() string
- type OperatorRekeyCommand
- func (c *OperatorRekeyCommand) AutocompleteArgs() complete.Predictor
- func (c *OperatorRekeyCommand) AutocompleteFlags() complete.Flags
- func (c *OperatorRekeyCommand) Flags() *FlagSets
- func (c *OperatorRekeyCommand) Help() string
- func (c *OperatorRekeyCommand) Run(args []string) int
- func (c *OperatorRekeyCommand) Synopsis() string
- type OperatorRotateCommand
- func (c *OperatorRotateCommand) AutocompleteArgs() complete.Predictor
- func (c *OperatorRotateCommand) AutocompleteFlags() complete.Flags
- func (c *OperatorRotateCommand) Flags() *FlagSets
- func (c *OperatorRotateCommand) Help() string
- func (c *OperatorRotateCommand) Run(args []string) int
- func (c *OperatorRotateCommand) Synopsis() string
- type OperatorSealCommand
- func (c *OperatorSealCommand) AutocompleteArgs() complete.Predictor
- func (c *OperatorSealCommand) AutocompleteFlags() complete.Flags
- func (c *OperatorSealCommand) Flags() *FlagSets
- func (c *OperatorSealCommand) Help() string
- func (c *OperatorSealCommand) Run(args []string) int
- func (c *OperatorSealCommand) Synopsis() string
- type OperatorStepDownCommand
- func (c *OperatorStepDownCommand) AutocompleteArgs() complete.Predictor
- func (c *OperatorStepDownCommand) AutocompleteFlags() complete.Flags
- func (c *OperatorStepDownCommand) Flags() *FlagSets
- func (c *OperatorStepDownCommand) Help() string
- func (c *OperatorStepDownCommand) Run(args []string) int
- func (c *OperatorStepDownCommand) Synopsis() string
- type OperatorUnsealCommand
- func (c *OperatorUnsealCommand) AutocompleteArgs() complete.Predictor
- func (c *OperatorUnsealCommand) AutocompleteFlags() complete.Flags
- func (c *OperatorUnsealCommand) Flags() *FlagSets
- func (c *OperatorUnsealCommand) Help() string
- func (c *OperatorUnsealCommand) Run(args []string) int
- func (c *OperatorUnsealCommand) Synopsis() string
- type OperatorUsageCommand
- func (c *OperatorUsageCommand) AutocompleteArgs() complete.Predictor
- func (c *OperatorUsageCommand) AutocompleteFlags() complete.Flags
- func (c *OperatorUsageCommand) Flags() *FlagSets
- func (c *OperatorUsageCommand) Help() string
- func (c *OperatorUsageCommand) Run(args []string) int
- func (c *OperatorUsageCommand) Synopsis() string
- type PKICommand
- type PKIHealthCheckCommand
- func (c *PKIHealthCheckCommand) AutocompleteArgs() complete.Predictor
- func (c *PKIHealthCheckCommand) AutocompleteFlags() complete.Flags
- func (c *PKIHealthCheckCommand) Flags() *FlagSets
- func (c *PKIHealthCheckCommand) Help() string
- func (c *PKIHealthCheckCommand) Run(args []string) int
- func (c *PKIHealthCheckCommand) Synopsis() string
- type PKIIssueCACommand
- type PKIListIntermediateCommand
- type PKIReIssueCACommand
- type PKIVerifySignCommand
- type ParseOptionAllowRawFormat
- type ParseOptions
- type PatchCommand
- type PathHelpCommand
- func (c *PathHelpCommand) AutocompleteArgs() complete.Predictor
- func (c *PathHelpCommand) AutocompleteFlags() complete.Flags
- func (c *PathHelpCommand) Flags() *FlagSets
- func (c *PathHelpCommand) Help() string
- func (c *PathHelpCommand) Run(args []string) int
- func (c *PathHelpCommand) Synopsis() string
- type PluginCommand
- type PluginDeregisterCommand
- func (c *PluginDeregisterCommand) AutocompleteArgs() complete.Predictor
- func (c *PluginDeregisterCommand) AutocompleteFlags() complete.Flags
- func (c *PluginDeregisterCommand) Flags() *FlagSets
- func (c *PluginDeregisterCommand) Help() string
- func (c *PluginDeregisterCommand) Run(args []string) int
- func (c *PluginDeregisterCommand) Synopsis() string
- type PluginInfoCommand
- func (c *PluginInfoCommand) AutocompleteArgs() complete.Predictor
- func (c *PluginInfoCommand) AutocompleteFlags() complete.Flags
- func (c *PluginInfoCommand) Flags() *FlagSets
- func (c *PluginInfoCommand) Help() string
- func (c *PluginInfoCommand) Run(args []string) int
- func (c *PluginInfoCommand) Synopsis() string
- type PluginListCommand
- func (c *PluginListCommand) AutocompleteArgs() complete.Predictor
- func (c *PluginListCommand) AutocompleteFlags() complete.Flags
- func (c *PluginListCommand) Flags() *FlagSets
- func (c *PluginListCommand) Help() string
- func (c *PluginListCommand) Run(args []string) int
- func (c *PluginListCommand) Synopsis() string
- type PluginRegisterCommand
- func (c *PluginRegisterCommand) AutocompleteArgs() complete.Predictor
- func (c *PluginRegisterCommand) AutocompleteFlags() complete.Flags
- func (c *PluginRegisterCommand) Flags() *FlagSets
- func (c *PluginRegisterCommand) Help() string
- func (c *PluginRegisterCommand) Run(args []string) int
- func (c *PluginRegisterCommand) Synopsis() string
- type PluginReloadCommand
- func (c *PluginReloadCommand) AutocompleteArgs() complete.Predictor
- func (c *PluginReloadCommand) AutocompleteFlags() complete.Flags
- func (c *PluginReloadCommand) Flags() *FlagSets
- func (c *PluginReloadCommand) Help() string
- func (c *PluginReloadCommand) Run(args []string) int
- func (c *PluginReloadCommand) Synopsis() string
- type PluginReloadStatusCommand
- func (c *PluginReloadStatusCommand) AutocompleteArgs() complete.Predictor
- func (c *PluginReloadStatusCommand) AutocompleteFlags() complete.Flags
- func (c *PluginReloadStatusCommand) Flags() *FlagSets
- func (c *PluginReloadStatusCommand) Help() string
- func (c *PluginReloadStatusCommand) Run(args []string) int
- func (c *PluginReloadStatusCommand) Synopsis() string
- type PolicyCommand
- type PolicyDeleteCommand
- func (c *PolicyDeleteCommand) AutocompleteArgs() complete.Predictor
- func (c *PolicyDeleteCommand) AutocompleteFlags() complete.Flags
- func (c *PolicyDeleteCommand) Flags() *FlagSets
- func (c *PolicyDeleteCommand) Help() string
- func (c *PolicyDeleteCommand) Run(args []string) int
- func (c *PolicyDeleteCommand) Synopsis() string
- type PolicyFmtCommand
- func (c *PolicyFmtCommand) AutocompleteArgs() complete.Predictor
- func (c *PolicyFmtCommand) AutocompleteFlags() complete.Flags
- func (c *PolicyFmtCommand) Flags() *FlagSets
- func (c *PolicyFmtCommand) Help() string
- func (c *PolicyFmtCommand) Run(args []string) int
- func (c *PolicyFmtCommand) Synopsis() string
- type PolicyListCommand
- func (c *PolicyListCommand) AutocompleteArgs() complete.Predictor
- func (c *PolicyListCommand) AutocompleteFlags() complete.Flags
- func (c *PolicyListCommand) Flags() *FlagSets
- func (c *PolicyListCommand) Help() string
- func (c *PolicyListCommand) Run(args []string) int
- func (c *PolicyListCommand) Synopsis() string
- type PolicyReadCommand
- func (c *PolicyReadCommand) AutocompleteArgs() complete.Predictor
- func (c *PolicyReadCommand) AutocompleteFlags() complete.Flags
- func (c *PolicyReadCommand) Flags() *FlagSets
- func (c *PolicyReadCommand) Help() string
- func (c *PolicyReadCommand) Run(args []string) int
- func (c *PolicyReadCommand) Synopsis() string
- type PolicyWriteCommand
- func (c *PolicyWriteCommand) AutocompleteArgs() complete.Predictor
- func (c *PolicyWriteCommand) AutocompleteFlags() complete.Flags
- func (c *PolicyWriteCommand) Flags() *FlagSets
- func (c *PolicyWriteCommand) Help() string
- func (c *PolicyWriteCommand) Run(args []string) int
- func (c *PolicyWriteCommand) Synopsis() string
- type Predict
- func (p *Predict) Client() *api.Client
- func (p *Predict) VaultAudits() complete.Predictor
- func (p *Predict) VaultAuths() complete.Predictor
- func (p *Predict) VaultFiles() complete.Predictor
- func (p *Predict) VaultFolders() complete.Predictor
- func (p *Predict) VaultMounts() complete.Predictor
- func (p *Predict) VaultNamespaces() complete.Predictor
- func (p *Predict) VaultPlugins(pluginTypes ...api.PluginType) complete.Predictor
- func (p *Predict) VaultPolicies() complete.Predictor
- type PrettyFormatter
- type PrintCommand
- type PrintTokenCommand
- type RawFormatter
- type ReadCommand
- type RunOptions
- type SSHCommand
- type SSHCredentialResp
- type SealStatusOutput
- type SecretsCommand
- type SecretsDisableCommand
- func (c *SecretsDisableCommand) AutocompleteArgs() complete.Predictor
- func (c *SecretsDisableCommand) AutocompleteFlags() complete.Flags
- func (c *SecretsDisableCommand) Flags() *FlagSets
- func (c *SecretsDisableCommand) Help() string
- func (c *SecretsDisableCommand) Run(args []string) int
- func (c *SecretsDisableCommand) Synopsis() string
- type SecretsEnableCommand
- func (c *SecretsEnableCommand) AutocompleteArgs() complete.Predictor
- func (c *SecretsEnableCommand) AutocompleteFlags() complete.Flags
- func (c *SecretsEnableCommand) Flags() *FlagSets
- func (c *SecretsEnableCommand) Help() string
- func (c *SecretsEnableCommand) Run(args []string) int
- func (c *SecretsEnableCommand) Synopsis() string
- type SecretsListCommand
- func (c *SecretsListCommand) AutocompleteArgs() complete.Predictor
- func (c *SecretsListCommand) AutocompleteFlags() complete.Flags
- func (c *SecretsListCommand) Flags() *FlagSets
- func (c *SecretsListCommand) Help() string
- func (c *SecretsListCommand) Run(args []string) int
- func (c *SecretsListCommand) Synopsis() string
- type SecretsMoveCommand
- func (c *SecretsMoveCommand) AutocompleteArgs() complete.Predictor
- func (c *SecretsMoveCommand) AutocompleteFlags() complete.Flags
- func (c *SecretsMoveCommand) Flags() *FlagSets
- func (c *SecretsMoveCommand) Help() string
- func (c *SecretsMoveCommand) Run(args []string) int
- func (c *SecretsMoveCommand) Synopsis() string
- type SecretsTuneCommand
- func (c *SecretsTuneCommand) AutocompleteArgs() complete.Predictor
- func (c *SecretsTuneCommand) AutocompleteFlags() complete.Flags
- func (c *SecretsTuneCommand) Flags() *FlagSets
- func (c *SecretsTuneCommand) Help() string
- func (c *SecretsTuneCommand) Run(args []string) int
- func (c *SecretsTuneCommand) Synopsis() string
- type ServerCommand
- func (c *ServerCommand) AutocompleteArgs() complete.Predictor
- func (c *ServerCommand) AutocompleteFlags() complete.Flags
- func (c *ServerCommand) Flags() *FlagSets
- func (c *ServerCommand) Help() string
- func (c *ServerCommand) InitListeners(config *server.Config, disableClustering bool, infoKeys *[]string, ...) (int, []listenerutil.Listener, []*net.TCPAddr, error)
- func (c *ServerCommand) Reload(lock *sync.RWMutex, reloadFuncs *map[string][]reloadutil.ReloadFunc, ...) error
- func (c *ServerCommand) Run(args []string) int
- func (c *ServerCommand) Synopsis() string
- type StatusCommand
- type StorageMigrationStatus
- type StringMapVar
- type StringSliceVar
- type StringVar
- type TableFormatter
- func (t TableFormatter) Format(data interface{}) ([]byte, error)
- func (t TableFormatter) Output(ui cli.Ui, secret *api.Secret, data interface{}) error
- func (t TableFormatter) OutputList(ui cli.Ui, secret *api.Secret, data interface{}) error
- func (t TableFormatter) OutputMap(ui cli.Ui, data map[string]interface{}) error
- func (t TableFormatter) OutputSealStatusStruct(ui cli.Ui, secret *api.Secret, data interface{}) error
- func (t TableFormatter) OutputSecret(ui cli.Ui, secret *api.Secret) error
- type TimeFormat
- type TimeVar
- type TokenCapabilitiesCommand
- func (c *TokenCapabilitiesCommand) AutocompleteArgs() complete.Predictor
- func (c *TokenCapabilitiesCommand) AutocompleteFlags() complete.Flags
- func (c *TokenCapabilitiesCommand) Flags() *FlagSets
- func (c *TokenCapabilitiesCommand) Help() string
- func (c *TokenCapabilitiesCommand) Run(args []string) int
- func (c *TokenCapabilitiesCommand) Synopsis() string
- type TokenCommand
- type TokenCreateCommand
- func (c *TokenCreateCommand) AutocompleteArgs() complete.Predictor
- func (c *TokenCreateCommand) AutocompleteFlags() complete.Flags
- func (c *TokenCreateCommand) Flags() *FlagSets
- func (c *TokenCreateCommand) Help() string
- func (c *TokenCreateCommand) Run(args []string) int
- func (c *TokenCreateCommand) Synopsis() string
- type TokenLookupCommand
- func (c *TokenLookupCommand) AutocompleteArgs() complete.Predictor
- func (c *TokenLookupCommand) AutocompleteFlags() complete.Flags
- func (c *TokenLookupCommand) Flags() *FlagSets
- func (c *TokenLookupCommand) Help() string
- func (c *TokenLookupCommand) Run(args []string) int
- func (c *TokenLookupCommand) Synopsis() string
- type TokenRenewCommand
- func (c *TokenRenewCommand) AutocompleteArgs() complete.Predictor
- func (c *TokenRenewCommand) AutocompleteFlags() complete.Flags
- func (c *TokenRenewCommand) Flags() *FlagSets
- func (c *TokenRenewCommand) Help() string
- func (c *TokenRenewCommand) Run(args []string) int
- func (c *TokenRenewCommand) Synopsis() string
- type TokenRevokeCommand
- func (c *TokenRevokeCommand) AutocompleteArgs() complete.Predictor
- func (c *TokenRevokeCommand) AutocompleteFlags() complete.Flags
- func (c *TokenRevokeCommand) Flags() *FlagSets
- func (c *TokenRevokeCommand) Help() string
- func (c *TokenRevokeCommand) Run(args []string) int
- func (c *TokenRevokeCommand) Synopsis() string
- type TransformCommand
- type TransformImportCommand
- func (c *TransformImportCommand) AutocompleteArgs() complete.Predictor
- func (c *TransformImportCommand) AutocompleteFlags() complete.Flags
- func (c *TransformImportCommand) Flags() *FlagSets
- func (c *TransformImportCommand) Help() string
- func (c *TransformImportCommand) Run(args []string) int
- func (c *TransformImportCommand) Synopsis() string
- type TransformImportVersionCommand
- func (c *TransformImportVersionCommand) AutocompleteArgs() complete.Predictor
- func (c *TransformImportVersionCommand) AutocompleteFlags() complete.Flags
- func (c *TransformImportVersionCommand) Flags() *FlagSets
- func (c *TransformImportVersionCommand) Help() string
- func (c *TransformImportVersionCommand) Run(args []string) int
- func (c *TransformImportVersionCommand) Synopsis() string
- type TransitCommand
- type TransitImportCommand
- func (c *TransitImportCommand) AutocompleteArgs() complete.Predictor
- func (c *TransitImportCommand) AutocompleteFlags() complete.Flags
- func (c *TransitImportCommand) Flags() *FlagSets
- func (c *TransitImportCommand) Help() string
- func (c *TransitImportCommand) Run(args []string) int
- func (c *TransitImportCommand) Synopsis() string
- type TransitImportVersionCommand
- func (c *TransitImportVersionCommand) AutocompleteArgs() complete.Predictor
- func (c *TransitImportVersionCommand) AutocompleteFlags() complete.Flags
- func (c *TransitImportVersionCommand) Flags() *FlagSets
- func (c *TransitImportVersionCommand) Help() string
- func (c *TransitImportVersionCommand) Run(args []string) int
- func (c *TransitImportVersionCommand) Synopsis() string
- type Uint64Var
- type UintVar
- type UnwrapCommand
- type UsageCommandNamespace
- type UsageResponse
- type VarFlag
- type VaultUI
- type VersionCommand
- type VersionHistoryCommand
- func (c *VersionHistoryCommand) AutocompleteArgs() complete.Predictor
- func (c *VersionHistoryCommand) AutocompleteFlags() complete.Flags
- func (c *VersionHistoryCommand) Flags() *FlagSets
- func (c *VersionHistoryCommand) Help() string
- func (c *VersionHistoryCommand) Run(args []string) int
- func (c *VersionHistoryCommand) Synopsis() string
- type WriteCommand
- type YamlFormatter
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` // EnvVaultLicense is an env var used in Vault Enterprise to provide a license blob EnvVaultLicense = "VAULT_LICENSE" // EnvVaultLicensePath is an env var used in Vault Enterprise to provide a // path to a license file on disk EnvVaultLicensePath = "VAULT_LICENSE_PATH" // EnvVaultDetailed is to output detailed information (e.g., ListResponseWithInfo). EnvVaultDetailed = `VAULT_DETAILED` // EnvVaultLogFormat is used to specify the log format. Supported values are "standard" and "json" EnvVaultLogFormat = "VAULT_LOG_FORMAT" // EnvVaultLogLevel is used to specify the log level applied to logging // Supported log levels: Trace, Debug, Error, Warn, Info EnvVaultLogLevel = "VAULT_LOG_LEVEL" // EnvVaultExperiments defines the experiments to enable for a server as a // comma separated list. See experiments.ValidExperiments() for the list of // valid experiments. Not mutable or persisted in storage, only read and // logged at startup _per node_. This was initially introduced for the events // system being developed over multiple release cycles. EnvVaultExperiments = "VAULT_EXPERIMENTS" // DisableSSCTokens is an env var used to disable index bearing // token functionality DisableSSCTokens = "VAULT_DISABLE_SERVER_SIDE_CONSISTENT_TOKENS" )
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" )
const ( MountMigrationStatusSuccess = "success" MountMigrationStatusFailure = "failure" )
const CoreConfigUninitializedErr = "Diagnose cannot attempt this step because core config could not be set."
Variables ¶
var Formatters = map[string]Formatter{ "json": JsonFormatter{}, "table": TableFormatter{}, "yaml": YamlFormatter{}, "yml": YamlFormatter{}, "pretty": PrettyFormatter{}, "raw": RawFormatter{}, }
Functions ¶
func DefaultTokenHelper ¶ added in v0.6.0
func DefaultTokenHelper() (token.TokenHelper, error)
DefaultTokenHelper returns the token helper that is configured for Vault. This helper should only be used for non-server CLI commands.
func ImportKey ¶ added in v1.13.3
func ImportKey(c *BaseCommand, operation string, pathFunc ImportKeyFunc, flags *FlagSets, args []string) int
error codes: 1: user error, 2: internal computation error, 3: remote api call error
func MakeShutdownCh ¶ added in v0.5.2
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 ¶ added in v1.1.0
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 ¶ added in v0.5.2
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 ¶ added in v0.9.4
func OutputList ¶ added in v0.5.0
func OutputSealStatus ¶ added in v0.9.2
OutputSealStatus will print *api.SealStatusResponse in the CLI according to the format provided
func PredictClient ¶ added in v0.9.2
PredictClient returns the cached API client for the predictor.
func PrintRaw ¶ added in v0.9.2
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 ¶ added in v0.6.0
PrintRawField prints raw field from the secret.
func RawField ¶ added in v0.9.2
RawField extracts the raw field from the given data and returns it as a string for printing purposes.
func RunCustom ¶ added in v0.9.6
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.
Types ¶
type AgentCommand ¶ added in v0.10.4
type AgentCommand struct { *BaseCommand ShutdownCh chan struct{} SighupCh chan struct{} // contains filtered or unexported fields }
func (*AgentCommand) AutocompleteArgs ¶ added in v0.10.4
func (c *AgentCommand) AutocompleteArgs() complete.Predictor
func (*AgentCommand) AutocompleteFlags ¶ added in v0.10.4
func (c *AgentCommand) AutocompleteFlags() complete.Flags
func (*AgentCommand) Flags ¶ added in v0.10.4
func (c *AgentCommand) Flags() *FlagSets
func (*AgentCommand) Help ¶ added in v0.10.4
func (c *AgentCommand) Help() string
func (*AgentCommand) Run ¶ added in v0.10.4
func (c *AgentCommand) Run(args []string) int
func (*AgentCommand) Synopsis ¶ added in v0.10.4
func (c *AgentCommand) Synopsis() string
type AuditCommand ¶ added in v0.9.2
type AuditCommand struct {
*BaseCommand
}
func (*AuditCommand) Help ¶ added in v0.9.2
func (c *AuditCommand) Help() string
func (*AuditCommand) Run ¶ added in v0.9.2
func (c *AuditCommand) Run(args []string) int
func (*AuditCommand) Synopsis ¶ added in v0.9.2
func (c *AuditCommand) Synopsis() string
type AuditDisableCommand ¶
type AuditDisableCommand struct {
*BaseCommand
}
func (*AuditDisableCommand) AutocompleteArgs ¶ added in v0.9.2
func (c *AuditDisableCommand) AutocompleteArgs() complete.Predictor
func (*AuditDisableCommand) AutocompleteFlags ¶ added in v0.9.2
func (c *AuditDisableCommand) AutocompleteFlags() complete.Flags
func (*AuditDisableCommand) Flags ¶ added in v0.9.2
func (c *AuditDisableCommand) Flags() *FlagSets
func (*AuditDisableCommand) Help ¶
func (c *AuditDisableCommand) Help() string
func (*AuditDisableCommand) Run ¶
func (c *AuditDisableCommand) Run(args []string) int
func (*AuditDisableCommand) Synopsis ¶
func (c *AuditDisableCommand) Synopsis() string
type AuditEnableCommand ¶
type AuditEnableCommand struct { *BaseCommand // contains filtered or unexported fields }
func (*AuditEnableCommand) AutocompleteArgs ¶ added in v0.8.2
func (c *AuditEnableCommand) AutocompleteArgs() complete.Predictor
func (*AuditEnableCommand) AutocompleteFlags ¶ added in v0.8.2
func (c *AuditEnableCommand) AutocompleteFlags() complete.Flags
func (*AuditEnableCommand) Flags ¶ added in v0.9.2
func (c *AuditEnableCommand) Flags() *FlagSets
func (*AuditEnableCommand) Help ¶
func (c *AuditEnableCommand) Help() string
func (*AuditEnableCommand) Run ¶
func (c *AuditEnableCommand) Run(args []string) int
func (*AuditEnableCommand) Synopsis ¶
func (c *AuditEnableCommand) Synopsis() string
type AuditListCommand ¶
type AuditListCommand struct { *BaseCommand // contains filtered or unexported fields }
func (*AuditListCommand) AutocompleteArgs ¶ added in v0.9.2
func (c *AuditListCommand) AutocompleteArgs() complete.Predictor
func (*AuditListCommand) AutocompleteFlags ¶ added in v0.9.2
func (c *AuditListCommand) AutocompleteFlags() complete.Flags
func (*AuditListCommand) Flags ¶ added in v0.9.2
func (c *AuditListCommand) Flags() *FlagSets
func (*AuditListCommand) Help ¶
func (c *AuditListCommand) Help() string
func (*AuditListCommand) Run ¶
func (c *AuditListCommand) Run(args []string) int
func (*AuditListCommand) Synopsis ¶
func (c *AuditListCommand) Synopsis() string
type AuthCommand ¶
type AuthCommand struct {
*BaseCommand
}
func (*AuthCommand) Help ¶
func (c *AuthCommand) Help() string
func (*AuthCommand) Run ¶
func (c *AuthCommand) Run(args []string) int
func (*AuthCommand) Synopsis ¶
func (c *AuthCommand) Synopsis() string
type AuthDisableCommand ¶
type AuthDisableCommand struct {
*BaseCommand
}
func (*AuthDisableCommand) AutocompleteArgs ¶ added in v0.9.2
func (c *AuthDisableCommand) AutocompleteArgs() complete.Predictor
func (*AuthDisableCommand) AutocompleteFlags ¶ added in v0.9.2
func (c *AuthDisableCommand) AutocompleteFlags() complete.Flags
func (*AuthDisableCommand) Flags ¶ added in v0.9.2
func (c *AuthDisableCommand) Flags() *FlagSets
func (*AuthDisableCommand) Help ¶
func (c *AuthDisableCommand) Help() string
func (*AuthDisableCommand) Run ¶
func (c *AuthDisableCommand) Run(args []string) int
func (*AuthDisableCommand) Synopsis ¶
func (c *AuthDisableCommand) Synopsis() string
type AuthEnableCommand ¶
type AuthEnableCommand struct { *BaseCommand // contains filtered or unexported fields }
func (*AuthEnableCommand) AutocompleteArgs ¶ added in v0.8.2
func (c *AuthEnableCommand) AutocompleteArgs() complete.Predictor
func (*AuthEnableCommand) AutocompleteFlags ¶ added in v0.8.2
func (c *AuthEnableCommand) AutocompleteFlags() complete.Flags
func (*AuthEnableCommand) Flags ¶ added in v0.9.2
func (c *AuthEnableCommand) Flags() *FlagSets
func (*AuthEnableCommand) Help ¶
func (c *AuthEnableCommand) Help() string
func (*AuthEnableCommand) Run ¶
func (c *AuthEnableCommand) Run(args []string) int
func (*AuthEnableCommand) Synopsis ¶
func (c *AuthEnableCommand) Synopsis() string
type AuthHelpCommand ¶ added in v0.9.2
type AuthHelpCommand struct { *BaseCommand Handlers map[string]LoginHandler }
func (*AuthHelpCommand) AutocompleteArgs ¶ added in v0.9.2
func (c *AuthHelpCommand) AutocompleteArgs() complete.Predictor
func (*AuthHelpCommand) AutocompleteFlags ¶ added in v0.9.2
func (c *AuthHelpCommand) AutocompleteFlags() complete.Flags
func (*AuthHelpCommand) Flags ¶ added in v0.9.2
func (c *AuthHelpCommand) Flags() *FlagSets
func (*AuthHelpCommand) Help ¶ added in v0.9.2
func (c *AuthHelpCommand) Help() string
func (*AuthHelpCommand) Run ¶ added in v0.9.2
func (c *AuthHelpCommand) Run(args []string) int
func (*AuthHelpCommand) Synopsis ¶ added in v0.9.2
func (c *AuthHelpCommand) Synopsis() string
type AuthListCommand ¶ added in v0.9.2
type AuthListCommand struct { *BaseCommand // contains filtered or unexported fields }
func (*AuthListCommand) AutocompleteArgs ¶ added in v0.9.2
func (c *AuthListCommand) AutocompleteArgs() complete.Predictor
func (*AuthListCommand) AutocompleteFlags ¶ added in v0.9.2
func (c *AuthListCommand) AutocompleteFlags() complete.Flags
func (*AuthListCommand) Flags ¶ added in v0.9.2
func (c *AuthListCommand) Flags() *FlagSets
func (*AuthListCommand) Help ¶ added in v0.9.2
func (c *AuthListCommand) Help() string
func (*AuthListCommand) Run ¶ added in v0.9.2
func (c *AuthListCommand) Run(args []string) int
func (*AuthListCommand) Synopsis ¶ added in v0.9.2
func (c *AuthListCommand) Synopsis() string
type AuthMoveCommand ¶ added in v1.10.0
type AuthMoveCommand struct {
*BaseCommand
}
func (*AuthMoveCommand) AutocompleteArgs ¶ added in v1.10.0
func (c *AuthMoveCommand) AutocompleteArgs() complete.Predictor
func (*AuthMoveCommand) AutocompleteFlags ¶ added in v1.10.0
func (c *AuthMoveCommand) AutocompleteFlags() complete.Flags
func (*AuthMoveCommand) Flags ¶ added in v1.10.0
func (c *AuthMoveCommand) Flags() *FlagSets
func (*AuthMoveCommand) Help ¶ added in v1.10.0
func (c *AuthMoveCommand) Help() string
func (*AuthMoveCommand) Run ¶ added in v1.10.0
func (c *AuthMoveCommand) Run(args []string) int
func (*AuthMoveCommand) Synopsis ¶ added in v1.10.0
func (c *AuthMoveCommand) Synopsis() string
type AuthTuneCommand ¶ added in v0.9.2
type AuthTuneCommand struct { *BaseCommand // contains filtered or unexported fields }
func (*AuthTuneCommand) AutocompleteArgs ¶ added in v0.9.2
func (c *AuthTuneCommand) AutocompleteArgs() complete.Predictor
func (*AuthTuneCommand) AutocompleteFlags ¶ added in v0.9.2
func (c *AuthTuneCommand) AutocompleteFlags() complete.Flags
func (*AuthTuneCommand) Flags ¶ added in v0.9.2
func (c *AuthTuneCommand) Flags() *FlagSets
func (*AuthTuneCommand) Help ¶ added in v0.9.2
func (c *AuthTuneCommand) Help() string
func (*AuthTuneCommand) Run ¶ added in v0.9.2
func (c *AuthTuneCommand) Run(args []string) int
func (*AuthTuneCommand) Synopsis ¶ added in v0.9.2
func (c *AuthTuneCommand) Synopsis() string
type BaseCommand ¶ added in v0.9.2
func (*BaseCommand) Client ¶ added in v0.9.2
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 ¶ added in v0.9.2
func (c *BaseCommand) DefaultWrappingLookupFunc(operation, path string) string
DefaultWrappingLookupFunc is the default wrapping function based on the CLI flag.
func (*BaseCommand) PredictVaultAudits ¶ added in v0.9.2
func (b *BaseCommand) PredictVaultAudits() complete.Predictor
PredictVaultAudits returns a predictor for "folders". See PredictVaultFiles for more information and restrictions.
func (*BaseCommand) PredictVaultAuths ¶ added in v0.9.2
func (b *BaseCommand) PredictVaultAuths() complete.Predictor
PredictVaultAuths returns a predictor for "folders". See PredictVaultFiles for more information and restrictions.
func (*BaseCommand) PredictVaultAvailableAuths ¶ added in v0.9.2
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 ¶ added in v0.9.2
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) PredictVaultDebugTargets ¶ added in v1.3.0
func (b *BaseCommand) PredictVaultDebugTargets() complete.Predictor
func (*BaseCommand) PredictVaultFiles ¶ added in v0.9.2
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 ¶ added in v0.9.2
func (b *BaseCommand) PredictVaultFolders() complete.Predictor
PredictVaultFolders returns a predictor for "folders". See PredictVaultFiles for more information and restrictions.
func (*BaseCommand) PredictVaultMounts ¶ added in v0.9.2
func (b *BaseCommand) PredictVaultMounts() complete.Predictor
PredictVaultMounts returns a predictor for "folders". See PredictVaultFiles for more information and restrictions.
func (*BaseCommand) PredictVaultNamespaces ¶ added in v1.4.0
func (b *BaseCommand) PredictVaultNamespaces() complete.Predictor
PredictVaultNamespaces returns a predictor for "namespaces". See PredictVaultFiles for more information an restrictions.
func (*BaseCommand) PredictVaultPlugins ¶ added in v0.10.0
func (b *BaseCommand) PredictVaultPlugins(pluginTypes ...api.PluginType) complete.Predictor
PredictVaultPlugins returns a predictor for installed plugins.
func (*BaseCommand) PredictVaultPolicies ¶ added in v0.9.2
func (b *BaseCommand) PredictVaultPolicies() complete.Predictor
PredictVaultPolicies returns a predictor for "folders". See PredictVaultFiles for more information and restrictions.
func (*BaseCommand) SetAddress ¶ added in v0.9.6
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 ¶ added in v0.9.6
func (c *BaseCommand) SetTokenHelper(th token.TokenHelper)
SetTokenHelper sets the token helper on the command.
func (*BaseCommand) TokenHelper ¶ added in v0.9.2
func (c *BaseCommand) TokenHelper() (token.TokenHelper, error)
TokenHelper returns the token helper attached to the command.
type BoolPtr ¶ added in v1.7.0
type BoolPtr struct {
// contains filtered or unexported fields
}
BoolPtr is a bool which is aware if it has been set.
type BoolPtrVar ¶ added in v1.7.0
type BoolVar ¶ added in v0.9.2
type BoolVar struct { Name string Aliases []string Usage string Default bool Hidden bool EnvVar string Target *bool Completion complete.Predictor }
-- BoolVar and boolValue
type DebugCommand ¶ added in v1.3.0
type DebugCommand struct { *BaseCommand // ShutdownCh is used to capture interrupt signal and end polling capture ShutdownCh chan struct{} // contains filtered or unexported fields }
func (*DebugCommand) AutocompleteArgs ¶ added in v1.3.0
func (c *DebugCommand) AutocompleteArgs() complete.Predictor
func (*DebugCommand) AutocompleteFlags ¶ added in v1.3.0
func (c *DebugCommand) AutocompleteFlags() complete.Flags
func (*DebugCommand) Flags ¶ added in v1.3.0
func (c *DebugCommand) Flags() *FlagSets
func (*DebugCommand) Help ¶ added in v1.3.0
func (c *DebugCommand) Help() string
func (*DebugCommand) Run ¶ added in v1.3.0
func (c *DebugCommand) Run(args []string) int
func (*DebugCommand) Synopsis ¶ added in v1.3.0
func (c *DebugCommand) Synopsis() string
type DefaultConfig ¶ added in v0.6.0
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 ¶
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 ¶
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 ¶ added in v0.5.2
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 ¶
type DeleteCommand struct { *BaseCommand // contains filtered or unexported fields }
func (*DeleteCommand) AutocompleteArgs ¶ added in v0.9.2
func (c *DeleteCommand) AutocompleteArgs() complete.Predictor
func (*DeleteCommand) AutocompleteFlags ¶ added in v0.9.2
func (c *DeleteCommand) AutocompleteFlags() complete.Flags
func (*DeleteCommand) Flags ¶ added in v0.9.2
func (c *DeleteCommand) Flags() *FlagSets
func (*DeleteCommand) Help ¶
func (c *DeleteCommand) Help() string
func (*DeleteCommand) Run ¶
func (c *DeleteCommand) Run(args []string) int
func (*DeleteCommand) Synopsis ¶
func (c *DeleteCommand) Synopsis() string
type DisableDisplayFlagWarning ¶ added in v1.12.7
type DisableDisplayFlagWarning bool
type DurationVar ¶ added in v0.9.2
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 EventsSubscribeCommands ¶ added in v1.13.0
type EventsSubscribeCommands struct {
*BaseCommand
}
func (*EventsSubscribeCommands) AutocompleteArgs ¶ added in v1.13.0
func (c *EventsSubscribeCommands) AutocompleteArgs() complete.Predictor
func (*EventsSubscribeCommands) AutocompleteFlags ¶ added in v1.13.0
func (c *EventsSubscribeCommands) AutocompleteFlags() complete.Flags
func (*EventsSubscribeCommands) Flags ¶ added in v1.13.0
func (c *EventsSubscribeCommands) Flags() *FlagSets
func (*EventsSubscribeCommands) Help ¶ added in v1.13.0
func (c *EventsSubscribeCommands) Help() string
func (*EventsSubscribeCommands) Run ¶ added in v1.13.0
func (c *EventsSubscribeCommands) Run(args []string) int
func (*EventsSubscribeCommands) Synopsis ¶ added in v1.13.0
func (c *EventsSubscribeCommands) Synopsis() string
type FlagBool ¶ added in v0.9.2
type FlagBool interface {
IsBoolFlag() bool
}
FlagBool is an interface which boolean flags implement.
type FlagExample ¶ added in v0.9.2
type FlagExample interface {
Example() string
}
FlagExample is an interface which declares an example value.
type FlagSet ¶ added in v0.9.2
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 ¶ added in v0.9.2
NewFlagSet creates a new flag set.
func (*FlagSet) BoolPtrVar ¶ added in v1.7.0
func (f *FlagSet) BoolPtrVar(i *BoolPtrVar)
func (*FlagSet) DurationVar ¶ added in v0.9.2
func (f *FlagSet) DurationVar(i *DurationVar)
func (*FlagSet) Float64Var ¶ added in v0.9.2
func (f *FlagSet) Float64Var(i *Float64Var)
func (*FlagSet) StringMapVar ¶ added in v0.9.2
func (f *FlagSet) StringMapVar(i *StringMapVar)
func (*FlagSet) StringSliceVar ¶ added in v0.9.2
func (f *FlagSet) StringSliceVar(i *StringSliceVar)
type FlagSetBit ¶ added in v0.9.2
type FlagSetBit uint
const ( FlagSetNone FlagSetBit = 1 << iota FlagSetHTTP FlagSetOutputField FlagSetOutputFormat FlagSetOutputDetailed )
type FlagSets ¶ added in v0.9.2
type FlagSets struct {
// contains filtered or unexported fields
}
FlagSets is a group of flag sets.
func NewFlagSets ¶ added in v0.9.2
NewFlagSets creates a new flag sets.
func (*FlagSets) Completions ¶ added in v0.9.2
Completions returns the completions for this flag set.
func (*FlagSets) Help ¶ added in v0.9.2
Help builds custom help for this command, grouping by flag set.
func (*FlagSets) NewFlagSet ¶ added in v0.9.2
NewFlagSet creates a new flag set from the given flag sets.
func (*FlagSets) Parse ¶ added in v0.9.2
func (f *FlagSets) Parse(args []string, opts ...ParseOptions) error
Parse parses the given flags, returning any errors. Warnings, if any, regarding the arguments format are sent to stdout
type FlagVisibility ¶ added in v0.9.2
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 ¶ added in v0.9.2
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 ¶ added in v0.9.4
type FormatOptions struct {
Format string
}
type ImportKeyFunc ¶ added in v1.13.3
type Int64Var ¶ added in v0.9.2
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 ¶ added in v0.9.2
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 ¶ added in v0.5.1
type JsonFormatter struct{}
An output formatter for json output of an object
func (JsonFormatter) Format ¶ added in v0.9.4
func (j JsonFormatter) Format(data interface{}) ([]byte, error)
type KVCommand ¶ added in v0.10.0
type KVCommand struct {
*BaseCommand
}
type KVDeleteCommand ¶ added in v0.10.0
type KVDeleteCommand struct { *BaseCommand // contains filtered or unexported fields }
func (*KVDeleteCommand) AutocompleteArgs ¶ added in v0.10.0
func (c *KVDeleteCommand) AutocompleteArgs() complete.Predictor
func (*KVDeleteCommand) AutocompleteFlags ¶ added in v0.10.0
func (c *KVDeleteCommand) AutocompleteFlags() complete.Flags
func (*KVDeleteCommand) Flags ¶ added in v0.10.0
func (c *KVDeleteCommand) Flags() *FlagSets
func (*KVDeleteCommand) Help ¶ added in v0.10.0
func (c *KVDeleteCommand) Help() string
func (*KVDeleteCommand) Run ¶ added in v0.10.0
func (c *KVDeleteCommand) Run(args []string) int
func (*KVDeleteCommand) Synopsis ¶ added in v0.10.0
func (c *KVDeleteCommand) Synopsis() string
type KVDestroyCommand ¶ added in v0.10.0
type KVDestroyCommand struct { *BaseCommand // contains filtered or unexported fields }
func (*KVDestroyCommand) AutocompleteArgs ¶ added in v0.10.0
func (c *KVDestroyCommand) AutocompleteArgs() complete.Predictor
func (*KVDestroyCommand) AutocompleteFlags ¶ added in v0.10.0
func (c *KVDestroyCommand) AutocompleteFlags() complete.Flags
func (*KVDestroyCommand) Flags ¶ added in v0.10.0
func (c *KVDestroyCommand) Flags() *FlagSets
func (*KVDestroyCommand) Help ¶ added in v0.10.0
func (c *KVDestroyCommand) Help() string
func (*KVDestroyCommand) Run ¶ added in v0.10.0
func (c *KVDestroyCommand) Run(args []string) int
func (*KVDestroyCommand) Synopsis ¶ added in v0.10.0
func (c *KVDestroyCommand) Synopsis() string
type KVEnableVersioningCommand ¶ added in v0.10.0
type KVEnableVersioningCommand struct {
*BaseCommand
}
func (*KVEnableVersioningCommand) AutocompleteArgs ¶ added in v0.10.0
func (c *KVEnableVersioningCommand) AutocompleteArgs() complete.Predictor
func (*KVEnableVersioningCommand) AutocompleteFlags ¶ added in v0.10.0
func (c *KVEnableVersioningCommand) AutocompleteFlags() complete.Flags
func (*KVEnableVersioningCommand) Flags ¶ added in v0.10.0
func (c *KVEnableVersioningCommand) Flags() *FlagSets
func (*KVEnableVersioningCommand) Help ¶ added in v0.10.0
func (c *KVEnableVersioningCommand) Help() string
func (*KVEnableVersioningCommand) Run ¶ added in v0.10.0
func (c *KVEnableVersioningCommand) Run(args []string) int
func (*KVEnableVersioningCommand) Synopsis ¶ added in v0.10.0
func (c *KVEnableVersioningCommand) Synopsis() string
type KVGetCommand ¶ added in v0.10.0
type KVGetCommand struct { *BaseCommand // contains filtered or unexported fields }
func (*KVGetCommand) AutocompleteArgs ¶ added in v0.10.0
func (c *KVGetCommand) AutocompleteArgs() complete.Predictor
func (*KVGetCommand) AutocompleteFlags ¶ added in v0.10.0
func (c *KVGetCommand) AutocompleteFlags() complete.Flags
func (*KVGetCommand) Flags ¶ added in v0.10.0
func (c *KVGetCommand) Flags() *FlagSets
func (*KVGetCommand) Help ¶ added in v0.10.0
func (c *KVGetCommand) Help() string
func (*KVGetCommand) Run ¶ added in v0.10.0
func (c *KVGetCommand) Run(args []string) int
func (*KVGetCommand) Synopsis ¶ added in v0.10.0
func (c *KVGetCommand) Synopsis() string
type KVListCommand ¶ added in v0.10.0
type KVListCommand struct {
*BaseCommand
}
func (*KVListCommand) AutocompleteArgs ¶ added in v0.10.0
func (c *KVListCommand) AutocompleteArgs() complete.Predictor
func (*KVListCommand) AutocompleteFlags ¶ added in v0.10.0
func (c *KVListCommand) AutocompleteFlags() complete.Flags
func (*KVListCommand) Flags ¶ added in v0.10.0
func (c *KVListCommand) Flags() *FlagSets
func (*KVListCommand) Help ¶ added in v0.10.0
func (c *KVListCommand) Help() string
func (*KVListCommand) Run ¶ added in v0.10.0
func (c *KVListCommand) Run(args []string) int
func (*KVListCommand) Synopsis ¶ added in v0.10.0
func (c *KVListCommand) Synopsis() string
type KVMetadataCommand ¶ added in v0.10.0
type KVMetadataCommand struct {
*BaseCommand
}
func (*KVMetadataCommand) Help ¶ added in v0.10.0
func (c *KVMetadataCommand) Help() string
func (*KVMetadataCommand) Run ¶ added in v0.10.0
func (c *KVMetadataCommand) Run(args []string) int
func (*KVMetadataCommand) Synopsis ¶ added in v0.10.0
func (c *KVMetadataCommand) Synopsis() string
type KVMetadataDeleteCommand ¶ added in v0.10.0
type KVMetadataDeleteCommand struct { *BaseCommand // contains filtered or unexported fields }
func (*KVMetadataDeleteCommand) AutocompleteArgs ¶ added in v0.10.0
func (c *KVMetadataDeleteCommand) AutocompleteArgs() complete.Predictor
func (*KVMetadataDeleteCommand) AutocompleteFlags ¶ added in v0.10.0
func (c *KVMetadataDeleteCommand) AutocompleteFlags() complete.Flags
func (*KVMetadataDeleteCommand) Flags ¶ added in v0.10.0
func (c *KVMetadataDeleteCommand) Flags() *FlagSets
func (*KVMetadataDeleteCommand) Help ¶ added in v0.10.0
func (c *KVMetadataDeleteCommand) Help() string
func (*KVMetadataDeleteCommand) Run ¶ added in v0.10.0
func (c *KVMetadataDeleteCommand) Run(args []string) int
func (*KVMetadataDeleteCommand) Synopsis ¶ added in v0.10.0
func (c *KVMetadataDeleteCommand) Synopsis() string
type KVMetadataGetCommand ¶ added in v0.10.0
type KVMetadataGetCommand struct { *BaseCommand // contains filtered or unexported fields }
func (*KVMetadataGetCommand) AutocompleteArgs ¶ added in v0.10.0
func (c *KVMetadataGetCommand) AutocompleteArgs() complete.Predictor
func (*KVMetadataGetCommand) AutocompleteFlags ¶ added in v0.10.0
func (c *KVMetadataGetCommand) AutocompleteFlags() complete.Flags
func (*KVMetadataGetCommand) Flags ¶ added in v0.10.0
func (c *KVMetadataGetCommand) Flags() *FlagSets
func (*KVMetadataGetCommand) Help ¶ added in v0.10.0
func (c *KVMetadataGetCommand) Help() string
func (*KVMetadataGetCommand) Run ¶ added in v0.10.0
func (c *KVMetadataGetCommand) Run(args []string) int
func (*KVMetadataGetCommand) Synopsis ¶ added in v0.10.0
func (c *KVMetadataGetCommand) Synopsis() string
type KVMetadataPatchCommand ¶ added in v1.10.0
type KVMetadataPatchCommand struct { *BaseCommand // contains filtered or unexported fields }
func (*KVMetadataPatchCommand) AutocompleteArgs ¶ added in v1.10.0
func (c *KVMetadataPatchCommand) AutocompleteArgs() complete.Predictor
func (*KVMetadataPatchCommand) AutocompleteFlags ¶ added in v1.10.0
func (c *KVMetadataPatchCommand) AutocompleteFlags() complete.Flags
func (*KVMetadataPatchCommand) Flags ¶ added in v1.10.0
func (c *KVMetadataPatchCommand) Flags() *FlagSets
func (*KVMetadataPatchCommand) Help ¶ added in v1.10.0
func (c *KVMetadataPatchCommand) Help() string
func (*KVMetadataPatchCommand) Run ¶ added in v1.10.0
func (c *KVMetadataPatchCommand) Run(args []string) int
func (*KVMetadataPatchCommand) Synopsis ¶ added in v1.10.0
func (c *KVMetadataPatchCommand) Synopsis() string
type KVMetadataPutCommand ¶ added in v0.10.0
type KVMetadataPutCommand struct { *BaseCommand // contains filtered or unexported fields }
func (*KVMetadataPutCommand) AutocompleteArgs ¶ added in v0.10.0
func (c *KVMetadataPutCommand) AutocompleteArgs() complete.Predictor
func (*KVMetadataPutCommand) AutocompleteFlags ¶ added in v0.10.0
func (c *KVMetadataPutCommand) AutocompleteFlags() complete.Flags
func (*KVMetadataPutCommand) Flags ¶ added in v0.10.0
func (c *KVMetadataPutCommand) Flags() *FlagSets
func (*KVMetadataPutCommand) Help ¶ added in v0.10.0
func (c *KVMetadataPutCommand) Help() string
func (*KVMetadataPutCommand) Run ¶ added in v0.10.0
func (c *KVMetadataPutCommand) Run(args []string) int
func (*KVMetadataPutCommand) Synopsis ¶ added in v0.10.0
func (c *KVMetadataPutCommand) Synopsis() string
type KVPatchCommand ¶ added in v0.10.1
type KVPatchCommand struct { *BaseCommand // contains filtered or unexported fields }
func (*KVPatchCommand) AutocompleteArgs ¶ added in v0.10.1
func (c *KVPatchCommand) AutocompleteArgs() complete.Predictor
func (*KVPatchCommand) AutocompleteFlags ¶ added in v0.10.1
func (c *KVPatchCommand) AutocompleteFlags() complete.Flags
func (*KVPatchCommand) Flags ¶ added in v0.10.1
func (c *KVPatchCommand) Flags() *FlagSets
func (*KVPatchCommand) Help ¶ added in v0.10.1
func (c *KVPatchCommand) Help() string
func (*KVPatchCommand) Run ¶ added in v0.10.1
func (c *KVPatchCommand) Run(args []string) int
func (*KVPatchCommand) Synopsis ¶ added in v0.10.1
func (c *KVPatchCommand) Synopsis() string
type KVPutCommand ¶ added in v0.10.0
type KVPutCommand struct { *BaseCommand // contains filtered or unexported fields }
func (*KVPutCommand) AutocompleteArgs ¶ added in v0.10.0
func (c *KVPutCommand) AutocompleteArgs() complete.Predictor
func (*KVPutCommand) AutocompleteFlags ¶ added in v0.10.0
func (c *KVPutCommand) AutocompleteFlags() complete.Flags
func (*KVPutCommand) Flags ¶ added in v0.10.0
func (c *KVPutCommand) Flags() *FlagSets
func (*KVPutCommand) Help ¶ added in v0.10.0
func (c *KVPutCommand) Help() string
func (*KVPutCommand) Run ¶ added in v0.10.0
func (c *KVPutCommand) Run(args []string) int
func (*KVPutCommand) Synopsis ¶ added in v0.10.0
func (c *KVPutCommand) Synopsis() string
type KVRollbackCommand ¶ added in v0.10.3
type KVRollbackCommand struct { *BaseCommand // contains filtered or unexported fields }
func (*KVRollbackCommand) AutocompleteArgs ¶ added in v0.10.3
func (c *KVRollbackCommand) AutocompleteArgs() complete.Predictor
func (*KVRollbackCommand) AutocompleteFlags ¶ added in v0.10.3
func (c *KVRollbackCommand) AutocompleteFlags() complete.Flags
func (*KVRollbackCommand) Flags ¶ added in v0.10.3
func (c *KVRollbackCommand) Flags() *FlagSets
func (*KVRollbackCommand) Help ¶ added in v0.10.3
func (c *KVRollbackCommand) Help() string
func (*KVRollbackCommand) Run ¶ added in v0.10.3
func (c *KVRollbackCommand) Run(args []string) int
func (*KVRollbackCommand) Synopsis ¶ added in v0.10.3
func (c *KVRollbackCommand) Synopsis() string
type KVUndeleteCommand ¶ added in v0.10.0
type KVUndeleteCommand struct { *BaseCommand // contains filtered or unexported fields }
func (*KVUndeleteCommand) AutocompleteArgs ¶ added in v0.10.0
func (c *KVUndeleteCommand) AutocompleteArgs() complete.Predictor
func (*KVUndeleteCommand) AutocompleteFlags ¶ added in v0.10.0
func (c *KVUndeleteCommand) AutocompleteFlags() complete.Flags
func (*KVUndeleteCommand) Flags ¶ added in v0.10.0
func (c *KVUndeleteCommand) Flags() *FlagSets
func (*KVUndeleteCommand) Help ¶ added in v0.10.0
func (c *KVUndeleteCommand) Help() string
func (*KVUndeleteCommand) Run ¶ added in v0.10.0
func (c *KVUndeleteCommand) Run(args []string) int
func (*KVUndeleteCommand) Synopsis ¶ added in v0.10.0
func (c *KVUndeleteCommand) Synopsis() string
type LeaseCommand ¶ added in v0.9.2
type LeaseCommand struct {
*BaseCommand
}
func (*LeaseCommand) Help ¶ added in v0.9.2
func (c *LeaseCommand) Help() string
func (*LeaseCommand) Run ¶ added in v0.9.2
func (c *LeaseCommand) Run(args []string) int
func (*LeaseCommand) Synopsis ¶ added in v0.9.2
func (c *LeaseCommand) Synopsis() string
type LeaseLookupCommand ¶ added in v1.8.0
type LeaseLookupCommand struct {
*BaseCommand
}
func (*LeaseLookupCommand) AutocompleteArgs ¶ added in v1.8.0
func (c *LeaseLookupCommand) AutocompleteArgs() complete.Predictor
func (*LeaseLookupCommand) AutocompleteFlags ¶ added in v1.8.0
func (c *LeaseLookupCommand) AutocompleteFlags() complete.Flags
func (*LeaseLookupCommand) Flags ¶ added in v1.8.0
func (c *LeaseLookupCommand) Flags() *FlagSets
func (*LeaseLookupCommand) Help ¶ added in v1.8.0
func (c *LeaseLookupCommand) Help() string
func (*LeaseLookupCommand) Run ¶ added in v1.8.0
func (c *LeaseLookupCommand) Run(args []string) int
func (*LeaseLookupCommand) Synopsis ¶ added in v1.8.0
func (c *LeaseLookupCommand) Synopsis() string
type LeaseRenewCommand ¶ added in v0.9.2
type LeaseRenewCommand struct { *BaseCommand // contains filtered or unexported fields }
func (*LeaseRenewCommand) AutocompleteArgs ¶ added in v0.9.2
func (c *LeaseRenewCommand) AutocompleteArgs() complete.Predictor
func (*LeaseRenewCommand) AutocompleteFlags ¶ added in v0.9.2
func (c *LeaseRenewCommand) AutocompleteFlags() complete.Flags
func (*LeaseRenewCommand) Flags ¶ added in v0.9.2
func (c *LeaseRenewCommand) Flags() *FlagSets
func (*LeaseRenewCommand) Help ¶ added in v0.9.2
func (c *LeaseRenewCommand) Help() string
func (*LeaseRenewCommand) Run ¶ added in v0.9.2
func (c *LeaseRenewCommand) Run(args []string) int
func (*LeaseRenewCommand) Synopsis ¶ added in v0.9.2
func (c *LeaseRenewCommand) Synopsis() string
type LeaseRevokeCommand ¶ added in v0.9.2
type LeaseRevokeCommand struct { *BaseCommand // contains filtered or unexported fields }
func (*LeaseRevokeCommand) AutocompleteArgs ¶ added in v0.9.2
func (c *LeaseRevokeCommand) AutocompleteArgs() complete.Predictor
func (*LeaseRevokeCommand) AutocompleteFlags ¶ added in v0.9.2
func (c *LeaseRevokeCommand) AutocompleteFlags() complete.Flags
func (*LeaseRevokeCommand) Flags ¶ added in v0.9.2
func (c *LeaseRevokeCommand) Flags() *FlagSets
func (*LeaseRevokeCommand) Help ¶ added in v0.9.2
func (c *LeaseRevokeCommand) Help() string
func (*LeaseRevokeCommand) Run ¶ added in v0.9.2
func (c *LeaseRevokeCommand) Run(args []string) int
func (*LeaseRevokeCommand) Synopsis ¶ added in v0.9.2
func (c *LeaseRevokeCommand) Synopsis() string
type ListCommand ¶ added in v0.5.0
type ListCommand struct {
*BaseCommand
}
func (*ListCommand) AutocompleteArgs ¶ added in v0.9.2
func (c *ListCommand) AutocompleteArgs() complete.Predictor
func (*ListCommand) AutocompleteFlags ¶ added in v0.9.2
func (c *ListCommand) AutocompleteFlags() complete.Flags
func (*ListCommand) Flags ¶ added in v0.9.2
func (c *ListCommand) Flags() *FlagSets
func (*ListCommand) Help ¶ added in v0.5.0
func (c *ListCommand) Help() string
func (*ListCommand) Run ¶ added in v0.5.0
func (c *ListCommand) Run(args []string) int
func (*ListCommand) Synopsis ¶ added in v0.5.0
func (c *ListCommand) Synopsis() string
type LoginCommand ¶ added in v0.9.2
type LoginCommand struct { *BaseCommand Handlers map[string]LoginHandler // contains filtered or unexported fields }
func (*LoginCommand) AutocompleteArgs ¶ added in v0.9.2
func (c *LoginCommand) AutocompleteArgs() complete.Predictor
func (*LoginCommand) AutocompleteFlags ¶ added in v0.9.2
func (c *LoginCommand) AutocompleteFlags() complete.Flags
func (*LoginCommand) Flags ¶ added in v0.9.2
func (c *LoginCommand) Flags() *FlagSets
func (*LoginCommand) Help ¶ added in v0.9.2
func (c *LoginCommand) Help() string
func (*LoginCommand) Run ¶ added in v0.9.2
func (c *LoginCommand) Run(args []string) int
func (*LoginCommand) Synopsis ¶ added in v0.9.2
func (c *LoginCommand) Synopsis() string
type LoginHandler ¶ added in v0.9.2
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 MFAMethodInfo ¶ added in v1.10.0
type MFAMethodInfo struct {
// contains filtered or unexported fields
}
MFAMethodInfo contains the information about an MFA method
type MonitorCommand ¶ added in v1.5.0
type MonitorCommand struct { *BaseCommand // ShutdownCh is used to capture interrupt signal and end streaming ShutdownCh chan struct{} // contains filtered or unexported fields }
func (*MonitorCommand) AutocompleteArgs ¶ added in v1.5.0
func (c *MonitorCommand) AutocompleteArgs() complete.Predictor
func (*MonitorCommand) AutocompleteFlags ¶ added in v1.5.0
func (c *MonitorCommand) AutocompleteFlags() complete.Flags
func (*MonitorCommand) Flags ¶ added in v1.5.0
func (c *MonitorCommand) Flags() *FlagSets
func (*MonitorCommand) Help ¶ added in v1.5.0
func (c *MonitorCommand) Help() string
func (*MonitorCommand) Run ¶ added in v1.5.0
func (c *MonitorCommand) Run(args []string) int
func (*MonitorCommand) Synopsis ¶ added in v1.5.0
func (c *MonitorCommand) Synopsis() string
type NamespaceAPILockCommand ¶ added in v1.9.0
type NamespaceAPILockCommand struct {
*BaseCommand
}
func (*NamespaceAPILockCommand) AutocompleteArgs ¶ added in v1.9.0
func (c *NamespaceAPILockCommand) AutocompleteArgs() complete.Predictor
func (*NamespaceAPILockCommand) AutocompleteFlags ¶ added in v1.9.0
func (c *NamespaceAPILockCommand) AutocompleteFlags() complete.Flags
func (*NamespaceAPILockCommand) Flags ¶ added in v1.9.0
func (c *NamespaceAPILockCommand) Flags() *FlagSets
func (*NamespaceAPILockCommand) Help ¶ added in v1.9.0
func (c *NamespaceAPILockCommand) Help() string
func (*NamespaceAPILockCommand) Run ¶ added in v1.9.0
func (c *NamespaceAPILockCommand) Run(args []string) int
func (*NamespaceAPILockCommand) Synopsis ¶ added in v1.9.0
func (c *NamespaceAPILockCommand) Synopsis() string
type NamespaceAPIUnlockCommand ¶ added in v1.9.0
type NamespaceAPIUnlockCommand struct {
*BaseCommand
}
func (*NamespaceAPIUnlockCommand) AutocompleteArgs ¶ added in v1.9.0
func (c *NamespaceAPIUnlockCommand) AutocompleteArgs() complete.Predictor
func (*NamespaceAPIUnlockCommand) AutocompleteFlags ¶ added in v1.9.0
func (c *NamespaceAPIUnlockCommand) AutocompleteFlags() complete.Flags
func (*NamespaceAPIUnlockCommand) Flags ¶ added in v1.9.0
func (c *NamespaceAPIUnlockCommand) Flags() *FlagSets
func (*NamespaceAPIUnlockCommand) Help ¶ added in v1.9.0
func (c *NamespaceAPIUnlockCommand) Help() string
func (*NamespaceAPIUnlockCommand) Run ¶ added in v1.9.0
func (c *NamespaceAPIUnlockCommand) Run(args []string) int
func (*NamespaceAPIUnlockCommand) Synopsis ¶ added in v1.9.0
func (c *NamespaceAPIUnlockCommand) Synopsis() string
type NamespaceCommand ¶ added in v0.11.0
type NamespaceCommand struct {
*BaseCommand
}
func (*NamespaceCommand) Help ¶ added in v0.11.0
func (c *NamespaceCommand) Help() string
func (*NamespaceCommand) Run ¶ added in v0.11.0
func (c *NamespaceCommand) Run(args []string) int
func (*NamespaceCommand) Synopsis ¶ added in v0.11.0
func (c *NamespaceCommand) Synopsis() string
type NamespaceCreateCommand ¶ added in v0.11.0
type NamespaceCreateCommand struct { *BaseCommand // contains filtered or unexported fields }
func (*NamespaceCreateCommand) AutocompleteArgs ¶ added in v0.11.0
func (c *NamespaceCreateCommand) AutocompleteArgs() complete.Predictor
func (*NamespaceCreateCommand) AutocompleteFlags ¶ added in v0.11.0
func (c *NamespaceCreateCommand) AutocompleteFlags() complete.Flags
func (*NamespaceCreateCommand) Flags ¶ added in v0.11.0
func (c *NamespaceCreateCommand) Flags() *FlagSets
func (*NamespaceCreateCommand) Help ¶ added in v0.11.0
func (c *NamespaceCreateCommand) Help() string
func (*NamespaceCreateCommand) Run ¶ added in v0.11.0
func (c *NamespaceCreateCommand) Run(args []string) int
func (*NamespaceCreateCommand) Synopsis ¶ added in v0.11.0
func (c *NamespaceCreateCommand) Synopsis() string
type NamespaceDeleteCommand ¶ added in v0.11.0
type NamespaceDeleteCommand struct {
*BaseCommand
}
func (*NamespaceDeleteCommand) AutocompleteArgs ¶ added in v0.11.0
func (c *NamespaceDeleteCommand) AutocompleteArgs() complete.Predictor
func (*NamespaceDeleteCommand) AutocompleteFlags ¶ added in v0.11.0
func (c *NamespaceDeleteCommand) AutocompleteFlags() complete.Flags
func (*NamespaceDeleteCommand) Flags ¶ added in v0.11.0
func (c *NamespaceDeleteCommand) Flags() *FlagSets
func (*NamespaceDeleteCommand) Help ¶ added in v0.11.0
func (c *NamespaceDeleteCommand) Help() string
func (*NamespaceDeleteCommand) Run ¶ added in v0.11.0
func (c *NamespaceDeleteCommand) Run(args []string) int
func (*NamespaceDeleteCommand) Synopsis ¶ added in v0.11.0
func (c *NamespaceDeleteCommand) Synopsis() string
type NamespaceListCommand ¶ added in v0.11.0
type NamespaceListCommand struct {
*BaseCommand
}
func (*NamespaceListCommand) AutocompleteArgs ¶ added in v0.11.0
func (c *NamespaceListCommand) AutocompleteArgs() complete.Predictor
func (*NamespaceListCommand) AutocompleteFlags ¶ added in v0.11.0
func (c *NamespaceListCommand) AutocompleteFlags() complete.Flags
func (*NamespaceListCommand) Flags ¶ added in v0.11.0
func (c *NamespaceListCommand) Flags() *FlagSets
func (*NamespaceListCommand) Help ¶ added in v0.11.0
func (c *NamespaceListCommand) Help() string
func (*NamespaceListCommand) Run ¶ added in v0.11.0
func (c *NamespaceListCommand) Run(args []string) int
func (*NamespaceListCommand) Synopsis ¶ added in v0.11.0
func (c *NamespaceListCommand) Synopsis() string
type NamespaceLookupCommand ¶ added in v0.11.0
type NamespaceLookupCommand struct {
*BaseCommand
}
func (*NamespaceLookupCommand) AutocompleteArgs ¶ added in v0.11.0
func (c *NamespaceLookupCommand) AutocompleteArgs() complete.Predictor
func (*NamespaceLookupCommand) AutocompleteFlags ¶ added in v0.11.0
func (c *NamespaceLookupCommand) AutocompleteFlags() complete.Flags
func (*NamespaceLookupCommand) Flags ¶ added in v0.11.0
func (c *NamespaceLookupCommand) Flags() *FlagSets
func (*NamespaceLookupCommand) Help ¶ added in v0.11.0
func (c *NamespaceLookupCommand) Help() string
func (*NamespaceLookupCommand) Run ¶ added in v0.11.0
func (c *NamespaceLookupCommand) Run(args []string) int
func (*NamespaceLookupCommand) Synopsis ¶ added in v0.11.0
func (c *NamespaceLookupCommand) Synopsis() string
type NamespacePatchCommand ¶ added in v1.12.0
type NamespacePatchCommand struct { *BaseCommand // contains filtered or unexported fields }
func (*NamespacePatchCommand) AutocompleteArgs ¶ added in v1.12.0
func (c *NamespacePatchCommand) AutocompleteArgs() complete.Predictor
func (*NamespacePatchCommand) AutocompleteFlags ¶ added in v1.12.0
func (c *NamespacePatchCommand) AutocompleteFlags() complete.Flags
func (*NamespacePatchCommand) Flags ¶ added in v1.12.0
func (c *NamespacePatchCommand) Flags() *FlagSets
func (*NamespacePatchCommand) Help ¶ added in v1.12.0
func (c *NamespacePatchCommand) Help() string
func (*NamespacePatchCommand) Run ¶ added in v1.12.0
func (c *NamespacePatchCommand) Run(args []string) int
func (*NamespacePatchCommand) Synopsis ¶ added in v1.12.0
func (c *NamespacePatchCommand) Synopsis() string
type OperatorCommand ¶ added in v0.9.2
type OperatorCommand struct {
*BaseCommand
}
func (*OperatorCommand) Help ¶ added in v0.9.2
func (c *OperatorCommand) Help() string
func (*OperatorCommand) Run ¶ added in v0.9.2
func (c *OperatorCommand) Run(args []string) int
func (*OperatorCommand) Synopsis ¶ added in v0.9.2
func (c *OperatorCommand) Synopsis() string
type OperatorDiagnoseCommand ¶ added in v1.7.0
type OperatorDiagnoseCommand struct { *BaseCommand ServiceRegistrations map[string]sr.Factory // contains filtered or unexported fields }
func (*OperatorDiagnoseCommand) AutocompleteArgs ¶ added in v1.7.0
func (c *OperatorDiagnoseCommand) AutocompleteArgs() complete.Predictor
func (*OperatorDiagnoseCommand) AutocompleteFlags ¶ added in v1.7.0
func (c *OperatorDiagnoseCommand) AutocompleteFlags() complete.Flags
func (*OperatorDiagnoseCommand) Flags ¶ added in v1.7.0
func (c *OperatorDiagnoseCommand) Flags() *FlagSets
func (*OperatorDiagnoseCommand) Help ¶ added in v1.7.0
func (c *OperatorDiagnoseCommand) Help() string
func (*OperatorDiagnoseCommand) Run ¶ added in v1.7.0
func (c *OperatorDiagnoseCommand) Run(args []string) int
func (*OperatorDiagnoseCommand) RunWithParsedFlags ¶ added in v1.7.0
func (c *OperatorDiagnoseCommand) RunWithParsedFlags() int
func (*OperatorDiagnoseCommand) Synopsis ¶ added in v1.7.0
func (c *OperatorDiagnoseCommand) Synopsis() string
type OperatorGenerateRootCommand ¶ added in v0.9.2
type OperatorGenerateRootCommand struct { *BaseCommand // contains filtered or unexported fields }
func (*OperatorGenerateRootCommand) AutocompleteArgs ¶ added in v0.9.2
func (c *OperatorGenerateRootCommand) AutocompleteArgs() complete.Predictor
func (*OperatorGenerateRootCommand) AutocompleteFlags ¶ added in v0.9.2
func (c *OperatorGenerateRootCommand) AutocompleteFlags() complete.Flags
func (*OperatorGenerateRootCommand) Flags ¶ added in v0.9.2
func (c *OperatorGenerateRootCommand) Flags() *FlagSets
func (*OperatorGenerateRootCommand) Help ¶ added in v0.9.2
func (c *OperatorGenerateRootCommand) Help() string
func (*OperatorGenerateRootCommand) Run ¶ added in v0.9.2
func (c *OperatorGenerateRootCommand) Run(args []string) int
func (*OperatorGenerateRootCommand) Synopsis ¶ added in v0.9.2
func (c *OperatorGenerateRootCommand) Synopsis() string
type OperatorInitCommand ¶ added in v0.9.2
type OperatorInitCommand struct { *BaseCommand // contains filtered or unexported fields }
func (*OperatorInitCommand) AutocompleteArgs ¶ added in v0.9.2
func (c *OperatorInitCommand) AutocompleteArgs() complete.Predictor
func (*OperatorInitCommand) AutocompleteFlags ¶ added in v0.9.2
func (c *OperatorInitCommand) AutocompleteFlags() complete.Flags
func (*OperatorInitCommand) Flags ¶ added in v0.9.2
func (c *OperatorInitCommand) Flags() *FlagSets
func (*OperatorInitCommand) Help ¶ added in v0.9.2
func (c *OperatorInitCommand) Help() string
func (*OperatorInitCommand) Run ¶ added in v0.9.2
func (c *OperatorInitCommand) Run(args []string) int
func (*OperatorInitCommand) Synopsis ¶ added in v0.9.2
func (c *OperatorInitCommand) Synopsis() string
type OperatorKeyStatusCommand ¶ added in v0.9.2
type OperatorKeyStatusCommand struct {
*BaseCommand
}
func (*OperatorKeyStatusCommand) AutocompleteArgs ¶ added in v0.9.2
func (c *OperatorKeyStatusCommand) AutocompleteArgs() complete.Predictor
func (*OperatorKeyStatusCommand) AutocompleteFlags ¶ added in v0.9.2
func (c *OperatorKeyStatusCommand) AutocompleteFlags() complete.Flags
func (*OperatorKeyStatusCommand) Flags ¶ added in v0.9.2
func (c *OperatorKeyStatusCommand) Flags() *FlagSets
func (*OperatorKeyStatusCommand) Help ¶ added in v0.9.2
func (c *OperatorKeyStatusCommand) Help() string
func (*OperatorKeyStatusCommand) Run ¶ added in v0.9.2
func (c *OperatorKeyStatusCommand) Run(args []string) int
func (*OperatorKeyStatusCommand) Synopsis ¶ added in v0.9.2
func (c *OperatorKeyStatusCommand) Synopsis() string
type OperatorMembersCommand ¶ added in v1.10.0
type OperatorMembersCommand struct {
*BaseCommand
}
func (*OperatorMembersCommand) AutocompleteArgs ¶ added in v1.10.0
func (c *OperatorMembersCommand) AutocompleteArgs() complete.Predictor
func (*OperatorMembersCommand) AutocompleteFlags ¶ added in v1.10.0
func (c *OperatorMembersCommand) AutocompleteFlags() complete.Flags
func (*OperatorMembersCommand) Flags ¶ added in v1.10.0
func (c *OperatorMembersCommand) Flags() *FlagSets
func (*OperatorMembersCommand) Help ¶ added in v1.10.0
func (c *OperatorMembersCommand) Help() string
func (*OperatorMembersCommand) Run ¶ added in v1.10.0
func (c *OperatorMembersCommand) Run(args []string) int
func (*OperatorMembersCommand) Synopsis ¶ added in v1.10.0
func (c *OperatorMembersCommand) Synopsis() string
type OperatorMigrateCommand ¶ added in v0.11.2
type OperatorMigrateCommand struct { *BaseCommand PhysicalBackends map[string]physical.Factory ShutdownCh chan struct{} // contains filtered or unexported fields }
func (*OperatorMigrateCommand) AutocompleteArgs ¶ added in v0.11.2
func (c *OperatorMigrateCommand) AutocompleteArgs() complete.Predictor
func (*OperatorMigrateCommand) AutocompleteFlags ¶ added in v0.11.2
func (c *OperatorMigrateCommand) AutocompleteFlags() complete.Flags
func (*OperatorMigrateCommand) Flags ¶ added in v0.11.2
func (c *OperatorMigrateCommand) Flags() *FlagSets
func (*OperatorMigrateCommand) Help ¶ added in v0.11.2
func (c *OperatorMigrateCommand) Help() string
func (*OperatorMigrateCommand) Run ¶ added in v0.11.2
func (c *OperatorMigrateCommand) Run(args []string) int
func (*OperatorMigrateCommand) Synopsis ¶ added in v0.11.2
func (c *OperatorMigrateCommand) Synopsis() string
type OperatorRaftAutopilotGetConfigCommand ¶ added in v1.7.0
type OperatorRaftAutopilotGetConfigCommand struct {
*BaseCommand
}
func (*OperatorRaftAutopilotGetConfigCommand) AutocompleteArgs ¶ added in v1.7.0
func (c *OperatorRaftAutopilotGetConfigCommand) AutocompleteArgs() complete.Predictor
func (*OperatorRaftAutopilotGetConfigCommand) AutocompleteFlags ¶ added in v1.7.0
func (c *OperatorRaftAutopilotGetConfigCommand) AutocompleteFlags() complete.Flags
func (*OperatorRaftAutopilotGetConfigCommand) Flags ¶ added in v1.7.0
func (c *OperatorRaftAutopilotGetConfigCommand) Flags() *FlagSets
func (*OperatorRaftAutopilotGetConfigCommand) Help ¶ added in v1.7.0
func (c *OperatorRaftAutopilotGetConfigCommand) Help() string
func (*OperatorRaftAutopilotGetConfigCommand) Run ¶ added in v1.7.0
func (c *OperatorRaftAutopilotGetConfigCommand) Run(args []string) int
func (*OperatorRaftAutopilotGetConfigCommand) Synopsis ¶ added in v1.7.0
func (c *OperatorRaftAutopilotGetConfigCommand) Synopsis() string
type OperatorRaftAutopilotSetConfigCommand ¶ added in v1.7.0
type OperatorRaftAutopilotSetConfigCommand struct { *BaseCommand // contains filtered or unexported fields }
func (*OperatorRaftAutopilotSetConfigCommand) AutocompleteArgs ¶ added in v1.7.0
func (c *OperatorRaftAutopilotSetConfigCommand) AutocompleteArgs() complete.Predictor
func (*OperatorRaftAutopilotSetConfigCommand) AutocompleteFlags ¶ added in v1.7.0
func (c *OperatorRaftAutopilotSetConfigCommand) AutocompleteFlags() complete.Flags
func (*OperatorRaftAutopilotSetConfigCommand) Flags ¶ added in v1.7.0
func (c *OperatorRaftAutopilotSetConfigCommand) Flags() *FlagSets
func (*OperatorRaftAutopilotSetConfigCommand) Help ¶ added in v1.7.0
func (c *OperatorRaftAutopilotSetConfigCommand) Help() string
func (*OperatorRaftAutopilotSetConfigCommand) Run ¶ added in v1.7.0
func (c *OperatorRaftAutopilotSetConfigCommand) Run(args []string) int
func (*OperatorRaftAutopilotSetConfigCommand) Synopsis ¶ added in v1.7.0
func (c *OperatorRaftAutopilotSetConfigCommand) Synopsis() string
type OperatorRaftAutopilotStateCommand ¶ added in v1.7.0
type OperatorRaftAutopilotStateCommand struct {
*BaseCommand
}
func (*OperatorRaftAutopilotStateCommand) AutocompleteArgs ¶ added in v1.7.0
func (c *OperatorRaftAutopilotStateCommand) AutocompleteArgs() complete.Predictor
func (*OperatorRaftAutopilotStateCommand) AutocompleteFlags ¶ added in v1.7.0
func (c *OperatorRaftAutopilotStateCommand) AutocompleteFlags() complete.Flags
func (*OperatorRaftAutopilotStateCommand) Flags ¶ added in v1.7.0
func (c *OperatorRaftAutopilotStateCommand) Flags() *FlagSets
func (*OperatorRaftAutopilotStateCommand) Help ¶ added in v1.7.0
func (c *OperatorRaftAutopilotStateCommand) Help() string
func (*OperatorRaftAutopilotStateCommand) Run ¶ added in v1.7.0
func (c *OperatorRaftAutopilotStateCommand) Run(args []string) int
func (*OperatorRaftAutopilotStateCommand) Synopsis ¶ added in v1.7.0
func (c *OperatorRaftAutopilotStateCommand) Synopsis() string
type OperatorRaftCommand ¶ added in v1.2.0
type OperatorRaftCommand struct {
*BaseCommand
}
func (*OperatorRaftCommand) Help ¶ added in v1.2.0
func (c *OperatorRaftCommand) Help() string
func (*OperatorRaftCommand) Run ¶ added in v1.2.0
func (c *OperatorRaftCommand) Run(args []string) int
func (*OperatorRaftCommand) Synopsis ¶ added in v1.2.0
func (c *OperatorRaftCommand) Synopsis() string
type OperatorRaftJoinCommand ¶ added in v1.2.0
type OperatorRaftJoinCommand struct { *BaseCommand // contains filtered or unexported fields }
func (*OperatorRaftJoinCommand) AutocompleteArgs ¶ added in v1.2.0
func (c *OperatorRaftJoinCommand) AutocompleteArgs() complete.Predictor
func (*OperatorRaftJoinCommand) AutocompleteFlags ¶ added in v1.2.0
func (c *OperatorRaftJoinCommand) AutocompleteFlags() complete.Flags
func (*OperatorRaftJoinCommand) Flags ¶ added in v1.2.0
func (c *OperatorRaftJoinCommand) Flags() *FlagSets
func (*OperatorRaftJoinCommand) Help ¶ added in v1.2.0
func (c *OperatorRaftJoinCommand) Help() string
func (*OperatorRaftJoinCommand) Run ¶ added in v1.2.0
func (c *OperatorRaftJoinCommand) Run(args []string) int
func (*OperatorRaftJoinCommand) Synopsis ¶ added in v1.2.0
func (c *OperatorRaftJoinCommand) Synopsis() string
type OperatorRaftListPeersCommand ¶ added in v1.4.0
type OperatorRaftListPeersCommand struct { *BaseCommand // contains filtered or unexported fields }
func (*OperatorRaftListPeersCommand) AutocompleteArgs ¶ added in v1.4.0
func (c *OperatorRaftListPeersCommand) AutocompleteArgs() complete.Predictor
func (*OperatorRaftListPeersCommand) AutocompleteFlags ¶ added in v1.4.0
func (c *OperatorRaftListPeersCommand) AutocompleteFlags() complete.Flags
func (*OperatorRaftListPeersCommand) Flags ¶ added in v1.4.0
func (c *OperatorRaftListPeersCommand) Flags() *FlagSets
func (*OperatorRaftListPeersCommand) Help ¶ added in v1.4.0
func (c *OperatorRaftListPeersCommand) Help() string
func (*OperatorRaftListPeersCommand) Run ¶ added in v1.4.0
func (c *OperatorRaftListPeersCommand) Run(args []string) int
func (*OperatorRaftListPeersCommand) Synopsis ¶ added in v1.4.0
func (c *OperatorRaftListPeersCommand) Synopsis() string
type OperatorRaftRemovePeerCommand ¶ added in v1.2.0
type OperatorRaftRemovePeerCommand struct { *BaseCommand // contains filtered or unexported fields }
func (*OperatorRaftRemovePeerCommand) AutocompleteArgs ¶ added in v1.2.0
func (c *OperatorRaftRemovePeerCommand) AutocompleteArgs() complete.Predictor
func (*OperatorRaftRemovePeerCommand) AutocompleteFlags ¶ added in v1.2.0
func (c *OperatorRaftRemovePeerCommand) AutocompleteFlags() complete.Flags
func (*OperatorRaftRemovePeerCommand) Flags ¶ added in v1.2.0
func (c *OperatorRaftRemovePeerCommand) Flags() *FlagSets
func (*OperatorRaftRemovePeerCommand) Help ¶ added in v1.2.0
func (c *OperatorRaftRemovePeerCommand) Help() string
func (*OperatorRaftRemovePeerCommand) Run ¶ added in v1.2.0
func (c *OperatorRaftRemovePeerCommand) Run(args []string) int
func (*OperatorRaftRemovePeerCommand) Synopsis ¶ added in v1.2.0
func (c *OperatorRaftRemovePeerCommand) Synopsis() string
type OperatorRaftSnapshotCommand ¶ added in v1.2.0
type OperatorRaftSnapshotCommand struct {
*BaseCommand
}
func (*OperatorRaftSnapshotCommand) Help ¶ added in v1.2.0
func (c *OperatorRaftSnapshotCommand) Help() string
func (*OperatorRaftSnapshotCommand) Run ¶ added in v1.2.0
func (c *OperatorRaftSnapshotCommand) Run(args []string) int
func (*OperatorRaftSnapshotCommand) Synopsis ¶ added in v1.2.0
func (c *OperatorRaftSnapshotCommand) Synopsis() string
type OperatorRaftSnapshotRestoreCommand ¶ added in v1.2.0
type OperatorRaftSnapshotRestoreCommand struct { *BaseCommand // contains filtered or unexported fields }
func (*OperatorRaftSnapshotRestoreCommand) AutocompleteArgs ¶ added in v1.2.0
func (c *OperatorRaftSnapshotRestoreCommand) AutocompleteArgs() complete.Predictor
func (*OperatorRaftSnapshotRestoreCommand) AutocompleteFlags ¶ added in v1.2.0
func (c *OperatorRaftSnapshotRestoreCommand) AutocompleteFlags() complete.Flags
func (*OperatorRaftSnapshotRestoreCommand) Flags ¶ added in v1.2.0
func (c *OperatorRaftSnapshotRestoreCommand) Flags() *FlagSets
func (*OperatorRaftSnapshotRestoreCommand) Help ¶ added in v1.2.0
func (c *OperatorRaftSnapshotRestoreCommand) Help() string
func (*OperatorRaftSnapshotRestoreCommand) Run ¶ added in v1.2.0
func (c *OperatorRaftSnapshotRestoreCommand) Run(args []string) int
func (*OperatorRaftSnapshotRestoreCommand) Synopsis ¶ added in v1.2.0
func (c *OperatorRaftSnapshotRestoreCommand) Synopsis() string
type OperatorRaftSnapshotSaveCommand ¶ added in v1.2.0
type OperatorRaftSnapshotSaveCommand struct {
*BaseCommand
}
func (*OperatorRaftSnapshotSaveCommand) AutocompleteArgs ¶ added in v1.2.0
func (c *OperatorRaftSnapshotSaveCommand) AutocompleteArgs() complete.Predictor
func (*OperatorRaftSnapshotSaveCommand) AutocompleteFlags ¶ added in v1.2.0
func (c *OperatorRaftSnapshotSaveCommand) AutocompleteFlags() complete.Flags
func (*OperatorRaftSnapshotSaveCommand) Flags ¶ added in v1.2.0
func (c *OperatorRaftSnapshotSaveCommand) Flags() *FlagSets
func (*OperatorRaftSnapshotSaveCommand) Help ¶ added in v1.2.0
func (c *OperatorRaftSnapshotSaveCommand) Help() string
func (*OperatorRaftSnapshotSaveCommand) Run ¶ added in v1.2.0
func (c *OperatorRaftSnapshotSaveCommand) Run(args []string) int
func (*OperatorRaftSnapshotSaveCommand) Synopsis ¶ added in v1.2.0
func (c *OperatorRaftSnapshotSaveCommand) Synopsis() string
type OperatorRekeyCommand ¶ added in v0.9.2
type OperatorRekeyCommand struct { *BaseCommand // contains filtered or unexported fields }
func (*OperatorRekeyCommand) AutocompleteArgs ¶ added in v0.9.2
func (c *OperatorRekeyCommand) AutocompleteArgs() complete.Predictor
func (*OperatorRekeyCommand) AutocompleteFlags ¶ added in v0.9.2
func (c *OperatorRekeyCommand) AutocompleteFlags() complete.Flags
func (*OperatorRekeyCommand) Flags ¶ added in v0.9.2
func (c *OperatorRekeyCommand) Flags() *FlagSets
func (*OperatorRekeyCommand) Help ¶ added in v0.9.2
func (c *OperatorRekeyCommand) Help() string
func (*OperatorRekeyCommand) Run ¶ added in v0.9.2
func (c *OperatorRekeyCommand) Run(args []string) int
func (*OperatorRekeyCommand) Synopsis ¶ added in v0.9.2
func (c *OperatorRekeyCommand) Synopsis() string
type OperatorRotateCommand ¶ added in v0.9.2
type OperatorRotateCommand struct {
*BaseCommand
}
func (*OperatorRotateCommand) AutocompleteArgs ¶ added in v0.9.2
func (c *OperatorRotateCommand) AutocompleteArgs() complete.Predictor
func (*OperatorRotateCommand) AutocompleteFlags ¶ added in v0.9.2
func (c *OperatorRotateCommand) AutocompleteFlags() complete.Flags
func (*OperatorRotateCommand) Flags ¶ added in v0.9.2
func (c *OperatorRotateCommand) Flags() *FlagSets
func (*OperatorRotateCommand) Help ¶ added in v0.9.2
func (c *OperatorRotateCommand) Help() string
func (*OperatorRotateCommand) Run ¶ added in v0.9.2
func (c *OperatorRotateCommand) Run(args []string) int
func (*OperatorRotateCommand) Synopsis ¶ added in v0.9.2
func (c *OperatorRotateCommand) Synopsis() string
type OperatorSealCommand ¶ added in v0.9.2
type OperatorSealCommand struct {
*BaseCommand
}
func (*OperatorSealCommand) AutocompleteArgs ¶ added in v0.9.2
func (c *OperatorSealCommand) AutocompleteArgs() complete.Predictor
func (*OperatorSealCommand) AutocompleteFlags ¶ added in v0.9.2
func (c *OperatorSealCommand) AutocompleteFlags() complete.Flags
func (*OperatorSealCommand) Flags ¶ added in v0.9.2
func (c *OperatorSealCommand) Flags() *FlagSets
func (*OperatorSealCommand) Help ¶ added in v0.9.2
func (c *OperatorSealCommand) Help() string
func (*OperatorSealCommand) Run ¶ added in v0.9.2
func (c *OperatorSealCommand) Run(args []string) int
func (*OperatorSealCommand) Synopsis ¶ added in v0.9.2
func (c *OperatorSealCommand) Synopsis() string
type OperatorStepDownCommand ¶ added in v0.9.2
type OperatorStepDownCommand struct {
*BaseCommand
}
func (*OperatorStepDownCommand) AutocompleteArgs ¶ added in v0.9.2
func (c *OperatorStepDownCommand) AutocompleteArgs() complete.Predictor
func (*OperatorStepDownCommand) AutocompleteFlags ¶ added in v0.9.2
func (c *OperatorStepDownCommand) AutocompleteFlags() complete.Flags
func (*OperatorStepDownCommand) Flags ¶ added in v0.9.2
func (c *OperatorStepDownCommand) Flags() *FlagSets
func (*OperatorStepDownCommand) Help ¶ added in v0.9.2
func (c *OperatorStepDownCommand) Help() string
func (*OperatorStepDownCommand) Run ¶ added in v0.9.2
func (c *OperatorStepDownCommand) Run(args []string) int
func (*OperatorStepDownCommand) Synopsis ¶ added in v0.9.2
func (c *OperatorStepDownCommand) Synopsis() string
type OperatorUnsealCommand ¶ added in v0.9.2
type OperatorUnsealCommand struct { *BaseCommand // contains filtered or unexported fields }
func (*OperatorUnsealCommand) AutocompleteArgs ¶ added in v0.9.2
func (c *OperatorUnsealCommand) AutocompleteArgs() complete.Predictor
func (*OperatorUnsealCommand) AutocompleteFlags ¶ added in v0.9.2
func (c *OperatorUnsealCommand) AutocompleteFlags() complete.Flags
func (*OperatorUnsealCommand) Flags ¶ added in v0.9.2
func (c *OperatorUnsealCommand) Flags() *FlagSets
func (*OperatorUnsealCommand) Help ¶ added in v0.9.2
func (c *OperatorUnsealCommand) Help() string
func (*OperatorUnsealCommand) Run ¶ added in v0.9.2
func (c *OperatorUnsealCommand) Run(args []string) int
func (*OperatorUnsealCommand) Synopsis ¶ added in v0.9.2
func (c *OperatorUnsealCommand) Synopsis() string
type OperatorUsageCommand ¶ added in v1.6.1
type OperatorUsageCommand struct { *BaseCommand // contains filtered or unexported fields }
func (*OperatorUsageCommand) AutocompleteArgs ¶ added in v1.6.1
func (c *OperatorUsageCommand) AutocompleteArgs() complete.Predictor
func (*OperatorUsageCommand) AutocompleteFlags ¶ added in v1.6.1
func (c *OperatorUsageCommand) AutocompleteFlags() complete.Flags
func (*OperatorUsageCommand) Flags ¶ added in v1.6.1
func (c *OperatorUsageCommand) Flags() *FlagSets
func (*OperatorUsageCommand) Help ¶ added in v1.6.1
func (c *OperatorUsageCommand) Help() string
func (*OperatorUsageCommand) Run ¶ added in v1.6.1
func (c *OperatorUsageCommand) Run(args []string) int
func (*OperatorUsageCommand) Synopsis ¶ added in v1.6.1
func (c *OperatorUsageCommand) Synopsis() string
type PKICommand ¶ added in v1.13.0
type PKICommand struct {
*BaseCommand
}
func (*PKICommand) Help ¶ added in v1.13.0
func (c *PKICommand) Help() string
func (*PKICommand) Run ¶ added in v1.13.0
func (c *PKICommand) Run(args []string) int
func (*PKICommand) Synopsis ¶ added in v1.13.0
func (c *PKICommand) Synopsis() string
type PKIHealthCheckCommand ¶ added in v1.13.0
type PKIHealthCheckCommand struct { *BaseCommand // contains filtered or unexported fields }
func (*PKIHealthCheckCommand) AutocompleteArgs ¶ added in v1.13.0
func (c *PKIHealthCheckCommand) AutocompleteArgs() complete.Predictor
func (*PKIHealthCheckCommand) AutocompleteFlags ¶ added in v1.13.0
func (c *PKIHealthCheckCommand) AutocompleteFlags() complete.Flags
func (*PKIHealthCheckCommand) Flags ¶ added in v1.13.0
func (c *PKIHealthCheckCommand) Flags() *FlagSets
func (*PKIHealthCheckCommand) Help ¶ added in v1.13.0
func (c *PKIHealthCheckCommand) Help() string
func (*PKIHealthCheckCommand) Run ¶ added in v1.13.0
func (c *PKIHealthCheckCommand) Run(args []string) int
func (*PKIHealthCheckCommand) Synopsis ¶ added in v1.13.0
func (c *PKIHealthCheckCommand) Synopsis() string
type PKIIssueCACommand ¶ added in v1.13.0
type PKIIssueCACommand struct { *BaseCommand // contains filtered or unexported fields }
func (*PKIIssueCACommand) Flags ¶ added in v1.13.0
func (c *PKIIssueCACommand) Flags() *FlagSets
func (*PKIIssueCACommand) Help ¶ added in v1.13.0
func (c *PKIIssueCACommand) Help() string
func (*PKIIssueCACommand) Run ¶ added in v1.13.0
func (c *PKIIssueCACommand) Run(args []string) int
func (*PKIIssueCACommand) Synopsis ¶ added in v1.13.0
func (c *PKIIssueCACommand) Synopsis() string
type PKIListIntermediateCommand ¶ added in v1.13.0
type PKIListIntermediateCommand struct { *BaseCommand // contains filtered or unexported fields }
func (*PKIListIntermediateCommand) Flags ¶ added in v1.13.0
func (c *PKIListIntermediateCommand) Flags() *FlagSets
func (*PKIListIntermediateCommand) Help ¶ added in v1.13.0
func (c *PKIListIntermediateCommand) Help() string
func (*PKIListIntermediateCommand) Run ¶ added in v1.13.0
func (c *PKIListIntermediateCommand) Run(args []string) int
func (*PKIListIntermediateCommand) Synopsis ¶ added in v1.13.0
func (c *PKIListIntermediateCommand) Synopsis() string
type PKIReIssueCACommand ¶ added in v1.13.0
type PKIReIssueCACommand struct { *BaseCommand // contains filtered or unexported fields }
func (*PKIReIssueCACommand) Flags ¶ added in v1.13.0
func (c *PKIReIssueCACommand) Flags() *FlagSets
func (*PKIReIssueCACommand) Help ¶ added in v1.13.0
func (c *PKIReIssueCACommand) Help() string
func (*PKIReIssueCACommand) Run ¶ added in v1.13.0
func (c *PKIReIssueCACommand) Run(args []string) int
func (*PKIReIssueCACommand) Synopsis ¶ added in v1.13.0
func (c *PKIReIssueCACommand) Synopsis() string
type PKIVerifySignCommand ¶ added in v1.13.0
type PKIVerifySignCommand struct { *BaseCommand // contains filtered or unexported fields }
func (*PKIVerifySignCommand) Flags ¶ added in v1.13.0
func (c *PKIVerifySignCommand) Flags() *FlagSets
func (*PKIVerifySignCommand) Help ¶ added in v1.13.0
func (c *PKIVerifySignCommand) Help() string
func (*PKIVerifySignCommand) Run ¶ added in v1.13.0
func (c *PKIVerifySignCommand) Run(args []string) int
func (*PKIVerifySignCommand) Synopsis ¶ added in v1.13.0
func (c *PKIVerifySignCommand) Synopsis() string
type ParseOptionAllowRawFormat ¶ added in v1.13.0
type ParseOptionAllowRawFormat bool
type ParseOptions ¶ added in v1.12.7
type ParseOptions interface{}
type PatchCommand ¶ added in v1.13.0
type PatchCommand struct { *BaseCommand // contains filtered or unexported fields }
PatchCommand is a Command that puts data into the Vault.
func (*PatchCommand) AutocompleteArgs ¶ added in v1.13.0
func (c *PatchCommand) AutocompleteArgs() complete.Predictor
func (*PatchCommand) AutocompleteFlags ¶ added in v1.13.0
func (c *PatchCommand) AutocompleteFlags() complete.Flags
func (*PatchCommand) Flags ¶ added in v1.13.0
func (c *PatchCommand) Flags() *FlagSets
func (*PatchCommand) Help ¶ added in v1.13.0
func (c *PatchCommand) Help() string
func (*PatchCommand) Run ¶ added in v1.13.0
func (c *PatchCommand) Run(args []string) int
func (*PatchCommand) Synopsis ¶ added in v1.13.0
func (c *PatchCommand) Synopsis() string
type PathHelpCommand ¶ added in v0.2.0
type PathHelpCommand struct {
*BaseCommand
}
func (*PathHelpCommand) AutocompleteArgs ¶ added in v0.9.2
func (c *PathHelpCommand) AutocompleteArgs() complete.Predictor
func (*PathHelpCommand) AutocompleteFlags ¶ added in v0.9.2
func (c *PathHelpCommand) AutocompleteFlags() complete.Flags
func (*PathHelpCommand) Flags ¶ added in v0.9.2
func (c *PathHelpCommand) Flags() *FlagSets
func (*PathHelpCommand) Help ¶ added in v0.2.0
func (c *PathHelpCommand) Help() string
func (*PathHelpCommand) Run ¶ added in v0.2.0
func (c *PathHelpCommand) Run(args []string) int
func (*PathHelpCommand) Synopsis ¶ added in v0.2.0
func (c *PathHelpCommand) Synopsis() string
type PluginCommand ¶ added in v0.10.4
type PluginCommand struct {
*BaseCommand
}
func (*PluginCommand) Help ¶ added in v0.10.4
func (c *PluginCommand) Help() string
func (*PluginCommand) Run ¶ added in v0.10.4
func (c *PluginCommand) Run(args []string) int
func (*PluginCommand) Synopsis ¶ added in v0.10.4
func (c *PluginCommand) Synopsis() string
type PluginDeregisterCommand ¶ added in v0.10.4
type PluginDeregisterCommand struct { *BaseCommand // contains filtered or unexported fields }
func (*PluginDeregisterCommand) AutocompleteArgs ¶ added in v0.10.4
func (c *PluginDeregisterCommand) AutocompleteArgs() complete.Predictor
func (*PluginDeregisterCommand) AutocompleteFlags ¶ added in v0.10.4
func (c *PluginDeregisterCommand) AutocompleteFlags() complete.Flags
func (*PluginDeregisterCommand) Flags ¶ added in v0.10.4
func (c *PluginDeregisterCommand) Flags() *FlagSets
func (*PluginDeregisterCommand) Help ¶ added in v0.10.4
func (c *PluginDeregisterCommand) Help() string
func (*PluginDeregisterCommand) Run ¶ added in v0.10.4
func (c *PluginDeregisterCommand) Run(args []string) int
func (*PluginDeregisterCommand) Synopsis ¶ added in v0.10.4
func (c *PluginDeregisterCommand) Synopsis() string
type PluginInfoCommand ¶ added in v0.10.4
type PluginInfoCommand struct { *BaseCommand // contains filtered or unexported fields }
func (*PluginInfoCommand) AutocompleteArgs ¶ added in v0.10.4
func (c *PluginInfoCommand) AutocompleteArgs() complete.Predictor
func (*PluginInfoCommand) AutocompleteFlags ¶ added in v0.10.4
func (c *PluginInfoCommand) AutocompleteFlags() complete.Flags
func (*PluginInfoCommand) Flags ¶ added in v0.10.4
func (c *PluginInfoCommand) Flags() *FlagSets
func (*PluginInfoCommand) Help ¶ added in v0.10.4
func (c *PluginInfoCommand) Help() string
func (*PluginInfoCommand) Run ¶ added in v0.10.4
func (c *PluginInfoCommand) Run(args []string) int
func (*PluginInfoCommand) Synopsis ¶ added in v0.10.4
func (c *PluginInfoCommand) Synopsis() string
type PluginListCommand ¶ added in v0.10.4
type PluginListCommand struct { *BaseCommand // contains filtered or unexported fields }
func (*PluginListCommand) AutocompleteArgs ¶ added in v0.10.4
func (c *PluginListCommand) AutocompleteArgs() complete.Predictor
func (*PluginListCommand) AutocompleteFlags ¶ added in v0.10.4
func (c *PluginListCommand) AutocompleteFlags() complete.Flags
func (*PluginListCommand) Flags ¶ added in v0.10.4
func (c *PluginListCommand) Flags() *FlagSets
func (*PluginListCommand) Help ¶ added in v0.10.4
func (c *PluginListCommand) Help() string
func (*PluginListCommand) Run ¶ added in v0.10.4
func (c *PluginListCommand) Run(args []string) int
func (*PluginListCommand) Synopsis ¶ added in v0.10.4
func (c *PluginListCommand) Synopsis() string
type PluginRegisterCommand ¶ added in v0.10.4
type PluginRegisterCommand struct { *BaseCommand // contains filtered or unexported fields }
func (*PluginRegisterCommand) AutocompleteArgs ¶ added in v0.10.4
func (c *PluginRegisterCommand) AutocompleteArgs() complete.Predictor
func (*PluginRegisterCommand) AutocompleteFlags ¶ added in v0.10.4
func (c *PluginRegisterCommand) AutocompleteFlags() complete.Flags
func (*PluginRegisterCommand) Flags ¶ added in v0.10.4
func (c *PluginRegisterCommand) Flags() *FlagSets
func (*PluginRegisterCommand) Help ¶ added in v0.10.4
func (c *PluginRegisterCommand) Help() string
func (*PluginRegisterCommand) Run ¶ added in v0.10.4
func (c *PluginRegisterCommand) Run(args []string) int
func (*PluginRegisterCommand) Synopsis ¶ added in v0.10.4
func (c *PluginRegisterCommand) Synopsis() string
type PluginReloadCommand ¶ added in v1.5.0
type PluginReloadCommand struct { *BaseCommand // contains filtered or unexported fields }
func (*PluginReloadCommand) AutocompleteArgs ¶ added in v1.5.0
func (c *PluginReloadCommand) AutocompleteArgs() complete.Predictor
func (*PluginReloadCommand) AutocompleteFlags ¶ added in v1.5.0
func (c *PluginReloadCommand) AutocompleteFlags() complete.Flags
func (*PluginReloadCommand) Flags ¶ added in v1.5.0
func (c *PluginReloadCommand) Flags() *FlagSets
func (*PluginReloadCommand) Help ¶ added in v1.5.0
func (c *PluginReloadCommand) Help() string
func (*PluginReloadCommand) Run ¶ added in v1.5.0
func (c *PluginReloadCommand) Run(args []string) int
func (*PluginReloadCommand) Synopsis ¶ added in v1.5.0
func (c *PluginReloadCommand) Synopsis() string
type PluginReloadStatusCommand ¶ added in v1.5.0
type PluginReloadStatusCommand struct {
*BaseCommand
}
func (*PluginReloadStatusCommand) AutocompleteArgs ¶ added in v1.5.0
func (c *PluginReloadStatusCommand) AutocompleteArgs() complete.Predictor
func (*PluginReloadStatusCommand) AutocompleteFlags ¶ added in v1.5.0
func (c *PluginReloadStatusCommand) AutocompleteFlags() complete.Flags
func (*PluginReloadStatusCommand) Flags ¶ added in v1.5.0
func (c *PluginReloadStatusCommand) Flags() *FlagSets
func (*PluginReloadStatusCommand) Help ¶ added in v1.5.0
func (c *PluginReloadStatusCommand) Help() string
func (*PluginReloadStatusCommand) Run ¶ added in v1.5.0
func (c *PluginReloadStatusCommand) Run(args []string) int
func (*PluginReloadStatusCommand) Synopsis ¶ added in v1.5.0
func (c *PluginReloadStatusCommand) Synopsis() string
type PolicyCommand ¶ added in v0.9.2
type PolicyCommand struct {
*BaseCommand
}
PolicyCommand is a Command that holds the audit commands
func (*PolicyCommand) Help ¶ added in v0.9.2
func (c *PolicyCommand) Help() string
func (*PolicyCommand) Run ¶ added in v0.9.2
func (c *PolicyCommand) Run(args []string) int
func (*PolicyCommand) Synopsis ¶ added in v0.9.2
func (c *PolicyCommand) Synopsis() string
type PolicyDeleteCommand ¶
type PolicyDeleteCommand struct {
*BaseCommand
}
func (*PolicyDeleteCommand) AutocompleteArgs ¶ added in v0.9.2
func (c *PolicyDeleteCommand) AutocompleteArgs() complete.Predictor
func (*PolicyDeleteCommand) AutocompleteFlags ¶ added in v0.9.2
func (c *PolicyDeleteCommand) AutocompleteFlags() complete.Flags
func (*PolicyDeleteCommand) Flags ¶ added in v0.9.2
func (c *PolicyDeleteCommand) Flags() *FlagSets
func (*PolicyDeleteCommand) Help ¶
func (c *PolicyDeleteCommand) Help() string
func (*PolicyDeleteCommand) Run ¶
func (c *PolicyDeleteCommand) Run(args []string) int
func (*PolicyDeleteCommand) Synopsis ¶
func (c *PolicyDeleteCommand) Synopsis() string
type PolicyFmtCommand ¶ added in v0.9.2
type PolicyFmtCommand struct {
*BaseCommand
}
func (*PolicyFmtCommand) AutocompleteArgs ¶ added in v0.9.2
func (c *PolicyFmtCommand) AutocompleteArgs() complete.Predictor
func (*PolicyFmtCommand) AutocompleteFlags ¶ added in v0.9.2
func (c *PolicyFmtCommand) AutocompleteFlags() complete.Flags
func (*PolicyFmtCommand) Flags ¶ added in v0.9.2
func (c *PolicyFmtCommand) Flags() *FlagSets
func (*PolicyFmtCommand) Help ¶ added in v0.9.2
func (c *PolicyFmtCommand) Help() string
func (*PolicyFmtCommand) Run ¶ added in v0.9.2
func (c *PolicyFmtCommand) Run(args []string) int
func (*PolicyFmtCommand) Synopsis ¶ added in v0.9.2
func (c *PolicyFmtCommand) Synopsis() string
type PolicyListCommand ¶
type PolicyListCommand struct {
*BaseCommand
}
func (*PolicyListCommand) AutocompleteArgs ¶ added in v0.9.2
func (c *PolicyListCommand) AutocompleteArgs() complete.Predictor
func (*PolicyListCommand) AutocompleteFlags ¶ added in v0.9.2
func (c *PolicyListCommand) AutocompleteFlags() complete.Flags
func (*PolicyListCommand) Flags ¶ added in v0.9.2
func (c *PolicyListCommand) Flags() *FlagSets
func (*PolicyListCommand) Help ¶
func (c *PolicyListCommand) Help() string
func (*PolicyListCommand) Run ¶
func (c *PolicyListCommand) Run(args []string) int
func (*PolicyListCommand) Synopsis ¶
func (c *PolicyListCommand) Synopsis() string
type PolicyReadCommand ¶ added in v0.9.2
type PolicyReadCommand struct {
*BaseCommand
}
func (*PolicyReadCommand) AutocompleteArgs ¶ added in v0.9.2
func (c *PolicyReadCommand) AutocompleteArgs() complete.Predictor
func (*PolicyReadCommand) AutocompleteFlags ¶ added in v0.9.2
func (c *PolicyReadCommand) AutocompleteFlags() complete.Flags
func (*PolicyReadCommand) Flags ¶ added in v0.9.2
func (c *PolicyReadCommand) Flags() *FlagSets
func (*PolicyReadCommand) Help ¶ added in v0.9.2
func (c *PolicyReadCommand) Help() string
func (*PolicyReadCommand) Run ¶ added in v0.9.2
func (c *PolicyReadCommand) Run(args []string) int
func (*PolicyReadCommand) Synopsis ¶ added in v0.9.2
func (c *PolicyReadCommand) Synopsis() string
type PolicyWriteCommand ¶
type PolicyWriteCommand struct { *BaseCommand // contains filtered or unexported fields }
func (*PolicyWriteCommand) AutocompleteArgs ¶ added in v0.9.2
func (c *PolicyWriteCommand) AutocompleteArgs() complete.Predictor
func (*PolicyWriteCommand) AutocompleteFlags ¶ added in v0.9.2
func (c *PolicyWriteCommand) AutocompleteFlags() complete.Flags
func (*PolicyWriteCommand) Flags ¶ added in v0.9.2
func (c *PolicyWriteCommand) Flags() *FlagSets
func (*PolicyWriteCommand) Help ¶
func (c *PolicyWriteCommand) Help() string
func (*PolicyWriteCommand) Run ¶
func (c *PolicyWriteCommand) Run(args []string) int
func (*PolicyWriteCommand) Synopsis ¶
func (c *PolicyWriteCommand) Synopsis() string
type Predict ¶ added in v0.9.2
type Predict struct {
// contains filtered or unexported fields
}
func NewPredict ¶ added in v0.9.2
func NewPredict() *Predict
func (*Predict) VaultAudits ¶ added in v0.9.2
VaultAudits returns a predictor for Vault "folders". This is a public API for consumers, but you probably want BaseCommand.PredictVaultAudits instead.
func (*Predict) VaultAuths ¶ added in v0.9.2
VaultAuths returns a predictor for Vault "folders". This is a public API for consumers, but you probably want BaseCommand.PredictVaultAuths instead.
func (*Predict) VaultFiles ¶ added in v0.9.2
VaultFiles returns a predictor for Vault "files". This is a public API for consumers, but you probably want BaseCommand.PredictVaultFiles instead.
func (*Predict) VaultFolders ¶ added in v0.9.2
VaultFolders returns a predictor for Vault "folders". This is a public API for consumers, but you probably want BaseCommand.PredictVaultFolders instead.
func (*Predict) VaultMounts ¶ added in v0.9.2
VaultMounts returns a predictor for Vault "folders". This is a public API for consumers, but you probably want BaseCommand.PredictVaultMounts instead.
func (*Predict) VaultNamespaces ¶ added in v1.4.0
VaultNamespaces returns a predictor for Vault "namespaces". This is a public API for consumers, but you probably want BaseCommand.PredictVaultNamespaces instead.
func (*Predict) VaultPlugins ¶ added in v0.10.0
func (p *Predict) VaultPlugins(pluginTypes ...api.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 ¶ added in v0.9.2
VaultPolicies returns a predictor for Vault "folders". This is a public API for consumers, but you probably want BaseCommand.PredictVaultPolicies instead.
type PrettyFormatter ¶ added in v1.7.0
type PrettyFormatter struct{}
func (PrettyFormatter) Format ¶ added in v1.7.0
func (p PrettyFormatter) Format(data interface{}) ([]byte, error)
func (PrettyFormatter) OutputAutopilotState ¶ added in v1.7.0
func (p PrettyFormatter) OutputAutopilotState(ui cli.Ui, data interface{})
type PrintCommand ¶ added in v1.0.3
type PrintCommand struct {
*BaseCommand
}
func (*PrintCommand) AutocompleteArgs ¶ added in v1.0.3
func (c *PrintCommand) AutocompleteArgs() complete.Predictor
func (*PrintCommand) AutocompleteFlags ¶ added in v1.0.3
func (c *PrintCommand) AutocompleteFlags() complete.Flags
func (*PrintCommand) Help ¶ added in v1.0.3
func (c *PrintCommand) Help() string
func (*PrintCommand) Run ¶ added in v1.0.3
func (c *PrintCommand) Run(args []string) int
func (*PrintCommand) Synopsis ¶ added in v1.0.3
func (c *PrintCommand) Synopsis() string
type PrintTokenCommand ¶ added in v1.0.3
type PrintTokenCommand struct {
*BaseCommand
}
func (*PrintTokenCommand) AutocompleteArgs ¶ added in v1.0.3
func (c *PrintTokenCommand) AutocompleteArgs() complete.Predictor
func (*PrintTokenCommand) AutocompleteFlags ¶ added in v1.0.3
func (c *PrintTokenCommand) AutocompleteFlags() complete.Flags
func (*PrintTokenCommand) Help ¶ added in v1.0.3
func (c *PrintTokenCommand) Help() string
func (*PrintTokenCommand) Run ¶ added in v1.0.3
func (c *PrintTokenCommand) Run(args []string) int
func (*PrintTokenCommand) Synopsis ¶ added in v1.0.3
func (c *PrintTokenCommand) Synopsis() string
type RawFormatter ¶ added in v1.13.0
type RawFormatter struct{}
An output formatter for raw output of the original request object
func (RawFormatter) Format ¶ added in v1.13.0
func (r RawFormatter) Format(data interface{}) ([]byte, error)
type ReadCommand ¶
type ReadCommand struct { *BaseCommand // contains filtered or unexported fields }
func (*ReadCommand) AutocompleteArgs ¶ added in v0.8.2
func (c *ReadCommand) AutocompleteArgs() complete.Predictor
func (*ReadCommand) AutocompleteFlags ¶ added in v0.8.2
func (c *ReadCommand) AutocompleteFlags() complete.Flags
func (*ReadCommand) Flags ¶ added in v0.9.2
func (c *ReadCommand) Flags() *FlagSets
func (*ReadCommand) Help ¶
func (c *ReadCommand) Help() string
func (*ReadCommand) Run ¶
func (c *ReadCommand) Run(args []string) int
func (*ReadCommand) Synopsis ¶
func (c *ReadCommand) Synopsis() string
type RunOptions ¶ added in v0.9.6
type SSHCommand ¶ added in v0.3.0
type SSHCommand struct { *BaseCommand // contains filtered or unexported fields }
func (*SSHCommand) AutocompleteArgs ¶ added in v0.9.2
func (c *SSHCommand) AutocompleteArgs() complete.Predictor
func (*SSHCommand) AutocompleteFlags ¶ added in v0.9.2
func (c *SSHCommand) AutocompleteFlags() complete.Flags
func (*SSHCommand) Flags ¶ added in v0.9.2
func (c *SSHCommand) Flags() *FlagSets
func (*SSHCommand) Help ¶ added in v0.3.0
func (c *SSHCommand) Help() string
func (*SSHCommand) Run ¶ added in v0.3.0
func (c *SSHCommand) Run(args []string) int
func (*SSHCommand) Synopsis ¶ added in v0.3.0
func (c *SSHCommand) Synopsis() string
type SSHCredentialResp ¶ added in v0.3.0
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 SealStatusOutput ¶ added in v1.6.0
type SealStatusOutput struct { api.SealStatusResponse HAEnabled bool `json:"ha_enabled"` IsSelf bool `json:"is_self,omitempty"` ActiveTime time.Time `json:"active_time,omitempty"` LeaderAddress string `json:"leader_address,omitempty"` LeaderClusterAddress string `json:"leader_cluster_address,omitempty"` PerfStandby bool `json:"performance_standby,omitempty"` PerfStandbyLastRemoteWAL uint64 `json:"performance_standby_last_remote_wal,omitempty"` LastWAL uint64 `json:"last_wal,omitempty"` RaftCommittedIndex uint64 `json:"raft_committed_index,omitempty"` RaftAppliedIndex uint64 `json:"raft_applied_index,omitempty"` }
This struct is responsible for capturing all the fields to be output by a vault status command, including fields that do not come from the status API. Currently we are adding the fields from api.LeaderResponse
type SecretsCommand ¶ added in v0.9.2
type SecretsCommand struct {
*BaseCommand
}
func (*SecretsCommand) Help ¶ added in v0.9.2
func (c *SecretsCommand) Help() string
func (*SecretsCommand) Run ¶ added in v0.9.2
func (c *SecretsCommand) Run(args []string) int
func (*SecretsCommand) Synopsis ¶ added in v0.9.2
func (c *SecretsCommand) Synopsis() string
type SecretsDisableCommand ¶ added in v0.9.2
type SecretsDisableCommand struct {
*BaseCommand
}
func (*SecretsDisableCommand) AutocompleteArgs ¶ added in v0.9.2
func (c *SecretsDisableCommand) AutocompleteArgs() complete.Predictor
func (*SecretsDisableCommand) AutocompleteFlags ¶ added in v0.9.2
func (c *SecretsDisableCommand) AutocompleteFlags() complete.Flags
func (*SecretsDisableCommand) Flags ¶ added in v0.9.2
func (c *SecretsDisableCommand) Flags() *FlagSets
func (*SecretsDisableCommand) Help ¶ added in v0.9.2
func (c *SecretsDisableCommand) Help() string
func (*SecretsDisableCommand) Run ¶ added in v0.9.2
func (c *SecretsDisableCommand) Run(args []string) int
func (*SecretsDisableCommand) Synopsis ¶ added in v0.9.2
func (c *SecretsDisableCommand) Synopsis() string
type SecretsEnableCommand ¶ added in v0.9.2
type SecretsEnableCommand struct { *BaseCommand // contains filtered or unexported fields }
func (*SecretsEnableCommand) AutocompleteArgs ¶ added in v0.9.2
func (c *SecretsEnableCommand) AutocompleteArgs() complete.Predictor
func (*SecretsEnableCommand) AutocompleteFlags ¶ added in v0.9.2
func (c *SecretsEnableCommand) AutocompleteFlags() complete.Flags
func (*SecretsEnableCommand) Flags ¶ added in v0.9.2
func (c *SecretsEnableCommand) Flags() *FlagSets
func (*SecretsEnableCommand) Help ¶ added in v0.9.2
func (c *SecretsEnableCommand) Help() string
func (*SecretsEnableCommand) Run ¶ added in v0.9.2
func (c *SecretsEnableCommand) Run(args []string) int
func (*SecretsEnableCommand) Synopsis ¶ added in v0.9.2
func (c *SecretsEnableCommand) Synopsis() string
type SecretsListCommand ¶ added in v0.9.2
type SecretsListCommand struct { *BaseCommand // contains filtered or unexported fields }
func (*SecretsListCommand) AutocompleteArgs ¶ added in v0.9.2
func (c *SecretsListCommand) AutocompleteArgs() complete.Predictor
func (*SecretsListCommand) AutocompleteFlags ¶ added in v0.9.2
func (c *SecretsListCommand) AutocompleteFlags() complete.Flags
func (*SecretsListCommand) Flags ¶ added in v0.9.2
func (c *SecretsListCommand) Flags() *FlagSets
func (*SecretsListCommand) Help ¶ added in v0.9.2
func (c *SecretsListCommand) Help() string
func (*SecretsListCommand) Run ¶ added in v0.9.2
func (c *SecretsListCommand) Run(args []string) int
func (*SecretsListCommand) Synopsis ¶ added in v0.9.2
func (c *SecretsListCommand) Synopsis() string
type SecretsMoveCommand ¶ added in v0.9.2
type SecretsMoveCommand struct {
*BaseCommand
}
func (*SecretsMoveCommand) AutocompleteArgs ¶ added in v0.9.2
func (c *SecretsMoveCommand) AutocompleteArgs() complete.Predictor
func (*SecretsMoveCommand) AutocompleteFlags ¶ added in v0.9.2
func (c *SecretsMoveCommand) AutocompleteFlags() complete.Flags
func (*SecretsMoveCommand) Flags ¶ added in v0.9.2
func (c *SecretsMoveCommand) Flags() *FlagSets
func (*SecretsMoveCommand) Help ¶ added in v0.9.2
func (c *SecretsMoveCommand) Help() string
func (*SecretsMoveCommand) Run ¶ added in v0.9.2
func (c *SecretsMoveCommand) Run(args []string) int
func (*SecretsMoveCommand) Synopsis ¶ added in v0.9.2
func (c *SecretsMoveCommand) Synopsis() string
type SecretsTuneCommand ¶ added in v0.9.2
type SecretsTuneCommand struct { *BaseCommand // contains filtered or unexported fields }
func (*SecretsTuneCommand) AutocompleteArgs ¶ added in v0.9.2
func (c *SecretsTuneCommand) AutocompleteArgs() complete.Predictor
func (*SecretsTuneCommand) AutocompleteFlags ¶ added in v0.9.2
func (c *SecretsTuneCommand) AutocompleteFlags() complete.Flags
func (*SecretsTuneCommand) Flags ¶ added in v0.9.2
func (c *SecretsTuneCommand) Flags() *FlagSets
func (*SecretsTuneCommand) Help ¶ added in v0.9.2
func (c *SecretsTuneCommand) Help() string
func (*SecretsTuneCommand) Run ¶ added in v0.9.2
func (c *SecretsTuneCommand) Run(args []string) int
func (*SecretsTuneCommand) Synopsis ¶ added in v0.9.2
func (c *SecretsTuneCommand) Synopsis() string
type ServerCommand ¶
type ServerCommand struct { *BaseCommand AuditBackends map[string]audit.Factory CredentialBackends map[string]logical.Factory LogicalBackends map[string]logical.Factory PhysicalBackends map[string]physical.Factory ServiceRegistrations map[string]sr.Factory ShutdownCh chan struct{} SighupCh chan struct{} SigUSR2Ch chan struct{} WaitGroup *sync.WaitGroup // contains filtered or unexported fields }
func (*ServerCommand) AutocompleteArgs ¶ added in v0.8.2
func (c *ServerCommand) AutocompleteArgs() complete.Predictor
func (*ServerCommand) AutocompleteFlags ¶ added in v0.8.2
func (c *ServerCommand) AutocompleteFlags() complete.Flags
func (*ServerCommand) Flags ¶ added in v0.9.2
func (c *ServerCommand) Flags() *FlagSets
func (*ServerCommand) Help ¶
func (c *ServerCommand) Help() string
func (*ServerCommand) InitListeners ¶ added in v1.8.0
func (c *ServerCommand) InitListeners(config *server.Config, disableClustering bool, infoKeys *[]string, info *map[string]string) (int, []listenerutil.Listener, []*net.TCPAddr, error)
InitListeners returns a response code, error message, Listeners, and a TCP Address list.
func (*ServerCommand) Reload ¶ added in v0.5.2
func (c *ServerCommand) Reload(lock *sync.RWMutex, reloadFuncs *map[string][]reloadutil.ReloadFunc, configPath []string, core *vault.Core) error
func (*ServerCommand) Run ¶
func (c *ServerCommand) Run(args []string) int
func (*ServerCommand) Synopsis ¶
func (c *ServerCommand) Synopsis() string
type StatusCommand ¶
type StatusCommand struct {
*BaseCommand
}
func (*StatusCommand) AutocompleteArgs ¶ added in v0.9.2
func (c *StatusCommand) AutocompleteArgs() complete.Predictor
func (*StatusCommand) AutocompleteFlags ¶ added in v0.9.2
func (c *StatusCommand) AutocompleteFlags() complete.Flags
func (*StatusCommand) Flags ¶ added in v0.9.2
func (c *StatusCommand) Flags() *FlagSets
func (*StatusCommand) Help ¶
func (c *StatusCommand) Help() string
func (*StatusCommand) Run ¶
func (c *StatusCommand) Run(args []string) int
func (*StatusCommand) Synopsis ¶
func (c *StatusCommand) Synopsis() string
type StorageMigrationStatus ¶ added in v1.0.0
func CheckStorageMigration ¶ added in v1.0.0
func CheckStorageMigration(b physical.Backend) (*StorageMigrationStatus, error)
type StringMapVar ¶ added in v0.9.2
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 ¶ added in v0.9.2
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 ¶ added in v0.9.2
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 ¶ added in v0.5.1
type TableFormatter struct{}
An output formatter for table output of an object
func (TableFormatter) Format ¶ added in v0.9.4
func (t TableFormatter) Format(data interface{}) ([]byte, error)
We don't use this due to the TableFormatter introducing a bug when the -field flag is supplied: https://github.com/hashicorp/vault/commit/b24cf9a8af2190e96c614205b8cdf06d8c4b6718 .
func (TableFormatter) OutputList ¶ added in v0.5.1
func (TableFormatter) OutputMap ¶ added in v0.10.0
func (t TableFormatter) OutputMap(ui cli.Ui, data map[string]interface{}) error
func (TableFormatter) OutputSealStatusStruct ¶ added in v1.6.0
func (TableFormatter) OutputSecret ¶ added in v0.5.1
type TimeFormat ¶ added in v1.6.0
type TimeFormat int
Identify the allowable formats, identified by the minimum precision accepted. TODO: move this somewhere where it can be re-used for the API.
const ( TimeVar_EpochSecond TimeFormat = 1 << iota TimeVar_RFC3339Nano TimeVar_RFC3339Second TimeVar_Day TimeVar_Month )
const TimeVar_TimeOrDay TimeFormat = TimeVar_EpochSecond | TimeVar_RFC3339Nano | TimeVar_RFC3339Second | TimeVar_Day
Default value to use
type TimeVar ¶ added in v1.6.0
type TimeVar struct { Name string Aliases []string Usage string Default time.Time Hidden bool EnvVar string Target *time.Time Completion complete.Predictor Formats TimeFormat }
-- TimeVar and timeValue
type TokenCapabilitiesCommand ¶ added in v0.9.2
type TokenCapabilitiesCommand struct {
*BaseCommand
}
func (*TokenCapabilitiesCommand) AutocompleteArgs ¶ added in v0.9.2
func (c *TokenCapabilitiesCommand) AutocompleteArgs() complete.Predictor
func (*TokenCapabilitiesCommand) AutocompleteFlags ¶ added in v0.9.2
func (c *TokenCapabilitiesCommand) AutocompleteFlags() complete.Flags
func (*TokenCapabilitiesCommand) Flags ¶ added in v0.9.2
func (c *TokenCapabilitiesCommand) Flags() *FlagSets
func (*TokenCapabilitiesCommand) Help ¶ added in v0.9.2
func (c *TokenCapabilitiesCommand) Help() string
func (*TokenCapabilitiesCommand) Run ¶ added in v0.9.2
func (c *TokenCapabilitiesCommand) Run(args []string) int
func (*TokenCapabilitiesCommand) Synopsis ¶ added in v0.9.2
func (c *TokenCapabilitiesCommand) Synopsis() string
type TokenCommand ¶ added in v0.9.2
type TokenCommand struct {
*BaseCommand
}
func (*TokenCommand) Help ¶ added in v0.9.2
func (c *TokenCommand) Help() string
func (*TokenCommand) Run ¶ added in v0.9.2
func (c *TokenCommand) Run(args []string) int
func (*TokenCommand) Synopsis ¶ added in v0.9.2
func (c *TokenCommand) Synopsis() string
type TokenCreateCommand ¶
type TokenCreateCommand struct { *BaseCommand // contains filtered or unexported fields }
func (*TokenCreateCommand) AutocompleteArgs ¶ added in v0.9.2
func (c *TokenCreateCommand) AutocompleteArgs() complete.Predictor
func (*TokenCreateCommand) AutocompleteFlags ¶ added in v0.9.2
func (c *TokenCreateCommand) AutocompleteFlags() complete.Flags
func (*TokenCreateCommand) Flags ¶ added in v0.9.2
func (c *TokenCreateCommand) Flags() *FlagSets
func (*TokenCreateCommand) Help ¶
func (c *TokenCreateCommand) Help() string
func (*TokenCreateCommand) Run ¶
func (c *TokenCreateCommand) Run(args []string) int
func (*TokenCreateCommand) Synopsis ¶
func (c *TokenCreateCommand) Synopsis() string
type TokenLookupCommand ¶ added in v0.5.0
type TokenLookupCommand struct { *BaseCommand // contains filtered or unexported fields }
func (*TokenLookupCommand) AutocompleteArgs ¶ added in v0.9.2
func (c *TokenLookupCommand) AutocompleteArgs() complete.Predictor
func (*TokenLookupCommand) AutocompleteFlags ¶ added in v0.9.2
func (c *TokenLookupCommand) AutocompleteFlags() complete.Flags
func (*TokenLookupCommand) Flags ¶ added in v0.9.2
func (c *TokenLookupCommand) Flags() *FlagSets
func (*TokenLookupCommand) Help ¶ added in v0.5.0
func (c *TokenLookupCommand) Help() string
func (*TokenLookupCommand) Run ¶ added in v0.5.0
func (c *TokenLookupCommand) Run(args []string) int
func (*TokenLookupCommand) Synopsis ¶ added in v0.5.0
func (c *TokenLookupCommand) Synopsis() string
type TokenRenewCommand ¶
type TokenRenewCommand struct { *BaseCommand // contains filtered or unexported fields }
func (*TokenRenewCommand) AutocompleteArgs ¶ added in v0.9.2
func (c *TokenRenewCommand) AutocompleteArgs() complete.Predictor
func (*TokenRenewCommand) AutocompleteFlags ¶ added in v0.9.2
func (c *TokenRenewCommand) AutocompleteFlags() complete.Flags
func (*TokenRenewCommand) Flags ¶ added in v0.9.2
func (c *TokenRenewCommand) Flags() *FlagSets
func (*TokenRenewCommand) Help ¶
func (c *TokenRenewCommand) Help() string
func (*TokenRenewCommand) Run ¶
func (c *TokenRenewCommand) Run(args []string) int
func (*TokenRenewCommand) Synopsis ¶
func (c *TokenRenewCommand) Synopsis() string
type TokenRevokeCommand ¶
type TokenRevokeCommand struct { *BaseCommand // contains filtered or unexported fields }
func (*TokenRevokeCommand) AutocompleteArgs ¶ added in v0.9.2
func (c *TokenRevokeCommand) AutocompleteArgs() complete.Predictor
func (*TokenRevokeCommand) AutocompleteFlags ¶ added in v0.9.2
func (c *TokenRevokeCommand) AutocompleteFlags() complete.Flags
func (*TokenRevokeCommand) Flags ¶ added in v0.9.2
func (c *TokenRevokeCommand) Flags() *FlagSets
func (*TokenRevokeCommand) Help ¶
func (c *TokenRevokeCommand) Help() string
func (*TokenRevokeCommand) Run ¶
func (c *TokenRevokeCommand) Run(args []string) int
func (*TokenRevokeCommand) Synopsis ¶
func (c *TokenRevokeCommand) Synopsis() string
type TransformCommand ¶ added in v1.13.3
type TransformCommand struct {
*BaseCommand
}
func (*TransformCommand) Help ¶ added in v1.13.3
func (c *TransformCommand) Help() string
func (*TransformCommand) Run ¶ added in v1.13.3
func (c *TransformCommand) Run(args []string) int
func (*TransformCommand) Synopsis ¶ added in v1.13.3
func (c *TransformCommand) Synopsis() string
type TransformImportCommand ¶ added in v1.13.3
type TransformImportCommand struct {
*BaseCommand
}
func (*TransformImportCommand) AutocompleteArgs ¶ added in v1.13.3
func (c *TransformImportCommand) AutocompleteArgs() complete.Predictor
func (*TransformImportCommand) AutocompleteFlags ¶ added in v1.13.3
func (c *TransformImportCommand) AutocompleteFlags() complete.Flags
func (*TransformImportCommand) Flags ¶ added in v1.13.3
func (c *TransformImportCommand) Flags() *FlagSets
func (*TransformImportCommand) Help ¶ added in v1.13.3
func (c *TransformImportCommand) Help() string
func (*TransformImportCommand) Run ¶ added in v1.13.3
func (c *TransformImportCommand) Run(args []string) int
func (*TransformImportCommand) Synopsis ¶ added in v1.13.3
func (c *TransformImportCommand) Synopsis() string
type TransformImportVersionCommand ¶ added in v1.13.3
type TransformImportVersionCommand struct {
*BaseCommand
}
func (*TransformImportVersionCommand) AutocompleteArgs ¶ added in v1.13.3
func (c *TransformImportVersionCommand) AutocompleteArgs() complete.Predictor
func (*TransformImportVersionCommand) AutocompleteFlags ¶ added in v1.13.3
func (c *TransformImportVersionCommand) AutocompleteFlags() complete.Flags
func (*TransformImportVersionCommand) Flags ¶ added in v1.13.3
func (c *TransformImportVersionCommand) Flags() *FlagSets
func (*TransformImportVersionCommand) Help ¶ added in v1.13.3
func (c *TransformImportVersionCommand) Help() string
func (*TransformImportVersionCommand) Run ¶ added in v1.13.3
func (c *TransformImportVersionCommand) Run(args []string) int
func (*TransformImportVersionCommand) Synopsis ¶ added in v1.13.3
func (c *TransformImportVersionCommand) Synopsis() string
type TransitCommand ¶ added in v1.13.0
type TransitCommand struct {
*BaseCommand
}
func (*TransitCommand) Help ¶ added in v1.13.0
func (c *TransitCommand) Help() string
func (*TransitCommand) Run ¶ added in v1.13.0
func (c *TransitCommand) Run(args []string) int
func (*TransitCommand) Synopsis ¶ added in v1.13.0
func (c *TransitCommand) Synopsis() string
type TransitImportCommand ¶ added in v1.13.0
type TransitImportCommand struct {
*BaseCommand
}
func (*TransitImportCommand) AutocompleteArgs ¶ added in v1.13.0
func (c *TransitImportCommand) AutocompleteArgs() complete.Predictor
func (*TransitImportCommand) AutocompleteFlags ¶ added in v1.13.0
func (c *TransitImportCommand) AutocompleteFlags() complete.Flags
func (*TransitImportCommand) Flags ¶ added in v1.13.0
func (c *TransitImportCommand) Flags() *FlagSets
func (*TransitImportCommand) Help ¶ added in v1.13.0
func (c *TransitImportCommand) Help() string
func (*TransitImportCommand) Run ¶ added in v1.13.0
func (c *TransitImportCommand) Run(args []string) int
func (*TransitImportCommand) Synopsis ¶ added in v1.13.0
func (c *TransitImportCommand) Synopsis() string
type TransitImportVersionCommand ¶ added in v1.13.0
type TransitImportVersionCommand struct {
*BaseCommand
}
func (*TransitImportVersionCommand) AutocompleteArgs ¶ added in v1.13.0
func (c *TransitImportVersionCommand) AutocompleteArgs() complete.Predictor
func (*TransitImportVersionCommand) AutocompleteFlags ¶ added in v1.13.0
func (c *TransitImportVersionCommand) AutocompleteFlags() complete.Flags
func (*TransitImportVersionCommand) Flags ¶ added in v1.13.0
func (c *TransitImportVersionCommand) Flags() *FlagSets
func (*TransitImportVersionCommand) Help ¶ added in v1.13.0
func (c *TransitImportVersionCommand) Help() string
func (*TransitImportVersionCommand) Run ¶ added in v1.13.0
func (c *TransitImportVersionCommand) Run(args []string) int
func (*TransitImportVersionCommand) Synopsis ¶ added in v1.13.0
func (c *TransitImportVersionCommand) Synopsis() string
type Uint64Var ¶ added in v0.9.2
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 ¶ added in v0.9.2
type UintVar struct { Name string Aliases []string Usage string Default uint Hidden bool EnvVar string Target *uint Completion complete.Predictor }
-- UintVar && uintValue
type UnwrapCommand ¶ added in v0.6.0
type UnwrapCommand struct {
*BaseCommand
}
UnwrapCommand is a Command that behaves like ReadCommand but specifically for unwrapping cubbyhole-wrapped secrets
func (*UnwrapCommand) AutocompleteArgs ¶ added in v0.9.2
func (c *UnwrapCommand) AutocompleteArgs() complete.Predictor
func (*UnwrapCommand) AutocompleteFlags ¶ added in v0.9.2
func (c *UnwrapCommand) AutocompleteFlags() complete.Flags
func (*UnwrapCommand) Flags ¶ added in v0.9.2
func (c *UnwrapCommand) Flags() *FlagSets
func (*UnwrapCommand) Help ¶ added in v0.6.0
func (c *UnwrapCommand) Help() string
func (*UnwrapCommand) Run ¶ added in v0.6.0
func (c *UnwrapCommand) Run(args []string) int
func (*UnwrapCommand) Synopsis ¶ added in v0.6.0
func (c *UnwrapCommand) Synopsis() string
type UsageCommandNamespace ¶ added in v1.6.1
type UsageCommandNamespace struct {
// contains filtered or unexported fields
}
type UsageResponse ¶ added in v1.6.1
type UsageResponse struct {
// contains filtered or unexported fields
}
type VarFlag ¶ added in v0.9.2
type VarFlag struct { Name string Aliases []string Usage string Default string EnvVar string Value flag.Value Completion complete.Predictor }
-- VarFlag
type VersionCommand ¶
type VersionCommand struct { *BaseCommand VersionInfo *version.VersionInfo }
VersionCommand is a Command implementation prints the version.
func (*VersionCommand) AutocompleteArgs ¶ added in v0.9.2
func (c *VersionCommand) AutocompleteArgs() complete.Predictor
func (*VersionCommand) AutocompleteFlags ¶ added in v0.9.2
func (c *VersionCommand) AutocompleteFlags() complete.Flags
func (*VersionCommand) Flags ¶ added in v0.9.2
func (c *VersionCommand) Flags() *FlagSets
func (*VersionCommand) Help ¶
func (c *VersionCommand) Help() string
func (*VersionCommand) Run ¶
func (c *VersionCommand) Run(_ []string) int
func (*VersionCommand) Synopsis ¶
func (c *VersionCommand) Synopsis() string
type VersionHistoryCommand ¶ added in v1.10.0
type VersionHistoryCommand struct {
*BaseCommand
}
VersionHistoryCommand is a Command implementation prints the version.
func (*VersionHistoryCommand) AutocompleteArgs ¶ added in v1.10.0
func (c *VersionHistoryCommand) AutocompleteArgs() complete.Predictor
func (*VersionHistoryCommand) AutocompleteFlags ¶ added in v1.10.0
func (c *VersionHistoryCommand) AutocompleteFlags() complete.Flags
func (*VersionHistoryCommand) Flags ¶ added in v1.10.0
func (c *VersionHistoryCommand) Flags() *FlagSets
func (*VersionHistoryCommand) Help ¶ added in v1.10.0
func (c *VersionHistoryCommand) Help() string
func (*VersionHistoryCommand) Run ¶ added in v1.10.0
func (c *VersionHistoryCommand) Run(args []string) int
func (*VersionHistoryCommand) Synopsis ¶ added in v1.10.0
func (c *VersionHistoryCommand) Synopsis() string
type WriteCommand ¶
type WriteCommand struct { *BaseCommand // contains filtered or unexported fields }
WriteCommand is a Command that puts data into the Vault.
func (*WriteCommand) AutocompleteArgs ¶ added in v0.8.2
func (c *WriteCommand) AutocompleteArgs() complete.Predictor
func (*WriteCommand) AutocompleteFlags ¶ added in v0.8.2
func (c *WriteCommand) AutocompleteFlags() complete.Flags
func (*WriteCommand) Flags ¶ added in v0.9.2
func (c *WriteCommand) Flags() *FlagSets
func (*WriteCommand) Help ¶
func (c *WriteCommand) Help() string
func (*WriteCommand) Run ¶
func (c *WriteCommand) Run(args []string) int
func (*WriteCommand) Synopsis ¶
func (c *WriteCommand) Synopsis() string
type YamlFormatter ¶ added in v0.5.1
type YamlFormatter struct{}
An output formatter for yaml output format of an object
func (YamlFormatter) Format ¶ added in v0.9.4
func (y YamlFormatter) Format(data interface{}) ([]byte, error)
Source 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_move.go
- auth_tune.go
- base.go
- base_flags.go
- base_helpers.go
- base_predict.go
- commands.go
- commands_nonwindows.go
- config.go
- debug.go
- delete.go
- events.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_patch.go
- kv_metadata_put.go
- kv_patch.go
- kv_put.go
- kv_rollback.go
- kv_undelete.go
- lease.go
- lease_lookup.go
- lease_renew.go
- lease_revoke.go
- list.go
- log_flags.go
- login.go
- main.go
- monitor.go
- namespace.go
- namespace_api_lock.go
- namespace_api_unlock.go
- namespace_create.go
- namespace_delete.go
- namespace_list.go
- namespace_lookup.go
- namespace_patch.go
- operator.go
- operator_diagnose.go
- operator_generate_root.go
- operator_init.go
- operator_key_status.go
- operator_members.go
- operator_migrate.go
- operator_raft.go
- operator_raft_autopilot_get_config.go
- operator_raft_autopilot_set_config.go
- operator_raft_autopilot_state.go
- operator_raft_join.go
- operator_raft_listpeers.go
- operator_raft_remove_peer.go
- operator_raft_snapshot.go
- operator_raft_snapshot_restore.go
- operator_raft_snapshot_save.go
- operator_rekey.go
- operator_seal.go
- operator_step_down.go
- operator_unseal.go
- operator_usage.go
- patch.go
- path_help.go
- pki.go
- pki_health_check.go
- pki_issue_intermediate.go
- pki_list_intermediate.go
- pki_reissue_intermediate.go
- pki_verify_sign.go
- plugin.go
- plugin_deregister.go
- plugin_info.go
- plugin_list.go
- plugin_register.go
- plugin_reload.go
- plugin_reload_status.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_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
- transform.go
- transform_import_key.go
- transform_import_key_version.go
- transit.go
- transit_import_key.go
- transit_import_key_version.go
- unwrap.go
- util.go
- version.go
- version_history.go
- write.go
Directories ¶
Path | Synopsis |
---|---|
Package agent implements a daemon mode of Vault designed to provide helper features like auto-auth, caching, and templating.
|
Package agent implements a daemon mode of Vault designed to provide helper features like auto-auth, caching, and templating. |
template
Package template is responsible for rendering user supplied templates to disk.
|
Package template is responsible for rendering user supplied templates to disk. |