package
2.1.0+incompatible
Repository: https://github.com/openebs/node-disk-manager.git
Documentation: pkg.go.dev
# Functions
ExecCommand runs a command on the host and get the output.
ExecCommandWithPipe runs 2 commands, pipe the output of first command to second, and returns output from the second.
ExecCommandWithSudo runs a command with sudo permissions and return the output as a string.
GetConfigPath returns the filepath of kubeconfig file.
GetHomeDir gets the home directory for the system.
GetYAMLString gets the yaml-string from the given YAML file.
RunCommand runs a command on the host.
RunCommandWithSudo runs a command with sudo permissions.