Documentation ¶
Index ¶
- Variables
- type CapePg
- func (c *CapePg) AuditLog() db.AuditLogDB
- func (c *CapePg) Config() db.ConfigDB
- func (c *CapePg) Contributors() db.ContributorDB
- func (c *CapePg) OrgPolicyDB() db.OrgPolicyDB
- func (c *CapePg) Projects() db.ProjectsDB
- func (c *CapePg) Recoveries() db.RecoveryDB
- func (c *CapePg) Roles() db.RoleDB
- func (c *CapePg) Secrets() db.SecretDB
- func (c *CapePg) Session() db.SessionDB
- func (c *CapePg) Suggestions() db.SuggestionsDB
- func (c *CapePg) Tokens() db.TokensDB
- func (c *CapePg) Users() db.UserDB
- type PgAudit
- type Pool
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrGenericDBError = fmt.Errorf("generic db error")
)
Functions ¶
This section is empty.
Types ¶
type CapePg ¶
type CapePg struct {
// contains filtered or unexported fields
}
CapePg is a postgresql implementation of the cape database interface
func (*CapePg) AuditLog ¶ added in v0.0.2
func (c *CapePg) AuditLog() db.AuditLogDB
func (*CapePg) Contributors ¶
func (c *CapePg) Contributors() db.ContributorDB
func (*CapePg) OrgPolicyDB ¶ added in v0.0.2
func (c *CapePg) OrgPolicyDB() db.OrgPolicyDB
func (*CapePg) Projects ¶
func (c *CapePg) Projects() db.ProjectsDB
func (*CapePg) Recoveries ¶ added in v0.0.2
func (c *CapePg) Recoveries() db.RecoveryDB
func (*CapePg) Suggestions ¶ added in v0.0.2
func (c *CapePg) Suggestions() db.SuggestionsDB
Source Files ¶
Click to show internal directories.
Click to hide internal directories.