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( clusterWorkspacesInformer tenancyv1alpha1informers.ClusterWorkspaceClusterInformer, kubeClusterClient kcpkubernetesclientset.ClusterInterface, kubeInformerFactory kcpkubernetesinformers.SharedInformerFactory, dynamicDiscoverySharedInformerFactory *informer.DynamicDiscoverySharedInformerFactory, 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.