mcs

package
v0.0.0-...-b67a8fc Latest Latest
Warning

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

Go to latest
Published: Oct 12, 2023 License: Apache-2.0 Imports: 30 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EpsController

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

func NewEpsController

func NewEpsController(clusteID, targetNamespace string, epsInformer discoveryinformerv1.EndpointSliceInformer, kubeClientSet kubernetes.Interface,
	k8sInformerFactory kubeinformers.SharedInformerFactory, seController *ServiceExportController, mcsSet *mcsclientset.Clientset) (*EpsController, error)

func (*EpsController) Handle

func (c *EpsController) Handle(obj interface{}) (requeueAfter *time.Duration, err error)

func (*EpsController) Run

func (c *EpsController) Run(ctx context.Context) error

type ServiceExportController

type ServiceExportController struct {
	YachtController *yacht.Controller
	// contains filtered or unexported fields
}

func NewServiceExportController

func NewServiceExportController(clusteID string, epsInformer discoveryinformerv1.EndpointSliceInformer, mcsClientset *mcsclientset.Clientset, mcsInformerFactory mcsInformers.SharedInformerFactory) (*ServiceExportController, error)

func (*ServiceExportController) Handle

func (c *ServiceExportController) Handle(obj interface{}) (requeueAfter *time.Duration, err error)

func (*ServiceExportController) Run

func (c *ServiceExportController) Run(ctx context.Context, parentDedicatedKubeConfig *rest.Config, delicatedNamespace string) error

type ServiceImportController

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

func NewServiceImportController

func NewServiceImportController(kubeclient kubernetes.Interface, epsInformer discoveryinformerv1.EndpointSliceInformer, mcsClientset *mcsclientset.Clientset,
	mcsInformerFactory mcsInformers.SharedInformerFactory) (*ServiceImportController, error)

func (*ServiceImportController) Handle

func (c *ServiceImportController) Handle(obj interface{}) (requeueAfter *time.Duration, err error)

func (*ServiceImportController) Run

Jump to

Keyboard shortcuts

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