ingressclass

package
v1.28.5 Latest Latest
Warning

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

Go to latest
Published: Jun 12, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const DefaultClassName = "contour"

DefaultClassName is the default IngressClass name that Contour will match Ingress/HTTPProxy resources against if no specific IngressClass name is configured.

Variables

This section is empty.

Functions

func MatchesHTTPProxy

func MatchesHTTPProxy(obj *contour_v1.HTTPProxy, ingressClassNames []string) bool

MatchesHTTPProxy returns true if the passed in HTTPProxy annotations or Spec.IngressClassName match the passed in ingress class name. Annotations take precedence over spec field if both are set.

func MatchesIngress

func MatchesIngress(obj *networking_v1.Ingress, ingressClassNames []string) bool

MatchesIngress returns true if the passed in Ingress annotations or Spec.IngressClassName match the passed in ingress class name. Annotations take precedence over spec field if both are set.

Types

This section is empty.

Jump to

Keyboard shortcuts

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