Documentation
¶
Index ¶
- Constants
- Variables
- type CertPG
- func (cdb *CertPG) Backfill(ctx context.Context, ls *certstream.LogStream)
- func (cdb *CertPG) Close() error
- func (cdb *CertPG) Entry(ctx context.Context, le *certstream.LogEntry) (err error)
- func (cdb *CertPG) LogError(err error, msg string, args ...any) error
- func (cdb *CertPG) Operator(ctx context.Context, lo *certstream.LogOperator) (err error)
- func (cdb *CertPG) Stream(ctx context.Context, ls *certstream.LogStream) (err error)
Constants ¶
View Source
const FunctionOperatorID = `` /* 503-byte string literal not displayed */
View Source
const FunctionStreamID = `` /* 494-byte string literal not displayed */
View Source
const ProcedureCreateSchema = `` /* 3510-byte string literal not displayed */
View Source
const ProcedureNewEntry = `` /* 2752-byte string literal not displayed */
View Source
const SelectGaps = `` /* 203-byte string literal not displayed */
View Source
const SelectMinIndex = `SELECT MIN(logindex) AS logindex FROM CERTDB_entry WHERE stream = $1;`
Variables ¶
View Source
var BulkRange = int64(4096)
Functions ¶
This section is empty.
Types ¶
type CertPG ¶
type CertPG struct {
*sql.DB
certstream.Logger
// contains filtered or unexported fields
}
CertPG integrates with sql.DB to manage certificate stream data for a PostgreSQL database
func (*CertPG) Backfill ¶
func (cdb *CertPG) Backfill(ctx context.Context, ls *certstream.LogStream)
func (*CertPG) Operator ¶
func (cdb *CertPG) Operator(ctx context.Context, lo *certstream.LogOperator) (err error)
Click to show internal directories.
Click to hide internal directories.