Documentation ¶
Index ¶
- func ConvertNametoSSHName(store PortforwardStore, workspaceNameOrID string, useHost bool) (string, error)
- func NewCmdPortForwardSSH(pfStore PortforwardStore, t *terminal.Terminal) *cobra.Command
- func RunPortforward(pfStore PortforwardStore, nameOrID string, portString string, useHost bool) error
- func RunSSHPortForward(forwardType string, localPort string, remotePort string, sshName string) (*os.Process, error)
- type PortforwardStore
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConvertNametoSSHName ¶ added in v0.6.63
func ConvertNametoSSHName(store PortforwardStore, workspaceNameOrID string, useHost bool) (string, error)
func NewCmdPortForwardSSH ¶ added in v0.6.60
func NewCmdPortForwardSSH(pfStore PortforwardStore, t *terminal.Terminal) *cobra.Command
func RunPortforward ¶ added in v0.6.263
func RunPortforward(pfStore PortforwardStore, nameOrID string, portString string, useHost bool) error
Types ¶
type PortforwardStore ¶
type PortforwardStore interface { completions.CompletionStore refresh.RefreshStore util.GetWorkspaceByNameOrIDErrStore util.MakeWorkspaceWithMetaStore }
Click to show internal directories.
Click to hide internal directories.