test

package
v1.13.2 Latest Latest
Warning

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

Go to latest
Published: Feb 28, 2023 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	TestCARootCertificate = `` /* 1756-byte string literal not displayed */

	TestServerPublicCertificate = `` /* 1520-byte string literal not displayed */

	TestServerPrivateKey = `` /* 1674-byte string literal not displayed */

	// ServerName is encoded in the above certificates.
	ServerName = "127.0.0.1"

	ErrUnsupported = fmt.Errorf("unsupported method")
)

Functions

This section is empty.

Types

type Server

type Server struct {
	InsecureMetricsPort int
	SecureMetricsPort   int
	InsecureTracePort   int
	SecureTracePort     int
	// contains filtered or unexported fields
}

func NewServer

func NewServer() *Server

func (*Server) MetricsMDs

func (s *Server) MetricsMDs() []grpcMetadata.MD

func (*Server) MetricsRequests

func (s *Server) MetricsRequests() []*metricService.ExportMetricsServiceRequest

func (*Server) Stop

func (s *Server) Stop()

func (*Server) TraceMDs

func (s *Server) TraceMDs() []grpcMetadata.MD

func (*Server) TraceRequests

func (s *Server) TraceRequests() []*traceService.ExportTraceServiceRequest

Jump to

Keyboard shortcuts

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