Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ResourceQuota ¶
type ResourceQuota struct { ObjectMeta common.ObjectMeta `json: "objectMeta"` TypeMeta common.TypeMeta `json : "typeMeta"` }
ResourceQuota provides the simplified presentation layer view of Kubernetes Resource Quota resource.
type ResourceQuotaCell ¶
type ResourceQuotaCell api.ResourceQuota
func (ResourceQuotaCell) GetProperty ¶
func (self ResourceQuotaCell) GetProperty(name dataselect.PropertyName) dataselect.ComparableValue
type ResourceQuotaDetail ¶
type ResourceQuotaDetail struct { ObjectMeta common.ObjectMeta `json:objectMeta` TypeMeta common.TypeMeta `json:typeMeta` // Spec defines the desired quota Spec api.ResourceQuotaSpec `json:"spec,omitempty"` // Status defines the actual enforced quota and its current usage Status api.ResourceQuotaStatus `json:"status,omitempty"` }
ResourceQuotaDetail provides the presentation layer view of Kubernetes Resource Quotas resource.
func GetResourceQuotaDetail ¶
func GetResourceQuotaDetail(client *client.Client, namespace, name string) (*ResourceQuotaDetail, error)
GetResourceQuotaDetail returns returns detailed information about a resource quota
type ResourceQuotaList ¶
type ResourceQuotaList struct { ListMeta common.ListMeta `json : "listMeta"` // Unordered list of Rersource Quotas Items []ResourceQuota `json : "items"` }
ResourceQuotaList contains a list of Resource Quotas in a cluster.
func GetResourceQuotaList ¶
func GetResourceQuotaList(client *client.Client, nsQuery *common.NamespaceQuery, dsQuery *dataselect.DataSelectQuery) (*ResourceQuotaList, error)
GetResourceQuotaList returns a list of all Resource Quotas in the cluster.
func GetResourceQuotaListFromChannels ¶
func GetResourceQuotaListFromChannels(channels *common.ResourceChannels, nsQuery *common.NamespaceQuery, dsQuery *dataselect.DataSelectQuery) (*ResourceQuotaList, error)
GetResourceQuotaListFromChannels returns a list of all Resource Quotas in the cluster reading required resource list once from the channels.
Click to show internal directories.
Click to hide internal directories.