slurmjob

package
v1.0.0-alpha.1 Latest Latest
Warning

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

Go to latest
Published: Jun 18, 2019 License: Apache-2.0 Imports: 22 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Reconciler

type Reconciler struct {
	// contains filtered or unexported fields
}

Reconciler reconciles a SlurmJob object

func NewReconciler

func NewReconciler(mgr manager.Manager) *Reconciler

NewReconciler returns a new SlurmJob controller.

func (*Reconciler) AddToManager

func (r *Reconciler) AddToManager(mgr manager.Manager) error

AddToManager adds SlurmJob Reconciler to the given Manager. The Manager will set fields on the Reconciler and Start it when the Manager is Started.

func (*Reconciler) Reconcile

func (r *Reconciler) Reconcile(req reconcile.Request) (reconcile.Result, error)

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

Jump to

Keyboard shortcuts

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