liqocontrollermanager

package
v1.1.2 Latest Latest
Warning

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

Go to latest
Published: Mar 3, 2026 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package liqocontrollermanager implements the utility functions for the liqo controller manager

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitFlags added in v1.0.2

func InitFlags(flagset *pflag.FlagSet, opts *Options)

InitFlags adds all liqo-controller-manager flags to the given Options struct and parses them.

Types

type Options added in v1.0.2

type Options struct {
	// Cluster-wide modules enable/disable flags
	NetworkingEnabled     bool
	AuthenticationEnabled bool
	OffloadingEnabled     bool

	// Manager flags
	WebhookPort    int
	MetricsAddr    string
	ProbeAddr      string
	LeaderElection bool

	// Global parameters
	ResyncPeriod               time.Duration
	ClusterIDFlags             *args.ClusterIDFlags
	LiqoNamespace              string
	ForeignClusterWorkers      int
	ForeignClusterPingInterval time.Duration
	ForeignClusterPingTimeout  time.Duration
	DefaultLimitsEnforcement   string

	// Networking module
	IPAMServer                     string
	GatewayServerResources         args.StringList
	GatewayClientResources         args.StringList
	WgGatewayServerClusterRoleName string
	WgGatewayClientClusterRoleName string
	FabricFullMasqueradeEnabled    bool
	GwmasqbypassEnabled            bool
	NetworkWorkers                 int
	IPWorkers                      int
	GenevePort                     uint16

	// Authentication module
	APIServerAddressOverride string
	CAOverride               string
	TrustedCA                bool
	TLSCompatibilityMode     bool
	AWSConfig                *identitymanager.LocalAwsConfig
	ClusterLabels            args.StringMap
	IngressClasses           args.ClassNameList
	LoadBalancerClasses      args.ClassNameList
	DefaultNodeResources     args.ResourceMap
	GlobalLabels             args.StringMap
	GlobalAnnotations        args.StringMap

	// Offloading module
	EnableStorage               bool
	VirtualStorageClassName     string
	RealStorageClassName        string
	StorageNamespace            string
	EnableNodeFailureController bool
	ShadowPodWorkers            int
	ShadowEndpointSliceWorkers  int

	// Cross module
	EnableAPIServerIPRemapping bool
}

Options holds all configuration flags for the liqo-controller-manager.

func NewOptions added in v1.0.2

func NewOptions() *Options

NewOptions creates a new Options struct with default values.

Directories

