Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SecretRef ¶
type SecretRef interface { Name() string Put([]byte) (SecretVersionRef, error) Version(string) SecretVersionRef Latest() SecretVersionRef }
SecretRef - A reference to a secret
type SecretValue ¶
type SecretValue interface { // Version - Returns a reference to the version of this value Version() SecretVersionRef // AsBytes - Returns the secret value as bytes AsBytes() []byte // AsString - Returns the secret value as a string AsString() string }
SecretValue - Interface
type SecretVersionRef ¶
type SecretVersionRef interface { // Access - Retrieve the value of the secret Access() (SecretValue, error) Secret() SecretRef Version() string }
SecretVersionRef - A reference to a secret version
Click to show internal directories.
Click to hide internal directories.