Versions in this module Expand all Collapse all v0 v0.13.0 Jan 30, 2020 v0.12.0 Aug 25, 2018 v0.11.1 May 9, 2018 Changes in this version + const META + func RegisterResource(name string, typeFunc resourceFactory) + type AliasConfig struct + Tasks []string + func (c *AliasConfig) Dependencies() []string + func (c *AliasConfig) Resolve(_ Resolver) (Resource, error) + func (c *AliasConfig) String() string + func (c *AliasConfig) Validate(path pth.Path, config *Config) *pth.Error + type AnnotationFields struct + Description string + Tags []string + type Annotations struct + Annotations AnnotationFields + Description string + func (a *Annotations) CategoryTags() []string + func (a *Annotations) Describe() string + func (a *Annotations) ValidateDescription() error + type ComposeConfig struct + Files []string + Project string + StopGrace int + func (c *ComposeConfig) Resolve(resolver Resolver) (Resource, error) + func (c *ComposeConfig) StopGraceString() string + func (c *ComposeConfig) String() string + func (c *ComposeConfig) Validate(path pth.Path, config *Config) *pth.Error + type Config struct + FilePath string + Meta *MetaConfig + Resources map[string]Resource + WorkingDir string + func Load(filename string) (*Config, error) + func LoadFromBytes(data []byte) (*Config, error) + func NewConfig() *Config + func (c *Config) Sorted() []string + func (c *Config) UnmarshalYAML(unmarshal func(interface{}) error) error + type Dependent struct + Depends []string + func (d *Dependent) Dependencies() []string + type Device struct + Container string + Host string + Permissions string + type EnvConfig struct + Files []string + Variables []string + func (c *EnvConfig) Dependencies() []string + func (c *EnvConfig) Resolve(resolver Resolver) (Resource, error) + func (c *EnvConfig) String() string + func (c *EnvConfig) Validate(pth.Path, *Config) *pth.Error + type ImageConfig struct + Args map[string]string + CacheFrom []string + Context string + Dockerfile string + Image string + NetworkMode string + Pull pull + PullBaseImageOnBuild bool + Steps string + Tags []string + Target string + func NewImageConfig() *ImageConfig + func (c *ImageConfig) IsBuildable() bool + func (c *ImageConfig) Resolve(resolver Resolver) (Resource, error) + func (c *ImageConfig) String() string + func (c *ImageConfig) Validate(path pth.Path, config *Config) *pth.Error + func (c *ImageConfig) ValidateImage() error + func (c *ImageConfig) ValidateTags() error + type JobConfig struct + Artifact PathGlobs + Command ShlexSlice + Devices []Device + Entrypoint ShlexSlice + Env []string + Interactive bool + Labels map[string]string + Mounts []string + NetMode string + Ports []string + Privileged bool + ProvideDocker bool + Sources PathGlobs + Use string + User string + WorkingDir string + func (c *JobConfig) Dependencies() []string + func (c *JobConfig) Resolve(resolver Resolver) (Resource, error) + func (c *JobConfig) String() string + func (c *JobConfig) Validate(path pth.Path, config *Config) *pth.Error + type MetaConfig struct + Default string + ExecID string + Include PathGlobs + Project string + func NewMetaConfig(name string, values map[string]interface{}) (*MetaConfig, error) + func (m *MetaConfig) IsZero() bool + func (m *MetaConfig) Validate(config *Config) error + type MountConfig struct + Bind string + File bool + Mode int + Name string + Path string + ReadOnly bool + func (c *MountConfig) Dependencies() []string + func (c *MountConfig) IsBind() bool + func (c *MountConfig) Resolve(resolver Resolver) (Resource, error) + func (c *MountConfig) String() string + func (c *MountConfig) Validate(path pth.Path, config *Config) *pth.Error + func (c *MountConfig) ValidateMode() error + type PathGlobs struct + func (p *PathGlobs) Empty() bool + func (p *PathGlobs) Globs() []string + func (p *PathGlobs) NoMatches() bool + func (p *PathGlobs) Paths() []string + func (p *PathGlobs) String() string + func (p *PathGlobs) TransformConfig(raw reflect.Value) error + func (p *PathGlobs) Validate() error + type Resolver interface + Resolve func(tmpl string) (string, error) + ResolveSlice func(tmpls []string) ([]string, error) + type Resource interface + CategoryTags func() []string + Dependencies func() []string + Describe func() string + Resolve func(Resolver) (Resource, error) + String func() string + Validate func(pth.Path, *Config) *pth.Error + type ShlexSlice struct + func (s *ShlexSlice) Empty() bool + func (s *ShlexSlice) String() string + func (s *ShlexSlice) TransformConfig(raw reflect.Value) error + func (s *ShlexSlice) Value() []string