app

package
v1.6.1 Latest Latest
Warning

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

Go to latest
Published: Feb 26, 2024 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CAPI

type CAPI struct {
	ExternalAddr string `env:"CAPI_ADDR_EXTERNAL, required, report"`
	CAPath       string `env:"CAPI_CA_PATH,     required, report"`
	CommonName   string `env:"CAPI_COMMON_NAME, required, report"`
}

type CFAuthProxyApp

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

func NewCFAuthProxyApp

func NewCFAuthProxyApp(cfg *Config, log *logger.Logger) *CFAuthProxyApp

func (*CFAuthProxyApp) MetricsAddr added in v1.4.3

func (app *CFAuthProxyApp) MetricsAddr() string

func (*CFAuthProxyApp) ProfilingAddr added in v1.4.3

func (app *CFAuthProxyApp) ProfilingAddr() string

func (*CFAuthProxyApp) Run

func (app *CFAuthProxyApp) Run()

Run starts the CFAuthProxyApp, this is a blocking method call.

func (*CFAuthProxyApp) Stop

func (app *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"`
	MetricsAddr           string `env:"METRICS_ADDR, 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"`
	ProfilingAddr string `env:"PROFILING_ADDR"`
}

func LoadConfig

func LoadConfig() *Config

type MetricStoreClientTLS added in v1.3.0

type MetricStoreClientTLS struct {
	CertPath string `env:"METRIC_STORE_CLIENT_CERT_PATH, required, report"`
	KeyPath  string `env:"METRIC_STORE_CLIENT_KEY_PATH, required, report"`
}

type MetricStoreMetricsTLS added in v1.3.0

type MetricStoreMetricsTLS struct {
	CAPath   string `env:"METRIC_STORE_METRICS_CA_PATH, required, report"`
	CertPath string `env:"METRIC_STORE_METRICS_CERT_PATH, required, report"`
	KeyPath  string `env:"METRIC_STORE_METRICS_KEY_PATH, required, report"`
}

type UAA

type UAA struct {
	ClientID     string `env:"UAA_CLIENT_ID,     required"`
	ClientSecret string `env:"UAA_CLIENT_SECRET, required"`
	Addr         string `env:"UAA_ADDR,          required, report"`
	CAPath       string `env:"UAA_CA_PATH,       required, report"`
}

Jump to

Keyboard shortcuts

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