Documentation ¶
Index ¶
Constants ¶
View Source
const (
ControllerName = "tmc-scheduling-placement"
)
Variables ¶
This section is empty.
Functions ¶
func NewController ¶
func NewController( kcpClusterClient kcpclientset.ClusterInterface, tmcClusterClient tmcclientset.ClusterInterface, namespaceInformer kcpcorev1informers.NamespaceClusterInformer, locationInformer schedulingv1alpha1informers.LocationClusterInformer, placementInformer schedulingv1alpha1informers.PlacementClusterInformer, ) (*controller, error)
NewController returns a new controller placing namespaces onto locations by create a placement annotation..
Types ¶
type Patcher ¶
type Patcher = schedulingv1alpha1client.PlacementInterface
type Placement ¶
type Placement = schedulingv1alpha1.Placement
type PlacementSpec ¶
type PlacementSpec = schedulingv1alpha1.PlacementSpec
type PlacementStatus ¶
type PlacementStatus = schedulingv1alpha1.PlacementStatus
type Resource ¶
type Resource = committer.Resource[*PlacementSpec, *PlacementStatus]
Click to show internal directories.
Click to hide internal directories.