Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CFAuthProxyApp ¶
type CFAuthProxyApp struct {
// contains filtered or unexported fields
}
func NewCFAuthProxyApp ¶
func NewCFAuthProxyApp(cfg *Config, log *logger.Logger) *CFAuthProxyApp
func (*CFAuthProxyApp) DebugAddr ¶
func (c *CFAuthProxyApp) DebugAddr() string
DebugAddr returns the address (host and port) that the debug server is bound to. If the debug server has not been started an empty string will be returned.
func (*CFAuthProxyApp) Run ¶
func (c *CFAuthProxyApp) Run()
Run starts the CFAuthProxyApp, this is a blocking method call.
func (*CFAuthProxyApp) Stop ¶
func (c *CFAuthProxyApp) Stop()
Stop stops all the subprocesses for the application.
type Config ¶
type Config struct {
MetricStoreAddr string `env:"METRIC_STORE_ADDR, required, report"`
Addr string `env:"ADDR, required, report"`
InternalIP string `env:"INTERNAL_IP, report"`
HealthPort int `env:"HEALTH_PORT, report"`
CertPath string `env:"EXTERNAL_CERT, required, report"`
KeyPath string `env:"EXTERNAL_KEY, required, report"`
SkipCertVerify bool `env:"SKIP_CERT_VERIFY, report"`
ProxyCAPath string `env:"PROXY_CA_PATH, required, report"`
SecurityEventLog string `env:"SECURITY_EVENT_LOG, report"`
MetricStoreClientTLS MetricStoreClientTLS
MetricStoreMetricsTLS MetricStoreMetricsTLS
CAPI CAPI
UAA UAA
LogLevel string `env:"LOG_LEVEL, report"`
}
func LoadConfig ¶
func LoadConfig() *Config
type MetricStoreClientTLS ¶ added in v1.3.0
type MetricStoreMetricsTLS ¶ added in v1.3.0
Click to show internal directories.
Click to hide internal directories.