Back to godoc.org

Package config

v0.0.0-...-3baf789
Latest Go to latest

The highest tagged major version is .

Published: Sep 25, 2020 | License: Apache-2.0 | Module: code.cloudfoundry.org/diego-ssh

Index

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"`
	EnableConsulServiceRegistration bool                  `json:"enable_consul_service_registration,omitempty"`
	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"`
	ConsulCluster                   string                `json:"consul_cluster"`
	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)

Package Files

Documentation was rendered with GOOS=linux and GOARCH=amd64.

Jump to identifier

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to identifier