route

package
v1.1.0-beta.0 Latest Latest
Warning

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

Go to latest
Published: Aug 15, 2024 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateRouteForResource

func CreateRouteForResource(ctx context.Context, _ logr.Logger, client ctrlclient.Client, resource unstructured.Unstructured, subresources Subresources, namespace string) error

func CreateUpdateRoute

func CreateUpdateRoute(ctx context.Context, client ctrlclient.Client, route kubelbv1alpha1.Route) error

func GenerateRoute

func GenerateRoute(resource unstructured.Unstructured, resources Subresources, namespace string) kubelbv1alpha1.Route

Types

type Subresources

type Subresources struct {
	Services        []corev1.Service               `json:"services,omitempty"`
	ReferenceGrants []gwapiv1alpha2.ReferenceGrant `json:"referenceGrants,omitempty"`
}

Jump to

Keyboard shortcuts

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