linux

package
v0.0.0-...-2081a44 Latest Latest
Warning

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

Go to latest
Published: Jun 10, 2018 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewJournalService

func NewJournalService(env *base.ProviderEnv) (base.Provider, error)

Types

type JournalService

type JournalService struct {
	Conf conf.JournaldConfig
	// contains filtered or unexported fields
}

func (*JournalService) FatalError

func (s *JournalService) FatalError() chan struct{}

func (*JournalService) Gather

func (s *JournalService) Gather() ([]*dto.MetricFamily, error)

func (*JournalService) SetConf

func (s *JournalService) SetConf(c conf.BaseConfig)

func (*JournalService) Shutdown

func (s *JournalService) Shutdown()

func (*JournalService) Start

func (s *JournalService) Start() (infos []model.ListenerInfo, err error)

func (*JournalService) Stop

func (s *JournalService) Stop()

func (*JournalService) Type

func (s *JournalService) Type() base.Types

Jump to

Keyboard shortcuts

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