local_e2e

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Jul 16, 2018 License: Apache-2.0 Imports: 14 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
	GRPCRequest proto.Message
}

type TestUpstream

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

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