Documentation ¶
Index ¶
Constants ¶
View Source
const ( // DefaultJobCategory is the default job category used when DefaultJobCategory = gcpbatchtracker.JobCategoryScript JobCategoryScript = gcpbatchtracker.JobCategoryScript JobCategoryScriptPath = gcpbatchtracker.JobCategoryScriptPath )
Variables ¶
This section is empty.
Functions ¶
func NewGoogleBatchContext ¶
NewGoogleBatchContext creates a new Context which executes tasks of the workflow in Google Batch.
func NewGoogleBatchContextByCfg ¶
NewGoogleBatchContextByCfg creates a new Context with Google Batch as task execution engine.
Types ¶
type Config ¶
type Config struct { DBFile string DefaultJobCategory string DefaultTemplate drmaa2interface.JobTemplate // Google Project ID mandatory GoogleProjectID string // Region at GCP mandatory Region string }
Config describes the default container image to use when no other is specified in the JobCategory of the JobTemplate. This allows to use the Run() method instead of RunT().
Click to show internal directories.
Click to hide internal directories.