dao

package
v0.0.0-...-d125d34 Latest Latest
Warning

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

Go to latest
Published: May 8, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInsertPipeline = errors.New("Insert pipeline error")
)

Functions

This section is empty.

Types

type DAO

type DAO interface {
	// Create create a pipeline
	Create(ctx context.Context, results *tekton.PipelineResults, data *global.HorizonMetaData) error
	// ListPipelineStats list pipeline stats by query struct
	ListPipelineStats(ctx context.Context, query *q.Query) ([]*models.PipelineStats, int64, error)
}

func NewDAO

func NewDAO(db *gorm.DB) DAO

Jump to

Keyboard shortcuts

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