set

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Jun 28, 2024 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FindWorkflows

func FindWorkflows(fs afero.Fs) ([]string, error)

Types

type Controller

type Controller struct {
	// contains filtered or unexported fields
}

func NewController

func NewController(fs afero.Fs) *Controller

func (*Controller) Set

func (c *Controller) Set(param *Param) error

type Job

type Job struct {
	Steps          []*Step
	Uses           string
	TimeoutMinutes int `yaml:"timeout-minutes"`
}

type Param

type Param struct {
	Files          []string
	TimeoutMinutes int
}

type Position

type Position struct {
	Line   int
	Column int
}

type Step

type Step struct {
	TimeoutMinutes int `yaml:"timeout-minutes"`
}

type Workflow

type Workflow struct {
	FilePath string `yaml:"-"`
	Jobs     map[string]*Job
}

Jump to

Keyboard shortcuts

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