controller

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AgentConfig

type AgentConfig struct {
	ServiceImportCounterName string
	ServiceExportCounterName string
}

type Syncer

type Syncer struct {
	ClusterID               string
	LocalNamespace          string
	KubeClientSet           kubernetes.Interface
	KubeInformerFactory     kubeinformers.SharedInformerFactory
	ServiceExportController *mcs.ServiceExportController
	HubKubeConfig           *rest.Config
	SyncerConf              known.SyncerConfig
	EpsController           *mcs.EpsController
}

func New

func New(spec *known.AgentSpecification, syncerConf known.SyncerConfig, kubeClientSet kubernetes.Interface, mcsClientSet *mcsclientset.Clientset) (*Syncer, error)

func (*Syncer) Start

func (a *Syncer) Start(ctx context.Context) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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