furnish

package
v0.0.0-...-7457a68 Latest Latest
Warning

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

Go to latest
Published: Oct 28, 2022 License: GPL-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 Declaration

type Declaration struct {
	FileVersion module.Version `yaml:"version" json:"file_version"`
	Global      Global         `yaml:"global"  json:"global"`
	Phases      Stages         `yaml:",inline" json:"stages"`
}

func Load

func Load(path string) (*Declaration, error)

func (*Declaration) Initialize

func (d *Declaration) Initialize() error

func (*Declaration) Modules

func (d *Declaration) Modules() module.Modules

func (*Declaration) Stages

func (d *Declaration) Stages() module.Stages

func (*Declaration) Validate

func (d *Declaration) Validate() error

type Global

type Global struct {
	PackageManagers pkgmanager.MultiManagerConfig `yaml:"package-managers" json:"package_managers"`
}

func (*Global) Initialize

func (g *Global) Initialize() error

func (*Global) Validate

func (g *Global) Validate() error

type Stage

type Stage struct {
	module.BaseDependable `yaml:",inline"`

	// Unknown module.Arbitrary `yaml:",inline" json:"modules"`
	XCodeSelect *xcode.XCodeSelect  `yaml:"xcode-select" json:"xcode-select"`
	SSH         *ssh.SSH            `yaml:"ssh" json:"ssh"`
	Packages    pkgmanager.Packages `yaml:"packages"     json:"packages"`
	Shell       shell.Shell         `yaml:"shell"        json:"shell"`
}

func (*Stage) Initialize

func (s *Stage) Initialize() error

func (*Stage) Modules

func (s *Stage) Modules() module.Modules

type Stages

type Stages map[string]*Stage

func (Stages) Initialize

func (ss Stages) Initialize() error

func (Stages) Modules

func (ss Stages) Modules() module.Modules

func (Stages) Stages

func (ss Stages) Stages() module.Stages

Directories

Path Synopsis
Package log contains the improved logger interface and it's nil implementation Log levels / verbosity go from lowest to highest: Debug, Info, Warn, Error.
Package log contains the improved logger interface and it's nil implementation Log levels / verbosity go from lowest to highest: Debug, Info, Warn, Error.

Jump to

Keyboard shortcuts

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