Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Parse ¶
func Parse(c interface{}) error
Parse looks through a config (c) of type struct for any tag "secretmanager". It will use any struct property with this tag to generate a request to the GCP secretmanager API. It will populate the struct with the values returned by the secretmanager API. As a helpful default, it will use context.Background and os.Getenv("GOOGLE_CLOUD_PROJECT")
func ParseWithContext ¶
ParseWithContext is the same as Parse, except you can pass in a context.
func ParseWithContextAndProject ¶
ParseWithContextAndProject is the same as Parse, except you can pass in context and project.
func ParseWithProject ¶
ParseWithProject is the same as Parse, except you can pass in a project.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.