Documentation ¶
Overview ¶
Package secret implements an agent to read and reload the secrets.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddWithParser ¶
AddWithParser registers a new path to the agent. The secret will only be updated if it can be successfully parsed. The returned getter must be kept, as it is the only way of accessing the typed secret.
func GetTokenGenerator ¶
GetTokenGenerator returns a function that gets the value of a given secret.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.