Documentation
¶
Index ¶
- func Commands(con *console.SliverClient) []*cobra.Command
- func EnvGetCmd(cmd *cobra.Command, con *console.SliverClient, args []string)
- func EnvSetCmd(cmd *cobra.Command, con *console.SliverClient, args []string)
- func EnvUnsetCmd(cmd *cobra.Command, con *console.SliverClient, args []string)
- func PrintGetEnvInfo(envInfo *sliverpb.EnvInfo, con *console.SliverClient)
- func PrintSetEnvInfo(name string, value string, envInfo *sliverpb.SetEnv, con *console.SliverClient)
- func PrintUnsetEnvInfo(name string, envInfo *sliverpb.UnsetEnv, con *console.SliverClient)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Commands ¶
func Commands(con *console.SliverClient) []*cobra.Command
Commands returns the “ command and its subcommands.
func EnvGetCmd ¶
func EnvGetCmd(cmd *cobra.Command, con *console.SliverClient, args []string)
EnvGetCmd - Get a remote environment variable
func EnvSetCmd ¶
func EnvSetCmd(cmd *cobra.Command, con *console.SliverClient, args []string)
EnvSetCmd - Set a remote environment variable
func EnvUnsetCmd ¶
func EnvUnsetCmd(cmd *cobra.Command, con *console.SliverClient, args []string)
EnvUnsetCmd - Unset a remote environment variable
func PrintGetEnvInfo ¶
func PrintGetEnvInfo(envInfo *sliverpb.EnvInfo, con *console.SliverClient)
PrintGetEnvInfo - Print the results of the env get command
func PrintSetEnvInfo ¶
func PrintSetEnvInfo(name string, value string, envInfo *sliverpb.SetEnv, con *console.SliverClient)
PrintSetEnvInfo - Print the set environment info
func PrintUnsetEnvInfo ¶
func PrintUnsetEnvInfo(name string, envInfo *sliverpb.UnsetEnv, con *console.SliverClient)
PrintUnsetEnvInfo - Print the set environment info
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.