Documentation ¶
Index ¶
- Variables
- func NewMacOSLogsService(env *base.ProviderEnv) (base.Provider, error)
- type MacLogsService
- func (s *MacLogsService) FatalError() chan struct{}
- func (s *MacLogsService) Gather() ([]*dto.MetricFamily, error)
- func (s *MacLogsService) SetConf(c conf.BaseConfig)
- func (s *MacLogsService) Shutdown()
- func (s *MacLogsService) Start() (infos []model.ListenerInfo, err error)
- func (s *MacLogsService) Stop()
- func (s *MacLogsService) Type() base.Types
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
Click to show internal directories.
Click to hide internal directories.