schema

package
v0.8.1 Latest Latest
Warning

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

Go to latest
Published: Oct 8, 2025 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Overview

Package schema provides the workfow types and schema for maru2

Index

Constants

View Source
const DefaultTaskName = "default"

DefaultTaskName is the default task name

Variables

This section is empty.

Functions

This section is empty.

Types

type Env added in v0.5.0

type Env = map[string]any

Env is a map of environment variable names to values

type Versioned

type Versioned struct {
	// SchemaVersion is the workflow schema that this workflow follows
	SchemaVersion string `json:"schema-version"`
}

Versioned is a tiny struct used to grab the schema version for a workflow

type With added in v0.5.0

type With = map[string]any

With is a map of string keys and WithEntry values used to pass parameters to called tasks and within steps

Directories

Path Synopsis
Package v0 is the v0 (alpha) schema for maru2,
Package v0 is the v0 (alpha) schema for maru2,
Package v1 is the v1 schema for maru2 workflows
Package v1 is the v1 schema for maru2 workflows

Jump to

Keyboard shortcuts

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