Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ErrPipelineNotFound for pipeline. ErrPipelineNotFound = errors.New("pipeline not found") // ErrInvalidPipelineName for pipeline. ErrInvalidPipelineName = errors.New("invalid pipeline name") // ErrMissingJobs for pipeline. ErrMissingJobs = errors.New("missing jobs") // ErrInvalidJobName for pipeline. ErrInvalidJobName = errors.New("invalid job name") // ErrMissingSteps for pipeline. ErrMissingSteps = errors.New("missing steps") // ErrInvalidID for pipeline. ErrInvalidID = errors.New("invalid id") )
View Source
var Module = fx.Options( fx.Provide(NewService), fx.Provide(NewRepository), )
Module for fx.
Functions ¶
Types ¶
type InMemoryRepository ¶
type InMemoryRepository struct {
// contains filtered or unexported fields
}
InMemoryRepository for pipeline.
type Repository ¶
type Repository interface { // Get a pipeline. Get(id ID) (*Pipeline, error) // Create a pipeline. Create(p *Pipeline) (*Pipeline, error) }
Repository for pipeline.
Click to show internal directories.
Click to hide internal directories.