cmd

package
v0.1.7 Latest Latest
Warning

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

Go to latest
Published: Feb 5, 2020 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const InitFuryfile = `` /* 189-byte string literal not displayed */

InitFuryfile default initial Furyfile config

Variables

This section is empty.

Functions

func Execute

func Execute()

Execute is the main entrypoint of furyctl

Types

type Furyconf

type Furyconf struct {
	VendorFolderName string         `yaml:"vendorFolderName"`
	Versions         VersionPattern `yaml:"versions"`
	Roles            []Package      `yaml:"roles"`
	Modules          []Package      `yaml:"modules"`
	Bases            []Package      `yaml:"bases"`
}

Furyconf is reponsible for the structure of the Furyfile

func (*Furyconf) Parse

func (f *Furyconf) Parse() ([]Package, error)

Parse reads the furyconf structs and created a list of packaged to be downloaded

func (*Furyconf) Validate

func (f *Furyconf) Validate() error

Validate is used for validation of configuration and initization of default paramethers

type Package

type Package struct {
	Name    string `yaml:"name"`
	Version string `yaml:"version"`
	// contains filtered or unexported fields
}

Package is the type to contain the definition of a single package

type VersionPattern added in v0.1.3

type VersionPattern map[string]string

Map from glob pattern to version associated (e.g. {"aws/*" : "v1.15.4-1"}

Jump to

Keyboard shortcuts

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