xds

package
v1.33.3 Latest Latest
Warning

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

Go to latest
Published: Mar 23, 2026 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ClusterLoadAssignmentName added in v1.9.0

func ClusterLoadAssignmentName(service types.NamespacedName, portName string) string

ClusterLoadAssignmentName generates the name used for an EDS ClusterLoadAssignment, given a fully qualified Service name and port. This name is a contract between the producer of a cluster (i.e. the EDS service) and the consumer of a cluster (most likely a HTTP Route Action).

func NewServer added in v1.10.0

func NewServer(registry *prometheus.Registry, opts ...grpc.ServerOption) *grpc.Server

NewServer If registry is non-nil gRPC server metrics will be automatically configured and enabled.

Types

type Resource

type Resource interface {
	// Contents returns the contents of this resource.
	Contents() []proto.Message

	// TypeURL returns the typeURL of messages returned from Values.
	TypeURL() string
}

Resource represents a source of proto.Messages that can be registered for interest.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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