cdp

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Aug 15, 2024 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Overview

Package cdp pipeline相关的结构信息

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CDP

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

CDP pipeline 结构体

func New

func New(options ...Option) *CDP

New CDP service

func (*CDP) CdpNotifyProcess

func (cdp *CDP) CdpNotifyProcess(pipelineEvent *apistructs.PipelineInstanceEvent) error

type Option

type Option func(*CDP)

Option CDP 配置选项

func WithBundle

func WithBundle(bdl *bundle.Bundle) Option

WithBundle 配置 bundle

func WithOrg

func WithOrg(org org.Interface) Option

func WithResourceTranslator

func WithResourceTranslator(resourceTrans i18n.Translator) Option

Jump to

Keyboard shortcuts

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