version

package
v1.36.0 Latest Latest
Warning

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

Go to latest
Published: Feb 24, 2021 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Overview

Package version defines constants to distinguish between supported xDS API versions.

Index

Constants

View Source
const (
	V2ListenerURL        = "type.googleapis.com/envoy.api.v2.Listener"
	V2RouteConfigURL     = "type.googleapis.com/envoy.api.v2.RouteConfiguration"
	V2ClusterURL         = "type.googleapis.com/envoy.api.v2.Cluster"
	V2EndpointsURL       = "type.googleapis.com/envoy.api.v2.ClusterLoadAssignment"
	V2HTTPConnManagerURL = "type.googleapis.com/envoy.config.filter.network.http_connection_manager.v2.HttpConnectionManager"

	V3ListenerURL             = "type.googleapis.com/envoy.config.listener.v3.Listener"
	V3RouteConfigURL          = "type.googleapis.com/envoy.config.route.v3.RouteConfiguration"
	V3ClusterURL              = "type.googleapis.com/envoy.config.cluster.v3.Cluster"
	V3EndpointsURL            = "type.googleapis.com/envoy.config.endpoint.v3.ClusterLoadAssignment"
	V3HTTPConnManagerURL      = "type.googleapis.com/envoy.extensions.filters.network.http_connection_manager.v3.HttpConnectionManager"
	V3UpstreamTLSContextURL   = "type.googleapis.com/envoy.extensions.transport_sockets.tls.v3.UpstreamTlsContext"
	V3DownstreamTLSContextURL = "type.googleapis.com/envoy.extensions.transport_sockets.tls.v3.DownstreamTlsContext"
)

Resource URLs. We need to be able to accept either version of the resource regardless of the version of the transport protocol in use.

Variables

This section is empty.

Functions

This section is empty.

Types

type TransportAPI

type TransportAPI int

TransportAPI refers to the API version for xDS transport protocol. This describes the xDS gRPC endpoint and version of DiscoveryRequest/Response used on the wire.

const (
	// TransportV2 refers to the v2 xDS transport protocol.
	TransportV2 TransportAPI = iota
	// TransportV3 refers to the v3 xDS transport protocol.
	TransportV3
)

Jump to

Keyboard shortcuts

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