ovnkubesyncer

package
v0.0.0-...-03ea4e3 Latest Latest
Warning

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

Go to latest
Published: Sep 19, 2023 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type OvnkubeSyncer

type OvnkubeSyncer struct {
	ConfigmapSyncer resourceSyncer.Interface
	SecretSyncer    resourceSyncer.Interface
	// contains filtered or unexported fields
}

func New

func (*OvnkubeSyncer) Start

func (s *OvnkubeSyncer) Start(stopCh <-chan struct{}) error

type SyncerConfig

type SyncerConfig struct {
	// LocalRestConfig the REST config used to access the local resources to sync.
	LocalRestConfig *rest.Config

	// LocalClient the client used to access local resources to sync. This is optional and is provided for unit testing
	// in lieu of the LocalRestConfig. If not specified, one is created from the LocalRestConfig.
	LocalClient dynamic.Interface

	// LocalNamespace the namespace in the local source to which resources from the broker will be synced.
	LocalNamespace string

	// RestMapper used to obtain GroupVersionResources. This is optional and is provided for unit testing. If not specified,
	// one is created from the LocalRestConfig.
	RestMapper meta.RESTMapper

	// TenantRestConfig the REST config used to access the broker resources to sync.
	TenantRestConfig *rest.Config

	// TenantClient the client used to access local resources to sync. This is optional and is provided for unit testing
	// in lieu of the TenantRestConfig. If not specified, one is created from the TenantRestConfig.
	TenantClient dynamic.Interface

	// TenantNamespace the namespace in the broker to which resources from the local source will be synced.
	TenantNamespace string

	// Scheme used to convert resource objects. By default the global k8s Scheme is used.
	Scheme *runtime.Scheme
}

Jump to

Keyboard shortcuts

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