Documentation ¶
Index ¶
- func CheckEncryption(IO *iostreams.IOStreams, cfg *config.Config, client *c8y.Client) error
- func ClearEnvironmentVariables(shell ShellType)
- func GetCommandLineArgs() string
- func GetFileContentType(out *os.File) (string, error)
- func ShowClientEnvironmentVariables(cfg *config.Config, c8yclient *c8y.Client, shell ShellType)
- func ShowEnvironmentVariables(cfg map[string]interface{}, shell ShellType)
- type ShellType
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckEncryption ¶
func ClearEnvironmentVariables ¶
func ClearEnvironmentVariables(shell ShellType)
ClearEnvironmentVariables clears all the session related environment variables by passing a shell snippet to execute via source or eval.
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.