envoy

package
v0.7.0-alpha6 Latest Latest
Warning

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

Go to latest
Published: Dec 4, 2020 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type APIVersion added in v0.7.0

type APIVersion string

APIVersion is an enum with the supported envoy API versions.

const (
	// APIv2 is the envoy v2 API version.
	APIv2 APIVersion = "v2"
	// APIv3 is the envoy v2 API version.
	APIv3 APIVersion = "v3"
)

func ParseAPIVersion added in v0.7.0

func ParseAPIVersion(version string) (APIVersion, error)

ParseAPIVersion returns an APIVersion for the given string or an error

func (APIVersion) String added in v0.7.0

func (version APIVersion) String() string

String returns the string representation of APIVersion

type Resource added in v0.7.0

type Resource interface {
	proto.Message
}

Resource is the base interface for the xDS payload. Any envoy resource type implements this interface.

type Type added in v0.7.0

type Type string

Type is an enum of the supported envoy resource types

const (
	// Endpoint is an envoy endpoint resource
	Endpoint Type = "Endpoint"
	// Cluster is an envoy cluster resource
	Cluster Type = "Cluster"
	// Route is an envoy route resource
	Route Type = "Route"
	// Listener is an envoy listener resource
	Listener Type = "Listener"
	// Secret is an envoy secret resource
	Secret Type = "Secret"
	// Runtime is an envoy runtime resource
	Runtime Type = "Runtime"
)

Directories

Path Synopsis
v2
v3
v2
v3
v2
v3

Jump to

Keyboard shortcuts

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