mcs

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: 36 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ServiceImportControllerName = "serviceimport-controller"

	PrefixedGlobalSchedulerName         = common.DefaultPrefix + "global-scheduler"
	PrefixedServiceImportControllerName = common.DefaultPrefix + ServiceImportControllerName

	EventReasonSyncPlacementsToEndpointSlice = "SyncPlacementsToEndpointSlice"
)
View Source
const (
	EndpointSliceSourceClusterLabel = common.DefaultPrefix + "source-cluster"
)
View Source
const (
	ServiceExportControllerName = "serviceexport-controller"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type ServiceExportController

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

func NewServiceExportController

func NewServiceExportController(
	kubeClient kubeclient.Interface,
	endpointSliceInformer discoveryv1b1informers.EndpointSliceInformer,
	fedInformerManager informermanager.FederatedInformerManager,
	logger klog.Logger,
	metrics stats.Metrics,
	workerCount int,
) (*ServiceExportController, error)

func (*ServiceExportController) HasSynced

func (c *ServiceExportController) HasSynced() bool

func (*ServiceExportController) IsControllerReady

func (c *ServiceExportController) IsControllerReady() bool

func (*ServiceExportController) Run

type ServiceImportController

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

func NewServiceImportController

func NewServiceImportController(
	kubeClient kubeclient.Interface,
	endpointSliceInformer discoveryv1b1informers.EndpointSliceInformer,
	fedClient fedclient.Interface,
	fedObjectInformer fedcorev1a1informers.FederatedObjectInformer,
	metrics stats.Metrics,
	logger klog.Logger,
	workerCount int,
) (*ServiceImportController, error)

func (*ServiceImportController) HasSynced

func (c *ServiceImportController) HasSynced() bool

func (*ServiceImportController) IsControllerReady

func (c *ServiceImportController) IsControllerReady() bool

func (*ServiceImportController) Run

Jump to

Keyboard shortcuts

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