workspace

package
v0.9.0-alpha.8 Latest Latest
Warning

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

Go to latest
Published: May 8, 2019 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Add

func Add(workspaceId, email string) error

Add a user to a workspace

func Create

func Create(label, desc string) error

Create a workspace

func Delete

func Delete(id string) error

Delete a workspace by id

func GetCurrentWorkspace added in v0.2.2

func GetCurrentWorkspace() (string, error)

GetCurrentWorkspace gets the current workspace set in context config Returns a string representing the current workspace and an error if it doesn't exist

func List

func List() error

List all workspaces

func Remove

func Remove(workspaceId, email string) error

Remove a user from a workspace

func Switch added in v0.2.2

func Switch(id string) error

Switch switches workspaces

func Update

func Update(id string, args map[string]string) error

Update an astronomer workspace

Types

This section is empty.

Jump to

Keyboard shortcuts

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