Versions in this module Expand all Collapse all v1 v1.0.10 Oct 9, 2018 Changes in this version type Network + IsDefault bool + SkipCreation bool type Step + DisableWorkingDirectoryOverride bool + Retries int + RetryDelayInSeconds int type Task + Envs []string v1.0.9 Sep 17, 2018 Changes in this version type Network + Driver string type Step + Expose []string + func (s *Step) UpdateBuildStepWithDefaults() v1.0.8 Sep 10, 2018 v1.0.7 Sep 6, 2018 Changes in this version + const DefaultNetworkName + type Network struct + Ipv6 bool + Name string + func NewNetwork(name string, ipv6 bool) *Network + func (n *Network) Create(ctx context.Context, pm *procmanager.ProcManager) (string, error) + func (n *Network) Delete(ctx context.Context, pm *procmanager.ProcManager) (string, error) type Step + IgnoreErrors bool + Push []string + WorkingDirectory string + func (s *Step) IsCmdStep() bool + func (s *Step) IsPushStep() bool type Task + IsBuildTask bool + Networks []*Network + WorkingDirectory string v1.0.5 Aug 21, 2018 Changes in this version type Dag + func NewDagFromTask(t *Task) (*Dag, error) type Step + Build string + Cmd string + Isolation string + Keep bool + Network string + type Task struct + Dag *Dag + Push []string + RegistryName string + RegistryPassword string + RegistryUsername string + Secrets []*Secret + StepTimeout int + Steps []*Step + TotalTimeout int + Version string + WorkDir string + func NewTask(steps []*Step, push []string, secrets []*Secret, registry string, user string, ...) (*Task, error) + func UnmarshalTaskFromFile(file, registry, user, pw string) (*Task, error) + func UnmarshalTaskFromString(data, registry, user, pw string) (*Task, error) + func (t *Task) UsingRegistryCreds() bool v1.0.3 Aug 8, 2018 v1.0.2 Aug 8, 2018 Changes in this version type Step + Privileged bool + User string v1.0.1 Aug 6, 2018 Changes in this version + const ImmediateExecutionToken + type Dag struct + Nodes map[string]*Node + Root *Node + func NewDag() *Dag + func NewDagFromPipeline(p *Pipeline) (*Dag, error) + func (d *Dag) AddEdge(from string, to string) error + func (d *Dag) AddVertex(value *Step) (*Node, error) + func (d *Dag) RemoveEdge(from string, to string) error + type Node struct + Name string + Value *Step + func NewNode(value *Step) *Node + func (n *Node) Children() []*Node + func (n *Node) GetDegree() int + type Pipeline struct + Dag *Dag + Push []string + RegistryName string + RegistryPassword string + RegistryUsername string + Secrets []*Secret + StepTimeout int + Steps []*Step + TotalTimeout int + WorkDir string + func NewPipeline(steps []*Step, push []string, secrets []*Secret, registry string, user string, ...) (*Pipeline, error) + func UnmarshalPipelineFromFile(file, registry, user, pw string) (*Pipeline, error) + func UnmarshalPipelineFromString(data, registry, user, pw string) (*Pipeline, error) + func (p *Pipeline) UsingRegistryCreds() bool + type Secret struct + Akv string + SecretEnv string + type SelfReferencedStepError struct + func NewSelfReferencedStepError(message string) *SelfReferencedStepError + func (e *SelfReferencedStepError) Error() string + type Step struct + BuildArgs []string + CompletedChan chan bool + Detach bool + EndTime time.Time + EntryPoint string + Envs []string + ExitedWith []int + ExitedWithout []int + ID string + ImageDependencies []*models.ImageDependencies + Ports []string + Rm bool + Run string + SecretEnvs []string + StartDelay int + StartTime time.Time + StepStatus StepStatus + Tags []string + Timeout int + When []string + WorkDir string + func (s *Step) Equals(t *Step) bool + func (s *Step) HasNoWhen() bool + func (s *Step) IsBuildStep() bool + func (s *Step) ShouldExecuteImmediately() bool + func (s *Step) Validate() error + type StepStatus string + const Failed + const InProgress + const Skipped + const Successful