Documentation ¶
Index ¶
Constants ¶
View Source
const DefaultPageSize = 10
DefaultPageSize is the default pagination page size when page size is not assigned
View Source
const MaxPageSize = 100
MaxPageSize is the maximum pagination page size if the assigned value is over this number
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Repository ¶
type Repository interface { CreatePipeline(pipeline *datamodel.Pipeline) error ListPipeline(owner string, pageSize int64, pageToken string, isBasicView bool, filter filtering.Filter) ([]datamodel.Pipeline, int64, string, error) GetPipelineByID(id string, owner string, isBasicView bool) (*datamodel.Pipeline, error) GetPipelineByUID(uid uuid.UUID, owner string, isBasicView bool) (*datamodel.Pipeline, error) UpdatePipeline(id string, owner string, pipeline *datamodel.Pipeline) error DeletePipeline(id string, owner string) error UpdatePipelineID(id string, owner string, newID string) error UpdatePipelineState(id string, owner string, state datamodel.PipelineState) error }
Repository interface
func NewRepository ¶
func NewRepository(db *gorm.DB) Repository
NewRepository initiates a repository instance
type Transpiler ¶
type Transpiler struct {
// contains filtered or unexported fields
}
Transpiler data
Click to show internal directories.
Click to hide internal directories.