Documentation
¶
Index ¶
Constants ¶
View Source
const ( ProcessingStatusOK = "OK" ProcessingStatusInfo = "INFO" // Processing was successful but the task reported information in the StatusInformation column ProcessingStatusError = "ERROR" // one or more errors were encountered, data may be incomplete ProcessingStatusSkip = "SKIP" // no processing was attempted, a reason may be given in the StatusInformation column )
View Source
const ( // ProcessingStatusInformationNullRound is set byt the consensus task to indicate a null round ProcessingStatusInformationNullRound = "NULL_ROUND" // used by consensus task to indicate a null round )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GapReport ¶
type GapReportList ¶
type GapReportList []*GapReport
func (GapReportList) Persist ¶
func (pl GapReportList) Persist(ctx context.Context, s model.StorageBatch, _ model.Version) error
type ProcessingReport ¶
type ProcessingReport struct {
Height int64 `pg:",pk,use_zero"`
StateRoot string `pg:",pk,notnull"`
// Reporter is the name of the instance that is reporting the result
Reporter string `pg:",pk,notnull"`
// Task is the name of the sub task that generated the report
Task string `pg:",pk,notnull"`
StartedAt time.Time `pg:",pk,use_zero"`
CompletedAt time.Time `pg:",use_zero"`
Status string `pg:",notnull"`
StatusInformation string
ErrorsDetected interface{} `pg:",type:jsonb"`
// contains filtered or unexported fields
}
func (*ProcessingReport) Persist ¶
func (p *ProcessingReport) Persist(ctx context.Context, s model.StorageBatch, _ model.Version) error
type ProcessingReportList ¶
type ProcessingReportList []*ProcessingReport
func (ProcessingReportList) Persist ¶
func (pl ProcessingReportList) Persist(ctx context.Context, s model.StorageBatch, _ model.Version) error
Click to show internal directories.
Click to hide internal directories.