config

package
v0.0.0-...-cfaac7e Latest Latest
Warning

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

Go to latest
Published: Mar 31, 2022 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Tasks     map[string]*plugin.TaskItem
	Variables []Variable
	// contains filtered or unexported fields
}

func (*Config) GoString

func (c *Config) GoString() string

func (*Config) Graph

func (c *Config) Graph() (*dag.DAG, error)

func (*Config) Traverse

func (c *Config) Traverse(f func(t *plugin.TaskItem))

type Marshaller

type Marshaller interface {
	MarshalHCL(*ast.ObjectList) error
}

Marshaller defines an HCL marshall for plugins to customize how they are parsed

type Variable

type Variable struct {
	Name    string
	Type    string
	Default interface{}
}

Variable defines a user defined variable in preflight HCL syntax

Jump to

Keyboard shortcuts

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