Documentation ¶
Index ¶
Constants ¶
View Source
const (
AdvancedSchedulingFeatureAnnotation = "featuregates.experimental.workload.kcp.dev/advancedscheduling"
)
Variables ¶
This section is empty.
Functions ¶
func StartSyncer ¶
Types ¶
type APIImporter ¶ added in v0.6.0
type APIImporter struct { SyncedGVRs map[string]metav1.GroupVersionResource // contains filtered or unexported fields }
func NewAPIImporter ¶ added in v0.6.0
func (*APIImporter) ImportAPIs ¶ added in v0.6.0
func (i *APIImporter) ImportAPIs(ctx context.Context)
func (*APIImporter) Start ¶ added in v0.6.0
func (i *APIImporter) Start(ctx context.Context, pollInterval time.Duration)
func (*APIImporter) Stop ¶ added in v0.6.0
func (i *APIImporter) Stop()
type SyncerConfig ¶ added in v0.6.0
type SyncerConfig struct { UpstreamConfig *rest.Config DownstreamConfig *rest.Config ResourcesToSync sets.String SyncTargetWorkspace logicalcluster.Name SyncTargetName string SyncTargetUID string }
SyncerConfig defines the syncer configuration that is guaranteed to vary across syncer deployments. Capturing these details in a struct simplifies defining these details in test fixture.
Click to show internal directories.
Click to hide internal directories.