Documentation ¶
Index ¶
- 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(flags *flags.GlobalFlags) *cobra.Command
- func NewStatusCmd(flags *flags.GlobalFlags) *cobra.Command
- func NewStopCmd(flags *flags.GlobalFlags) *cobra.Command
- func NewUpCmd(flags *flags.GlobalFlags) *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 VersionCmd
Constants ¶
This section is empty.
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(flags *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(flags *flags.GlobalFlags) *cobra.Command
NewUpCmd creates a new up 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 ForwardPortsTimeout string ForwardPorts []string ReverseForwardPorts []string Stdio bool JumpContainer bool AgentForwarding bool GPGAgentForwarding bool 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 SSHConfigPath string DotfilesSource string DotfilesScript string }
UpCmd holds the up cmd flags