Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetOps ¶
func GetOps() []ops.RegisterableOp
Types ¶
type MultipleRecipeOutput ¶
type MultipleRecipeOutput struct {
Outputs []SingleRecipeOutput `json:"outputs"`
}
type MultipleRecipes ¶
type MultipleRecipes struct {
GitRef string `` /* 138-byte string literal not displayed */
Recipes []SingleRecipe `json:"recipes"`
}
type SingleRecipe ¶
type SingleRecipe struct {
Name string `json:"name" validate:"required"`
CellName string `json:"cell_name,omitempty" default:"{{ context.workflow.cell }}"`
Inputs map[string]interface{} `json:"inputs"`
Artifacts []recipeartifacts.Ref `json:"artifacts"`
Git SingleRecipeGit `json:"git"`
}
RecipeInput defines the input for recipe activities
type SingleRecipeGit ¶
type SingleRecipeGit struct {
BaseRepo string `json:"base_repo,omitempty" default:"{{ context.git.repo }}"`
BaseRef string `json:"base_ref,omitempty" default:"{{ context.git.ref }}"`
BaseHash string `json:"base_hash,omitempty" default:"{{ context.git.resolved_hash }}"`
Author string `json:"author,omitempty" default:"{{ context.git.author }}"`
}
type SingleRecipeOutput ¶
type SingleRecipeOutput struct {
Outputs map[string]interface{} `json:"outputs"`
GitResult contextual.GitCommitContext `json:"git,omitempty"`
}
type SingleRecipeWithRef ¶
type SingleRecipeWithRef struct {
SingleRecipe `json:",squash"`
GitRef string `` /* 138-byte string literal not displayed */
}
type StartedJob ¶
type StartedJob struct {
JobId string `json:"job_id"`
}
type StartedJobs ¶
type StartedJobs struct {
JobIDs []string `json:"job_ids"`
}
Click to show internal directories.
Click to hide internal directories.