Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LocalSource ¶
type LocalSource struct { Type SourceType `json:"type"` Path string `json:"path"` }
type Pipeline ¶
type Pipeline struct { Configuration map[string]Process Prepare map[string]Process Build map[string]Process Package map[string]Process Deploy map[string]Process Running []Process }
Pipeline represents the entire development process
func NewPipeline ¶
func NewPipeline() *Pipeline
type Project ¶
type Project struct { Id string `json:"id"` // Project name LocalSource *LocalSource `json:"local_source,omitempty"` // Local source project configuration RemoteSource *RemoteSource `json:"remote_source,omitempty"` // Remote source project configuration Triggers chan *Trigger `json:"-"` Logs chan *Log `json:"-"` // Stream of output }
Project
func NewProject ¶
func (*Project) AssignLocalSource ¶
func (p *Project) AssignLocalSource(t SourceType, path string)
func (*Project) AssignRemoteSource ¶
func (p *Project) AssignRemoteSource(t SourceType, url string)
type RemoteSource ¶
type RemoteSource struct { Type SourceType `json:"type"` Url string `json:"url"` }
type SourceType ¶
type SourceType int
const ( LogBufferSize = 10 Directory SourceType = 1 << iota Git Mercurial )
Click to show internal directories.
Click to hide internal directories.