workspace

package
v0.7.0-alpha.3 Latest Latest
Warning

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

Go to latest
Published: Oct 8, 2018 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(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(uuid 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