Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetActiveWorkspaces ¶
func GetActiveWorkspaces(upStore UpStore) ([]brevapi.WorkspaceWithMeta, error)
Types ¶
type SSHConfigurer ¶
type Up ¶
type Up struct {
// contains filtered or unexported fields
}
func NewUp ¶
func NewUp(workspaces []brevapi.WorkspaceWithMeta, sshConfigurer SSHConfigurer, workspaceGroupClientMapper k8s.WorkspaceGroupClientMapper) *Up
type UpStore ¶
type UpStore interface {
brevssh.SSHStore
k8s.K8sStore
GetActiveOrganizationOrDefault() (*brevapi.Organization, error)
GetWorkspaces(organizationID string, options *store.GetWorkspacesOptions) ([]brevapi.Workspace, error)
GetWorkspaceMetaData(workspaceID string) (*brevapi.WorkspaceMetaData, error)
GetCurrentUser() (*brevapi.User, error)
}
Click to show internal directories.
Click to hide internal directories.