local_e2e

package
v0.4.2 Latest Latest
Warning

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

Go to latest
Published: Jul 29, 2018 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RunTestServer

func RunTestServer(ctx context.Context) (uint32, <-chan *ReceivedRequest)

Types

type ReceivedRequest

type ReceivedRequest struct {
	Method      string
	Body        []byte
	Host        string
	GRPCRequest proto.Message
}

type TestUpstream

type TestUpstream struct {
	Upstream *v1.Upstream
	C        <-chan *ReceivedRequest
	Address  string
}

func NewTestGRPCUpstream

func NewTestGRPCUpstream(addr string, glooFilesDir string) *TestUpstream

func NewTestHttpUpstream

func NewTestHttpUpstream(ctx context.Context, addr string) *TestUpstream

Directories

Path Synopsis
glootest/protos
Package glootest is a generated protocol buffer package.
Package glootest is a generated protocol buffer package.

Jump to

Keyboard shortcuts

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