Documentation
¶
Index ¶
- func DefaultTaskProperties() map[string]string
- func ParseSeconds(s string) (uint32, error)
- type Behavior
- type DockerPipe
- func (pipe *DockerPipe) DependsOnIDs() []int64
- func (pipe *DockerPipe) DependsOnNames() []string
- func (pipe *DockerPipe) Enabled(env map[string]string, boolevator *boolevator.Boolevator) (bool, error)
- func (pipe *DockerPipe) ID() int64
- func (pipe *DockerPipe) Name() string
- func (pipe *DockerPipe) Parse(node *node.Node) error
- func (pipe *DockerPipe) Proto() interface{}
- func (pipe *DockerPipe) Schema() *jsschema.Schema
- func (pipe *DockerPipe) SetDependsOnIDs(ids []int64)
- func (pipe *DockerPipe) SetID(id int64)
- func (pipe *DockerPipe) SetIndexWithinBuild(id int64)
- func (pipe *DockerPipe) SetName(name string)
- type ParseableTaskLike
- type PipeResources
- type PipeStep
- type Task
- func (task *Task) DependsOnIDs() []int64
- func (task *Task) DependsOnNames() []string
- func (task *Task) Enabled(env map[string]string, boolevator *boolevator.Boolevator) (bool, error)
- func (task *Task) ID() int64
- func (task *Task) Name() string
- func (task *Task) Parse(node *node.Node) error
- func (task *Task) Proto() interface{}
- func (task *Task) Schema() *jsschema.Schema
- func (task *Task) SetDependsOnIDs(ids []int64)
- func (task *Task) SetID(id int64)
- func (task *Task) SetIndexWithinBuild(id int64)
- func (task *Task) SetName(name string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DefaultTaskProperties ¶ added in v0.9.0
func ParseSeconds ¶ added in v0.8.0
Types ¶
type Behavior ¶
type Behavior struct { parseable.DefaultParser // contains filtered or unexported fields }
func NewBehavior ¶
func NewBehavior(mergedEnv map[string]string, boolevator *boolevator.Boolevator) *Behavior
type DockerPipe ¶
type DockerPipe struct { parseable.DefaultParser // contains filtered or unexported fields }
func NewDockerPipe ¶
func NewDockerPipe(env map[string]string, boolevator *boolevator.Boolevator) *DockerPipe
func (*DockerPipe) DependsOnIDs ¶
func (pipe *DockerPipe) DependsOnIDs() []int64
func (*DockerPipe) DependsOnNames ¶
func (pipe *DockerPipe) DependsOnNames() []string
func (*DockerPipe) Enabled ¶
func (pipe *DockerPipe) Enabled(env map[string]string, boolevator *boolevator.Boolevator) (bool, error)
func (*DockerPipe) ID ¶
func (pipe *DockerPipe) ID() int64
func (*DockerPipe) Name ¶
func (pipe *DockerPipe) Name() string
func (*DockerPipe) Proto ¶
func (pipe *DockerPipe) Proto() interface{}
func (*DockerPipe) Schema ¶ added in v0.18.0
func (pipe *DockerPipe) Schema() *jsschema.Schema
func (*DockerPipe) SetDependsOnIDs ¶
func (pipe *DockerPipe) SetDependsOnIDs(ids []int64)
func (*DockerPipe) SetID ¶
func (pipe *DockerPipe) SetID(id int64)
func (*DockerPipe) SetIndexWithinBuild ¶ added in v0.15.0
func (pipe *DockerPipe) SetIndexWithinBuild(id int64)
func (*DockerPipe) SetName ¶
func (pipe *DockerPipe) SetName(name string)
type ParseableTaskLike ¶
type ParseableTaskLike interface { Name() string SetName(name string) DependsOnNames() []string ID() int64 SetID(id int64) SetIndexWithinBuild(id int64) DependsOnIDs() []int64 SetDependsOnIDs(ids []int64) Enabled(env map[string]string, boolevator *boolevator.Boolevator) (bool, error) parseable.Parseable }
type PipeResources ¶ added in v0.9.0
type PipeResources struct { parseable.DefaultParser // contains filtered or unexported fields }
func NewPipeResources ¶ added in v0.9.0
func NewPipeResources(mergedEnv map[string]string) *PipeResources
func (*PipeResources) Parse ¶ added in v0.9.0
func (res *PipeResources) Parse(node *node.Node) error
func (*PipeResources) Schema ¶ added in v0.18.0
func (res *PipeResources) Schema() *jsschema.Schema
type PipeStep ¶
type PipeStep struct { parseable.DefaultParser // contains filtered or unexported fields }
func NewPipeStep ¶
func NewPipeStep(mergedEnv map[string]string, boolevator *boolevator.Boolevator) *PipeStep
type Task ¶
type Task struct { parseable.DefaultParser // contains filtered or unexported fields }
func NewTask ¶
func NewTask( env map[string]string, boolevator *boolevator.Boolevator, additionalInstances map[string]protoreflect.MessageDescriptor, ) *Task
nolint:gocognit,gocyclo // it's a parser, there is a lot of boilerplate
func (*Task) DependsOnIDs ¶
func (*Task) DependsOnNames ¶
func (*Task) Enabled ¶
func (task *Task) Enabled(env map[string]string, boolevator *boolevator.Boolevator) (bool, error)
func (*Task) SetDependsOnIDs ¶
func (*Task) SetIndexWithinBuild ¶ added in v0.15.0
Source Files
¶
Click to show internal directories.
Click to hide internal directories.