Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WorkspacesFromWorkspaceWithMeta ¶ added in v0.6.2
func WorkspacesFromWorkspaceWithMeta(wwm []entity.WorkspaceWithMeta) []entity.Workspace
NADER IS SO FUCKING SORRY FOR DOING THIS TWICE BUT I HAVE NO CLUE WHERE THIS HELPER FUNCTION SHOULD GO SO ITS COPY/PASTED ELSEWHERE IF YOU MODIFY IT MODIFY IT EVERYWHERE OR PLEASE PUT IT IN ITS PROPER PLACE. thank you you're the best <3
Types ¶
type RandomSSHResolver ¶
type RandomSSHResolver struct {
WorkspaceResolver WorkspaceResolver
}
func NewRandomPortSSHResolver ¶
func NewRandomPortSSHResolver(workspaceResolver WorkspaceResolver) *RandomSSHResolver
func (RandomSSHResolver) GetConfiguredWorkspacePort ¶
func (r RandomSSHResolver) GetConfiguredWorkspacePort(_ entity.Workspace) (string, error)
func (RandomSSHResolver) GetWorkspaces ¶
func (r RandomSSHResolver) GetWorkspaces() ([]entity.WorkspaceWithMeta, error)
type SSHAll ¶
type SSHAll struct {
// contains filtered or unexported fields
}
func NewSSHAll ¶
func NewSSHAll( workspaces []entity.WorkspaceWithMeta, workspaceGroupClientMapper k8s.WorkspaceGroupClientMapper, sshResolver SSHResolver, ) *SSHAll
type SSHResolver ¶
type WorkspaceResolver ¶
Click to show internal directories.
Click to hide internal directories.