Documentation ¶
Index ¶
- type Opts
- type SQLStore
- func (s *SQLStore) AuditLogsCount(query *types.AuditLogQuery) (int, error)
- func (s *SQLStore) AuditStatistics(query *types.AuditLogStatsQuery) ([]types.AuditLogStats, error)
- func (s *SQLStore) Close() error
- func (s *SQLStore) CreateApproval(approval *types.Approval) (*types.Approval, error)
- func (s *SQLStore) CreateAuditLog(entry *types.AuditLog) (id string, err error)
- func (s *SQLStore) DeleteApproval(approval *types.Approval) error
- func (s *SQLStore) GetApproval(q *types.GetApprovalQuery) (*types.Approval, error)
- func (s *SQLStore) GetAuditLogs(query *types.AuditLogQuery) (logs []*types.AuditLog, err error)
- func (s *SQLStore) ListApprovals(q *types.GetApprovalQuery) ([]*types.Approval, error)
- func (s *SQLStore) OK() bool
- func (s *SQLStore) UpdateApproval(approval *types.Approval) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SQLStore ¶
type SQLStore struct {
// contains filtered or unexported fields
}
func (*SQLStore) AuditLogsCount ¶
func (s *SQLStore) AuditLogsCount(query *types.AuditLogQuery) (int, error)
func (*SQLStore) AuditStatistics ¶
func (s *SQLStore) AuditStatistics(query *types.AuditLogStatsQuery) ([]types.AuditLogStats, error)
func (*SQLStore) CreateApproval ¶
func (*SQLStore) CreateAuditLog ¶
CreateAuditLog - create new audit log entry
func (*SQLStore) GetApproval ¶
func (*SQLStore) GetAuditLogs ¶
func (*SQLStore) ListApprovals ¶
Click to show internal directories.
Click to hide internal directories.