Path Synopsis
Package authentication contains the logic to authenticate foreign clusters.
Package authentication contains the logic to authenticate foreign clusters.
forge
Package forge contains utility functions to forge resources of the authentication module.
Package forge contains utility functions to forge resources of the authentication module.
getters
Package getters contains utility functions to get resources of the authentication module.
Package getters contains utility functions to get resources of the authentication module.
identity-controller
Package identitycontroller contains the controller managing Identity resources.
Package identitycontroller contains the controller managing Identity resources.
identitycreator-controller
Package identitycreatorcontroller contains the logic to create Identities from ResourceSlices resources.
Package identitycreatorcontroller contains the logic to create Identities from ResourceSlices resources.
localrenwer-controller
Package localrenwercontroller implements the controller for managing certificate renewals for local Identity resources.
Package localrenwercontroller implements the controller for managing certificate renewals for local Identity resources.
localresourceslice-controller
Package localresourceslicecontroller contains the logic to manage the local ResourceSlice.
Package localresourceslicecontroller contains the logic to manage the local ResourceSlice.
noncecreator-controller
Package noncecreatorcontroller contains the logic to manage Nonces.
Package noncecreatorcontroller contains the logic to manage Nonces.
noncesigner-controller
Package noncesignercontroller contains the controller to sign Nonce secrets.
Package noncesignercontroller contains the controller to sign Nonce secrets.
remoterenwer-controller
Package remoterenwercontroller implements the controller for handling certificate renewal requests from remote clusters.
Package remoterenwercontroller implements the controller for handling certificate renewal requests from remote clusters.
remoteresourceslice-controller
Package remoteresourceslicecontroller contains the logic to manage the remote ResourceSlice.
Package remoteresourceslicecontroller contains the logic to manage the remote ResourceSlice.
tenant-controller
Package tenantcontroller contains the controller to manage Tenant resources.
Package tenantcontroller contains the controller to manage Tenant resources.
utils
Package utils contains utility functions for the authentication module.
Package utils contains utility functions for the authentication module.
core
foreigncluster-controller
Package foreignclustercontroller implements the logic of the ForeignCluster controller
Package foreignclustercontroller implements the logic of the ForeignCluster controller
Package ipmapping contains the logic to connect the network moduler with the offloading one.
Package ipmapping contains the logic to connect the network moduler with the offloading one.
networking
external-network
Package externalnetwork contains the logic to manage the external network.
Package externalnetwork contains the logic to manage the external network.
external-network/client-operator
Package clientoperator contains the logic to manage the gateway clients.
Package clientoperator contains the logic to manage the gateway clients.
external-network/configuration
Package configurationcontroller contains the logic to manage the Configuration resource.
Package configurationcontroller contains the logic to manage the Configuration resource.
external-network/remapping
Package remapping contains the logic to remap the CIDRs in case of repeated ones.
Package remapping contains the logic to remap the CIDRs in case of repeated ones.
external-network/route
Package route contains the logic to manage the routesconfiguration for the external-network.
Package route contains the logic to manage the routesconfiguration for the external-network.
external-network/server-operator
Package serveroperator contains the logic to manage the gateway servers.
Package serveroperator contains the logic to manage the gateway servers.
external-network/utils
Package utils contains utilities to manage the external network.
Package utils contains utilities to manage the external network.
external-network/wireguard
Package wireguard contains the logic to manage WireGuard gateway servers and clients.
Package wireguard contains the logic to manage WireGuard gateway servers and clients.
forge
Package forge contains utility functions to forge resources of the networking module.
Package forge contains utility functions to forge resources of the networking module.
getters
Package getters contains utility functions to get resources of the networking module.
Package getters contains utility functions to get resources of the networking module.
internal-network
Package internalnetwork contains the common logic to manage the internal network
Package internalnetwork contains the common logic to manage the internal network
internal-network/client-controller
Package clientcontroller implements the logic of the GatewayClient Controller to create InternalFabrics.
Package clientcontroller implements the logic of the GatewayClient Controller to create InternalFabrics.
internal-network/configuration-controller
Package configurationcontroller implements the logic of the Configuration Controller.
Package configurationcontroller implements the logic of the Configuration Controller.
internal-network/fabricipam
Package fabricipam contains the implementation of the IPAM for the Fabric network.
Package fabricipam contains the implementation of the IPAM for the Fabric network.
internal-network/gw-masq-bypass
Package gwmasqbypass manages the creation and deletion of the gw-masquerade-bypass firewallconfigurations.
Package gwmasqbypass manages the creation and deletion of the gw-masquerade-bypass firewallconfigurations.
internal-network/id
Package id implements the logic of the ID manager.
Package id implements the logic of the ID manager.
internal-network/internalfabric-controller
Package internalfabriccontroller implements the logic of the InternalFabric Controller to create InternalNodes.
Package internalfabriccontroller implements the logic of the InternalFabric Controller to create InternalNodes.
internal-network/node-controller
Package nodecontroller implements the logic that creates and manages InternalNodes.
Package nodecontroller implements the logic that creates and manages InternalNodes.
internal-network/route
Package route contains the logic to manage the routes for the internal network.
Package route contains the logic to manage the routes for the internal network.
internal-network/server-controller
Package servercontroller implements the logic of the GatewayServer Controller to create InternalFabrics.
Package servercontroller implements the logic of the GatewayServer Controller to create InternalFabrics.
ip-controller
Package ipctrl contains the logic to manage IP addresses to interact with the remote cluster.
Package ipctrl contains the logic to manage IP addresses to interact with the remote cluster.
network-controller
Package networkctrl contains the logic to manage Networks to interact with the remote cluster.
Package networkctrl contains the logic to manage Networks to interact with the remote cluster.
utils
Package utils contains utility functions for the networking module.
Package utils contains utility functions for the networking module.
Package offloading contains the logic to offload resources.
Package offloading contains the logic to offload resources.
forge
Package forge contains utility functions to forge resources of the offloading module.
Package forge contains utility functions to forge resources of the offloading module.
namespacemap-controller
Package namespacemapctrl contains NamespaceMap Controller logic and some functions for managing remote Namespaces.
Package namespacemapctrl contains NamespaceMap Controller logic and some functions for managing remote Namespaces.
namespaceoffloading-controller
Package nsoffctrl contains the logic to reconcile NamespaceOffloading resources and appropriately populate NamespaceMaps.
Package nsoffctrl contains the logic to reconcile NamespaceOffloading resources and appropriately populate NamespaceMaps.
nodefailure-controller
Package nodefailurectrl contains a controller that enforces a logic that ensure offloaded pods running on a failed node are evicted and rescheduled on a healthy node, preventing them to remain in a terminating state indefinitely.
Package nodefailurectrl contains a controller that enforces a logic that ensure offloaded pods running on a failed node are evicted and rescheduled on a healthy node, preventing them to remain in a terminating state indefinitely.
podstatus-controller
Package podstatusctrl implements a controller that enforces the presence/absence of the remote unavailable label on local offloaded pods.
Package podstatusctrl implements a controller that enforces the presence/absence of the remote unavailable label on local offloaded pods.
shadowendpointslice-controller
Package shadowendpointslicectrl contains the ShadowEndpointSlice logic.
Package shadowendpointslicectrl contains the ShadowEndpointSlice logic.
shadowpod-controller
Package shadowpodctrl contains Shadowpod Controller logic.
Package shadowpodctrl contains Shadowpod Controller logic.
storageprovisioner
Package storageprovisioner implements the provisioner for the liqo virtual storage class.
Package storageprovisioner implements the provisioner for the liqo virtual storage class.
virtualnode-controller
Package virtualnodectrl contains VirtualNode Controller logic and some functions for managing NamespaceMap lifecycle.
Package virtualnodectrl contains VirtualNode Controller logic and some functions for managing NamespaceMap lifecycle.
Package quotacreatorcontroller contains the logic to create Quotas from ResourceSlices.
Package quotacreatorcontroller contains the logic to create Quotas from ResourceSlices.
Package virtualnodecreatorcontroller contains the logic to create VirtualNodes from Resourceslices.
Package virtualnodecreatorcontroller contains the logic to create VirtualNodes from Resourceslices.

Jump to

Keyboard shortcuts

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