config

package
v0.0.0-...-4d6c6f7 Latest Latest
Warning

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

Go to latest
Published: Dec 10, 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 SSHProxyConfig

type SSHProxyConfig struct {
	lagerflags.LagerConfig
	debugserver.DebugServerConfig
	Address                   string                `json:"address,omitempty"`
	HealthCheckAddress        string                `json:"health_check_address,omitempty"`
	DisableHealthCheckServer  bool                  `json:"disable_health_check_server,omitempty"`
	HostKey                   string                `json:"host_key"`
	BBSAddress                string                `json:"bbs_address"`
	CCAPIURL                  string                `json:"cc_api_url"`
	CCAPICACert               string                `json:"cc_api_ca_cert"`
	UAATokenURL               string                `json:"uaa_token_url"`
	UAAPassword               string                `json:"uaa_password"`
	UAAUsername               string                `json:"uaa_username"`
	UAACACert                 string                `json:"uaa_ca_cert"`
	SkipCertVerify            bool                  `json:"skip_cert_verify"`
	EnableCFAuth              bool                  `json:"enable_cf_auth"`
	EnableDiegoAuth           bool                  `json:"enable_diego_auth"`
	DiegoCredentials          string                `json:"diego_credentials"`
	BBSCACert                 string                `json:"bbs_ca_cert"`
	BBSClientCert             string                `json:"bbs_client_cert"`
	BBSClientKey              string                `json:"bbs_client_key"`
	BBSClientSessionCacheSize int                   `json:"bbs_client_session_cache_size"`
	BBSMaxIdleConnsPerHost    int                   `json:"bbs_max_idle_conns_per_host"`
	AllowedCiphers            string                `json:"allowed_ciphers"`
	AllowedMACs               string                `json:"allowed_macs"`
	AllowedKeyExchanges       string                `json:"allowed_key_exchanges"`
	LoggregatorConfig         loggingclient.Config  `json:"loggregator"`
	CommunicationTimeout      durationjson.Duration `json:"communication_timeout,omitempty"`
	IdleConnectionTimeout     durationjson.Duration `json:"idle_connection_timeout,omitempty"`
	ConnectToInstanceAddress  bool                  `json:"connect_to_instance_address"`

	BackendsTLSEnabled    bool   `json:"backends_tls_enabled,omitempty"`
	BackendsTLSCACerts    string `json:"backends_tls_ca_certificates,omitempty"`
	BackendsTLSClientCert string `json:"backends_tls_client_certificate,omitempty"`
	BackendsTLSClientKey  string `json:"backends_tls_client_private_key,omitempty"`
}

func NewSSHProxyConfig

func NewSSHProxyConfig(configPath string) (SSHProxyConfig, error)

func (SSHProxyConfig) BackendsTLSConfig

func (c SSHProxyConfig) BackendsTLSConfig() (*tls.Config, error)

Jump to

Keyboard shortcuts

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