Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Secret ¶
type Secret struct {
Name string `log:"Name"`
}
Secret - Represents a container for secret versions
type SecretAccessResponse ¶
type SecretAccessResponse struct { SecretVersion *SecretVersion Value []byte }
SecretAccessResponse - Return value for a secret access request
type SecretPutResponse ¶
type SecretPutResponse struct {
SecretVersion *SecretVersion
}
SecretPutResponse - Return value for a secret put request
type SecretService ¶
type SecretService interface { // Put - Creates a new version for a given secret Put(*Secret, []byte) (*SecretPutResponse, error) // Access - Retrieves the value for a given secret version Access(*SecretVersion) (*SecretAccessResponse, error) }
type SecretVersion ¶
type SecretVersion struct { Secret *Secret `log:"Secret"` // Version - the specific secret version this represents // Specifying "latest" will always retrieve the latest version of the secret Version string `log:"Version"` }
SecretVersion - A version of a secret
type UnimplementedSecretPlugin ¶
type UnimplementedSecretPlugin struct {
SecretService
}
func (*UnimplementedSecretPlugin) Access ¶
func (*UnimplementedSecretPlugin) Access(version *SecretVersion) (*SecretAccessResponse, error)
func (*UnimplementedSecretPlugin) Put ¶
func (*UnimplementedSecretPlugin) Put(secret *Secret, value []byte) (*SecretPutResponse, error)
Click to show internal directories.
Click to hide internal directories.