package resource

import "github.com/envoyproxy/go-control-plane/pkg/resource/v3"

Index

Constants

const (
	EndpointType = apiTypePrefix + "envoy.config.endpoint.v3.ClusterLoadAssignment"
	ClusterType  = apiTypePrefix + "envoy.config.cluster.v3.Cluster"
	RouteType    = apiTypePrefix + "envoy.config.route.v3.RouteConfiguration"
	ListenerType = apiTypePrefix + "envoy.config.listener.v3.Listener"
	SecretType   = apiTypePrefix + "envoy.extensions.transport_sockets.tls.v3.Secret"
	RuntimeType  = apiTypePrefix + "envoy.service.runtime.v3.Runtime"

	// AnyType is used only by ADS
	AnyType = ""
)

Resource types in xDS v3.

const (
	FetchEndpoints = "/v3/discovery:endpoints"
	FetchClusters  = "/v3/discovery:clusters"
	FetchListeners = "/v3/discovery:listeners"
	FetchRoutes    = "/v3/discovery:routes"
	FetchSecrets   = "/v3/discovery:secrets"
	FetchRuntimes  = "/v3/discovery:runtime"
)

Fetch urls in xDS v3.

const DefaultAPIVersion = core.ApiVersion_V3

DefaultAPIVersion is the api version

Functions

func GetHTTPConnectionManager

func GetHTTPConnectionManager(filter *listener.Filter) *hcm.HttpConnectionManager

GetHTTPConnectionManager creates a HttpConnectionManager from filter

Source Files

resource.go

Version
v0.9.5
Published
Apr 1, 2020
Platform
darwin/amd64
Imports
4 packages
Last checked
58 minutes ago

Tools for package owners.