app

package
v0.31.1 Latest Latest
Warning

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

Go to latest
Published: Nov 15, 2024 License: Apache-2.0 Imports: 30 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ReadHeaderTimeout    = 60 * time.Second
	LeaseDuration        = 30 * time.Second
	LeaseRenewalInterval = 15 * time.Second
	LeaseGCInterval      = 15 * time.Second
)

Variables

This section is empty.

Functions

func NewProxyCommand

func NewProxyCommand(p *Proxy, o *options.ProxyRunOptions) *cobra.Command

func SetupSignalHandler

func SetupSignalHandler() (stopCh <-chan struct{})

Types

type Proxy

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

func (*Proxy) ProxyServer added in v0.29.0

func (p *Proxy) ProxyServer() *server.ProxyServer

ProxyServer exposes internal state for testing.

func (*Proxy) Run added in v0.29.0

func (p *Proxy) Run(o *options.ProxyRunOptions, stopCh <-chan struct{}) error

type StopFunc

type StopFunc func()

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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