Documentation
¶
Overview ¶
Package support contains functionality around remote port forwarding.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var SupportCmd = &subcommands.Command{ UsageLine: "initiate <args>", ShortDesc: `Initiate support`, LongDesc: `Opens a connection to provide remote support. To use this, you need a project on Google Cloud Platform configured according to the instructions provided`, CommandRun: func() subcommands.CommandRun { c := &initiateSupportRun{} c.Flags.StringVar(&c.ProjectID, "project-id", "", "The Google Cloud project ID to use") c.Flags.StringVar(&c.Zone, "zone", "", "Google Cloud Platform zone close to your lab location") c.Flags.StringVar(&c.Network, "network", "satlab-support ", "Specifies the network that the VM instance will be a part of") c.Flags.StringVar(&c.Timeout, "timeout", "1h", "The duration you want this VM to run before being automatically terminated. Format the duration as the number of days, hours, minutes, and seconds followed by d, h, m, and s respectively. For example, specify 30m for a duration of 30 minutes, or specify 1d2h3m4s for a duration of 1 day, 2 hours, 3 minutes, and 4 seconds. The minimum duration is 30 seconds (30s) and the maximum duration is 120 days (120d).") c.Flags.IntVar(&c.Port, "port", 22, "The port that will be forwarded") return c }, }
SupportCmd contains the usage and implementation for the support initiate command
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.