package
0.15.2
Repository: https://github.com/hashicorp/vault.git
Documentation: pkg.go.dev

# Functions

No description provided by the author
CtxCancelIfCanceled takes a context cancel func and a context.
No description provided by the author
No description provided by the author
GRPCSupport defaults to returning true, unless VAULT_VERSION is missing or it fails to meet the version constraint.
No description provided by the author
InMetadataMode returns true if the plugin calling this function is running in metadata mode.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
OptionallyEnableMlock determines if mlock should be called, and if so enables mlock.
No description provided by the author
No description provided by the author
No description provided by the author

# Constants

No description provided by the author
PluginAutoMTLSEnv is used to ensure AutoMTLS is used.
PluginCACertPEMEnv is an ENV name used for holding a CA PEM-encoded string.
PluginGRPCTimeoutClose is an ENV name used to set the timeout for Vault's call to the plugin Close() GRPC method.
PluginGRPCTimeoutType is an ENV name used to set the timeout for Vault's call to the plugin Type() GRPC method.
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.
No description provided by the author
PluginMultiplexingOptOut is an ENV name used to define a comma separated list of plugin names opted-out of the multiplexing feature; for emergencies if multiplexing ever causes issues.
PluginUnwrapTokenEnv is the ENV name used to pass unwrap tokens to the plugin.
PluginUseLegacyEnvLayering opts out of new environment variable precedence.
PluginUsePostgresSSLInline enables the usage of a custom sslinline configuration as a shim to the pgx posgtres library.
PluginVaultVersionEnv is the ENV name used to pass the version of the vault server to the plugin.

# Variables

No description provided by the author
ErrPluginNotFound is returned when a plugin does not have a pinned version.
No description provided by the author
PluginMultiplexing_ServiceDesc is the grpc.ServiceDesc for PluginMultiplexing service.

# Structs

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
PluginRunner defines the metadata needed to run a plugin securely with go-plugin.
SetPluginInput is only used as input for the plugin catalog's set methods.
UnimplementedPluginMultiplexingServer must be embedded to have forward compatible implementations.
VersionedPlugin holds any versioning information stored about a plugin in the plugin catalog.

# 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.
No description provided by the author
PluginMultiplexingClient is the client API for PluginMultiplexing service.
PluginMultiplexingServer is the server API for PluginMultiplexing service.
RunnerUtil interface defines the functions needed by the runner to wrap the metadata needed to run a plugin process.
UnsafePluginMultiplexingServer may be embedded to opt out of forward compatibility for this service.

# Type aliases

No description provided by the author
No description provided by the author