queuemanage

package
v1.0.0-RC Latest Latest
Warning

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

Go to latest
Published: May 21, 2021 License: AGPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Option

type Option func(*QueueManage)

func WithDBClient

func WithDBClient(dbClient *dbclient.Client) Option

type QueueManage

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

func New

func New(ops ...Option) *QueueManage

func (*QueueManage) CreatePipelineQueue

CreatePipelineQueue create a pipeline queue.

func (*QueueManage) DeletePipelineQueue

func (qm *QueueManage) DeletePipelineQueue(queueID uint64) error

DeletePipelineQueue delete a pipeline queue by id.

func (*QueueManage) GetPipelineQueue

func (qm *QueueManage) GetPipelineQueue(queueID uint64) (*apistructs.PipelineQueue, error)

GetPipelineQueue get a pipeline queue by id.

func (*QueueManage) PagingPipelineQueues

PagingPipelineQueues

func (*QueueManage) UpdatePipelineQueue

UpdatePipelineQueue update queue all fields by id.

Jump to

Keyboard shortcuts

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