parser

package
v0.0.0-...-f1a479f Latest Latest
Warning

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

Go to latest
Published: Aug 15, 2022 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const (
	TypeUrlLDS = "type.googleapis.com/envoy.config.listener.v3.Listener"
	TypeUrlCDS = "type.googleapis.com/envoy.config.cluster.v3.Cluster"
	TypeUrlRDS = "type.googleapis.com/envoy.config.route.v3.RouteConfiguration"
	TypeUrlEDS = "type.googleapis.com/envoy.config.endpoint.v3.ClusterLoadAssignment"
)

Variables

This section is empty.

Functions

func ParseSupportedVariants

func ParseSupportedVariants(variants []string) (supported []types.Variant, err error)

func ResourceNames

func ResourceNames(res *envoy_service_discovery_v3.DiscoveryResponse) (resourceNames []string, err error)

func ServiceToTypeURL

func ServiceToTypeURL(service string) (typeURL string, err error)

func ValuesFromConfig

func ValuesFromConfig(config string) (target, adapter, nodeID string, supportedVariants []types.Variant)

Types

This section is empty.

Jump to

Keyboard shortcuts

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