Documentation
¶
Index ¶
- Constants
- func NewCreateCmd(flags *flags.GlobalFlags) *cobra.Command
- func NewDeleteCmd(flags *flags.GlobalFlags) *cobra.Command
- func NewInspectCmd(flags *flags.GlobalFlags) *cobra.Command
- func NewListCmd(flags *flags.GlobalFlags) *cobra.Command
- func NewMachineCmd(flags *flags.GlobalFlags) *cobra.Command
- func NewSSHCmd(flags *flags.GlobalFlags) *cobra.Command
- func NewStartCmd(flags *flags.GlobalFlags) *cobra.Command
- func NewStatusCmd(flags *flags.GlobalFlags) *cobra.Command
- func NewStopCmd(flags *flags.GlobalFlags) *cobra.Command
- func RunSSHSession(ctx context.Context, sshClient *ssh.Client, options RunSSHSessionOptions) error
- func StartSSHSession(ctx context.Context, options StartSSHSessionOptions) error
- type CreateCmd
- type DeleteCmd
- type ExecFunc
- type InspectCmd
- type ListCmd
- type RunSSHSessionOptions
- type SSHCmd
- type SSHSessionOptions
- type StartCmd
- type StartSSHSessionOptions
- type StatusCmd
- type StopCmd
Constants ¶
View Source
const ( TermModeAuto = "auto" TermModeStrict = "strict" TermModeFallback = "fallback" )
Variables ¶
This section is empty.
Functions ¶
func NewCreateCmd ¶
func NewCreateCmd(flags *flags.GlobalFlags) *cobra.Command
NewCreateCmd creates a new create command.
func NewDeleteCmd ¶
func NewDeleteCmd(flags *flags.GlobalFlags) *cobra.Command
NewDeleteCmd creates a new destroy command.
func NewInspectCmd ¶
func NewInspectCmd(flags *flags.GlobalFlags) *cobra.Command
func NewListCmd ¶
func NewListCmd(flags *flags.GlobalFlags) *cobra.Command
NewListCmd creates a new destroy command.
func NewMachineCmd ¶
func NewMachineCmd(flags *flags.GlobalFlags) *cobra.Command
NewMachineCmd returns a new root command.
func NewSSHCmd ¶
func NewSSHCmd(flags *flags.GlobalFlags) *cobra.Command
NewSSHCmd creates a new destroy command.
func NewStartCmd ¶
func NewStartCmd(flags *flags.GlobalFlags) *cobra.Command
NewStartCmd creates a new destroy command.
func NewStatusCmd ¶
func NewStatusCmd(flags *flags.GlobalFlags) *cobra.Command
NewStatusCmd creates a new destroy command.
func NewStopCmd ¶
func NewStopCmd(flags *flags.GlobalFlags) *cobra.Command
NewStopCmd creates a new destroy command.
func RunSSHSession ¶
func StartSSHSession ¶
func StartSSHSession(ctx context.Context, options StartSSHSessionOptions) error
Types ¶
type CreateCmd ¶
type CreateCmd struct {
*flags.GlobalFlags
ProviderOptions []string
}
CreateCmd holds the configuration.
type DeleteCmd ¶
type DeleteCmd struct {
*flags.GlobalFlags
GracePeriod string
Force bool
}
DeleteCmd holds the configuration.
type InspectCmd ¶
type InspectCmd struct {
*flags.GlobalFlags
}
type ListCmd ¶
type ListCmd struct {
*flags.GlobalFlags
Output string
}
ListCmd holds the configuration.
type RunSSHSessionOptions ¶ added in v0.13.0
type RunSSHSessionOptions struct {
Command string
AgentForwarding bool
SessionOptions SSHSessionOptions
Stderr io.Writer
}
type SSHCmd ¶
type SSHCmd struct {
*flags.GlobalFlags
Command string
AgentForwarding bool
TermMode string
InstallTerminfo bool
}
SSHCmd holds the configuration.
type SSHSessionOptions ¶ added in v0.13.0
type StartSSHSessionOptions ¶ added in v0.13.0
type StatusCmd ¶
type StatusCmd struct {
*flags.GlobalFlags
Output string
}
StatusCmd holds the configuration.
Click to show internal directories.
Click to hide internal directories.