macos

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: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Supported bool

Functions

func NewMacOSLogsService

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

Types

type MacLogsService

type MacLogsService struct {
	Conf conf.MacOSSourceConfig

	sync.Mutex
	// contains filtered or unexported fields
}

func (*MacLogsService) FatalError

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

func (*MacLogsService) Gather

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

func (*MacLogsService) SetConf

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

func (*MacLogsService) Shutdown

func (s *MacLogsService) Shutdown()

func (*MacLogsService) Start

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

func (*MacLogsService) Stop

func (s *MacLogsService) Stop()

func (*MacLogsService) Type

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

Jump to

Keyboard shortcuts

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