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 New(config SyncerConfig, owner *dpuv1alpha1.DpuClusterConfig, scheme *runtime.Scheme) (*OvnkubeSyncer, error)
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 }
Click to show internal directories.
Click to hide internal directories.