Documentation ¶
Index ¶
- func CreatePipeline(c echo.Context) error
- func CreatePipelineGetAll(c echo.Context) error
- func GetJobLogs(c echo.Context) error
- func InitHandlers(e *echo.Echo, store *store.Store, scheduler *scheduler.Scheduler) error
- func PipelineGet(c echo.Context) error
- func PipelineGetAll(c echo.Context) error
- func PipelineGetAllRuns(c echo.Context) error
- func PipelineGetAllWithLatestRun(c echo.Context) error
- func PipelineGetLatestRun(c echo.Context) error
- func PipelineGitLSRemote(c echo.Context) error
- func PipelineNameAvailable(c echo.Context) error
- func PipelineRunGet(c echo.Context) error
- func PipelineStart(c echo.Context) error
- func UserAdd(c echo.Context) error
- func UserChangePassword(c echo.Context) error
- func UserDelete(c echo.Context) error
- func UserGetAll(c echo.Context) error
- func UserLogin(c echo.Context) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreatePipeline ¶
CreatePipeline accepts all data needed to create a pipeline. It then starts the create pipeline execution process async.
func CreatePipelineGetAll ¶
CreatePipelineGetAll returns a json array of all pipelines which are about to get compiled and all pipelines which have been compiled.
func GetJobLogs ¶
GetJobLogs returns jobs for a given job. If no jobID is given, a collection of all jobs logs will be returned.
Required parameters: pipelineid - Related pipeline id pipelinerunid - Related pipeline run id
Optional parameters: jobid - Job id
func InitHandlers ¶
InitHandlers initializes(registers) all handlers
func PipelineGet ¶
PipelineGet accepts a pipeline id and returns the pipeline object.
func PipelineGetAll ¶
PipelineGetAll returns all registered pipelines.
func PipelineGetAllRuns ¶
PipelineGetAllRuns returns all runs about the given pipeline.
func PipelineGetAllWithLatestRun ¶
PipelineGetAllWithLatestRun returns the latest of all registered pipelines included with the latest run.
func PipelineGetLatestRun ¶
PipelineGetLatestRun returns the latest run of a pipeline, given by id.
func PipelineGitLSRemote ¶
PipelineGitLSRemote checks for available git remote branches. This is the perfect way to check if we have access to a given repo.
func PipelineNameAvailable ¶
PipelineNameAvailable looks up if the given pipeline name is available and valid.
func PipelineRunGet ¶
PipelineRunGet returns details about a specific pipeline run. Required parameters are pipelineid and runid.
func PipelineStart ¶
PipelineStart starts a pipeline by the given id. Afterwards it returns the created/scheduled pipeline run.
func UserChangePassword ¶
UserChangePassword changes the password from a user.
func UserGetAll ¶
UserGetAll returns all users stored in store.
Types ¶
This section is empty.