Documentation ¶
Index ¶
- type Store
- func (s *Store) Close() error
- func (s *Store) GetCertificate(ctx context.Context, name string) (cert []byte, err error)
- func (s *Store) GetPassword(ctx context.Context, id string) (password []byte, err error)
- func (s *Store) UpdateCertificate(ctx context.Context, name string, cert []byte) (err error)
- func (s *Store) UpdatePassword(ctx context.Context, id string, password []byte) (err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Store ¶
Store implements the store.Store interface for local storage.
func Open ¶
func Open(conf config.LocalStorageConfig) (store *Store, err error)
Open the local storage backend.
func (*Store) GetCertificate ¶
GetCertificate retrieves certificate data by id from the local storage backend.
func (*Store) GetPassword ¶
GetPassword retrieves a password by id from the local storage backend.
func (*Store) UpdateCertificate ¶
UpdateCertificate updates certificate data in the local storage backend.
Click to show internal directories.
Click to hide internal directories.