Documentation ¶
Index ¶
Constants ¶
View Source
const (
ControllerName = "tmc-workload-resource-scheduler"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Controller ¶
type Controller struct {
// contains filtered or unexported fields
}
func NewController ¶
func NewController( dynamicClusterClient kcpdynamic.ClusterInterface, ddsif *informer.DiscoveringDynamicSharedInformerFactory, syncTargetInformer workloadv1alpha1informers.SyncTargetClusterInformer, namespaceInformer kcpcorev1informers.NamespaceClusterInformer, placementInformer schedulingv1alpha1informers.PlacementClusterInformer, ) (*Controller, error)
NewController returns a new Controller which schedules resources in scheduled namespaces.
Click to show internal directories.
Click to hide internal directories.