Documentation ¶
Index ¶
Constants ¶
View Source
const ( ControllerName = "resourcequota-controller" DefaultResyncPeriod = 5 * time.Minute DefaultMaxConcurrentReconciles = 8 )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ByName ¶
type ByName []corev1.ResourceQuota
type DefaultLockFactory ¶
type DefaultLockFactory struct {
// contains filtered or unexported fields
}
func NewDefaultLockFactory ¶
func NewDefaultLockFactory() *DefaultLockFactory
type LockFactory ¶
Following code copied from github.com/openshift/apiserver-library-go/pkg/admission/quota/clusterresourcequota
type Reconciler ¶
Reconciler reconciles a Workspace object
func (*Reconciler) SetupWithManager ¶
func (r *Reconciler) SetupWithManager(mgr ctrl.Manager, maxConcurrentReconciles int, resyncPeriod time.Duration, informerFactory k8sinformers.SharedInformerFactory) error
type ResourceQuotaAdmission ¶
type ResourceQuotaAdmission struct {
// contains filtered or unexported fields
}
func (*ResourceQuotaAdmission) Handle ¶
func (r *ResourceQuotaAdmission) Handle(ctx context.Context, req webhook.AdmissionRequest) webhook.AdmissionResponse
Click to show internal directories.
Click to hide internal directories.