package csds

import "google.golang.org/grpc/xds/csds"

Package csds implements features to dump the status (xDS responses) the xds_client is using.

Notice: This package is EXPERIMENTAL and may be changed or removed in a later release.

Index

Types

type ClientStatusDiscoveryServer

type ClientStatusDiscoveryServer struct {
	// contains filtered or unexported fields
}

ClientStatusDiscoveryServer provides an implementation of the Client Status Discovery Service (CSDS) for exposing the xDS config of a given client. See https://github.com/envoyproxy/envoy/blob/main/api/envoy/service/status/v3/csds.proto.

For more details about the gRPC implementation of CSDS, refer to gRPC A40 at: https://github.com/grpc/proposal/blob/master/A40-csds-support.md.

func NewClientStatusDiscoveryServer

func NewClientStatusDiscoveryServer() (*ClientStatusDiscoveryServer, error)

NewClientStatusDiscoveryServer returns an implementation of the CSDS server that can be registered on a gRPC server.

func (*ClientStatusDiscoveryServer) Close

func (s *ClientStatusDiscoveryServer) Close()

Close cleans up the resources.

func (*ClientStatusDiscoveryServer) FetchClientStatus

FetchClientStatus implements interface ClientStatusDiscoveryServiceServer.

func (*ClientStatusDiscoveryServer) StreamClientStatus

StreamClientStatus implements interface ClientStatusDiscoveryServiceServer.

Source Files

csds.go

Version
v1.70.0 (latest)
Published
Jan 23, 2025
Platform
linux/amd64
Imports
9 packages
Last checked
16 hours ago

Tools for package owners.