v2

package
v3.33.1 Latest Latest
Warning

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

Go to latest
Published: Dec 21, 2023 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CompilerV2

type CompilerV2 struct {
	Dir string

	Taskvars     *taskfile.Vars
	TaskfileVars *taskfile.Vars

	Expansions int

	Logger *logger.Logger
	// contains filtered or unexported fields
}

func (*CompilerV2) FastGetVariables added in v3.2.2

func (c *CompilerV2) FastGetVariables(t *taskfile.Task, call taskfile.Call) (*taskfile.Vars, error)

FastGetVariables is a no-op on v2

func (*CompilerV2) GetTaskfileVariables added in v3.5.0

func (c *CompilerV2) GetTaskfileVariables() (*taskfile.Vars, error)

func (*CompilerV2) GetVariables

func (c *CompilerV2) GetVariables(t *taskfile.Task, call taskfile.Call) (*taskfile.Vars, error)

GetVariables returns fully resolved variables following the priority order: 1. Task variables 2. Call variables 3. Taskfile variables 4. Taskvars file variables 5. Environment variables

func (*CompilerV2) HandleDynamicVar

func (c *CompilerV2) HandleDynamicVar(v taskfile.Var, _ string) (string, error)

func (*CompilerV2) ResetCache added in v3.2.0

func (c *CompilerV2) ResetCache()

ResetCache clear the dymanic variables cache

Jump to

Keyboard shortcuts

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