Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DB ¶
type DB interface { Connect() error AddSecret(*secrets.Secret) error AddKey(*secrets.Key) error GetKey(*secrets.Key) error GetRootSecret(*secrets.Secret) error ListSecrets(*string) func(int) ([]secrets.Secret, error) ListKeys(*string) func(int) ([]secrets.Key, error) DeleteSecret(*secrets.Secret) error DeleteKey(*secrets.Key) error UpdateSecret(*secrets.Secret) error Ping() error Metrics() (map[string]interface{}, error) }
DB is a generic database interface.
Click to show internal directories.
Click to hide internal directories.