Documentation ¶
Overview ¶
Package ci is an implementation of ci manager.
Package ci is an implementation of ci manager.
Index ¶
- Variables
- type Manager
- func (cm *Manager) ExecBuild(r *runner.Build) error
- func (cm *Manager) ExecIntegration(r *runner.Build) error
- func (cm *Manager) ExecPostBuild(r *runner.Build) error
- func (cm *Manager) ExecPreBuild(r *runner.Build) error
- func (cm *Manager) ExecPublish(r *runner.Build) error
- func (cm *Manager) LoadTree(event *api.Event, tree *parser.Tree) (*runner.Build, error)
- func (cm *Manager) Parse(event *api.Event) (*parser.Tree, error)
- func (cm *Manager) Setup(r *runner.Build) error
- func (cm *Manager) Teardown(r *runner.Build) error
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ErrYamlNotExist defines a error caused by no yaml found. ErrYamlNotExist = errors.New("yaml not found") // ErrCustomYamlNotExist defines a error caused by custom yaml not found. ErrCustomYamlNotExist = errors.New("custom yaml not found") )
Functions ¶
This section is empty.
Types ¶
type Manager ¶
type Manager struct {
// contains filtered or unexported fields
}
Manager manages all CI operations.
func NewManager ¶
NewManager creates a new CI manager.
func (*Manager) ExecIntegration ¶
ExecIntegration executes the 'integration' section in yaml file
func (*Manager) ExecPostBuild ¶
ExecPostBuild executes the 'postbuild' section in yaml file
func (*Manager) ExecPreBuild ¶
ExecPreBuild executes the 'pre build' section in yaml file
func (*Manager) ExecPublish ¶
ExecBuild executes publish image to registry.
Directories ¶
Path | Synopsis |
---|---|
Package parser is an implementation of yaml parser.
|
Package parser is an implementation of yaml parser. |
Package runner is an implementation of job runner.
|
Package runner is an implementation of job runner. |
Package yaml is an implementation of yaml compiler.
|
Package yaml is an implementation of yaml compiler. |
Click to show internal directories.
Click to hide internal directories.