controllers

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Jul 19, 2021 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DGLJobReconciler

type DGLJobReconciler struct {
	client.Client
	Log                  logr.Logger
	Scheme               *runtime.Scheme
	Recorder             record.EventRecorder
	WatcherLoopImage     string
	KubectlDownloadImage string
}

DGLJobReconciler reconciles a DGLJob object

func (*DGLJobReconciler) Reconcile

func (r *DGLJobReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)

Reconcile is part of the main kubernetes reconciliation loop which aims to move the current state of the cluster closer to the desired state.

func (*DGLJobReconciler) SetupWithManager

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

func (*DGLJobReconciler) UpdateResource

func (r *DGLJobReconciler) UpdateResource(ctx context.Context, dgljob *dglv1a1.DGLJob, obj client.Object) error

Jump to

Keyboard shortcuts

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