Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetIngressNames ¶
func GetIngressNames(ingresses []networkingv1.Ingress) []string
GetIngressNames returns a []string from a []networkingv1.Ingress object containing only the networkingv1.Ingress.ObjectMeta.Name of the input
func GetLabelsForRedirect ¶
GetLabelsForRedirect returns the labels for selecting the resources belonging to the given redirect CRD name.
func NewRedirectIngress ¶
func NewRedirectIngress(ing *networkingv1.Ingress, redirect *v1alpha1.Redirect) *networkingv1.Ingress
NewRedirectIngress takes an existing ingress and updates it, or creates an entirely new *networkingv1.Ingress object
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.