Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsRelyOnObj ¶
func IsRelyOnObj(quotas ...*v1.ResourceQuota) bool
func NewQuotaOperator ¶
Types ¶
type QuotaOperator ¶
type QuotaOperator struct { Client client.Client CurrentQuota *v1.ResourceQuota OldQuota *v1.ResourceQuota context.Context }
func (*QuotaOperator) Overload ¶
func (o *QuotaOperator) Overload() (bool, error)
func (*QuotaOperator) Parent ¶
func (o *QuotaOperator) Parent() (*quotav1.CubeResourceQuota, error)
func (*QuotaOperator) UpdateParentStatus ¶
func (o *QuotaOperator) UpdateParentStatus(flush bool) error
Click to show internal directories.
Click to hide internal directories.