controller

package
v0.0.0-...-b49f959 Latest Latest
Warning

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

Go to latest
Published: Mar 6, 2024 License: Apache-2.0 Imports: 22 Imported by: 0

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"

	// ReasonDriverSuccess indicates that driver finished successfully
	ReasonDriverSuccess = "DriverSuccess"

	ExecutionID    = "execution-id"
	ExecutorInput  = "executor-input"
	CacheDecision  = "cached-decision"
	Condition      = "condition"
	IterationCount = "iteration-count"
	PodSpecPatch   = "pod-spec-patch"
)
View Source
const (
	ControllerName = "kfp-driver"
)

Variables

This section is empty.

Functions

func NewController

func NewController(ctx context.Context, cmw configmap.Watcher) *controller.Impl

NewController creates a Reconciler for Run and returns the result of NewImpl.

Types

type Reconciler

type Reconciler struct {
}

Reconciler implements controller.Reconciler for Run resources.

func (*Reconciler) ReconcileKind

func (r *Reconciler) ReconcileKind(ctx context.Context, run *v1beta1.CustomRun) reconciler.Event

ReconcileKind implements Interface.ReconcileKind.

Jump to

Keyboard shortcuts

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