package resource

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

Index

Constants

const (
	EndpointType = apiTypePrefix + "ClusterLoadAssignment"
	ClusterType  = apiTypePrefix + "Cluster"
	RouteType    = apiTypePrefix + "RouteConfiguration"
	ListenerType = apiTypePrefix + "Listener"
	SecretType   = apiTypePrefix + "auth.Secret"
	RuntimeType  = discoveryTypePrefix + "Runtime"

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

Resource types in xDS v2.

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

Fetch urls in xDS v2.

const DefaultAPIVersion = core.ApiVersion_V2

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.6
Published
Jul 5, 2020
Platform
darwin/amd64
Imports
5 packages
Last checked
18 minutes ago

Tools for package owners.