sinkmanager

package
v74.0.2+incompatible Latest Latest
Warning

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

Go to latest
Published: Jan 16, 2017 License: Apache-2.0, BSD-3-Clause, MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SinkManager

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

func New

func New(
	maxRetainedLogMessages uint32,
	skipCertVerify bool,
	blackListManager *blacklist.URLBlacklistManager,
	messageDrainBufferSize uint,
	dropsondeOrigin string,
	sinkTimeout,
	sinkIOTimeout,
	metricTTL,
	dialTimeout time.Duration,
) *SinkManager

func (*SinkManager) IsFirehoseRegistered

func (sm *SinkManager) IsFirehoseRegistered(sink sinks.Sink) bool

func (*SinkManager) LatestContainerMetrics

func (sm *SinkManager) LatestContainerMetrics(appId string) []*events.Envelope

func (*SinkManager) RecentLogsFor

func (sm *SinkManager) RecentLogsFor(appId string) []*events.Envelope

func (*SinkManager) RegisterFirehoseSink

func (sm *SinkManager) RegisterFirehoseSink(sink sinks.Sink) bool

func (*SinkManager) RegisterSink

func (sm *SinkManager) RegisterSink(sink sinks.Sink) bool

func (*SinkManager) SendSyslogErrorToLoggregator

func (sm *SinkManager) SendSyslogErrorToLoggregator(errorMsg string, appId string)

func (*SinkManager) SendTo

func (sm *SinkManager) SendTo(appID string, msg *events.Envelope)

func (*SinkManager) Start

func (sm *SinkManager) Start(newAppServiceChan, deletedAppServiceChan <-chan appservice.AppService)

func (*SinkManager) Stop

func (sm *SinkManager) Stop()

func (*SinkManager) UnregisterFirehoseSink

func (sm *SinkManager) UnregisterFirehoseSink(sink sinks.Sink)

func (*SinkManager) UnregisterSink

func (sm *SinkManager) UnregisterSink(sink sinks.Sink)

Jump to

Keyboard shortcuts

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