Versions in this module Expand all Collapse all v0 v0.2.2 Dec 12, 2018 Changes in this version + func CreatePipeline(p *gaia.CreatePipeline) + func DeleteBinary(p gaia.Pipeline) error + func GetExecPath(p gaia.Pipeline) string + func GitLSRemote(repo *gaia.GitRepo) error + func InitTicker() + func RenameBinary(p gaia.Pipeline, newName string) error + func UpdateRepository(pipe *gaia.Pipeline) error + type ActivePipelines struct + Pipelines []gaia.Pipeline + var GlobalActivePipelines *ActivePipelines + func NewActivePipelines() *ActivePipelines + func (ap *ActivePipelines) Append(p gaia.Pipeline) + func (ap *ActivePipelines) Contains(n string) bool + func (ap *ActivePipelines) GetByName(n string) *gaia.Pipeline + func (ap *ActivePipelines) Iter() <-chan gaia.Pipeline + func (ap *ActivePipelines) Remove(index int) + func (ap *ActivePipelines) RemoveDeletedPipelines(existingPipelineNames []string) + func (ap *ActivePipelines) Replace(p gaia.Pipeline) bool + func (ap *ActivePipelines) ReplaceByName(n string, p gaia.Pipeline) bool + func (ap *ActivePipelines) Update(index int, p gaia.Pipeline) + type BuildPipeline interface + CopyBinary func(*gaia.CreatePipeline) error + ExecuteBuild func(*gaia.CreatePipeline) error + PrepareEnvironment func(*gaia.CreatePipeline) error + SavePipeline func(*gaia.Pipeline) error + type BuildPipelineCpp struct + Type gaia.PipelineType + func (b *BuildPipelineCpp) CopyBinary(p *gaia.CreatePipeline) error + func (b *BuildPipelineCpp) ExecuteBuild(p *gaia.CreatePipeline) error + func (b *BuildPipelineCpp) PrepareEnvironment(p *gaia.CreatePipeline) error + func (b *BuildPipelineCpp) SavePipeline(p *gaia.Pipeline) error + type BuildPipelineGolang struct + Type gaia.PipelineType + func (b *BuildPipelineGolang) CopyBinary(p *gaia.CreatePipeline) error + func (b *BuildPipelineGolang) ExecuteBuild(p *gaia.CreatePipeline) error + func (b *BuildPipelineGolang) PrepareEnvironment(p *gaia.CreatePipeline) error + func (b *BuildPipelineGolang) SavePipeline(p *gaia.Pipeline) error + type BuildPipelineJava struct + Type gaia.PipelineType + func (b *BuildPipelineJava) CopyBinary(p *gaia.CreatePipeline) error + func (b *BuildPipelineJava) ExecuteBuild(p *gaia.CreatePipeline) error + func (b *BuildPipelineJava) PrepareEnvironment(p *gaia.CreatePipeline) error + func (b *BuildPipelineJava) SavePipeline(p *gaia.Pipeline) error + type BuildPipelinePython struct + Type gaia.PipelineType + func (b *BuildPipelinePython) CopyBinary(p *gaia.CreatePipeline) error + func (b *BuildPipelinePython) ExecuteBuild(p *gaia.CreatePipeline) error + func (b *BuildPipelinePython) PrepareEnvironment(p *gaia.CreatePipeline) error + func (b *BuildPipelinePython) SavePipeline(p *gaia.Pipeline) error + type GithubClient struct + Repositories GithubRepoService + func NewGithubClient(httpClient *gohttp.Client, repoMock GithubRepoService) GithubClient + type GithubRepoService interface + CreateHook func(ctx context.Context, owner, repo string, hook *github.Hook) (*github.Hook, *github.Response, error)