Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExpectHttpOK ¶
func TestUpstreamReachable ¶
func TestUpstreamReachable(envoyPort uint32, tu *TestUpstream, rootca *string)
Types ¶
type ReceivedRequest ¶
type TestUpstream ¶
type TestUpstream struct { Upstream *gloov1.Upstream C <-chan *ReceivedRequest Address string Port uint32 GrpcServers []*testgrpcservice.TestGRPCServer }
func NewTestGRPCUpstream ¶
func NewTestGRPCUpstream(ctx context.Context, addr string, replicas int) *TestUpstream
func NewTestHttpUpstream ¶
func NewTestHttpUpstream(ctx context.Context, addr string) *TestUpstream
func NewTestHttpUpstreamWithReply ¶
func NewTestHttpUpstreamWithReply(ctx context.Context, addr, reply string) *TestUpstream
func (*TestUpstream) FailGrpcHealthCheck ¶
func (tu *TestUpstream) FailGrpcHealthCheck() *testgrpcservice.TestGRPCServer
Click to show internal directories.
Click to hide internal directories.