Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ErrSecretStoreNotFound indicates that the named secret store // doesn't exist. ErrSecretStoreNotFound = errors.New("secret store not found") // ErrInvalidSecretStoreName indicates that the given secret store // name is invalid. ErrInvalidSecretStoreName = errors.New("invalid secret store name") // ErrSecretNotFound indicates that the named secret doesn't exist // within this store. ErrSecretNotFound = errors.New("secret not found") // ErrInvalidSecretName indicates that the given secret name is // invalid. ErrInvalidSecretName = errors.New("invalid secret name") // ErrUnexpected indicates than an unexpected error occurred. ErrUnexpected = errors.New("unexpected error") )
Functions ¶
This section is empty.
Types ¶
type Secret ¶
type Secret struct {
// contains filtered or unexported fields
}
Secret represents a secret in a store
type Store ¶
type Store struct {
// contains filtered or unexported fields
}
Store represents a Fastly Secret Store
func Open ¶
Open returns a handle to the named secret store, if it exists. It will return ErrSecretStoreNotFound if it doesn't exist.
Click to show internal directories.
Click to hide internal directories.