Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( TaskName = "check_consensus_slot_range" TaskDescriptor = &types.TaskDescriptor{ Name: TaskName, Description: "Check if consensus wallclock is in a specific range.", Config: DefaultConfig(), NewTask: NewTask, } )
Functions ¶
func NewTask ¶
func NewTask(ctx *types.TaskContext, options *types.TaskOptions) (types.Task, error)
Types ¶
type Config ¶
type Config struct { MinSlotNumber uint64 `yaml:"minSlotNumber" json:"minSlotNumber"` MaxSlotNumber uint64 `yaml:"maxSlotNumber" json:"maxSlotNumber"` MinEpochNumber uint64 `yaml:"minEpochNumber" json:"minEpochNumber"` MaxEpochNumber uint64 `yaml:"maxEpochNumber" json:"maxEpochNumber"` FailIfLower bool `yaml:"failIfLower" json:"failIfLower"` }
func DefaultConfig ¶
func DefaultConfig() Config
type Task ¶
type Task struct {
// contains filtered or unexported fields
}
func (*Task) LoadConfig ¶
Click to show internal directories.
Click to hide internal directories.