reflection

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Sep 14, 2024 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuildExpectedResultParameters

func BuildExpectedResultParameters(descriptor protoreflect.MessageDescriptor) []coverage.ResultParameters

Types

type GRPCReflectionClient

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

func NewGRPCReflectionClient

func NewGRPCReflectionClient(ctx context.Context, service config.Service) (*GRPCReflectionClient, error)

func (*GRPCReflectionClient) GetServiceDescriptor

func (c *GRPCReflectionClient) GetServiceDescriptor(service string) (*desc.ServiceDescriptor, error)

func (*GRPCReflectionClient) GetServiceMethods

func (c *GRPCReflectionClient) GetServiceMethods(service string) ([]string, error)

func (*GRPCReflectionClient) GetServiceMethodsDescriptors

func (c *GRPCReflectionClient) GetServiceMethodsDescriptors(service string) ([]*desc.MethodDescriptor, error)

func (*GRPCReflectionClient) GetServices

func (c *GRPCReflectionClient) GetServices() ([]string, error)

Jump to

Keyboard shortcuts

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