Documentation
¶
Overview ¶
Package certmagic_storage_crdb provides a certmagic.Storer implementation for CockroachDB.
Index ¶
- type CRDBStorage
- func (s *CRDBStorage) Connect(ctx context.Context) error
- func (s *CRDBStorage) Delete(key string) error
- func (s *CRDBStorage) Exists(key string) bool
- func (s *CRDBStorage) List(prefix string, recursive bool) ([]string, error)
- func (s *CRDBStorage) Load(key string) ([]byte, error)
- func (s *CRDBStorage) Lock(ctx context.Context, key string) error
- func (s *CRDBStorage) Stat(key string) (certmagic.KeyInfo, error)
- func (s *CRDBStorage) Store(key string, value []byte) error
- func (s *CRDBStorage) Unlock(key string) error
- type Options
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CRDBStorage ¶
CRDBStorage implements certmagic.Storage.
func (*CRDBStorage) Delete ¶
func (s *CRDBStorage) Delete(key string) error
func (*CRDBStorage) Exists ¶
func (s *CRDBStorage) Exists(key string) bool
func (*CRDBStorage) List ¶
func (s *CRDBStorage) List(prefix string, recursive bool) ([]string, error)
List does not support the recursive flag, but it is provided in the signature to satisfy certmagic.Storage.
func (*CRDBStorage) Stat ¶
func (s *CRDBStorage) Stat(key string) (certmagic.KeyInfo, error)
Stat only supports keys that are terminal.
func (*CRDBStorage) Unlock ¶
func (s *CRDBStorage) Unlock(key string) error
Click to show internal directories.
Click to hide internal directories.