Documentation ¶
Overview ¶
Package controllers implements k8s controller functionality for kube-vip-cloud-provider config.
Index ¶
- type KubevipCPIConfigReconciler
- func (r *KubevipCPIConfigReconciler) ClusterToKubevipCPIConfig(o client.Object) []ctrl.Request
- func (r *KubevipCPIConfigReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)
- func (r *KubevipCPIConfigReconciler) SetupWithManager(_ context.Context, mgr ctrl.Manager, options controller.Options) error
- type KubevipCPIDataValues
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type KubevipCPIConfigReconciler ¶
type KubevipCPIConfigReconciler struct { client.Client Log logr.Logger Scheme *runtime.Scheme Config addonconfig.KubevipCPIConfigControllerConfig }
KubevipCPIConfigReconciler reconciles a KubevipCPIConfig object
func (*KubevipCPIConfigReconciler) ClusterToKubevipCPIConfig ¶
func (r *KubevipCPIConfigReconciler) ClusterToKubevipCPIConfig(o client.Object) []ctrl.Request
ClusterToKubevipCPIConfig returns a list of Requests with KubevipCPIConfig ObjectKey based on Cluster events
func (*KubevipCPIConfigReconciler) Reconcile ¶
func (r *KubevipCPIConfigReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)
Reconcile the KubevipCPIConfig CRD
func (*KubevipCPIConfigReconciler) SetupWithManager ¶
func (r *KubevipCPIConfigReconciler) SetupWithManager(_ context.Context, mgr ctrl.Manager, options controller.Options) error
SetupWithManager sets up the controller with the Manager.
type KubevipCPIDataValues ¶
type KubevipCPIDataValues struct { LoadbalancerCIDRs *string `yaml:"loadbalancerCIDRs,omitempty"` LoadbalancerIPRanges *string `yaml:"loadbalancerIPRanges,omitempty"` }
func (*KubevipCPIDataValues) Serialize ¶
func (v *KubevipCPIDataValues) Serialize() ([]byte, error)
Click to show internal directories.
Click to hide internal directories.