Documentation ¶
Index ¶
- type S3Store
- func (store *S3Store) Delete(key string) error
- func (store *S3Store) DeleteAll(key string) error
- func (store *S3Store) Exists(key string) (bool, error)
- func (store *S3Store) Get(key string) ([]byte, error)
- func (store *S3Store) List(key string) ([]string, error)
- func (store *S3Store) Set(key string, data []byte) error
- func (store *S3Store) String() string
- type Store
- type VaultStore
- func (store *VaultStore) Delete(key string) error
- func (store *VaultStore) DeleteAll(key string) error
- func (store *VaultStore) Exists(key string) (bool, error)
- func (store *VaultStore) Get(key string) ([]byte, error)
- func (store *VaultStore) List(key string) ([]string, error)
- func (store *VaultStore) Set(key string, data []byte) error
- func (store *VaultStore) String() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Store ¶
type Store interface { List(key string) ([]string, error) Exists(key string) (bool, error) Get(key string) ([]byte, error) Set(key string, data []byte) error Delete(key string) error DeleteAll(key string) error }
func CreateStoreFromUrlOrDie ¶
type VaultStore ¶
type VaultStore struct {
// contains filtered or unexported fields
}
func (*VaultStore) Delete ¶
func (store *VaultStore) Delete(key string) error
func (*VaultStore) DeleteAll ¶
func (store *VaultStore) DeleteAll(key string) error
func (*VaultStore) String ¶
func (store *VaultStore) String() string
Click to show internal directories.
Click to hide internal directories.