Documentation ¶
Index ¶
- type VaultStorage
- func (vaultStorage *VaultStorage) Delete(key string) error
- func (vaultStorage *VaultStorage) Exists(key string) bool
- func (vaultStorage *VaultStorage) List(prefix string, recursive bool) ([]string, error)
- func (vaultStorage *VaultStorage) Load(key string) ([]byte, error)
- func (vaultStorage *VaultStorage) Lock(key string) error
- func (vaultStorage *VaultStorage) Stat(key string) (certmagic.KeyInfo, error)
- func (vaultStorage *VaultStorage) Store(key string, value []byte) error
- func (vaultStorage *VaultStorage) Unlock(key string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type VaultStorage ¶
type VaultStorage struct {
API string
}
VaultStorage storage for ACME certificates
func (*VaultStorage) Delete ¶
func (vaultStorage *VaultStorage) Delete(key string) error
Delete deletes the certificate from vault.
func (*VaultStorage) Exists ¶
func (vaultStorage *VaultStorage) Exists(key string) bool
Exists returns existance of certificate with key
func (*VaultStorage) List ¶
func (vaultStorage *VaultStorage) List(prefix string, recursive bool) ([]string, error)
List lists certificates
func (*VaultStorage) Load ¶
func (vaultStorage *VaultStorage) Load(key string) ([]byte, error)
Load retrieves certificate of key
func (*VaultStorage) Lock ¶
func (vaultStorage *VaultStorage) Lock(key string) error
Lock locks operations on certificate with particular key
func (*VaultStorage) Stat ¶
func (vaultStorage *VaultStorage) Stat(key string) (certmagic.KeyInfo, error)
Stat retrieves status of certificate with key param
func (*VaultStorage) Store ¶
func (vaultStorage *VaultStorage) Store(key string, value []byte) error
Store stores certificate with key association
func (*VaultStorage) Unlock ¶
func (vaultStorage *VaultStorage) Unlock(key string) error
Unlock unlocks operations on certificate data
Click to show internal directories.
Click to hide internal directories.