setup

package
v0.6.98 Latest Latest
Warning

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

Go to latest
Published: Aug 26, 2022 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package setup WE SHOULD SETUP THE USER HERE

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCmdOpen

func NewCmdOpen(_ *terminal.Terminal, _ SetupStore) *cobra.Command

Types

type SetupStore

type SetupStore interface {
	GetCurrentUser() (*entity.User, error)
	CreateUser(idToken string) (*entity.User, error)
	GetOrganizations(options *store.GetOrganizationsOptions) ([]entity.Organization, error)
	CreateOrganization(req store.CreateOrganizationRequest) (*entity.Organization, error)
	GetServerSockFile() string
	GetWorkspaces(organizationID string, options *store.GetWorkspacesOptions) ([]entity.Workspace, error)
}

Jump to

Keyboard shortcuts

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