helper

package
v0.51.2-rc.2 Latest Latest
Warning

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

Go to latest
Published: Mar 13, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

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 NewUnixHelper

func NewUnixHelper() *Unix

NewUnixHelper create a new instance of Unix helper

func (*Unix) GetBinaryPath

func (u *Unix) GetBinaryPath() string

GetBinaryPath return the datadog-agent binary path

func (*Unix) GetConfigFileName added in v0.51.0

func (u *Unix) GetConfigFileName() string

GetConfigFileName return the config file name

func (*Unix) GetConfigFolder

func (u *Unix) GetConfigFolder() string

GetConfigFolder return the config folder path

func (*Unix) GetInstallFolder

func (u *Unix) GetInstallFolder() string

GetInstallFolder return the install folder path

func (*Unix) GetServiceName added in v0.51.0

func (u *Unix) GetServiceName() string

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

Jump to

Keyboard shortcuts

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