Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func StartSslProxy ¶
func StartSslProxy(ctx context.Context, port uint32) uint32
func TestUpstreamReachable ¶ added in v0.14.0
func TestUpstreamReachable(envoyPort uint32, tu *TestUpstream, rootca *string)
Types ¶
type ReceivedRequest ¶
type ReceivedRequest struct {
Method string
Body []byte
Host string
GRPCRequest proto.Message
}
type TestUpstream ¶
type TestUpstream struct {
Upstream *gloov1.Upstream
C <-chan *ReceivedRequest
Address string
Port uint32
}
func NewTestGRPCUpstream ¶ added in v0.17.0
func NewTestGRPCUpstream(ctx context.Context, addr string) *TestUpstream
func NewTestHttpUpstream ¶
func NewTestHttpUpstream(ctx context.Context, addr string) *TestUpstream
Click to show internal directories.
Click to hide internal directories.