Documentation
¶
Index ¶
- Variables
- func Close() error
- func DeletePolicy(id string, username string) error
- func DeleteSecret(secret models.Secret) error
- func Get() *pg.DB
- func GetPathByID(id string) (models.Path, error)
- func GetPathByName(name string) (models.Path, error)
- func GetPaths() ([]models.Path, error)
- func GetSecret(path string, key string, version int64) (models.Secret, error)
- func GetSecretByID(id string, version int64) (models.Secret, error)
- func GetSecrets(pathId int) ([]models.Secret, error)
- func GetSecretsByPathName(pathName string) ([]models.Secret, error)
- func GetTransitEncryptionKey(keyId string, version int) (models.Secret, error)
- func GetUser(username string) (models.User, error)
- func GetUserGroups(userID string) ([]string, error)
- func Init(config *config.Config) *pg.DB
- func SavePolicy(policy models.Policy, username string) error
- func WriteSecret(userID string, request models.Secret, c crypt.CryptographicOperations) (models.Secret, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var DB *pg.DB
Functions ¶
func DeletePolicy ¶
func DeleteSecret ¶
func GetTransitEncryptionKey ¶
func GetUserGroups ¶
func WriteSecret ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.