Documentation ¶
Index ¶
- Constants
- type CapeDBEncrypt
- func (c *CapeDBEncrypt) AuditLog() db.AuditLogDB
- func (c *CapeDBEncrypt) Config() db.ConfigDB
- func (c *CapeDBEncrypt) Contributors() db.ContributorDB
- func (c *CapeDBEncrypt) OrgPolicyDB() db.OrgPolicyDB
- func (c *CapeDBEncrypt) Projects() db.ProjectsDB
- func (c *CapeDBEncrypt) Recoveries() db.RecoveryDB
- func (c *CapeDBEncrypt) Roles() db.RoleDB
- func (c *CapeDBEncrypt) Secrets() db.SecretDB
- func (c *CapeDBEncrypt) Session() db.SessionDB
- func (c *CapeDBEncrypt) Suggestions() db.SuggestionsDB
- func (c *CapeDBEncrypt) Tokens() db.TokensDB
- func (c *CapeDBEncrypt) Users() db.UserDB
Constants ¶
View Source
const SecretLength = 32
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CapeDBEncrypt ¶
type CapeDBEncrypt struct {
// contains filtered or unexported fields
}
CapeDBEncrypt is a postgresql implementation of the cape database interface
func New ¶
func New(db db.Interface, codec crypto.EncryptionCodec) *CapeDBEncrypt
func (*CapeDBEncrypt) AuditLog ¶ added in v0.0.2
func (c *CapeDBEncrypt) AuditLog() db.AuditLogDB
func (*CapeDBEncrypt) Config ¶
func (c *CapeDBEncrypt) Config() db.ConfigDB
func (*CapeDBEncrypt) Contributors ¶
func (c *CapeDBEncrypt) Contributors() db.ContributorDB
func (*CapeDBEncrypt) OrgPolicyDB ¶ added in v0.0.2
func (c *CapeDBEncrypt) OrgPolicyDB() db.OrgPolicyDB
func (*CapeDBEncrypt) Projects ¶
func (c *CapeDBEncrypt) Projects() db.ProjectsDB
func (*CapeDBEncrypt) Recoveries ¶ added in v0.0.2
func (c *CapeDBEncrypt) Recoveries() db.RecoveryDB
func (*CapeDBEncrypt) Roles ¶
func (c *CapeDBEncrypt) Roles() db.RoleDB
func (*CapeDBEncrypt) Secrets ¶ added in v0.0.2
func (c *CapeDBEncrypt) Secrets() db.SecretDB
func (*CapeDBEncrypt) Session ¶ added in v0.0.2
func (c *CapeDBEncrypt) Session() db.SessionDB
func (*CapeDBEncrypt) Suggestions ¶ added in v0.0.2
func (c *CapeDBEncrypt) Suggestions() db.SuggestionsDB
func (*CapeDBEncrypt) Tokens ¶ added in v0.0.2
func (c *CapeDBEncrypt) Tokens() db.TokensDB
func (*CapeDBEncrypt) Users ¶
func (c *CapeDBEncrypt) Users() db.UserDB
Click to show internal directories.
Click to hide internal directories.