Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
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)
Click to show internal directories.
Click to hide internal directories.