template

package
v1.5.0 Latest Latest
Warning

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

Go to latest
Published: Jan 6, 2022 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

Types

type Option

type Option func(*PipelineTemplate)

Option 定义 Extension 对象的配置选项

func WithBundle

func WithBundle(bdl *bundle.Bundle) Option

WithBundle 配置 bundle

func WithDBClient

func WithDBClient(db *dbclient.DBClient) Option

WithDBClient 配置 db client

type PipelineTemplate

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

func New

func New(options ...Option) *PipelineTemplate

New 新建 Extension 实例,操作 Extension 资源

func (*PipelineTemplate) Apply

func (*PipelineTemplate) Create

func (*PipelineTemplate) GetPipelineTemplateVersion

func (*PipelineTemplate) QueryPipelineTemplateVersions

func (*PipelineTemplate) QueryPipelineTemplates

func (*PipelineTemplate) RenderPipelineTemplate

func (*PipelineTemplate) RenderPipelineTemplateBySpec

Jump to

Keyboard shortcuts

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