ingressclass

package
v0.0.0-...-a1fe31f Latest Latest
Warning

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

Go to latest
Published: Dec 28, 2021 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const DefaultClassName = "sesame"

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

Variables

This section is empty.

Functions

func MatchesHTTPProxy

func MatchesHTTPProxy(obj *sesame_v1.HTTPProxy, ingressClassName 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, ingressClassName 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