definition

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: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterDefinitionHandler

func RegisterDefinitionHandler(definitionHandler ProcessHandler)

Types

type PipelineDefinitionProcess

type PipelineDefinitionProcess struct {
	ID                    uint64                              `json:"id"`
	PipelineSource        apistructs.PipelineSource           `json:"pipelineSource"`
	PipelineYmlName       string                              `json:"pipelineYmlName"`
	PipelineYml           string                              `json:"pipelineYml"`
	SnippetConfig         *apistructs.SnippetConfigOrder      `json:"snippetConfig"`
	VersionLock           uint64                              `json:"versionLock"`
	PipelineCreateRequest *apistructs.PipelineCreateRequestV2 `json:"pipelineCreateRequest"`

	IsDelete    bool       `json:"isDelete"`
	TimeCreated *time.Time `json:"timeCreated,omitempty"`
	TimeUpdated *time.Time `json:"timeUpdated,omitempty"`
}

type ProcessHandler

type ProcessHandler func(definition PipelineDefinitionProcess, yml pipelineyml.PipelineYml) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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