Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckIngressClassMatched ¶
func CheckIngressClassMatched(ctx context.Context, c client.Client, mci *networkingv1alpha1.MultiClusterIngress, ingClassName string) bool
CheckIngressClassMatched checks weather the .spec.controller value of the IngressClass referenced in input mci Object matched the input ingClassName value.
func GetDefaultIngressClass ¶
GetDefaultIngressClass returns the default IngressClass form the list of IngressClasses. If multiple IngressClasses are marked as the default, it returns an error. If no IngressClass is marked as the default, it returns an empty string.
func MCSContainLoadBalanceType ¶
func MCSContainLoadBalanceType(mcs *networkingv1alpha1.MultiClusterService) bool
MCSContainLoadBalanceType checks weather the MultiClusterService contains LoadBalancer type.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.