Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type QuotaLists ¶
type QuotaLists struct {
// contains filtered or unexported fields
}
map[paas][quotatype]value type QuotaLists map[string]Quotas
func NewQuotaLists ¶
func NewQuotaLists() QuotaLists
func (*QuotaLists) Append ¶
func (pcr *QuotaLists) Append(quotas Quotas)
func (QuotaLists) LargestTwo ¶
func (pcr QuotaLists) LargestTwo() Quotas
func (QuotaLists) Max ¶
func (pcr QuotaLists) Max() Quotas
func (QuotaLists) Min ¶
func (pcr QuotaLists) Min() Quotas
func (QuotaLists) OptimalValues ¶
func (pcr QuotaLists) OptimalValues(ratio float64, minQuotas Quotas, maxQuotas Quotas) Quotas
func (QuotaLists) Sum ¶
func (pcr QuotaLists) Sum() Quotas
type Quotas ¶
type Quotas map[corev1.ResourceName]resourcev1.Quantity
func (Quotas) QuotaWithDefaults ¶
Click to show internal directories.
Click to hide internal directories.