builddefinition

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Sep 30, 2023 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrUnsupportedAPIVersion = errors.New("unsupported API version")
)

Functions

This section is empty.

Types

type Builder

type Builder interface {
	Build(config buildconfig.Config, secrets []config.Secret) (Definition, error)
}

func NewBuilder

func NewBuilder() Builder

type Definition

type Definition struct {
	Vertexes []api.Vertex
	Vars     []api.Var
}

func (Definition) Vertex

func (d Definition) Vertex(name string) maybe.Maybe[api.Vertex]

Jump to

Keyboard shortcuts

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