Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Cell = cell.Module( "mcsapi", "Multi-Cluster Services API", cell.Invoke(initMCSAPIController), )
Functions ¶
func ServiceExportResource ¶ added in v1.17.0
func ServiceExportResource(lc cell.Lifecycle, cs client.Clientset, opts ...func(*metav1.ListOptions)) resource.Resource[*mcsapiv1alpha1.ServiceExport]
ServiceExportResource builds the Resource[ServiceExport] object.
func StartSynchronizingServiceExports ¶ added in v1.17.0
func StartSynchronizingServiceExports(ctx context.Context, cfg ServiceExportSyncParameters)
Types ¶
type ServiceExportSyncParameters ¶ added in v1.17.0
type ServiceExportSyncParameters struct {
ClusterName string
ClusterMeshEnableMCSAPI bool
Clientset client.Clientset
ServiceExports resource.Resource[*mcsapiv1alpha1.ServiceExport]
Services resource.Resource[*slim_corev1.Service]
Backend store.SyncStoreBackend
StoreFactory store.Factory
SyncCallback func(context.Context)
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.