envoy

package
Version: v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Jul 30, 2021 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

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

func ParseAPIVersion(version string) (APIVersion, error)

ParseAPIVersion returns an APIVersion for the given string or an error

func (APIVersion) String

func (version APIVersion) String() string

String returns the string representation of APIVersion

type Resource

type Resource interface {
	proto.Message
}

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

type Type

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"
)

Source Files

Jump to

Keyboard shortcuts

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