pipeline

package
v0.0.0-...-6a3170c Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 17, 2025 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Overview

Package pipeline is a helper package to create and manage pipelines. It combines complex logic and data structures to provide a simple and easy-to-use interface for creating and managing pipelines.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CreatePipelineResponse

type CreatePipelineResponse struct {
	CreatedPipeline       *db.Pipeline
	CreatedJobs           []*db.Job
	CreatedJobExecutions  []*db.JobExecution
	CreatedSteps          []*db.Step
	CreatedStepExecutions []*db.StepExecution
}

type Service

type Service struct {
	// contains filtered or unexported fields
}

func NewService

func NewService(dbClient *db.Client) *Service

func (*Service) CreatePipeline

func (s *Service) CreatePipeline(ctx context.Context, pipeline *api.PipelineDSL) (*CreatePipelineResponse, error)

CreatePipeline creates a new pipeline and inserts into db.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
⌂ 换网址