exec

package
v0.73.2 Latest Latest
Warning

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

Go to latest
Published: Dec 23, 2025 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Rendered for windows/amd64

Overview

Package exec provides wrappers to external executables

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type APMInjectExec added in v0.73.0

type APMInjectExec struct {
	// contains filtered or unexported fields
}

APMInjectExec is a wrapper around the ddinjector-installer.exe binary.

func NewAPMInjectExec added in v0.73.0

func NewAPMInjectExec(execBinPath string) *APMInjectExec

NewAPMInjectExec returns a new APMInjectExec.

func (*APMInjectExec) Install added in v0.73.0

func (a *APMInjectExec) Install(ctx context.Context) (exitCode int, err error)

Install installs the DDInjector kernel driver.

func (*APMInjectExec) Uninstall added in v0.73.0

func (a *APMInjectExec) Uninstall(ctx context.Context) (exitCode int, err error)

Uninstall uninstalls the DDInjector kernel driver.

func (*APMInjectExec) UpdateSkipList added in v0.73.0

func (a *APMInjectExec) UpdateSkipList(ctx context.Context) (exitCode int, err error)

UpdateSkipList updates the default skip list.

func (*APMInjectExec) WithDDAgentVersion added in v0.73.0

func (a *APMInjectExec) WithDDAgentVersion(version string) *APMInjectExec

WithDDAgentVersion sets the version of the Datadog Agent.

func (*APMInjectExec) WithDDInjectorPackage added in v0.73.0

func (a *APMInjectExec) WithDDInjectorPackage(packagePath string) *APMInjectExec

WithDDInjectorPackage sets the path of the ddinjector package.

func (*APMInjectExec) WithDebug added in v0.73.0

func (a *APMInjectExec) WithDebug(debug bool) *APMInjectExec

WithDebug enables debug logging.

func (*APMInjectExec) WithLogPath added in v0.73.0

func (a *APMInjectExec) WithLogPath(logPath string) *APMInjectExec

WithLogPath sets the log file path.

func (*APMInjectExec) WithSilent added in v0.73.0

func (a *APMInjectExec) WithSilent(silent bool) *APMInjectExec

WithSilent enables silent mode (no console output).

type DotnetLibraryExec

type DotnetLibraryExec struct {
	// contains filtered or unexported fields
}

DotnetLibraryExec is a wrapper around the dotnet-library-exec binary.

func NewDotnetLibraryExec

func NewDotnetLibraryExec(execBinPath string) *DotnetLibraryExec

NewDotnetLibraryExec returns a new DotnetLibraryExec.

func (*DotnetLibraryExec) EnableIISInstrumentation

func (d *DotnetLibraryExec) EnableIISInstrumentation(ctx context.Context, homePath string) (exitCode int, err error)

EnableIISInstrumentation enables the IIS instrumentation on the system.

func (*DotnetLibraryExec) InstallVersion

func (d *DotnetLibraryExec) InstallVersion(ctx context.Context, homePath string) (exitCode int, err error)

InstallVersion installs a version of the library.

func (*DotnetLibraryExec) RemoveIISInstrumentation

func (d *DotnetLibraryExec) RemoveIISInstrumentation(ctx context.Context) (exitCode int, err error)

RemoveIISInstrumentation removes the IIS instrumentation from the system.

func (*DotnetLibraryExec) UninstallVersion

func (d *DotnetLibraryExec) UninstallVersion(ctx context.Context, homePath string) (exitCode int, err error)

UninstallVersion cleans up dependencies of a version of the library.

Jump to

Keyboard shortcuts

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