common

package
v0.0.0-...-0b89419 Latest Latest
Warning

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

Go to latest
Published: Apr 17, 2024 License: Apache-2.0 Imports: 16 Imported by: 1

Documentation

Index

Constants

View Source
const (
	// ReasonFailedValidation indicates that the reason for failure status is that Run failed runtime validation
	ReasonFailedValidation = "RunValidationFailed"

	// ReasonDriverError indicates that an error is throw while running the driver
	ReasonDriverError = "DriverError"

	ExecutionID    = "execution-id"
	Condition      = "condition"
	IterationCount = "iteration-count"
)

Variables

This section is empty.

Functions

func DAGPublisher

func DAGPublisher(ctx context.Context, opts driver.Options, mlmd *metadata.Client, status pb.Execution_State) (err error)

func ExecDriver

func ExecDriver(ctx context.Context, options *driverOptions) (*[]tektonv1beta1.CustomRunResult, bool, string, string, string, error)

func GetKubernetesExecutorConfig

func GetKubernetesExecutorConfig(options *driverOptions) *kubernetesplatform.KubernetesExecutorConfig

func ParseParams

func ParseParams(run *tektonv1beta1.CustomRun) (*driverOptions, *apis.FieldError)

func UpdateDAGPublisher

func UpdateDAGPublisher(ctx context.Context, options *driverOptions, status pb.Execution_State) (err error)

func UpdateOptionsDAGExecutionID

func UpdateOptionsDAGExecutionID(options *driverOptions, DAGExecutionID string)

func UpdateOptionsIterationIndex

func UpdateOptionsIterationIndex(options *driverOptions, iterationIndex int)

Types

This section is empty.

Jump to

Keyboard shortcuts

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