redirect

package
v0.0.0-...-18fdf9b Latest Latest
Warning

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

Go to latest
Published: Feb 11, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

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

func GetLabelsForRedirect(name string) map[string]string

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.

Jump to

Keyboard shortcuts

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