Documentation
¶
Index ¶
- func EffectiveEndpointPublishingStrategy(ingressController *operatorv1.IngressController, ...) *operatorv1.EndpointPublishingStrategy
- func ReconcileDefaultIngressController(ingressController *operatorv1.IngressController, ingressSubdomain string, ...) error
- func ReconcileDefaultIngressControllerCertSecret(certSecret *corev1.Secret, sourceSecret *corev1.Secret) error
- func ReconcileDefaultIngressPassthroughRoute(route *routev1.Route, cpService *corev1.Service, ...) error
- func ReconcileDefaultIngressPassthroughService(service *corev1.Service, defaultNodePort *corev1.Service, ...) error
- type IngressParams
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 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
Click to show internal directories.
Click to hide internal directories.