org

package
v0.8.5 Latest Latest
Warning

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

Go to latest
Published: May 2, 2017 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const UnknownName = "unknown"

Variables

This section is empty.

Functions

func FindBySpaceGuid added in v0.8.0

func FindBySpaceGuid(spaceGuid string) (orgId string, orgName string)

func FindOrgNameBySpaceGuid

func FindOrgNameBySpaceGuid(spaceGuid string) string

func LoadOrgCache

func LoadOrgCache(cliConnection plugin.CliConnection)

Types

type Org

type Org struct {
	Guid                 string `json:"guid"`
	Name                 string `json:"name"`
	QuotaGuid            string `json:"quota_definition_guid"`
	Status               string `json:"status"`
	Domains_url          string `json:"domains_url"`
	Private_domains_url  string `json:"private_domains_url"`
	Users_url            string `json:"users_url"`
	Managers_url         string `json:"managers_url"`
	Auditors_url         string `json:"auditors_url"`
	Billing_managers_url string `json:"billing_managers_url"`
}

func All added in v0.8.0

func All() []Org

func FindOrgMetadata

func FindOrgMetadata(orgGuid string) Org

type OrgResource

type OrgResource struct {
	Meta   common.Meta `json:"metadata"`
	Entity Org         `json:"entity"`
}

type OrgResponse

type OrgResponse struct {
	Count     int           `json:"total_results"`
	Pages     int           `json:"total_pages"`
	NextUrl   string        `json:"next_url"`
	Resources []OrgResource `json:"resources"`
}

Jump to

Keyboard shortcuts

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