kubernetes

package
v1.17.0-beta34 Latest Latest
Warning

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

Go to latest
Published: May 31, 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

Types

This section is empty.

Jump to

Keyboard shortcuts

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