Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Publisher ¶
type Publisher interface { model.Providable // compute node // // once the results have been verified we publish them // this will result in a "publish" event that will keep track // of the details of the storage spec where the results live // the returned storage spec might be nill as jobs // can have multiple publishers and some publisher // implementations don't concern themselves with storage // (e.g. notify slack) PublishResult( ctx context.Context, job model.Job, hostID string, resultPath string, ) (model.StorageSpec, error) }
Publisher is the interface for publishing results of a job The job spec will choose which publisher(s) it wants to use (there can be multiple publishers configured)
Directories ¶
Path | Synopsis |
---|---|
Package combo provides different Publisher implementations that delegate the work to real implementations, such as calling another publisher if one fails.
|
Package combo provides different Publisher implementations that delegate the work to real implementations, such as calling another publisher if one fails. |
Click to show internal directories.
Click to hide internal directories.