Versions in this module Expand all Collapse all v1 v1.1.7 Apr 1, 2021 Changes in this version + var PluginCACertPEMEnv = "VAULT_TESTING_PLUGIN_CA_PEM" + var PluginMetadataModeEnv = "VAULT_PLUGIN_METADATA_MODE" + var PluginMlockEnabled = "VAULT_PLUGIN_MLOCK_ENABLED" + var PluginUnwrapTokenEnv = "VAULT_UNWRAP_TOKEN" + var PluginVaultVersionEnv = "VAULT_VERSION" + func CtxCancelIfCanceled(f context.CancelFunc, ctxCanceler context.Context) chan struct + func GRPCSupport() bool + func InMetadataMode() bool + func OptionallyEnableMlock() error + func VaultPluginTLSProvider(apiTLSConfig *api.TLSConfig) func() (*tls.Config, error) + type APIClientMeta struct + func (f *APIClientMeta) FlagSet() *flag.FlagSet + func (f *APIClientMeta) GetTLSConfig() *api.TLSConfig + type LookRunnerUtil interface + type Looker interface + LookupPlugin func(context.Context, string, consts.PluginType) (*PluginRunner, error) + type PluginRunner struct + Args []string + Builtin bool + BuiltinFactory func() (interface{}, error) + Command string + Env []string + Name string + Sha256 []byte + Type consts.PluginType + func (r *PluginRunner) Run(ctx context.Context, wrapper RunnerUtil, pluginSets map[int]plugin.PluginSet, ...) (*plugin.Client, error) + func (r *PluginRunner) RunMetadataMode(ctx context.Context, wrapper RunnerUtil, pluginSets map[int]plugin.PluginSet, ...) (*plugin.Client, error) + type RunnerUtil interface + MlockEnabled func() bool + ResponseWrapData func(ctx context.Context, data map[string]interface{}, ttl time.Duration, jwt bool) (*wrapping.ResponseWrapInfo, error)