workspace

package
v0.6.2 Latest Latest
Warning

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

Go to latest
Published: Oct 3, 2018 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Add

func Add(workspaceUuid, email string) error

Add a user to a workspace

func Create

func Create(label, desc string) error

Create a workspace

func Delete

func Delete(uuid string) error

Delete a workspace by uuid

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(workspaceUuid, email string) error

Remove a user from a workspace

func Switch added in v0.2.2

func Switch(uuid string) error

Switch switches workspaces

func Update

func Update(workspaceId 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