mirror

package
v2.1.4 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BackendPath

func BackendPath(idx int, namespace *string, service string, routeNsName types.NamespacedName) *string

BackendPath builds the path for the internal mirror location.

func PathWithBackendRef

func PathWithBackendRef(idx int, backendRef v1.BackendObjectReference, routeNsName types.NamespacedName) *string

PathWithBackendRef builds the path for the internal mirror location, using the BackendRef.

func RouteName

func RouteName(routeName, service, namespace string, idx int) string

RouteName builds the name for the internal mirror route, using the user route name, service namespace/name, and index of the rule. The prefix is used to prevent a user from creating a route with a conflicting name.

Types

This section is empty.

Jump to

Keyboard shortcuts

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