proxy

package
v0.0.0-...-823d357 Latest Latest
Warning

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

Go to latest
Published: Jul 2, 2021 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Dialer

type Dialer interface {
	DialContext(ctx context.Context, network, address string) (net.Conn, error)
}

func NewDialer

func NewDialer(isLocalDevelopmentMode bool) (Dialer, error)

NewDialer returns a Dialer which can dial a customer cluster API server. When not in local development mode, there is no magic here. In local development mode, this dials the development proxy, which proxies to the requested endpoint. This enables the RP to run without routeability to its vnet in local development mode.

type Server

type Server struct {
	Log *logrus.Entry

	CertFile       string
	KeyFile        string
	ClientCertFile string
	Subnet         string
}

func (*Server) Run

func (s *Server) Run() error

Jump to

Keyboard shortcuts

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