recipe

package
v0.0.21 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 19, 2026 License: AGPL-3.0 Imports: 12 Imported by: 0

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"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL