kubernetes

package
v1.18.0-beta31 Latest Latest
Warning

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

Go to latest
Published: Nov 1, 2024 License: Apache-2.0 Imports: 11 Imported by: 1

Documentation

Index

Constants

View Source
const UpstreamNamePrefix = "kube-svc:"

UpstreamNamePrefix is a prefix used to create/identify in-memory Upstreams for Kubernetes Services It contains an invalid character so any accidental attempt to write to storage fails

Variables

This section is empty.

Functions

func DestinationToUpstreamRef

func DestinationToUpstreamRef(svcDest *v1.KubernetesServiceDestination) *core.ResourceRef

func IsKubeUpstream

func IsKubeUpstream(upstreamName string) bool

func KubeServicesToUpstreams

func KubeServicesToUpstreams(ctx context.Context, services skkube.ServiceList) v1.UpstreamList

Public because it's needed in the translator test

func NewKubernetesUpstreamClient

func NewKubernetesUpstreamClient(serviceClient skkube.ServiceClient) v1.UpstreamClient

func ServiceToUpstream

func ServiceToUpstream(ctx context.Context, svc *corev1.Service, port corev1.ServicePort) *gloov1.Upstream

Types

This section is empty.

Jump to

Keyboard shortcuts

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