Documentation
¶
Index ¶
Constants ¶
View Source
const ( ServiceFinalizer = "stackit.cloud/loadbalancer" ServiceAnnotation = "yawol.stackit.cloud/serviceName" LoadBalancerLabelName = "yawol.stackit.cloud/loadbalancer" )
Variables ¶
This section is empty.
Functions ¶
func EqualLoadBalancerEndpoints ¶
func EqualLoadBalancerEndpoints(eps1, eps2 []yawolv1beta1.LoadBalancerEndpoint) bool
Types ¶
type InfrastructureDefaults ¶
type InfrastructureDefaults struct { AuthSecretName *string FloatingNetworkID *string NetworkID *string Namespace *string FlavorRef *yawolv1beta1.OpenstackFlavorRef ImageRef *yawolv1beta1.OpenstackImageRef AvailabilityZone *string InternalLB *bool }
func GetInfrastructureDetailsFromService ¶
func GetInfrastructureDetailsFromService(svc *v1.Service) InfrastructureDefaults
func GetMergedInfrastructureDetails ¶
func GetMergedInfrastructureDetails(defaults InfrastructureDefaults, svc *v1.Service) InfrastructureDefaults
Returns InfrastructureDefaults overwritten with svc details
type NodeReconciler ¶
type NodeReconciler struct { TargetClient client.Client ControlClient client.Client InfrastructureDefaults InfrastructureDefaults Log logr.Logger Scheme *runtime.Scheme Recorder record.EventRecorder }
NodeReconciler reconciles service Objects with type LoadBalancer
func (*NodeReconciler) Reconcile ¶
+kubebuilder:rbac:groups=core,resources=node,verbs=get;list;watch
func (*NodeReconciler) SetupWithManager ¶
func (r *NodeReconciler) SetupWithManager(mgr ctrl.Manager) error
type ServiceReconciler ¶
type ServiceReconciler struct { TargetClient client.Client ControlClient client.Client InfrastructureDefaults InfrastructureDefaults Log logr.Logger Scheme *runtime.Scheme Recorder record.EventRecorder ClassNames []string }
ServiceReconciler reconciles service Objects with type LoadBalancer
func (*ServiceReconciler) Reconcile ¶
+kubebuilder:rbac:groups=core,resources=services,verbs=get;list;watch
func (*ServiceReconciler) SetupWithManager ¶
func (r *ServiceReconciler) SetupWithManager(mgr ctrl.Manager) error
Click to show internal directories.
Click to hide internal directories.