controllers

package
v0.0.0-...-9331f55 Latest Latest
Warning

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

Go to latest
Published: Apr 15, 2023 License: Apache-2.0 Imports: 24 Imported by: 0

Documentation

Overview

Package controllers implements k8s controller functionality for kube-vip-cloud-provider config.

Index

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

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)

Jump to

Keyboard shortcuts

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