Documentation ¶
Index ¶
Constants ¶
View Source
const ControllerName = "import-status-controller"
Variables ¶
This section is empty.
Functions ¶
func Add ¶
func Add(ctx context.Context, mgr manager.Manager, clientHolder *helpers.ClientHolder, informerHolder *source.InformerHolder, mcRecorder kevents.EventRecorder) error
Add creates a new manifestwork controller and adds it to the Manager. The Manager will set fields on the Controller and Start it when the Manager is Started.
Types ¶
type ReconcileImportStatus ¶
type ReconcileImportStatus struct {
// contains filtered or unexported fields
}
ReconcileImportStatus reconciles the klusterlet manifestworks to judge whether the cluster is imported successfully
func NewReconcileImportStatus ¶
func NewReconcileImportStatus( client client.Client, kubeClient kubernetes.Interface, workClient workclient.Interface, mcRecorder kevents.EventRecorder, ) *ReconcileImportStatus
Click to show internal directories.
Click to hide internal directories.