Documentation ¶
Index ¶
- func ExtractBigInt(trrs pipeline.TaskRunResults) (*big.Int, error)
- func ValidatedStreamSpec(tomlString string) (job.Job, error)
- type Delegate
- func (d *Delegate) AfterJobCreated(jb job.Job)
- func (d *Delegate) BeforeJobCreated(jb job.Job)
- func (d *Delegate) BeforeJobDeleted(jb job.Job)
- func (d *Delegate) JobType() job.Type
- func (d *Delegate) OnDeleteJob(ctx context.Context, jb job.Job, q pg.Queryer) error
- func (d *Delegate) ServicesForSpec(ctx context.Context, jb job.Job) (services []job.ServiceCtx, err error)
- type DelegateConfig
- type Getter
- type Registry
- type ResultRunSaver
- type RunResultSaver
- type Runner
- type Stream
- type StreamID
- type StreamService
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExtractBigInt ¶
func ExtractBigInt(trrs pipeline.TaskRunResults) (*big.Int, error)
ExtractBigInt returns a result of a pipeline run that returns one single decimal result, as a *big.Int. This acts as a reference/example method, other methods can be implemented to extract any desired type that matches a particular pipeline run output. Returns error on parse errors: if results are wrong type
Types ¶
type Delegate ¶
type Delegate struct {
// contains filtered or unexported fields
}
func NewDelegate ¶
func (*Delegate) AfterJobCreated ¶
func (*Delegate) BeforeJobCreated ¶
func (*Delegate) BeforeJobDeleted ¶
func (*Delegate) OnDeleteJob ¶
func (*Delegate) ServicesForSpec ¶
type DelegateConfig ¶
type Registry ¶
type ResultRunSaver ¶
type RunResultSaver ¶
type StreamService ¶
type StreamService struct {
// contains filtered or unexported fields
}
func (*StreamService) Close ¶
func (s *StreamService) Close() error
Click to show internal directories.
Click to hide internal directories.