Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ParseID = secrets.ParseID MustParseID = secrets.MustParseID ParsePattern = secrets.ParsePattern MustParsePattern = secrets.MustParsePattern ErrSecretNotFound = secrets.ErrNotFound ErrSecretsEngineNotAvailable = errors.New("secrets engine is not available") )
Functions ¶
This section is empty.
Types ¶
type Option ¶
type Option func(c *config) error
func WithDialContext ¶ added in v0.0.12
func WithResponseTimeout ¶ added in v0.0.19
WithResponseTimeout overrides the response header timeout of the client.
It is useful to set if there are long-lived user interactions required when the Secrets Engine requests secrets from a plugin.
A responseTimeout of 0 means no response header timeout will be applied. Negative durations are not allowed and will result in an error.
func WithSocketPath ¶
func WithTimeout ¶
WithTimeout overrides the request timeout of the client.
It is useful to set if there are hard-limits to when the client must wait for the server to accept the request.
A timout of 0 means no request timeout will be applied. Negative durations are not allowed and will result in an error.
Click to show internal directories.
Click to hide internal directories.