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

package endpoint

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

Index

Package Files

grpc.go http.go instance.go util.go

type Config Uses

type Config struct {
    IsServerReady IsServerReadyFunc
    Version       string
    TLSCert       string
    TLSKey        string
    UDSServer     string
    Dialer        common.Dialer
    Port          *model.Port
}

Config for a single endpoint Instance.

type Instance Uses

type Instance interface {
    io.Closer
    Start(onReady OnReadyFunc) error
}

Instance of an endpoint that serves the Echo application on a single port/protocol.

func New Uses

func New(cfg Config) (Instance, error)

New creates a new endpoint Instance.

type IsServerReadyFunc Uses

type IsServerReadyFunc func() bool

IsServerReadyFunc is a function that indicates whether the server is currently ready to handle traffic.

type OnReadyFunc Uses

type OnReadyFunc func()

OnReadyFunc is a callback function that informs the server that the endpoint is ready.

Package endpoint imports 23 packages (graph) and is imported by 1 packages. Updated 2019-10-17. Refresh now. Tools for package owners.