package
0.7.1
Repository: https://github.com/enr/runp.git
Documentation: pkg.go.dev

# Functions

ConfigureUI allows to the main package to set main logger instance and configure the process logger instances.
CreateMainLogger creates logger instance for main process (runp).
Decrypt a secret using passphrase.
DecryptBase64 decrypt a secret encoded in base 64.
Encrypt a secret using passphrase.
EncryptToBase64 encypt secret and encode in base 64.
GetApplicationContext returns the singleton instance of the application context.
IsRunpfileValid returns a boolean rapresenting if any Runpfile value is valid and a list of errors.
LoadRunpfileFromPath returns an Runpfile object reading file from path.
NewExecutor creates new RunpfileExecutor.
RandomKey generates a random string usable as key to encrypt secrets.
ResetColor resets the foreground and background to original colors.
ResolveRunpfilePath Returns the path to the Runpfile and error.

# Constants

Equal ...
ErrFmtCreateProcess format used for error in process creation.
GreaterThan ...
GreaterThanOrEqual ...
LessThan ...
LessThanOrEqual ...
None ...
Proceed the process can be ran.
Stop the process.
Unknown vote.

# Variables

BuildTime of the running app.
GitCommit is the Git hash and a "+CHANGES" suffix if there are uncommitted changes.
Version of the running app.

# Structs

ApplicationContext is a singleton object containing some global variables.
Auth is auth.
AwaitCondition defines time to wait for a resource.
ContainerProcess implements RunpProcess.
Endpoint is server.
EnvironmentSettings represents settings for the current box.
EtcHostsPrecondition verify /etc/hosts contains given host.
ExecCommandStopper is the component calling the actual command stopping the process.
ExecCommandWrapper is wrapper for *exec.Cmd.
HostProcess implements RunpProcess.
LoggerConfig contains configuration for a logger.
OsPrecondition verify os.
Preconditions ...
PreconditionVerifyResult ...
Runpfile is the model containing the full configuration.
RunpfileExecutor Executor implementation for Runpfile.
RunpUnit is...
RunpVersionPrecondition checks Runp version.
Shell represents the shell used to invoke command.
SSHTunnelCommandStopper is the component calling the actual command stopping the process.
SSHTunnelCommandWrapper ...
SSHTunnelProcess implements RunpProcess.
StartPlan defines how and when start process.

# Interfaces

Logger writes out messages from the main program and output from the running processes.
Precondition is.
RunpCommand is the interface for all command types: host, container, aws process...
RunpProcess is wrapper for running process.

# Type aliases

PreconditionVote ...
VersionComparationOperator ...