Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConnectToWebsocket ¶
func ConnectToWebsocket(url string, resize chan<- TerminalSize)
ConnectToWebsocket wires up STDIN and STDOUT to a websocket, allowing you to use it as a terminal
func GetToken ¶
func GetToken() string
GetToken retrieves a valid OAuth token for use with Azure Resource Manager APIs
func ProvisionCloudShell ¶
func ProvisionCloudShell(token string, shellType string, initialSize TerminalSize, resize <-chan TerminalSize) string
ProvisionCloudShell sets up a Cloud Shell and a websocket to connect into it
Types ¶
type TerminalSize ¶ added in v0.0.3
func GetTerminalSize ¶ added in v0.0.3
func GetTerminalSize() TerminalSize
Click to show internal directories.
Click to hide internal directories.