controllers

package
v0.11.3 Latest Latest
Warning

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

Go to latest
Published: Nov 26, 2024 License: Apache-2.0 Imports: 50 Imported by: 1

Documentation

Index

Constants

View Source
const (
	SpecHashAnnotation = "infrastructure.cluster.x-k8s.io/spec-hash"
)

Variables

View Source
var ImageController = imagecontroller.New

Functions

func GetPortIDs added in v0.10.0

func GetPortIDs(ports []infrav1.PortStatus) []string

GetPortIDs returns a list of port IDs from a list of PortStatus.

func IsServerTerminalError added in v0.11.0

func IsServerTerminalError(server *infrav1alpha1.OpenStackServer) bool

func OpenStackServerReconcileComplete added in v0.11.0

func OpenStackServerReconcileComplete(log logr.Logger) predicate.Funcs

OpenStackServerReconcileComplete returns a predicate that determines if a OpenStackServer has finished reconciling.

Types

type OpenStackClusterReconciler

type OpenStackClusterReconciler struct {
	Client           client.Client
	Recorder         record.EventRecorder
	WatchFilterValue string
	ScopeFactory     scope.Factory
	CaCertificates   []byte // PEM encoded ca certificates.
}

OpenStackClusterReconciler reconciles a OpenStackCluster object.

func (*OpenStackClusterReconciler) Reconcile

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

func (*OpenStackClusterReconciler) SetupWithManager

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

type OpenStackFloatingIPPoolReconciler added in v0.10.0

type OpenStackFloatingIPPoolReconciler struct {
	Client           client.Client
	Recorder         record.EventRecorder
	WatchFilterValue string
	ScopeFactory     scope.Factory
	CaCertificates   []byte // PEM encoded ca certificates.

	Scheme *runtime.Scheme
}

OpenStackFloatingIPPoolReconciler reconciles a OpenStackFloatingIPPool object.

func (*OpenStackFloatingIPPoolReconciler) Reconcile added in v0.10.0

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

func (*OpenStackFloatingIPPoolReconciler) SetupWithManager added in v0.10.0

func (r *OpenStackFloatingIPPoolReconciler) SetupWithManager(ctx context.Context, mgr ctrl.Manager) error

type OpenStackMachineReconciler

type OpenStackMachineReconciler struct {
	Client           client.Client
	Recorder         record.EventRecorder
	WatchFilterValue string
	ScopeFactory     scope.Factory
	CaCertificates   []byte // PEM encoded ca certificates.
}

OpenStackMachineReconciler reconciles a OpenStackMachine object.

func (*OpenStackMachineReconciler) OpenStackClusterToOpenStackMachines

func (r *OpenStackMachineReconciler) OpenStackClusterToOpenStackMachines(ctx context.Context) handler.MapFunc

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

func (*OpenStackMachineReconciler) Reconcile

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

func (*OpenStackMachineReconciler) SetupWithManager

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

type OpenStackServerReconciler added in v0.11.0

type OpenStackServerReconciler struct {
	Client           client.Client
	Recorder         record.EventRecorder
	WatchFilterValue string
	ScopeFactory     scope.Factory
	CaCertificates   []byte // PEM encoded ca certificates.

	Scheme *runtime.Scheme
}

OpenStackServerReconciler reconciles a OpenStackServer object.

func (*OpenStackServerReconciler) Reconcile added in v0.11.0

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

func (*OpenStackServerReconciler) SetupWithManager added in v0.11.0

func (r *OpenStackServerReconciler) SetupWithManager(ctx context.Context, mgr ctrl.Manager, _ controller.Options) error

Jump to

Keyboard shortcuts

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