options

package
v0.17.0 Latest Latest
Warning

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

Go to latest
Published: Apr 18, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ProxyRunOptions

type ProxyRunOptions struct {
	ConfigFileName string

	InsecureListenAddress string
	SecureListenAddress   string
	ProxyEndpointsPort    int

	Upstream           string
	UpstreamForceH2C   bool
	UpstreamCAFile     string
	Auth               *proxy.Config
	TLS                *TLSConfig
	KubeconfigLocation string
	AllowPaths         []string
	IgnorePaths        []string

	HTTP2Disable              bool
	HTTP2MaxConcurrentStreams uint32
	HTTP2MaxSize              uint32

	QPS   float32
	Burst int
	// contains filtered or unexported fields
}

func NewProxyRunOptions

func NewProxyRunOptions() *ProxyRunOptions

func (*ProxyRunOptions) Flags

func (*ProxyRunOptions) Validate added in v0.16.0

func (o *ProxyRunOptions) Validate() error

type TLSConfig

type TLSConfig struct {
	CertFile       string
	KeyFile        string
	MinVersion     string
	CipherSuites   []string
	ReloadInterval time.Duration

	UpstreamClientCertFile string
	UpstreamClientKeyFile  string
}

Jump to

Keyboard shortcuts

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