domain

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: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LoadDomainCache

func LoadDomainCache(cliConnection plugin.CliConnection)

Types

type Domain

type Domain struct {
	Guid                   string `json:"guid"`
	Name                   string `json:"name"`
	RouterGroupGuid        string `json:"router_group_guid"`
	RouterGroupType        string `json:"router_group_type"`
	OwningOrganizationGuid string `json:"owning_organization_guid"`

	SharedDomain bool
}

func AllDomains

func AllDomains() []*Domain

func FindDomainMetadata

func FindDomainMetadata(domainGuid string) *Domain

func FindDomainMetadataByName

func FindDomainMetadataByName(domainName string) *Domain

type DomainResource

type DomainResource struct {
	Meta   common.Meta `json:"metadata"`
	Entity Domain      `json:"entity"`
}

type DomainResponse

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

Jump to

Keyboard shortcuts

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