Documentation ¶
Index ¶
Constants ¶
View Source
const DefaultLogLevel = "info"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Debug string `hcl:"debug,optional"` Use map[string]string `hcl:"use,optional"` LinkDir string `hcl:"linkdir,optional"` Packages []PackageBlock `hcl:"package,block,optional"` }
Config is the result of unmarshalling a config.hcl file
type Context ¶
type Context struct { Debug *log.Level Use map[string]string LinkDir string Repositories []string Packages map[string]*manifest.PackageManifestOptions }
func NewContext ¶
func (*Context) Synthesize ¶
func (*Context) UseVersion ¶ added in v0.4.0
type PackageBlock ¶
type PackageBlock struct { Name string `hcl:"name,label"` manifest.PackageManifestOptions }
func (*PackageBlock) GetPackage ¶
func (b *PackageBlock) GetPackage() *manifest.PackageManifestOptions
Click to show internal directories.
Click to hide internal directories.