package resource
import "github.com/envoyproxy/go-control-plane/pkg/resource/v3"
Index ¶
- Constants
- func GetHTTPConnectionManager(filter *listener.Filter) *hcm.HttpConnectionManager
- type Type
Constants ¶
const ( EndpointType = apiTypePrefix + "envoy.config.endpoint.v3.ClusterLoadAssignment" ClusterType = apiTypePrefix + "envoy.config.cluster.v3.Cluster" RouteType = apiTypePrefix + "envoy.config.route.v3.RouteConfiguration" ScopedRouteType = apiTypePrefix + "envoy.config.route.v3.ScopedRouteConfiguration" ListenerType = apiTypePrefix + "envoy.config.listener.v3.Listener" SecretType = apiTypePrefix + "envoy.extensions.transport_sockets.tls.v3.Secret" ExtensionConfigType = apiTypePrefix + "envoy.config.core.v3.TypedExtensionConfig" 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" FetchScopedRoutes = "/v3/discovery:scoped-routes" FetchSecrets = "/v3/discovery:secrets" //nolint:gosec FetchRuntimes = "/v3/discovery:runtime" FetchExtensionConfigs = "/v3/discovery:extension_configs" )
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. Returns nil if the filter doesn't have a valid HttpConnectionManager configuration.
Types ¶
type Type ¶
type Type = string
Type is an alias to string which we expose to users of the snapshot API which accepts `resource.Type` resource URLs.
Source Files ¶
- Version
- v0.10.1
- Published
- Nov 15, 2021
- Platform
- js/wasm
- Imports
- 5 packages
- Last checked
- 1 hour ago –
Tools for package owners.