Documentation
¶
Index ¶
- func Add(mgr manager.Manager) error
- type ReconcileFloatingIPAssociate
- func (r *ReconcileFloatingIPAssociate) NormalEvent(fip *openstackv1beta1.FloatingIPAssociate, reason string, messageFmt string, ...)
- func (r *ReconcileFloatingIPAssociate) Reconcile(request reconcile.Request) (reconcile.Result, error)
- func (r *ReconcileFloatingIPAssociate) WarningEvent(fip *openstackv1beta1.FloatingIPAssociate, reason string, messageFmt string, ...)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ReconcileFloatingIPAssociate ¶
type ReconcileFloatingIPAssociate struct { client.Client // contains filtered or unexported fields }
ReconcileFloatingIPAssociate reconciles a FloatingIPAssociate object
func (*ReconcileFloatingIPAssociate) NormalEvent ¶
func (r *ReconcileFloatingIPAssociate) NormalEvent(fip *openstackv1beta1.FloatingIPAssociate, reason string, messageFmt string, args ...interface{})
func (*ReconcileFloatingIPAssociate) Reconcile ¶
func (r *ReconcileFloatingIPAssociate) Reconcile(request reconcile.Request) (reconcile.Result, error)
Reconcile reads that state of the cluster for a FloatingIPAssociate object and makes changes based on the state read and what is in the FloatingIPAssociate.Spec TODO(user): Modify this Reconcile function to implement your Controller logic. The scaffolding writes a Deployment as an example Automatically generate RBAC rules to allow the Controller to read and write Deployments +kubebuilder:rbac:groups=apps,resources=deployments,verbs=get;list;watch;create;update;patch;delete +kubebuilder:rbac:groups=apps,resources=deployments/status,verbs=get;update;patch +kubebuilder:rbac:groups=openstack.repl.info,resources=floatingips,verbs=get;list;watch;create;update;patch;delete +kubebuilder:rbac:groups=openstack.repl.info,resources=floatingipassociates,verbs=get;list;watch;create;update;patch;delete +kubebuilder:rbac:groups=openstack.repl.info,resources=floatingipassociates/status,verbs=get;update;patch +kubebuilder:rbac:groups=core,resources=events,verbs=create;patch +kubebuilder:rbac:groups=core,resources=nodes,verbs=get;list;watch
func (*ReconcileFloatingIPAssociate) WarningEvent ¶
func (r *ReconcileFloatingIPAssociate) WarningEvent(fip *openstackv1beta1.FloatingIPAssociate, reason string, messageFmt string, args ...interface{})