tasks

package
v0.13.0 Latest Latest
Warning

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

Go to latest
Published: Oct 18, 2024 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

View Source
const (
	TaskCanceledReason    = "TaskCanceled"
	LifecycleLauncherPath = "/cnb/lifecycle/launcher"
)

Variables

This section is empty.

Functions

func NewReconciler

func NewReconciler(
	client client.Client,
	scheme *runtime.Scheme,
	recorder record.EventRecorder,
	log logr.Logger,
	envBuilder TaskEnvBuilder,
	taskTTLDuration time.Duration,
) *k8s.PatchingReconciler[korifiv1alpha1.CFTask, *korifiv1alpha1.CFTask]

Types

type Reconciler

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

func (*Reconciler) ReconcileResource

func (r *Reconciler) ReconcileResource(ctx context.Context, cfTask *korifiv1alpha1.CFTask) (ctrl.Result, error)

func (*Reconciler) SetupWithManager

func (r *Reconciler) SetupWithManager(mgr ctrl.Manager) *builder.Builder

type TaskEnvBuilder

type TaskEnvBuilder interface {
	Build(context.Context, *korifiv1alpha1.CFApp) ([]corev1.EnvVar, error)
}

Jump to

Keyboard shortcuts

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