taskcontroller

package
v0.0.0-...-f651028 Latest Latest
Warning

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

Go to latest
Published: May 30, 2023 License: MIT Imports: 25 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DefaultFfmpegContainerImage string

Functions

func EnsureConfigMapVolume

func EnsureConfigMapVolume(job *batchv1.Job, name, configMapName string)

func SetupTaskController

func SetupTaskController(mgr ctrl.Manager) error

SetupTaskController adds a controller that reconciles managed resources.

Types

type TaskContext

type TaskContext struct {
	context.Context
	// contains filtered or unexported fields
}

TaskContext holds the parameters of a single reconciliation

type TaskOpts

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

type TaskReconciler

type TaskReconciler struct {
	Client client.Client
	Log    logr.Logger
}

TaskReconciler reconciles Task objects

func (*TaskReconciler) Deprovision

func (r *TaskReconciler) Deprovision(_ context.Context, _ *v1alpha1.Task) (reconcile.Result, error)

func (*TaskReconciler) NewObject

func (r *TaskReconciler) NewObject() *v1alpha1.Task

func (*TaskReconciler) Provision

func (r *TaskReconciler) Provision(ctx context.Context, obj *v1alpha1.Task) (reconcile.Result, error)

Jump to

Keyboard shortcuts

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