automigration

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jun 17, 2024 License: Apache-2.0 Imports: 30 Imported by: 0

Documentation

Index

Constants

View Source
const (
	EventReasonAutoMigrationInfoUpdated = "AutoMigrationInfoUpdated"
	AutoMigrationControllerName         = "auto-migration"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Controller

type Controller struct {
	// contains filtered or unexported fields
}

func NewAutoMigrationController

func NewAutoMigrationController(
	ctx context.Context,
	kubeClient kubeclient.Interface,
	fedClient fedclient.Interface,
	fedObjectInformer fedcorev1a1informers.FederatedObjectInformer,
	clusterFedObjectInformer fedcorev1a1informers.ClusterFederatedObjectInformer,
	federatedInformer informermanager.FederatedInformerManager,
	ftcManager informermanager.FederatedTypeConfigManager,
	metrics stats.Metrics,
	logger klog.Logger,
	workerCount int,
) (*Controller, error)

func (*Controller) HasSynced

func (c *Controller) HasSynced() bool

func (*Controller) IsControllerReady

func (c *Controller) IsControllerReady() bool

IsControllerReady implements controllermanager.Controller

func (*Controller) Run

func (c *Controller) Run(ctx context.Context)

type FederatedObject

type FederatedObject struct {
	Object      *unstructured.Unstructured
	ClusterName string
}

An object with an origin information.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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