csds

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jun 21, 2023 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Overview

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

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

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 implementations interface ClientStatusDiscoveryServiceServer.

func (*ClientStatusDiscoveryServer) StreamClientStatus

StreamClientStatus implementations interface ClientStatusDiscoveryServiceServer.

Jump to

Keyboard shortcuts

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