upstreams

package
v0.14.0 Latest Latest
Warning

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

Go to latest
Published: Jun 21, 2019 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

View Source
const ServiceUpstreamNamePrefix = "svc:"

Contains invalid character so any accidental attempt to write to storage fails

Variables

View Source
var UnableToRetrieveErr = func(err error, namespace, name string) error {
	return errors.Wrapf(err, "unable to retrieve service-derived upstream %s.%s", namespace, name)
}

Functions

func DestinationToUpstreamRef added in v0.14.0

func DestinationToUpstreamRef(dest *v1.Destination) (*core.ResourceRef, error)

func NewHybridUpstreamClient

func NewHybridUpstreamClient(
	upstreamClient v1.UpstreamClient,
	serviceClient skkube.ServiceClient) (v1.UpstreamClient, error)

func ServicesToUpstreams added in v0.14.0

func ServicesToUpstreams(services skkube.ServiceList) v1.UpstreamList

Types

This section is empty.

Jump to

Keyboard shortcuts

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