Documentation ¶
Index ¶
Constants ¶
View Source
const ( CollectorName = "collector.sh" CollectorScript = "scripts/collector.sh" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { ShellType config.ShellType ShellLocation string IsRoot bool SudoExecUser *user.User OdaDir string HomeDir string }
Config is the configuration for the shell
type Shell ¶
type Shell struct { Config *Config // contains filtered or unexported fields }
Shell is the shell configuration
func (*Shell) DeleteShellConfiguration ¶
DeleteShellConfiguration removes the shell configuration
func (*Shell) InjectShellSource ¶
InjectShellSource injects the shell source
func (*Shell) InstallShellConfiguration ¶
InstallShellConfiguration installs the shell configuration
Click to show internal directories.
Click to hide internal directories.