pipeline

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Dec 9, 2024 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// CreateFlag defines the pipeline path to create a pipeline.
	CreateFlag = flags.String()

	// GetFlag defines a pipeline id to be retrieved.
	GetFlag = flags.String()

	// GetFlag defines the id and pipeline path to update.
	UpdateFlag = flags.String()

	// DeleteFlag defines a pipeline to be deleted by the provided id.
	DeleteFlag = flags.String()
)

Module for fx.

Functions

func NewClient added in v0.8.0

func NewClient() *resty.Client

NewClient for pipeline.

func Start

func Start(lc fx.Lifecycle, service *Service, logger *zap.Logger) error

Start for redis.

Types

type Service added in v0.8.0

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

Service for pipeline.

func NewService added in v0.8.0

func NewService(client *resty.Client, cfg *pipeline.Config) *Service

NewService for pipeline.

func (*Service) Create added in v0.8.0

func (s *Service) Create(ctx context.Context) context.Context

Create a pipeline.

func (*Service) Delete added in v0.8.0

func (s *Service) Delete(ctx context.Context) context.Context

Delete a pipeline.

func (*Service) Get added in v0.8.0

func (s *Service) Get(ctx context.Context) context.Context

Get a pipelines.

func (*Service) Update added in v0.8.0

func (s *Service) Update(ctx context.Context) context.Context

Update a pipeline.

Jump to

Keyboard shortcuts

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