Documentation ¶
Index ¶
Constants ¶
View Source
const Collection database.Collection = "pipelines"
View Source
const CollectionRuns database.Collection = "pipeline_runs"
View Source
const CollectionVersions database.Collection = "pipeline_versions"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service interface { EnsureIndices() error ListPipelinesPaginated(perPage int, page int) (sdk.PipelinePage, error) GetPipeline(id string) (sdk.Pipeline, error) ListPipelineRuns(id string, fromIncl time.Time, toExcl time.Time) (sdk.PipelineStatusList, error) ListPipelineRunsLimit(id string, toExcl time.Time, limit int) (sdk.PipelineStatusList, error) ListPipelineVersions(id string, fromIncl time.Time, toExcl time.Time) (sdk.PipelineVersionList, error) UpdatePipelines(providerId string, pipelines []sdk.Pipeline) error AddPipelineRuns(providerId string, runs sdk.PipelineStatusList) error AddPipelineVersions(providerId string, versions sdk.PipelineVersionList) error }
func NewService ¶
Click to show internal directories.
Click to hide internal directories.