up

package
v0.6.11 Latest Latest
Warning

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

Go to latest
Published: Jan 27, 2022 License: MIT Imports: 10 Imported by: 0

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