buildscript

package
v1.23.0 Latest Latest
Warning

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

Go to latest
Published: Jan 11, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run(spec *Specification) error

func RunWithContext added in v1.23.0

func RunWithContext(spec SpecSupplier) error

Prefer over Run() if the context is needed to initialize Specification (e.g. access to script instance)

Types

type Context added in v1.23.0

type Context struct {
	Script script.Script
}

type FuncRequirement added in v1.17.0

type FuncRequirement func(env RequirementEnvironment) (*RequirementResult, error)

func (FuncRequirement) Ensure added in v1.17.0

func (FuncRequirement) Info added in v1.17.0

func (f FuncRequirement) Info() *RequirementInfo

type Requirement

type Requirement = api.Requirement

type RequirementEnvironment

type RequirementEnvironment = api.RequirementEnvironment

type RequirementInfo

type RequirementInfo = api.RequirementInfo

type RequirementResult

type RequirementResult = api.RequirementResult

type SpecSupplier added in v1.23.0

type SpecSupplier func(context Context) (*Specification, error)

type Specification

type Specification = api.Specification

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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