metadata

package
v1.6.1-0...-f207c0f Latest Latest
Warning

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

Go to latest
Published: Sep 28, 2025 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuildAnnotations

func BuildAnnotations(route *gwtypes.HTTPRoute, parentRef *gwtypes.ParentReference) map[string]string

BuildAnnotations creates the standard annotations map for Kong resources managed by HTTPRoute.

func BuildLabels

func BuildLabels(obj client.Object) map[string]string

BuildLabels creates the standard labels map for Kong resources managed by HTTPRoute.

func ExtractStripPath

func ExtractStripPath(anns map[string]string) bool

ExtractStripPath extracts the strip-path annotation value and returns a boolean. Returns true by default if the annotation is not present or cannot be parsed.

func LabelSelectorForOwnedResources

func LabelSelectorForOwnedResources(obj client.Object) client.ListOption

LabelSelectorForOwnedResources returns a label selector for listing resources managed by the given object.

Types

This section is empty.

Jump to

Keyboard shortcuts

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