istio: istio.io/istio/pkg/test/echo/server/forwarder Index | Files

package forwarder

import "istio.io/istio/pkg/test/echo/server/forwarder"

Index

Package Files

grpc.go http.go instance.go protocol.go util.go websocket.go

type Config Uses

type Config struct {
    Request *proto.ForwardEchoRequest
    UDS     string
    TLSCert string
    Dialer  common.Dialer
}

Config for a forwarder Instance.

type Instance Uses

type Instance struct {
    // contains filtered or unexported fields
}

Instance processes a single proto.ForwardEchoRequest, sending individual echo requests to the destination URL.

func New Uses

func New(cfg Config) (*Instance, error)

New creates a new forwarder Instance.

func (*Instance) Close Uses

func (i *Instance) Close() error

func (*Instance) Run Uses

func (i *Instance) Run(ctx context.Context) (*proto.ForwardEchoResponse, error)

Run the forwarder and collect the responses.

Package forwarder imports 24 packages (graph) and is imported by 1 packages. Updated 2019-09-30. Refresh now. Tools for package owners.