Versions in this module Expand all Collapse all v0 v0.6.0 Oct 11, 2018 v0.5.0 Aug 29, 2018 Changes in this version type BuilderConfig + Command []string + Requirements []string type CommonConfig + Builder BuilderConfig v0.4.0 May 25, 2018 Changes in this version + const CurrentVersion + const PythonLibPrefix + const PythonSiteBin + const PythonSitePackages + type BuilderConfig struct + Builder []string + func (bc *BuilderConfig) Merge(bc2 BuilderConfig) + func (bc BuilderConfig) InstructionsForPhase(phase build.Phase) []build.Instruction type NodeConfig + Requirements []string + type VersionConfig struct + Version string v0.3.0 Mar 22, 2018 Changes in this version + const DefaultConfig + const PythonLocalLibPrefix + func ResolveIncludes(config *Config, name string) ([]string, error) + func ResolveYAMLPath(path string, cfg interface{}) (interface{}, error) type CommonConfig + Lives LivesConfig + Python PythonConfig + type Enforcement struct + Path string + Rule string + type LivesConfig struct + In string + func (lives *LivesConfig) Merge(lives2 LivesConfig) + func (lives LivesConfig) InstructionsForPhase(phase build.Phase) []build.Instruction + type Policy struct + Enforcements []Enforcement + func ReadPolicy(data []byte) (*Policy, error) + func ReadPolicyFromURI(uri string) (*Policy, error) + func (pol Policy) Validate(config Config) error + type PythonConfig struct + Requirements []string + Version string + func (pc *PythonConfig) Merge(pc2 PythonConfig) + func (pc PythonConfig) InstructionsForPhase(phase build.Phase) []build.Instruction + func (pc PythonConfig) RequirementsArgs() []string + func (pc PythonConfig) RequirementsByDir() ([]string, map[string][]string) type RunsConfig + Insecurely Flag + type UserConfig struct + As string + GID uint + UID uint + func (user *UserConfig) Merge(user2 UserConfig) v0.2.0 Nov 16, 2017 Changes in this version + func HumanizeValidationError(err error) string + func IsValidationError(err error) bool + func Validate(config Config) error type RunsConfig + GID uint + UID uint v0.1.0 Oct 19, 2017 Changes in this version + const LocalLibPrefix + type AptConfig struct + Packages []string + func (apt *AptConfig) Merge(apt2 AptConfig) + func (apt AptConfig) InstructionsForPhase(phase build.Phase) []build.Instruction + type ArtifactsConfig struct + Destination string + From string + Source string + func (ac ArtifactsConfig) InstructionsForPhase(phase build.Phase) []build.Instruction + type CommonConfig struct + Apt AptConfig + Base string + EntryPoint []string + Node NodeConfig + Runs RunsConfig + SharedVolume Flag + func (cc *CommonConfig) InstructionsForPhase(phase build.Phase) []build.Instruction + func (cc *CommonConfig) PhaseCompileableConfig() []build.PhaseCompileable + func (cc1 *CommonConfig) Merge(cc2 CommonConfig) + type Config struct + Variants map[string]VariantConfig + func ReadConfig(data []byte) (*Config, error) + func ReadConfigFile(path string) (*Config, error) + type Flag struct + True bool + func (flag *Flag) Merge(flag2 Flag) + func (flag *Flag) UnmarshalYAML(unmarshal func(interface{}) error) error + type NodeConfig struct + Dependencies Flag + Env string + func (nc *NodeConfig) Merge(nc2 NodeConfig) + func (nc NodeConfig) InstructionsForPhase(phase build.Phase) []build.Instruction + type RunsConfig struct + As string + Environment map[string]string + Gid int + In string + Uid int + func (run *RunsConfig) Merge(run2 RunsConfig) + func (run RunsConfig) Home() string + func (run RunsConfig) InstructionsForPhase(phase build.Phase) []build.Instruction + type VariantConfig struct + Artifacts []ArtifactsConfig + Copies string + Includes []string + func ExpandVariant(config *Config, name string) (*VariantConfig, error) + func (vc *VariantConfig) InstructionsForPhase(phase build.Phase) []build.Instruction + func (vc *VariantConfig) Merge(vc2 VariantConfig) + func (vc *VariantConfig) VariantDependencies() []string