ephemeraljob

package
v1.6.2 Latest Latest
Warning

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

Go to latest
Published: Apr 3, 2024 License: Apache-2.0 Imports: 28 Imported by: 0

Documentation

Index

Constants

View Source
const (
	SucceededStatus ephemeralContainerStatusState = iota
	FailedStatus
	WaitingStatus
	RunningStatus
	UnknownStatus
)
View Source
const EphemeralContainerFinalizer = "apps.kruise.io/ephemeralcontainers-cleanup"

Variables

This section is empty.

Functions

func Add

func Add(mgr manager.Manager) error

Add creates a new ImagePullJob Controller and adds it to the Manager with default RBAC. The Manager will set fields on the Controller and Start it when the Manager is Started.

Types

type ReconcileEphemeralJob

type ReconcileEphemeralJob struct {
	client.Client
	// contains filtered or unexported fields
}

ReconcileEphemeralJob reconciles a ImagePullJob object

func (*ReconcileEphemeralJob) Reconcile

func (r *ReconcileEphemeralJob) Reconcile(context context.Context, request reconcile.Request) (res reconcile.Result, err error)

Reconcile reads that state of the cluster for a EphemeralJob object and makes changes based on the state read and what is in the EphemeralJob.Spec

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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