Documentation ¶
Overview ¶
Package helper implement interfaces to get some information that can be OS specific
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Unix ¶
type Unix struct{}
Unix implement helper function for Unix distributions
func (*Unix) GetBinaryPath ¶
GetBinaryPath return the datadog-agent binary path
func (*Unix) GetConfigFileName ¶ added in v0.51.0
GetConfigFileName return the config file name
func (*Unix) GetConfigFolder ¶
GetConfigFolder return the config folder path
func (*Unix) GetInstallFolder ¶
GetInstallFolder return the install folder path
func (*Unix) GetServiceName ¶ added in v0.51.0
GetServiceName return the service name
type UnixDogstatsd ¶ added in v0.51.0
type UnixDogstatsd struct{}
UnixDogstatsd implement helper function for Dogstatsd on Unix distributions
func NewUnixDogstatsdHelper ¶ added in v0.51.0
func NewUnixDogstatsdHelper() *UnixDogstatsd
NewUnixDogstatsdHelper create a new instance of Unix helper for dogstatsd
func (*UnixDogstatsd) GetBinaryPath ¶ added in v0.51.0
func (u *UnixDogstatsd) GetBinaryPath() string
GetBinaryPath return the datadog-agent binary path
func (*UnixDogstatsd) GetConfigFileName ¶ added in v0.51.0
func (u *UnixDogstatsd) GetConfigFileName() string
GetConfigFileName return the config file name
func (*UnixDogstatsd) GetConfigFolder ¶ added in v0.51.0
func (u *UnixDogstatsd) GetConfigFolder() string
GetConfigFolder return the config folder path
func (*UnixDogstatsd) GetInstallFolder ¶ added in v0.51.0
func (u *UnixDogstatsd) GetInstallFolder() string
GetInstallFolder return the install folder path
func (*UnixDogstatsd) GetServiceName ¶ added in v0.51.0
func (u *UnixDogstatsd) GetServiceName() string
GetServiceName return the service name