ingress

package
v0.1.83 Latest Latest
Warning

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

Go to latest
Published: Sep 10, 2026 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EffectiveEndpointPublishingStrategy added in v0.1.83

func EffectiveEndpointPublishingStrategy(ingressController *operatorv1.IngressController, hcp *hyperv1.HostedControlPlane) *operatorv1.EndpointPublishingStrategy

EffectiveEndpointPublishingStrategy returns the endpoint publishing strategy in use by the guest default IngressController. It prefers the strategy reported in the IngressController status, then the spec, then the one configured in the HostedControlPlane, and finally falls back to the platform default for KubeVirt (NodePortService).

func ReconcileDefaultIngressController

func ReconcileDefaultIngressController(ingressController *operatorv1.IngressController, ingressSubdomain string, platformType hyperv1.PlatformType, replicas int32, isIBMCloudUPI bool, isPrivate bool, useNLB bool, loadBalancerScope operatorv1.LoadBalancerScope, loadBalancerIP string, endpointPublishingStrategy *operatorv1.EndpointPublishingStrategy) error

func ReconcileDefaultIngressControllerCertSecret

func ReconcileDefaultIngressControllerCertSecret(certSecret *corev1.Secret, sourceSecret *corev1.Secret) error

func ReconcileDefaultIngressPassthroughRoute

func ReconcileDefaultIngressPassthroughRoute(route *routev1.Route, cpService *corev1.Service, hcp *hyperv1.HostedControlPlane) error

func ReconcileDefaultIngressPassthroughService

func ReconcileDefaultIngressPassthroughService(service *corev1.Service, defaultNodePort *corev1.Service, strategy *operatorv1.EndpointPublishingStrategy, hcp *hyperv1.HostedControlPlane) error

Types

type IngressParams

type IngressParams struct {
	IngressSubdomain           string
	Replicas                   int32
	PlatformType               hyperv1.PlatformType
	IsPrivate                  bool
	IBMCloudUPI                bool
	AWSNLB                     bool
	LoadBalancerScope          v1.LoadBalancerScope
	LoadBalancerIP             string
	EndpointPublishingStrategy *v1.EndpointPublishingStrategy
}

func NewIngressParams

func NewIngressParams(hcp *hyperv1.HostedControlPlane) *IngressParams

Jump to

Keyboard shortcuts

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