grpc

package
v0.6.0-alpha.1 Latest Latest
Warning

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

Go to latest
Published: May 15, 2018 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Overview

Package grpc provides a gRPC implementation of the Envoy v2 xDS API.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewAPI

NewAPI returns a *grpc.Server which responds to the Envoy v2 xDS gRPC API.

Types

type CDS

type CDS struct {
	// contains filtered or unexported fields
}

CDS implements the CDS v2 gRPC API.

func (*CDS) TypeURL

func (c *CDS) TypeURL() string

func (*CDS) Values added in v0.6.0

func (c *CDS) Values(filter func(string) bool) []proto.Message

Values returns a sorted list of Clusters.

type EDS

type EDS struct {
	// contains filtered or unexported fields
}

EDS implements the EDS v2 gRPC API.

func (*EDS) TypeURL

func (e *EDS) TypeURL() string

func (*EDS) Values added in v0.6.0

func (e *EDS) Values(filter func(string) bool) []proto.Message

Values returns a sorted list of ClusterLoadAssignments.

type LDS

type LDS struct {
	// contains filtered or unexported fields
}

LDS implements the LDS v2 gRPC API.

func (*LDS) TypeURL

func (l *LDS) TypeURL() string

func (*LDS) Values added in v0.6.0

func (l *LDS) Values(filter func(string) bool) []proto.Message

Values returns a sorted list of Listeners.

type RDS

type RDS struct {
	HTTP, HTTPS interface {
		// Values returns a slice of proto.Message implementations that match
		// the provided filter.
		Values(func(string) bool) []proto.Message
	}
	*contour.Cond
}

RDS implements the RDS v2 gRPC API.

func (*RDS) TypeURL

func (r *RDS) TypeURL() string

func (*RDS) Values added in v0.6.0

func (r *RDS) Values(filter func(string) bool) []proto.Message

Values returns a sorted list of RouteConfigurations.

Jump to

Keyboard shortcuts

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