Documentation
¶
Index ¶
- func EncodeId(record VersionedSecretMetaData) (string, error)
- func GetStore(bvConfig config.Configuration) secret.Store
- type RedirectStore
- func (rs *RedirectStore) DeleteByName(name string) error
- func (rs *RedirectStore) Exists(name string) bool
- func (rs *RedirectStore) GetById(id string) (s secret.Secret, err error)
- func (rs *RedirectStore) GetByName(name string) (secrets []secret.Secret, err error)
- func (rs *RedirectStore) GetLatestByName(name string) (secret.Secret, error)
- func (rs *RedirectStore) Healthy() bool
- func (rs *RedirectStore) Set(name string, value interface{}) (string, error)
- type Rule
- type SimpleStore
- func (vs *SimpleStore) DeleteByName(name string) error
- func (vs *SimpleStore) Exists(name string) bool
- func (vs *SimpleStore) GetById(id string) (secret.Secret, error)
- func (vs *SimpleStore) GetByName(name string) ([]secret.Secret, error)
- func (vs *SimpleStore) GetLatestByName(name string) (secret.Secret, error)
- func (vs *SimpleStore) Healthy() bool
- func (vs *SimpleStore) Set(name string, value interface{}) (string, error)
- type VaultTestData
- type VersionedSecretMetaData
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EncodeId ¶
func EncodeId(record VersionedSecretMetaData) (string, error)
Types ¶
type RedirectStore ¶
func (*RedirectStore) DeleteByName ¶
func (rs *RedirectStore) DeleteByName(name string) error
func (*RedirectStore) Exists ¶
func (rs *RedirectStore) Exists(name string) bool
func (*RedirectStore) GetById ¶
func (rs *RedirectStore) GetById(id string) (s secret.Secret, err error)
func (*RedirectStore) GetByName ¶
func (rs *RedirectStore) GetByName(name string) (secrets []secret.Secret, err error)
func (*RedirectStore) GetLatestByName ¶
func (rs *RedirectStore) GetLatestByName(name string) (secret.Secret, error)
func (*RedirectStore) Healthy ¶
func (rs *RedirectStore) Healthy() bool
type SimpleStore ¶
func TestHealthySimpleStore ¶
func TestSealedSimpleStore ¶
func (*SimpleStore) DeleteByName ¶
func (vs *SimpleStore) DeleteByName(name string) error
func (*SimpleStore) Exists ¶
func (vs *SimpleStore) Exists(name string) bool
func (*SimpleStore) GetByName ¶
func (vs *SimpleStore) GetByName(name string) ([]secret.Secret, error)
func (*SimpleStore) GetLatestByName ¶
func (vs *SimpleStore) GetLatestByName(name string) (secret.Secret, error)
func (*SimpleStore) Healthy ¶
func (vs *SimpleStore) Healthy() bool
type VaultTestData ¶
type VersionedSecretMetaData ¶
type VersionedSecretMetaData struct { Name string `json:"name"` Version json.Number `json:"version"` }
func DecodeId ¶
func DecodeId(id string) (VersionedSecretMetaData, error)
Click to show internal directories.
Click to hide internal directories.