Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // Command is a variable that allows overriding the command creation for testing CommandContext = exec.CommandContext // LookPath is a variable that allows overriding the lookup behavior for testing LookPath = exec.LookPath )
Functions ¶
func ResolveSecretReference ¶
ResolveSecretReference attempts to resolve a 1Password secret reference (e.g. op://vault/item/field) Returns the resolved value and whether it was a secret reference
Types ¶
type HeaderTransport ¶
type HeaderTransport struct {
Base http.RoundTripper
Headers http.Header
}
HeaderTransport is a custom RoundTripper that adds default headers to requests
Click to show internal directories.
Click to hide internal directories.