environment

package
v1.15.16 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 9, 2022 License: GPL-3.0 Imports: 7 Imported by: 2

README

Environment

Contains command implementations for manipulating remote environment variables.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EnvGetCmd

func EnvGetCmd(ctx *grumble.Context, con *console.SliverConsoleClient)

EnvGetCmd - Get a remote environment variable

func EnvSetCmd

func EnvSetCmd(ctx *grumble.Context, con *console.SliverConsoleClient)

EnvSetCmd - Set a remote environment variable

func EnvUnsetCmd

func EnvUnsetCmd(ctx *grumble.Context, con *console.SliverConsoleClient)

EnvUnsetCmd - Unset a remote environment variable

func PrintGetEnvInfo added in v1.5.0

func PrintGetEnvInfo(envInfo *sliverpb.EnvInfo, con *console.SliverConsoleClient)

PrintGetEnvInfo - Print the results of the env get command

func PrintSetEnvInfo added in v1.5.0

func PrintSetEnvInfo(name string, value string, envInfo *sliverpb.SetEnv, con *console.SliverConsoleClient)

PrintSetEnvInfo - Print the set environment info

func PrintUnsetEnvInfo added in v1.5.0

func PrintUnsetEnvInfo(name string, envInfo *sliverpb.UnsetEnv, con *console.SliverConsoleClient)

PrintUnsetEnvInfo - Print the set environment info

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL