bootstrap

package
v0.0.0-...-109c5d9 Latest Latest
Warning

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

Go to latest
Published: Mar 13, 2021 License: Apache-2.0 Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (

	// Primary port for H2/H3/HTTPS
	// - gRPC
	// - message receive - CloudEvents style
	// - Jump host
	// - accept host
	H2 = 28

	// Jump Gate - temp (goal is to use H2)
	SSH = 22

	// local debug :5227
	// - local capture for HTTP proxy
	// - "/m/VIP/" is a forward proxy to other mesh hosts
	// - message send (no auth required, will add creds)
	HTTP_DEBUG = 27

	// DNS server - local capture
	DNS = 23

	//  -x socks5://127.0.0.1:5224
	SOCKS = 24

	//  sni based router - could be multiplexed on 443
	SNI = 25

	// ---- Other ports ----
	// XDS, etc - istiod port
	GRPC = 12

	// curl -x http://127.0.0.10.0.0.0:15003
	// can be added to 27/debug
	HTTP_PROXY = 3

	// on H2 and HTTP_DEBUG
	CLOUD_EVENTS = 21

	ISTIO_ADMIN = 0

	ISTIO_OUTBOUND = 1

	ISTIO_D = 12

	ISTIO_STATS_ENVOY = 20
	ISTIO_HEALTHZ     = 21
	ISTIO_STATS       = 90
)

Functions

func ClientUDSConnection

func ClientUDSConnection(gw *mesh.Gateway, cfg ugate.ConfStore)

func ServerUDSConnection

func ServerUDSConnection(gw *mesh.Gateway, cfg ugate.ConfStore)

func StartAll

func StartAll(a *ServerAll)

Types

type ServerAll

type ServerAll struct {
	BasePort int
	ConfDir  string

	GW *mesh.Gateway

	H2 *h2.H2

	// UI interface Handler for localhost:5227
	UI     *ui.DMUI
	UDPNat *udp.UDPGate
	Conf   ugate.ConfStore
	// contains filtered or unexported fields
}

A set of transport and servers, and associated ports/settings.

func (*ServerAll) Close

func (sa *ServerAll) Close()

func (*ServerAll) StartExtra

func (a *ServerAll) StartExtra()

func (*ServerAll) StartMsg

func (a *ServerAll) StartMsg()

Jump to

Keyboard shortcuts

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