envoy

package
v0.10.0 Latest Latest
Warning

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

Go to latest
Published: Jan 26, 2022 License: Apache-2.0 Imports: 2 Imported by: 4

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 (
	// APIv3 is the envoy v3 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 typeswe can just use a strings.Split to create the array of args from the custom resource field, with that each of the "words" will be passed correctly without the quotes around c

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"
	// ScopedRoute is an envoy scoped route resource
	ScopedRoute Type = "ScopedRoute"
	// 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"
	// ExtensionConfig is an envoy extension config resource
	ExtensionConfig Type = "ExtensionConfig"
)

Directories

Path Synopsis
v3
protos
v3
v3
v3

Jump to

Keyboard shortcuts

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