package
0.11.6
Repository: https://github.com/sql2/vault.git
Documentation: pkg.go.dev

# Functions

CtxCancelIfCanceled takes a context cancel func and a context.
GRPCSupport defaults to returning true, unless VAULT_VERSION is missing or it fails to meet the version constraint.
InMetadataMode returns true if the plugin calling this function is running in metadata mode.
OptionallyEnableMlock determines if mlock should be called, and if so enables mlock.
VaultPluginTLSProvider is run inside a plugin and retrieves the response wrapped TLS certificate from vault.

# Variables

PluginCACertPEMEnv is an ENV name used for holding a CA PEM-encoded string.
PluginMetadataModeEnv is an ENV name used to disable TLS communication to bootstrap mounting plugins.
PluginMlockEnabled is the ENV name used to pass the configuration for enabling mlock.
PluginUnwrapTokenEnv is the ENV name used to pass unwrap tokens to the plugin.
PluginVaultVersionEnv is the ENV name used to pass the version of the vault server to the plugin.

# Structs

APIClientMeta is a helper that plugins can use to configure TLS connections back to Vault.
PluginRunner defines the metadata needed to run a plugin securely with go-plugin.

# Interfaces

Looker defines the plugin Lookup function that looks into the plugin catalog for available plugins and returns a PluginRunner.
LookRunnerUtil defines the functions for both Looker and Wrapper.
RunnerUtil interface defines the functions needed by the runner to wrap the metadata needed to run a plugin process.