config

package
v1.0.9 Latest Latest
Warning

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

Go to latest
Published: May 17, 2026 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Jobs []JobConfig `yaml:"jobs"`
}

func LoadConfig

func LoadConfig(path string) (*Config, error)

type JobConfig

type JobConfig struct {
	Name  string            `yaml:"name"`
	Env   map[string]string `yaml:"env,omitempty"`
	Steps []StepConfig      `yaml:"steps"`
}

type StepConfig

type StepConfig struct {
	Name string            `yaml:"name"`
	Run  string            `yaml:"run"`
	Env  map[string]string `yaml:"env,omitempty"`
}

Jump to

Keyboard shortcuts

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