Documentation ¶
Index ¶
Constants ¶
View Source
const ( ResourceQuotaValidatedCondition = "ResourceQuotaValidated" ResourceQuotaInitCondition = "ResourceQuotaInit" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type SyncController ¶
type SyncController struct { ProjectLister v3.ProjectLister Namespaces v1.NamespaceInterface NamespaceLister v1.NamespaceLister ResourceQuotas v1.ResourceQuotaInterface ResourceQuotaLister v1.ResourceQuotaLister LimitRange v1.LimitRangeInterface LimitRangeLister v1.LimitRangeLister NsIndexer clientcache.Indexer }
SyncController takes care of creating Kubernetes resource quota based on the resource limits defined in namespace.resourceQuota
func (*SyncController) CreateResourceQuota ¶
Click to show internal directories.
Click to hide internal directories.