Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
Port string
)
Functions ¶
func GetWorkspaceByIDOrName ¶
func GetWorkspaceByIDOrName(workspaceIDOrName string, pfStore PortforwardStore) (*entity.WorkspaceWithMeta, error)
func NewCmdPortForward ¶
func NewCmdPortForward(pfStore PortforwardStore, t *terminal.Terminal) *cobra.Command
Types ¶
type PortforwardStore ¶
type PortforwardStore interface { k8s.K8sStore completions.CompletionStore GetWorkspaceMetaData(workspaceID string) (*entity.WorkspaceMetaData, error) GetWorkspace(workspaceID string) (*entity.Workspace, error) GetAllWorkspaces(options *store.GetWorkspacesOptions) ([]entity.Workspace, error) GetCurrentUser() (*entity.User, error) }
type WorkspaceResolver ¶
type WorkspaceResolver struct{}
Click to show internal directories.
Click to hide internal directories.