spaceQuota

package
v0.8.3 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const UnknownName = "unknown"

Variables

This section is empty.

Functions

This section is empty.

Types

type SpaceQuota

type SpaceQuota struct {
	//Guid                    string `json:"guid"`
	common.EntityCommon
	Name                    string `json:"name"`
	OrganizationGuid        string `json:"organization_guid"`
	NonBasicServicesAllowed bool   `json:"non_basic_services_allowed"`
	TotalServices           int    `json:"total_services"`
	TotalRoutes             int    `json:"total_routes"`
	MemoryLimit             int    `json:"memory_limit"`
	InstanceMemoryLimit     int    `json:"instance_memory_limit"`
	AppInstanceLimit        int    `json:"app_instance_limit"`
	AppTaskLimit            int    `json:"app_task_limit"`
	TotalServiceKeys        int    `json:"total_service_keys"`
	TotalReservedRoutePorts int    `json:"total_reserved_route_ports"`
}

type SpaceQuotaMetadata

type SpaceQuotaMetadata struct {
	*common.Metadata
	*SpaceQuota
}

func NewSpaceQuotaMetadata

func NewSpaceQuotaMetadata(SpaceQuota SpaceQuota) *SpaceQuotaMetadata

func NewSpaceQuotaMetadataById

func NewSpaceQuotaMetadataById(id string) *SpaceQuotaMetadata

type SpaceQuotaMetadataManager

type SpaceQuotaMetadataManager struct {
	*common.MdCommonManager
}

func (*SpaceQuotaMetadataManager) Find

type SpaceQuotaResource

type SpaceQuotaResource struct {
	Meta   common.Meta `json:"metadata"`
	Entity SpaceQuota  `json:"entity"`
}

type SpaceQuotaResponse

type SpaceQuotaResponse struct {
	Count     int                  `json:"total_results"`
	Pages     int                  `json:"total_pages"`
	Resources []SpaceQuotaResource `json:"resources"`
}

Jump to

Keyboard shortcuts

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