nozzle

package
v1.3.1 Latest Latest
Warning

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

Go to latest
Published: May 10, 2021 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run added in v1.2.0

func Run(conf *config.Config)

Types

type Nozzle

type Nozzle struct {
	Api *api.APIClient
	// contains filtered or unexported fields
}

Nozzle will read all CF events and sent it to the Forwarder

func NewNozzle

func NewNozzle(conf *config.Config, eventsChannel chan *loggregator_v2.Envelope) *Nozzle

NewNozzle create a new Nozzle

func (*Nozzle) BuildCounterEvent added in v1.2.0

func (nozzle *Nozzle) BuildCounterEvent(event *loggregator_v2.Envelope)

BuildCounterEvent parse and report metrics

func (*Nozzle) BuildGaugeEvent added in v1.2.0

func (nozzle *Nozzle) BuildGaugeEvent(event *loggregator_v2.Envelope)

func (*Nozzle) Stop added in v1.2.0

func (nozzle *Nozzle) Stop()

type UAA added in v1.2.0

type UAA interface {
	GetAuthToken() (string, error)
}

func NewUAA added in v1.2.0

func NewUAA(uaaURL string, uaaUser string, uaaPass string, skipSSLValidation bool) (UAA, error)

Jump to

Keyboard shortcuts

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