syncer

package
v0.0.0-...-44dad58 Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2021 License: Apache-2.0 Imports: 37 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LoadPlugins

func LoadPlugins(config *config.SyncerConfiguration) []*plugin.Registration

Types

type Bootstrap

type Bootstrap interface {
	ListenAndServe(address, certFile, keyFile string)
	Run(<-chan struct{})
}

Bootstrap is a bootstrapping interface for syncer, targets the initialization protocol

type Syncer

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

func New

func New(
	config *config.SyncerConfiguration,
	virtualClusterClient vcclient.Interface,
	virtualClusterInformer vcinformers.VirtualClusterInformer,
	metaClusterClient clientset.Interface,
	superClusterClient clientset.Interface,
	superClusterInformers informers.SharedInformerFactory,
	recorder record.EventRecorder,
) (*Syncer, error)

func (*Syncer) ListenAndServe

func (s *Syncer) ListenAndServe(address, certFile, keyFile string)

ListenAndServe initializes a server to respond to HTTP network requests on the syncer.

func (*Syncer) Run

func (s *Syncer) Run(stopChan <-chan struct{})

Run begins watching and downward&upward syncing.

Directories

Path Synopsis
apis
envvars
Package envvars is the package that build the environment variables that kubernetes provides to the containers run by it.
Package envvars is the package that build the environment variables that kubernetes provides to the containers run by it.
resources
crd
pod

Jump to

Keyboard shortcuts

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