Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Dependencies ¶
type Dependencies struct { Scheduler service.GaiaScheduler PipelineService pipeline.Service }
Dependencies define providers and services which this service needs.
type PipelineProvider ¶
type PipelineProvider interface { PipelineGitLSRemote(c echo.Context) error CreatePipeline(c echo.Context) error CreatePipelineGetAll(c echo.Context) error PipelineNameAvailable(c echo.Context) error PipelineGet(c echo.Context) error PipelineGetAll(c echo.Context) error PipelineUpdate(c echo.Context) error PipelineDelete(c echo.Context) error PipelineTrigger(c echo.Context) error PipelineResetToken(c echo.Context) error PipelineTriggerAuth(c echo.Context) error PipelineStart(c echo.Context) error PipelineGetAllWithLatestRun(c echo.Context) error PipelineCheckPeriodicSchedules(c echo.Context) error PipelineStop(c echo.Context) error PipelineRunGet(c echo.Context) error PipelineGetAllRuns(c echo.Context) error PipelineGetLatestRun(c echo.Context) error GetJobLogs(c echo.Context) error }
PipelineProvider defines functionality which this provider provides. These are used by the handler service.
func NewPipelineProvider ¶
func NewPipelineProvider(deps Dependencies) PipelineProvider
NewPipelineProvider creates a new provider with the needed dependencies.
Click to show internal directories.
Click to hide internal directories.