org

package
v0.0.0-...-194279b Latest Latest
Warning

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

Go to latest
Published: Aug 5, 2020 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Delete

func Delete() error

func GetDefaultOrgID

func GetDefaultOrgID() string

func GetUsername

func GetUsername() string

Types

type Organization

type Organization struct {
	ID    string `json:"id"`
	Name  string `json:"name"`
	Label string `json:"label"`
}

func Get

func Get(orgIdOrName string, client *oauth2ns.AuthorizedClient) (Organization, error)

Get returns the stored org information if it is given an empty string It will also store information if it is not an empty string for use next time

func GetOrgInfo

func GetOrgInfo(orgIdOrName string) (out Organization, err error)

Jump to

Keyboard shortcuts

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