org

package
v0.7.6 Latest Latest
Warning

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

Go to latest
Published: Jan 3, 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 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"`
}

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"`
	Resources []OrgResource `json:"resources"`
}

Jump to

Keyboard shortcuts

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