Help us shape the future of Go! Take the 2026 Go Developer Survey

destination

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jan 31, 2018 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewClient

func NewClient(addr string) (pb.DestinationClient, *grpc.ClientConn, error)

func NewServer

func NewServer(addr, kubeconfig string, k8sDNSZone string, done chan struct{}) (*grpc.Server, net.Listener, error)

The Destination service serves service discovery information to the proxy. This implementation supports the "k8s" destination scheme and expects destination paths to be of the form: <service>.<namespace>.svc.cluster.local:<port>

If the port is omitted, 80 is used as a default. If the namespace is omitted, "default" is used as a default.append

Addresses for the given destination are fetched from the Kubernetes Endpoints API.

Types

This section is empty.

Jump to

Keyboard shortcuts

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