dataload

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Sep 5, 2020 License: Apache-2.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DataLoadReconciler

type DataLoadReconciler struct {
	Scheme *runtime.Scheme
	*ReconcilerImplement
}

DataLoadReconciler reconciles a AlluxioDataLoad object

func NewDataLoadReconciler

func NewDataLoadReconciler(client client.Client,
	log logr.Logger,
	scheme *runtime.Scheme,
	recorder record.EventRecorder) *DataLoadReconciler

Return a new DataLoad Reconciler

func (*DataLoadReconciler) Reconcile

func (r *DataLoadReconciler) Reconcile(req ctrl.Request) (ctrl.Result, error)

func (*DataLoadReconciler) SetupWithManager

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

SetupWithManager setups the manager with AlluxioDataLoad

type ReconcilerImplement

type ReconcilerImplement struct {
	client.Client
	Log             logr.Logger
	Recorder        record.EventRecorder
	DataLoaderImage string
}

func NewReconcilerImplement

func NewReconcilerImplement(client client.Client, log logr.Logger, recorder record.EventRecorder) *ReconcilerImplement

Return a new reconciler implement

func (*ReconcilerImplement) ReconcileDataload

Reconcile Dataload

func (*ReconcilerImplement) ReconcileDataloadDeletion

func (r *ReconcilerImplement) ReconcileDataloadDeletion(ctx cdataload.ReconcileRequestContext) (ctrl.Result, error)

Reconcile DataLoad deletion

func (*ReconcilerImplement) Setup

func (r *ReconcilerImplement) Setup()

Set up the reconciler

Jump to

Keyboard shortcuts

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