floatingip

package
Version: v0.0.5-0...-6e23503 Latest Latest
Warning

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

Go to latest
Published: Dec 18, 2019 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Add

func Add(mgr manager.Manager) error

Add creates a new FloatingIP Controller and adds it to the Manager with default RBAC. The Manager will set fields on the Controller and Start it when the Manager is Started.

Types

type ReconcileFloatingIP

type ReconcileFloatingIP struct {
	client.Client
	// contains filtered or unexported fields
}

ReconcileFloatingIP reconciles a FloatingIP object

func (*ReconcileFloatingIP) NormalEvent

func (r *ReconcileFloatingIP) NormalEvent(fip *openstackv1beta1.FloatingIP, reason string, messageFmt string, args ...interface{})

func (*ReconcileFloatingIP) Reconcile

func (r *ReconcileFloatingIP) Reconcile(request reconcile.Request) (reconcile.Result, error)

Reconcile reads that state of the cluster for a FloatingIP object and makes changes based on the state read and what is in the FloatingIP.Spec +kubebuilder:rbac:groups=openstack.repl.info,resources=floatingips,verbs=get;list;watch;create;update;patch;delete +kubebuilder:rbac:groups=openstack.repl.info,resources=floatingips/status,verbs=get;update;patch +kubebuilder:rbac:groups=core,resources=events,verbs=create;patch

func (*ReconcileFloatingIP) WarningEvent

func (r *ReconcileFloatingIP) WarningEvent(fip *openstackv1beta1.FloatingIP, reason string, messageFmt string, args ...interface{})

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL