server

package
v0.1.13 Latest Latest
Warning

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

Go to latest
Published: Nov 12, 2019 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func StartEndpointKubeHandler added in v0.1.11

func StartEndpointKubeHandler(client *kubernetes.Clientset, triggerfunc func(), endpointLabel, namespace string) context.CancelFunc

func StartSvcKubeHandler added in v0.1.11

func StartSvcKubeHandler(client *kubernetes.Clientset, triggerfunc func(eventType envoy.LBEventType, svc *v1.Service), upstreamLabel, namespace string) context.CancelFunc

Types

type Xds

type Xds struct {
	Server xds.Server
	Port   uint
	// contains filtered or unexported fields
}

Xds has the grpc wrapper for xds api on a given port

func New

func New(config cache.SnapshotCache, port uint) *Xds

func (*Xds) Report

func (xd *Xds) Report()

func (*Xds) Run

func (xd *Xds) Run(ctx context.Context)

Run starts the xDS server.

func (*Xds) WaitForRequests

func (xd *Xds) WaitForRequests()

Jump to

Keyboard shortcuts

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