Documentation
¶
Index ¶
- Constants
- type SpaceQuota
- type SpaceQuotaMetadata
- type SpaceQuotaMetadataManager
- func (mdMgr *SpaceQuotaMetadataManager) CreateMetadataEntityObject(guid string) common.IMetadata
- func (mdMgr *SpaceQuotaMetadataManager) CreateResourceObject() common.IResource
- func (mdMgr *SpaceQuotaMetadataManager) CreateResponseObject() common.IResponse
- func (mdMgr *SpaceQuotaMetadataManager) FindItem(guid string) *SpaceQuotaMetadata
- func (mdMgr *SpaceQuotaMetadataManager) NewItemById(guid string) common.IMetadata
- func (mdMgr *SpaceQuotaMetadataManager) ProcessResource(resource common.IResource) common.IMetadata
- func (mdMgr *SpaceQuotaMetadataManager) ProcessResponse(response common.IResponse, metadataArray []common.IMetadata) []common.IMetadata
- type SpaceQuotaResource
- type SpaceQuotaResponse
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
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"`
}
Click to show internal directories.
Click to hide internal directories.