helper

package
v0.50.0-rc.7 Latest Latest
Warning

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

Go to latest
Published: Dec 11, 2023 License: Apache-2.0 Imports: 0 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) 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

Jump to

Keyboard shortcuts

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