Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { UAAAddr string `env:"UAA_ADDR, required"` ClientID string `env:"CLIENT_ID, required"` ClientSecret string `env:"CLIENT_SECRET, required, noreport"` LoggregatorAddr string `env:"LOGGREGATOR_ADDR, required"` Port uint16 `env:"PORT, required"` SubscriptionID string `env:"SUBSCRIPTION_ID, required"` SkipCertVerify bool `env:"SKIP_CERT_VERIFY"` BufferSize int `env:"BUFFER_SIZE"` PollingInterval time.Duration `env:"POLLING_INTERVAL"` MaxRateBuckets int `env:"MAX_RATE_BUCKETS"` IncludeRouterLogs bool `env:"INCLUDE_ROUTER_LOGS"` // VCapApplication is used to detect whether or not the application is // deployed as a CF application. VCapApplication string `env:"VCAP_APPLICATION"` TLSConfig *tls.Config LogWriter io.Writer }
Config stores configuration data for the noisy neighbor client.
type Nozzle ¶
type Nozzle struct {
// contains filtered or unexported fields
}
Nozzle is the top level data structure for the Nozzle application.
func New ¶
New returns an initialized NoisyNeighbor. This will authenticate with UAA, open a connection to the firehose, and initialize all subprocesses.
Click to show internal directories.
Click to hide internal directories.