Documentation ¶
Index ¶
Constants ¶
View Source
const (
ControllerName = "kcp-kube-quota"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Controller ¶
type Controller struct {
// contains filtered or unexported fields
}
Controller manages per-workspace resource quota controllers.
func NewController ¶
func NewController( logicalClusterInformer corev1alpha1informers.LogicalClusterClusterInformer, kubeClusterClient kcpkubernetesclientset.ClusterInterface, kubeInformerFactory kcpkubernetesinformers.SharedInformerFactory, dynamicDiscoverySharedInformerFactory *informer.DiscoveringDynamicSharedInformerFactory, quotaRecalculationPeriod time.Duration, fullResyncPeriod time.Duration, workersPerLogicalCluster int, informersStarted <-chan struct{}, ) (*Controller, error)
NewController creates a new Controller.
Click to show internal directories.
Click to hide internal directories.