reconciler

package
v0.0.0-...-f905173 Latest Latest
Warning

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

Go to latest
Published: Jun 10, 2024 License: Apache-2.0 Imports: 24 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrDeadlineExceeded = "Pod was active on the node longer than the specified deadline"

ErrDeadlineExceeded indicates the operation exceeded its deadline for execution TODO: This needs to stay in sync with https://github.com/kubernetes/kubernetes/blob/7f23a743e8c23ac6489340bbb34fa6f1d392db9d/pkg/kubelet/active_deadline.go Needs to maintained on our own for now until message is exposed.

Functions

func New

func New(log logr.Logger, kubeClient client.Client, scheme *runtime.Scheme, s3Client s3.Client, c collector.Interface) reconcile.Reconciler

New returns a new testmachinery reconciler

func RetryTimeoutExceeded

func RetryTimeoutExceeded(tr *tmv1beta1.Testrun) bool

RetryTimeoutExceeded returns whether the retry timeout is exceeded or not.

Types

type TestmachineryReconciler

type TestmachineryReconciler struct {
	client.Client

	Logger logr.Logger
	// contains filtered or unexported fields
}

func (*TestmachineryReconciler) Reconcile

Reconcile handles various testrun events like crete, update and delete.

Jump to

Keyboard shortcuts

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