go-control-plane: github.com/envoyproxy/go-control-plane/pkg/resource/v2 Index | Files

package resource

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

Index

Package Files

resource.go

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

func GetHTTPConnectionManager Uses

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

GetHTTPConnectionManager creates a HttpConnectionManager from filter

Package resource imports 5 packages (graph) and is imported by 11 packages. Updated 2020-04-01. Refresh now. Tools for package owners.