nozzle

package
v0.0.0-...-17da3fe Latest Latest
Warning

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

Go to latest
Published: Jan 19, 2018 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CfClientTokenRefresh

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

func (*CfClientTokenRefresh) RefreshAuthToken

func (ct *CfClientTokenRefresh) RefreshAuthToken() (string, error)

type FirehoseClient

type FirehoseClient interface {
	Connect() (<-chan *events.Envelope, <-chan error)
	CloseConsumer() error
}

func NewFirehoseClient

func NewFirehoseClient(cfClientConfig *cfclient.Config, firehoseConfig *FirehoseConfig, logger lager.Logger) FirehoseClient

type FirehoseConfig

type FirehoseConfig struct {
	SubscriptionId       string
	TrafficControllerUrl string
	IdleTimeout          time.Duration
}

type HumioNozzle

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

func NewHumioNozzle

func NewHumioNozzle(logger lager.Logger, firehoseClient FirehoseClient, nozzleConfig *NozzleConfig, humioClient humio.HumioClient, caching caching.CachingClient) *HumioNozzle

func (*HumioNozzle) Start

func (o *HumioNozzle) Start() error

type NozzleConfig

type NozzleConfig struct {
	HumioBatchTime         time.Duration
	HumioMaxMsgNumPerBatch int
}

Jump to

Keyboard shortcuts

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