Documentation ¶
Index ¶
Constants ¶
View Source
const PolicyControllerFinalizer = "clusterpedia.io/cluster-import-policy-controller"
Variables ¶
View Source
var NoRequeueResult = controller.NoRequeueResult
Functions ¶
func NewReconcilingCondition ¶
Types ¶
type Controller ¶
type Controller struct {
// contains filtered or unexported fields
}
func NewController ¶
func NewController( mapper meta.RESTMapper, client clientset.Interface, policyInformer policyinformers.ClusterImportPolicyInformer, lifecycleInformer policyinformers.PediaClusterLifecycleInformer, queue workqueue.RateLimitingInterface, dependentManager *controller.DependentResourceManager, ) (*Controller, error)
func (*Controller) Run ¶
func (c *Controller) Run(workers int, stopCh <-chan struct{})
Click to show internal directories.
Click to hide internal directories.