Documentation ¶
Overview ¶
Package modules contains functions to setup liqo modules.
Index ¶
- func SetupAuthenticationModule(ctx context.Context, mgr manager.Manager, uncachedClient client.Client, ...) error
- func SetupNetworkingModule(ctx context.Context, mgr manager.Manager, opts *NetworkingOption) error
- func SetupOffloadingModule(ctx context.Context, mgr manager.Manager, opts *OffloadingOption) error
- type AuthOption
- type NetworkingOption
- type OffloadingOption
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SetupAuthenticationModule ¶
func SetupAuthenticationModule(ctx context.Context, mgr manager.Manager, uncachedClient client.Client, opts *AuthOption) error
SetupAuthenticationModule setup the authentication module and initializes its controllers .
func SetupNetworkingModule ¶
SetupNetworkingModule setup the networking module and initializes its controllers .
func SetupOffloadingModule ¶
SetupOffloadingModule setup the offloading module and initializes its controllers.
Types ¶
type AuthOption ¶
type AuthOption struct { IdentityProvider identitymanager.IdentityProvider NamespaceManager tenantnamespace.Manager LocalClusterID liqov1beta1.ClusterID LiqoNamespace string APIServerAddressOverride string CAOverrideB64 string TrustedCA bool SliceStatusOptions *remoteresourceslicecontroller.SliceStatusOptions }
AuthOption defines the options to setup the authentication module.
type NetworkingOption ¶
type NetworkingOption struct { DynClient dynamic.Interface Factory *dynamicutils.RunnableFactory LiqoNamespace string IpamClient ipam.IpamClient GatewayServerResources []string GatewayClientResources []string WgGatewayServerClusterRoleName string WgGatewayClientClusterRoleName string NetworkWorkers int IPWorkers int FabricFullMasquerade bool GwmasqbypassEnabled bool GenevePort uint16 }
NetworkingOption defines the options to setup the Networking module.
type OffloadingOption ¶
type OffloadingOption struct { Clientset *kubernetes.Clientset LocalClusterID liqov1beta1.ClusterID NamespaceManager tenantnamespace.Manager EnableStorage bool VirtualStorageClassName string RealStorageClassName string StorageNamespace string EnableNodeFailureController bool ShadowPodWorkers int ShadowEndpointSliceWorkers int ResyncPeriod time.Duration }
OffloadingOption defines the options to setup the offloading module.
Click to show internal directories.
Click to hide internal directories.