Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrInvalidBuild = errors.New("invalid build") ErrInvalidPipeline = errors.New("invalid project") ErrInvalidProject = errors.New("invalid pipeline") ErrInvalidSecrets = errors.New("invalid secrets") ErrInvalidVariables = errors.New("invalid variables") ErrBuildSave = errors.New("unable to save build to database") ErrBuildInitFailed = errors.New("build init ended with error") )
View Source
var ErrBuildCancelled = errors.New("build cancelled")
Functions ¶
This section is empty.
Types ¶
type Engine ¶
type Engine struct {
// contains filtered or unexported fields
}
func (*Engine) AddToQueue ¶
func (e *Engine) AddToQueue(ctx model.QueueContext)
func (*Engine) ChangeInWorkers ¶
func (e *Engine) ChangeInWorkers()
type EngineEvent ¶
type EngineEvent int
const ( EventSchedule EngineEvent = iota EventFinished EventAddToQueue EventChangeInWorkers EventShutdown )
func (EngineEvent) String ¶
func (e EngineEvent) String() string
type EngineEventStatus ¶
type EngineEventStatus int
const ( EventReceived EngineEventStatus = iota EventProcessed EventComplete EventFailed )
func (EngineEventStatus) String ¶
func (s EngineEventStatus) String() string
Source Files ¶
Click to show internal directories.
Click to hide internal directories.