Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Job ¶
type Job struct { Id *primitive.ObjectID `json:"id" bson:"_id,omitempty"` Name string `json:"name" bson:"name"` Variables map[string]interface{} `json:"variables" bson:"variables"` Pipeline *Pipeline `json:"pipeline" bson:"pipeline"` }
Job - Database struct describing a pipeline job
type Pipeline ¶
type Pipeline struct { Id *primitive.ObjectID `json:"id" bson:"_id,omitempty"` Revision uint `json:"revision" bson:"revision"` Name string `json:"name" bson:"name" required:"true"` Script string `json:"script" bson:"script"` Pipeline *pipeline.Pipeline `json:"pipeline" bson:"pipeline"` }
Pipeline - Database struct describing a pipeline
Click to show internal directories.
Click to hide internal directories.