pkg

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Dec 12, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Job

type Job struct {
	Name   string
	RunsOn string `yaml:"runs-on"`
	Steps  []Step
}

type Step

type Step struct {
	Name string
	Uses string
	Env  map[string]string
	With map[string]string
	Run  string
	ID   string

	// extra fields
	Image string
}

type Workflow

type Workflow struct {
	Name string
	Jobs map[string]Job
}

func (*Workflow) ConvertToArgoWorkflow

func (w *Workflow) ConvertToArgoWorkflow() (output string, err error)

Jump to

Keyboard shortcuts

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