controllers

package
v0.10.0-alpha.1 Latest Latest
Warning

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

Go to latest
Published: Apr 4, 2024 License: Apache-2.0 Imports: 42 Imported by: 1

Documentation

Index

Constants

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

Variables

This section is empty.

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.

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

Jump to

Keyboard shortcuts

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