Documentation ¶
Index ¶
- func CheckEncryption(IO *iostreams.IOStreams, cfg *config.Config, client *c8y.Client) error
- func ClearEnvironmentVariables(variables []string, shell ShellType)
- func ClearProcessEnvironment(variables []string)
- func GetCommandLineArgs() string
- func GetFileContentType(out *os.File) (string, error)
- func WriteShellVariables(w io.Writer, cfg map[string]interface{}, shell ShellType)
- type ShellType
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckEncryption ¶
func ClearEnvironmentVariables ¶
ClearEnvironmentVariables clears all the session related environment variables by passing a shell snippet to execute via source or eval.
func ClearProcessEnvironment ¶ added in v2.42.0
func ClearProcessEnvironment(variables []string)
func GetCommandLineArgs ¶
func GetCommandLineArgs() string
func GetFileContentType ¶
GetFileContentType TODO: Fix mime detection because it currently returns only application/octet-stream
Types ¶
Click to show internal directories.
Click to hide internal directories.