Documentation
¶
Index ¶
- Constants
- func BuildRoot() *cobra.Command
- func Execute()
- func NewBuildCmd(flags *flags.GlobalFlags) *cobra.Command
- func NewDeleteCmd(flags *flags.GlobalFlags) *cobra.Command
- func NewExportCmd(flags *flags.GlobalFlags) *cobra.Command
- func NewImportCmd(flags *flags.GlobalFlags) *cobra.Command
- func NewListCmd(flags *flags.GlobalFlags) *cobra.Command
- func NewLogsCmd(flags *flags.GlobalFlags) *cobra.Command
- func NewLogsDaemonCmd(flags *flags.GlobalFlags) *cobra.Command
- func NewRootCmd() *cobra.Command
- func NewSSHCmd(f *flags.GlobalFlags) *cobra.Command
- func NewStatusCmd(flags *flags.GlobalFlags) *cobra.Command
- func NewStopCmd(flags *flags.GlobalFlags) *cobra.Command
- func NewUpCmd(f *flags.GlobalFlags) *cobra.Command
- func NewUpgradeCmd() *cobra.Command
- func NewVersionCmd() *cobra.Command
- type BuildCmd
- type DeleteCmd
- type ExportCmd
- type ImportCmd
- type ListCmd
- type LogsCmd
- type LogsDaemonCmd
- type SSHCmd
- type StatusCmd
- type StopCmd
- type UpCmd
- type UpgradeCmd
- type VersionCmd
Constants ¶
const (
DisableSSHKeepAlive time.Duration = 0 * time.Second
)
Variables ¶
This section is empty.
Functions ¶
func Execute ¶
func Execute()
Execute adds all child commands to the root command and sets flags appropriately. This is called by main.main(). It only needs to happen once to the rootCmd.
func NewBuildCmd ¶
func NewBuildCmd(flags *flags.GlobalFlags) *cobra.Command
NewBuildCmd creates a new command
func NewDeleteCmd ¶
func NewDeleteCmd(flags *flags.GlobalFlags) *cobra.Command
NewDeleteCmd creates a new command
func NewExportCmd ¶ added in v0.5.0
func NewExportCmd(flags *flags.GlobalFlags) *cobra.Command
NewExportCmd creates a new command
func NewImportCmd ¶ added in v0.5.0
func NewImportCmd(flags *flags.GlobalFlags) *cobra.Command
NewImportCmd creates a new command
func NewListCmd ¶
func NewListCmd(flags *flags.GlobalFlags) *cobra.Command
NewListCmd creates a new destroy command
func NewLogsCmd ¶ added in v0.5.5
func NewLogsCmd(flags *flags.GlobalFlags) *cobra.Command
NewLogsCmd creates a new destroy command
func NewLogsDaemonCmd ¶ added in v0.0.3
func NewLogsDaemonCmd(flags *flags.GlobalFlags) *cobra.Command
NewLogsDaemonCmd creates a new destroy command
func NewSSHCmd ¶
func NewSSHCmd(f *flags.GlobalFlags) *cobra.Command
NewSSHCmd creates a new ssh command
func NewStatusCmd ¶
func NewStatusCmd(flags *flags.GlobalFlags) *cobra.Command
NewStatusCmd creates a new command
func NewStopCmd ¶
func NewStopCmd(flags *flags.GlobalFlags) *cobra.Command
NewStopCmd creates a new destroy command
func NewUpCmd ¶
func NewUpCmd(f *flags.GlobalFlags) *cobra.Command
NewUpCmd creates a new up command
func NewUpgradeCmd ¶ added in v0.5.18
NewUpgradeCmd creates a new upgrade command
func NewVersionCmd ¶
NewVersionCmd creates a new ws-tunnel command
Types ¶
type BuildCmd ¶
type BuildCmd struct {
*flags.GlobalFlags
provider.CLIOptions
ProviderOptions []string
SkipDelete bool
Machine string
}
BuildCmd holds the cmd flags
type DeleteCmd ¶
type DeleteCmd struct {
*flags.GlobalFlags
client2.DeleteOptions
}
DeleteCmd holds the delete cmd flags
type ExportCmd ¶ added in v0.5.0
type ExportCmd struct {
*flags.GlobalFlags
}
ExportCmd holds the export cmd flags
type ImportCmd ¶ added in v0.5.0
type ImportCmd struct {
*flags.GlobalFlags
WorkspaceID string
MachineID string
MachineReuse bool
ProviderID string
ProviderReuse bool
Data string
}
ImportCmd holds the export cmd flags
type ListCmd ¶
type ListCmd struct {
*flags.GlobalFlags
Output string
}
ListCmd holds the configuration
type LogsCmd ¶ added in v0.5.5
type LogsCmd struct {
*flags.GlobalFlags
}
LogsCmd holds the configuration
type LogsDaemonCmd ¶ added in v0.0.3
type LogsDaemonCmd struct {
*flags.GlobalFlags
}
LogsDaemonCmd holds the configuration
type SSHCmd ¶
type SSHCmd struct {
*flags.GlobalFlags
dpFlags.GitCredentialsFlags
ForwardPortsTimeout string
ForwardPorts []string
ReverseForwardPorts []string
SendEnvVars []string
SetEnvVars []string
Stdio bool
JumpContainer bool
AgentForwarding bool
GPGAgentForwarding bool
GitSSHSignatureForwarding bool
// ssh keepalive options
SSHKeepAliveInterval time.Duration `json:"sshKeepAliveInterval,omitempty"`
StartServices bool
Proxy bool
Command string
User string
WorkDir string
}
SSHCmd holds the ssh cmd flags
type StatusCmd ¶
type StatusCmd struct {
*flags.GlobalFlags
client2.StatusOptions
Output string
Timeout string
}
StatusCmd holds the cmd flags
type UpCmd ¶
type UpCmd struct {
provider2.CLIOptions
*flags.GlobalFlags
Machine string
ProviderOptions []string
ConfigureSSH bool
GPGAgentForwarding bool
OpenIDE bool
SetupLoftPlatformAccess bool
SSHConfigPath string
DotfilesSource string
DotfilesScript string
}
UpCmd holds the up cmd flags
type UpgradeCmd ¶ added in v0.5.18
type UpgradeCmd struct {
Version string
// contains filtered or unexported fields
}
UpgradeCmd is a struct that defines a command call for "upgrade"