up

package
v0.6.109 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 16, 2022 License: MIT Imports: 10 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetActiveWorkspaces

func GetActiveWorkspaces(upStore UpStore) ([]entity.WorkspaceWithMeta, error)

func NewCmdJetbrains added in v0.6.2

func NewCmdJetbrains(upStore UpStore, t *terminal.Terminal, jetbrainsOnly bool) *cobra.Command

Types

type SSHConfigurer

type SSHConfigurer interface {
	Sync() error
	sshall.SSHResolver
}

type Up

type Up struct {
	// contains filtered or unexported fields
}

func NewUp

func NewUp(workspaces []entity.WorkspaceWithMeta, sshConfigurer SSHConfigurer, workspaceGroupClientMapper k8s.WorkspaceGroupClientMapper) *Up

func (Up) Run

func (o Up) Run() error

type UpStore

type UpStore interface {
	ssh.SSHStore
	ssh.SSHConfigurerStore
	ssh.JetBrainsGatewayConfigStore
	k8s.K8sStore
	GetActiveOrganizationOrDefault() (*entity.Organization, error)
	GetWorkspaces(organizationID string, options *store.GetWorkspacesOptions) ([]entity.Workspace, error)
	GetWorkspaceMetaData(workspaceID string) (*entity.WorkspaceMetaData, error)
	GetCurrentUser() (*entity.User, error)
	DoesJetbrainsFilePathExist() (bool, error)
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL