package
0.0.0-20240207103733-56d15c8227da
Repository: https://github.com/openshift/node-observability-agent.git
Documentation: pkg.go.dev

# Constants

NoError instructs the FakeConnector to return without errors.
Scripr Error instructs the FakeConnector to simulate an error.
SocketErr instructs the FakeConnector to return an error related to the curl command execution.
WriteErr instructs the FakeConnector to return an error related to the storage of curl output to file.

# Structs

Connector represents a command being prepared to be run.
FakeConnector is a structure that holds the shell command to fake-run, its parameters as well as a Flag, that helps orient the behavior of the mock.

# Interfaces

CmdWrapper wrap a exec.Cmd, or its fake.

# Type aliases

ErrorFlag values can be NoError, SocketErr or WriteErr.