Documentation ¶
Index ¶
- func RunPipeline(definition *Definition) error
- func RunStage(ctx context.Context, cli *client.Client, containerId string, stage Stage) error
- func RunStages(ctx context.Context, cli *client.Client, containerId string, ...) error
- func RunStep(context context.Context, cli *client.Client, containerId string, step Step) error
- func StartContainer(ctx context.Context, cli *client.Client, image string) (string, error)
- type Application
- type Definition
- type Project
- type Stage
- type Step
- type User
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RunPipeline ¶
func RunPipeline(definition *Definition) error
Types ¶
type Application ¶
type Definition ¶
type Definition struct { Image string `yaml:"image"` Repository string `yaml:"repository"` Stages []Stage `yaml:"stages"` }
func NewDefinition ¶
func NewDefinition(yamlContent []byte) (*Definition, error)
func (*Definition) GetTemplate ¶
func (d *Definition) GetTemplate(actualStep *Step) (Step, error)
func (*Definition) GetZipTemplate ¶
func (d *Definition) GetZipTemplate(actualStep *Step) (Step, error)
Click to show internal directories.
Click to hide internal directories.