Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ResourceQuotaDetail ¶
type ResourceQuotaDetail struct { ObjectMeta common.ObjectMeta `json:"objectMeta"` TypeMeta common.TypeMeta `json:"typeMeta"` // Scopes defines quota scopes Scopes []api.ResourceQuotaScope `json:"scopes,omitempty"` // StatusList is a set of (resource name, Used, Hard) tuple. StatusList map[api.ResourceName]ResourceStatus `json:"statusList,omitempty"` }
ResourceQuotaDetail provides the presentation layer view of Kubernetes Resource Quotas resource.
func ToResourceQuotaDetail ¶ added in v1.4.2
func ToResourceQuotaDetail(rawResourceQuota *api.ResourceQuota) *ResourceQuotaDetail
type ResourceQuotaDetailList ¶ added in v1.4.2
type ResourceQuotaDetailList struct { ListMeta common.ListMeta `json:"listMeta"` Items []ResourceQuotaDetail `json:"items"` }
ResourceQuotaDetailList
type ResourceStatus ¶ added in v1.4.2
type ResourceStatus struct { Used string `json:"used,omitempty"` Hard string `json:"hard,omitempty"` }
ResourceStatus provides the status of the resource defined by a resource quota.
Click to show internal directories.
Click to hide internal directories.