package
2.1.0+incompatible
Repository: https://github.com/google/glazier.git
Documentation: pkg.go.dev

# Functions

ContainsString returns true if a string is in slice and false otherwise.
Exec executes a subprocess and returns the results.
ExecWithAttr executes a subprocess with custom process attributes and returns the results.
ExecWithVerify executes a subprocess and performs additional verification on the results.
GetServiceState interrogates local system services and returns their status and configuration.
GetSysEnv gets a system environment variable.
NewExecVerifier applys the default values to an ExecVerifier.
PathExists returns whether the given file or directory exists or not.
RestartService attempts to restart local system services.
SetSysEnv sets a system environment variable.
StartService attempts to start local system services.
StopService attempts to stop local system services.
StringToMap converts a comma separated string to a map.
StringToSlice converts a comma separated string to a slice.
WaitForProcessExit waits for a process to stop (no longer appear in the process list).

# Constants

No description provided by the author
No description provided by the author

# Variables

ErrExitCode indicates an exit-code related failure.
ErrStdErr indicates an problem with an executables stderr content.
ErrStdOut indicates an problem with an executables stdout content.
ErrTimeout indicates a timeout related failure.
PsPath contains the full path to Windows Powershell.

# Structs

ExecConfig provides flexible execution configuration.
ExecResult holds the output from a subprocess execution.
ExecVerifier provides checks against executable results.