spaceQuota

package
v0.9.5 Latest Latest
Warning

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

Go to latest
Published: Nov 16, 2019 License: Apache-2.0 Imports: 1 Imported by: 3

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.CommonV2ResponseManager
}

func NewSpaceQuotaMetadataManager

func NewSpaceQuotaMetadataManager(mdGlobalManager common.MdGlobalManagerInterface) *SpaceQuotaMetadataManager

func (*SpaceQuotaMetadataManager) CreateMetadataEntityObject added in v0.9.0

func (mdMgr *SpaceQuotaMetadataManager) CreateMetadataEntityObject(guid string) common.IMetadata

func (*SpaceQuotaMetadataManager) CreateResourceObject added in v0.9.0

func (mdMgr *SpaceQuotaMetadataManager) CreateResourceObject() common.IResource

func (*SpaceQuotaMetadataManager) CreateResponseObject added in v0.9.0

func (mdMgr *SpaceQuotaMetadataManager) CreateResponseObject() common.IResponse

func (*SpaceQuotaMetadataManager) FindItem added in v0.9.0

func (mdMgr *SpaceQuotaMetadataManager) FindItem(guid string) *SpaceQuotaMetadata

func (*SpaceQuotaMetadataManager) NewItemById added in v0.9.0

func (mdMgr *SpaceQuotaMetadataManager) NewItemById(guid string) common.IMetadata

func (*SpaceQuotaMetadataManager) ProcessResource added in v0.9.0

func (mdMgr *SpaceQuotaMetadataManager) ProcessResource(resource common.IResource) common.IMetadata

func (*SpaceQuotaMetadataManager) ProcessResponse added in v0.9.0

func (mdMgr *SpaceQuotaMetadataManager) ProcessResponse(response common.IResponse, metadataArray []common.IMetadata) []common.IMetadata

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