importstatus

package
v0.0.0-...-1d08411 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 11, 2024 License: Apache-2.0 Imports: 27 Imported by: 0

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

func (*ReconcileImportStatus) Reconcile

Reconcile sets the manged cluster import condition according to the klusterlet manifestwork status

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL