mcsapi

package
v1.17.0-pre.0 Latest Latest
Warning

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

Go to latest
Published: Sep 5, 2024 License: Apache-2.0 Imports: 34 Imported by: 0

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

func ServiceExportResource(lc cell.Lifecycle, cs client.Clientset, opts ...func(*metav1.ListOptions)) resource.Resource[*mcsapiv1alpha1.ServiceExport]

ServiceExportResource builds the Resource[ServiceExport] object.

func StartSynchronizingServiceExports

func StartSynchronizingServiceExports(ctx context.Context, cfg ServiceExportSyncParameters)

Types

type ServiceExportSyncParameters

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
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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