controllers

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Oct 26, 2019 License: Apache-2.0 Imports: 32 Imported by: 1

Documentation

Index

Constants

View Source
const (
	TimeoutInstanceCreate       = 5
	TimeoutInstanceDelete       = 5
	RetryIntervalInstanceStatus = 10 * time.Second
)

Variables

This section is empty.

Functions

This section is empty.

Types

type OpenStackClusterReconciler

type OpenStackClusterReconciler struct {
	client.Client
	Log      logr.Logger
	Recorder record.EventRecorder
}

OpenStackClusterReconciler reconciles a OpenStackCluster object

func (*OpenStackClusterReconciler) Reconcile

func (r *OpenStackClusterReconciler) Reconcile(request ctrl.Request) (_ ctrl.Result, reterr error)

func (*OpenStackClusterReconciler) SetupWithManager

func (r *OpenStackClusterReconciler) SetupWithManager(mgr ctrl.Manager, options controller.Options) error

type OpenStackMachineReconciler

type OpenStackMachineReconciler struct {
	client.Client
	Log      logr.Logger
	Recorder record.EventRecorder
}

OpenStackMachineReconciler reconciles a OpenStackMachine object

func (*OpenStackMachineReconciler) OpenStackClusterToOpenStackMachines

func (r *OpenStackMachineReconciler) OpenStackClusterToOpenStackMachines(o handler.MapObject) []ctrl.Request

OpenStackClusterToOpenStackMachine is a handler.ToRequestsFunc to be used to enqeue requests for reconciliation of OpenStackMachines.

func (*OpenStackMachineReconciler) Reconcile

func (r *OpenStackMachineReconciler) Reconcile(request ctrl.Request) (_ ctrl.Result, reterr error)

func (*OpenStackMachineReconciler) SetupWithManager

func (r *OpenStackMachineReconciler) SetupWithManager(mgr ctrl.Manager, options controller.Options) error

Jump to

Keyboard shortcuts

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