skipjobcontroller

package
v1.0.0-alpha Latest Latest
Warning

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

Go to latest
Published: Sep 14, 2023 License: MIT Imports: 27 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ConditionRunning  = "Running"
	ConditionFinished = "Finished"

	ConditionFailed = "Failed"
)

Variables

View Source
var (
	SKIPJobReferenceLabelKey = "skipJobOwnerName"
	DefaultPollingRate       = time.Second * 15

	DefaultRequeueForPodsWait = time.Second * 5

	DefaultAwaitCronJobResourcesWait = time.Second * 5

	IstioProxyPodContainerName = "istio-proxy"
)

Functions

func GetJobLabels

func GetJobLabels(skipJob *skiperatorv1alpha1.SKIPJob, jobName string, labels map[string]string) map[string]string

Types

type SKIPJobReconciler

type SKIPJobReconciler struct {
	util.ReconcilerBase
}

func (*SKIPJobReconciler) GetLastCondition

func (r *SKIPJobReconciler) GetLastCondition(conditions []v1.Condition) (*v1.Condition, bool)

func (*SKIPJobReconciler) Reconcile

func (*SKIPJobReconciler) SetStatusFailed

func (r *SKIPJobReconciler) SetStatusFailed(ctx context.Context, skipJob *skiperatorv1alpha1.SKIPJob, errMessage string) error

func (*SKIPJobReconciler) SetStatusFinished

func (r *SKIPJobReconciler) SetStatusFinished(ctx context.Context, skipJob *skiperatorv1alpha1.SKIPJob) error

func (*SKIPJobReconciler) SetStatusRunning

func (r *SKIPJobReconciler) SetStatusRunning(ctx context.Context, skipJob *skiperatorv1alpha1.SKIPJob) error

func (*SKIPJobReconciler) SetupWithManager

func (r *SKIPJobReconciler) SetupWithManager(mgr ctrl.Manager) error

Jump to

Keyboard shortcuts

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