Documentation ¶
Overview ¶
Package testing provides utility methods for testing.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewContext ¶
NewContext returns a context appropriate for calling a gRPC service that is not hosted on a cluster or in Minimatch, (ie: tests not in test/e2e/). For those tests use OM.Context() method.
func NewGRPCDialOptions ¶ added in v0.9.0
func NewGRPCDialOptions(grpcLogger *logrus.Entry) []grpc.DialOption
NewGRPCDialOptions returns the grpc DialOptions for testing internal grpc clients with loadbalancing, tracing, and logging setups
func NewGRPCServerOptions ¶ added in v0.9.0
func NewGRPCServerOptions(grpcLogger *logrus.Entry) []grpc.ServerOption
NewGRPCServerOptions returns the grpc testing DialOptions for internal grpc servers with loadbalancing, tracing, and logging setups
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.