controllers

package
v0.0.0-...-265a0a8 Latest Latest
Warning

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

Go to latest
Published: Mar 17, 2020 License: MIT Imports: 24 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DbfsBlockReconciler

type DbfsBlockReconciler struct {
	client.Client
	Log       logr.Logger
	Scheme    *runtime.Scheme
	Recorder  record.EventRecorder
	APIClient dbazure.DBClient
}

DbfsBlockReconciler reconciles a DbfsBlock object

func (*DbfsBlockReconciler) Reconcile

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

Reconcile implements the reconciliation loop for the operator

func (*DbfsBlockReconciler) SetupWithManager

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

SetupWithManager adds the controller manager

type DclusterReconciler

type DclusterReconciler struct {
	client.Client
	Log       logr.Logger
	Scheme    *runtime.Scheme
	Recorder  record.EventRecorder
	APIClient dbazure.DBClient
}

DclusterReconciler reconciles a Dcluster object

func (*DclusterReconciler) Reconcile

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

Reconcile implements the reconciliation loop for the operator

func (*DclusterReconciler) SetupWithManager

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

SetupWithManager adds the controller manager

type DjobReconciler

type DjobReconciler struct {
	client.Client
	Log       logr.Logger
	Scheme    *runtime.Scheme
	Recorder  record.EventRecorder
	APIClient dbazure.DBClient
}

DjobReconciler reconciles a Djob object

func (*DjobReconciler) Reconcile

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

Reconcile implements the reconciliation loop for the operator

func (*DjobReconciler) SetupWithManager

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

SetupWithManager adds the controller manager

type Execution

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

Execution tracks state for an API execution for emitting metrics

func NewExecution

func NewExecution(objectType string, action string) Execution

NewExecution creates an Execution instance and starts the timer

func (*Execution) Finish

func (e *Execution) Finish(err error)

Finish is used to log duration and success/failure

type RunReconciler

type RunReconciler struct {
	client.Client
	Log       logr.Logger
	Scheme    *runtime.Scheme
	Recorder  record.EventRecorder
	APIClient dbazure.DBClient
}

RunReconciler reconciles a Run object

func (*RunReconciler) Reconcile

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

Reconcile implements the reconciliation loop for the operator

func (*RunReconciler) SetupWithManager

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

SetupWithManager adds the controller manager

type SecretScopeReconciler

type SecretScopeReconciler struct {
	client.Client
	Log       logr.Logger
	Scheme    *runtime.Scheme
	Recorder  record.EventRecorder
	APIClient dbazure.DBClient
}

SecretScopeReconciler reconciles a SecretScope object

func (*SecretScopeReconciler) Reconcile

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

Reconcile implements the reconciliation loop for the operator

func (*SecretScopeReconciler) SetupWithManager

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

SetupWithManager adds the controller manager

type WorkspaceItemReconciler

type WorkspaceItemReconciler struct {
	client.Client
	Log       logr.Logger
	Scheme    *runtime.Scheme
	Recorder  record.EventRecorder
	APIClient dbazure.DBClient
}

WorkspaceItemReconciler reconciles a WorkspaceItem object

func (*WorkspaceItemReconciler) Reconcile

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

Reconcile implements the reconciliation loop for the operator

func (*WorkspaceItemReconciler) SetupWithManager

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

SetupWithManager adds the controller manager

Jump to

Keyboard shortcuts

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