Directories ¶
Path | Synopsis |
---|---|
apis
|
|
discovery/v1alpha1
Package v1alpha1 contains API Schema definitions for the discovery v1alpha1 API group +kubebuilder:object:generate=true +groupName=discovery.liqo.io
|
Package v1alpha1 contains API Schema definitions for the discovery v1alpha1 API group +kubebuilder:object:generate=true +groupName=discovery.liqo.io |
net/v1alpha1
Package v1alpha1 contains API Schema definitions for the liqonetliqoio v1alpha1 API group +kubebuilder:object:generate=true +groupName=net.liqo.io
|
Package v1alpha1 contains API Schema definitions for the liqonetliqoio v1alpha1 API group +kubebuilder:object:generate=true +groupName=net.liqo.io |
offloading/v1alpha1
Package v1alpha1 contains API Schema definitions for the offloading v1alpha1 API group +kubebuilder:object:generate=true +groupName=offloading.liqo.io
|
Package v1alpha1 contains API Schema definitions for the offloading v1alpha1 API group +kubebuilder:object:generate=true +groupName=offloading.liqo.io |
sharing/v1alpha1
Package v1alpha1 contains API Schema definitions for the sharing v1alpha1 API group +kubebuilder:object:generate=true +groupName=sharing.liqo.io
|
Package v1alpha1 contains API Schema definitions for the sharing v1alpha1 API group +kubebuilder:object:generate=true +groupName=sharing.liqo.io |
virtualkubelet/v1alpha1
Package v1alpha1 contains API Schema definitions for the virtualkubelet v1alpha1 API group +kubebuilder:object:generate=true +groupName=virtualkubelet.liqo.io
|
Package v1alpha1 contains API Schema definitions for the virtualkubelet v1alpha1 API group +kubebuilder:object:generate=true +groupName=virtualkubelet.liqo.io |
cmd
|
|
liqoctl/cmd
Package cmd defines the structure of commands available in liqoctl
|
Package cmd defines the structure of commands available in liqoctl |
virtual-kubelet/root
Package root provides methods to build and start the virtual-kubelet.
|
Package root provides methods to build and start the virtual-kubelet. |
internal
|
|
auth-service
Package authservice implements the logic of the Authentication Service
|
Package authservice implements the logic of the Authentication Service |
crdReplicator
Package crdreplicator implements the logic for the replication of CustomResourceDefinitions between the peered clusters.
|
Package crdreplicator implements the logic for the replication of CustomResourceDefinitions between the peered clusters. |
crdReplicator/reflection
Package reflection implements the reflection logic of custom resources between a local cluster to a remote one.
|
Package reflection implements the reflection logic of custom resources between a local cluster to a remote one. |
crdReplicator/resources
Package resources contains information about the resources to replicate through the CRD replicator.
|
Package resources contains information about the resources to replicate through the CRD replicator. |
liqonet/network-manager/netcfgcreator
Package netcfgcreator implements the logic to react to ForeignClusters status changes, in order to enforce/remove the related NetworkConfig resources for network establishment.
|
Package netcfgcreator implements the logic to react to ForeignClusters status changes, in order to enforce/remove the related NetworkConfig resources for network establishment. |
liqonet/network-manager/tunnelendpointcreator
Package tunnelendpointcreator implements the logic to create TunnelEndpoints given the parameters negotiated through NetworkConfig resources.
|
Package tunnelendpointcreator implements the logic to create TunnelEndpoints given the parameters negotiated through NetworkConfig resources. |
liqonet/route-operator
Package routeoperator contains the needed k8s operators in order to configure each k8s node to send traffic to the gateway pod when destined to a remote cluster.
|
Package routeoperator contains the needed k8s operators in order to configure each k8s node to send traffic to the gateway pod when destined to a remote cluster. |
liqonet/tunnel-operator
Package tunneloperator contains the tunnel controller which configures the vpn tunnels, natting rules and routes in order to comunicate with the remote peering clusters and also the natmapping controller that configures nat rules for ExternalCIDR.
|
Package tunneloperator contains the tunnel controller which configures the vpn tunnels, natting rules and routes in order to comunicate with the remote peering clusters and also the natmapping controller that configures nat rules for ExternalCIDR. |
utils/errdefs
Package errdefs defines the error types that are understood by other packages in this project.
|
Package errdefs defines the error types that are understood by other packages in this project. |
pkg
|
|
auth
Package auth contains structures, interfaces and utility functions useful for both server and client authentication agents.
|
Package auth contains structures, interfaces and utility functions useful for both server and client authentication agents. |
auth/errors
Package errors contains error types definition and related functions used by the Liqo Auth package.
|
Package errors contains error types definition and related functions used by the Liqo Auth package. |
client/clientset/versioned
This package has the automatically generated clientset.
|
This package has the automatically generated clientset. |
client/clientset/versioned/fake
This package has the automatically generated fake clientset.
|
This package has the automatically generated fake clientset. |
client/clientset/versioned/scheme
This package contains the scheme of the automatically generated clientset.
|
This package contains the scheme of the automatically generated clientset. |
client/clientset/versioned/typed/virtualkubelet/v1alpha1
This package has the automatically generated typed clients.
|
This package has the automatically generated typed clients. |
client/clientset/versioned/typed/virtualkubelet/v1alpha1/fake
Package fake has the automatically generated clients.
|
Package fake has the automatically generated clients. |
consts
Package consts provides most useful constant for Liqo Controllers
|
Package consts provides most useful constant for Liqo Controllers |
discovery
Package discovery contains structures, interfaces and utility functions useful for the discovery component.
|
Package discovery contains structures, interfaces and utility functions useful for the discovery component. |
discoverymanager
Package discovery implements the logic of the discovery of other clusters, both on local networks and in wide area networks
|
Package discovery implements the logic of the discovery of other clusters, both on local networks and in wide area networks |
discoverymanager/utils
Package utils contains functions useful for the discovery component, in particular during the communications with a remote cluster.
|
Package utils contains functions useful for the discovery component, in particular during the communications with a remote cluster. |
identityManager
Package identitymanager provides an interface, and its implementation, to handle the creation and the issue process of an identity for a remote cluster.
|
Package identitymanager provides an interface, and its implementation, to handle the creation and the issue process of an identity for a remote cluster. |
identityManager/fake
Package fake implements mock Identity interfaces for test purposes.
|
Package fake implements mock Identity interfaces for test purposes. |
identityManager/responseTypes
Package responsetypes contains utils for methods responses.
|
Package responsetypes contains utils for methods responses. |
identityManager/testUtils
Package identitymanagertestutils provides utility funcition for identity manager testing.
|
Package identitymanagertestutils provides utility funcition for identity manager testing. |
liqo-controller-manager
Package liqocontrollermanager implements the utility functions for the liqo controller manager
|
Package liqocontrollermanager implements the utility functions for the liqo controller manager |
liqo-controller-manager/foreign-cluster-operator
Package foreignclusteroperator implements the logic of the ForeignCluster Operator
|
Package foreignclusteroperator implements the logic of the ForeignCluster Operator |
liqo-controller-manager/namespace-controller
Package namespacectrl contains Namespace Controller logic, and some tests for it
|
Package namespacectrl contains Namespace Controller logic, and some tests for it |
liqo-controller-manager/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. |
liqo-controller-manager/namespaceMap-controller/testUtils
Package namespacemapctrltestutils provides utility function for namespaceMap controller testing.
|
Package namespacemapctrltestutils provides utility function for namespaceMap controller testing. |
liqo-controller-manager/namespaceOffloading-controller
Package namespaceoffloadingctrl contains NamespaceOffloading Controller logic and some functions for adding DesiredMappings to NamespaceMaps Spec
|
Package namespaceoffloadingctrl contains NamespaceOffloading Controller logic and some functions for adding DesiredMappings to NamespaceMaps Spec |
liqo-controller-manager/offloadingStatus-controller
Package offloadingstatuscontroller contains OffloadingStatus Controller logic.
|
Package offloadingstatuscontroller contains OffloadingStatus Controller logic. |
liqo-controller-manager/resource-request-controller
Package resourcerequestoperator contains the ResourceRequest controller which reconciles the resource and creates new ResourceOffer and related tests.
|
Package resourcerequestoperator contains the ResourceRequest controller which reconciles the resource and creates new ResourceOffer and related tests. |
liqo-controller-manager/resource-request-controller/interfaces
Package interfaces contains all the ResourceRequestOperator interfaces representing some of its components.
|
Package interfaces contains all the ResourceRequestOperator interfaces representing some of its components. |
liqo-controller-manager/resource-request-controller/testutils
Package testutils contains utility functions used by the unit tests of the resource-request-controller
|
Package testutils contains utility functions used by the unit tests of the resource-request-controller |
liqo-controller-manager/resourceoffer-controller
Package resourceoffercontroller implements the logic of the ResourceOffer Operator
|
Package resourceoffercontroller implements the logic of the ResourceOffer Operator |
liqo-controller-manager/search-domain-operator
Package searchdomainoperator implements the logic of the SearchDomain Operator
|
Package searchdomainoperator implements the logic of the SearchDomain Operator |
liqo-controller-manager/shadowpod-controller
Package shadowpodctrl contains Shadowpod Controller logic.
|
Package shadowpodctrl contains Shadowpod Controller logic. |
liqo-controller-manager/storageprovisioner
Package storageprovisioner implements the provisioner for the liqo virtual storage class.
|
Package storageprovisioner implements the provisioner for the liqo virtual storage class. |
liqo-controller-manager/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. |
liqoctl/add
Package add contains the logic to initiate an outgoing peering to a remote cluster
|
Package add contains the logic to initiate an outgoing peering to a remote cluster |
liqoctl/common
Package common contains common definition and utils used across liqoctl
|
Package common contains common definition and utils used across liqoctl |
liqoctl/docs
Package docs contains the logic that handle the docs command in liqoctl
|
Package docs contains the logic that handle the docs command in liqoctl |
liqoctl/generate
Package generate contains the logic that handle the generate-add-command command in liqoctl
|
Package generate contains the logic that handle the generate-add-command command in liqoctl |
liqoctl/install
Package install implements the install command in liqoctl.
|
Package install implements the install command in liqoctl. |
liqoctl/install/aks
Package aks implements the logic to install Liqo on a AKS-based cluster
|
Package aks implements the logic to install Liqo on a AKS-based cluster |
liqoctl/install/eks
Package eks implements the logic to install Liqo on a EKS-based cluster
|
Package eks implements the logic to install Liqo on a EKS-based cluster |
liqoctl/install/gke
Package gke implements the logic to install Liqo on a GKE-based cluster
|
Package gke implements the logic to install Liqo on a GKE-based cluster |
liqoctl/install/k3s
Package k3s implements the logic to install Liqo on a K3S-based cluster
|
Package k3s implements the logic to install Liqo on a K3S-based cluster |
liqoctl/install/kind
Package kind implements the logic to install Liqo on a kind-based cluster
|
Package kind implements the logic to install Liqo on a kind-based cluster |
liqoctl/install/kubeadm
Package kubeadm implements the logic to install Liqo on a kubeadm-based cluster
|
Package kubeadm implements the logic to install Liqo on a kubeadm-based cluster |
liqoctl/install/openshift
Package openshift implements the logic to install Liqo on a OpenShift-based cluster
|
Package openshift implements the logic to install Liqo on a OpenShift-based cluster |
liqoctl/install/provider
Package provider contains the interface required to support the Liqo install for a given provider.
|
Package provider contains the interface required to support the Liqo install for a given provider. |
liqoctl/install/utils
Package installutils implements some utility functions for the liqo install providers
|
Package installutils implements some utility functions for the liqo install providers |
liqoctl/offload
Package offload includes the logic for the `liqoctl offload` command
|
Package offload includes the logic for the `liqoctl offload` command |
liqoctl/remove
Package remove contains the logic to terminate an outgoing peering to a remote cluster
|
Package remove contains the logic to terminate an outgoing peering to a remote cluster |
liqoctl/status
Package status contains the logic that handles the status command in liqoctl
|
Package status contains the logic that handles the status command in liqoctl |
liqoctl/version
Package version contains the logic that handle the version command in liqoctl
|
Package version contains the logic that handle the version command in liqoctl |
liqonet/errors
Package errors contains error types definition and related functions used by the Liqonet package.
|
Package errors contains error types definition and related functions used by the Liqonet package. |
liqonet/ipam
Package ipam contains the IPAM module.
|
Package ipam contains the IPAM module. |
liqonet/ipam/fake
Package fake implements fake IPAM grpc interfaces for testing purposes.
|
Package fake implements fake IPAM grpc interfaces for testing purposes. |
liqonet/iptables
Package iptables contains the necessary data structures and functions to interact with iptables and therefore insert/delete filter and NAT rules.
|
Package iptables contains the necessary data structures and functions to interact with iptables and therefore insert/delete filter and NAT rules. |
liqonet/natmappinginflater
Package natmappinginflater contains the NatMappingInflater, an object in charge of notify the Gateway component that a NAT mapping has to be carried out.
|
Package natmappinginflater contains the NatMappingInflater, an object in charge of notify the Gateway component that a NAT mapping has to be carried out. |
liqonet/netns
Package netns defines and implements basic functions used to create and configure new network namespaces.
|
Package netns defines and implements basic functions used to create and configure new network namespaces. |
liqonet/overlay
Package overlay contains the overlays implementations supported in liqo.
|
Package overlay contains the overlays implementations supported in liqo. |
liqonet/routing
Package routing defines a common interface used to configure the routing tables and policy routing rules in order to reach the remote networks of the peering clusters.
|
Package routing defines a common interface used to configure the routing tables and policy routing rules in order to reach the remote networks of the peering clusters. |
liqonet/tunnel
Package tunnel specifies the interface that has to be implemented by the different vpn technologies.
|
Package tunnel specifies the interface that has to be implemented by the different vpn technologies. |
liqonet/tunnel/wireguard
Package wireguard implements the Wireguard tunnels to be used as vpn technology to interconnect clusters.
|
Package wireguard implements the Wireguard tunnels to be used as vpn technology to interconnect clusters. |
liqonet/utils
Package utils contain utility functions for the Liqonet package.
|
Package utils contain utility functions for the Liqonet package. |
mutate
Package mutate defines the logic of Liqo Mutating Webhook.
|
Package mutate defines the logic of Liqo Mutating Webhook. |
mutate/testUtils
Package mutatetestutils provides utility funcition for webhook testing.
|
Package mutatetestutils provides utility funcition for webhook testing. |
peering-roles
Package peeringroles implements some utility functions to retrieve the ClusterRoles to bind in the different peering phases
|
Package peeringroles implements some utility functions to retrieve the ClusterRoles to bind in the different peering phases |
peering-roles/basic
Package basic defines the permission to be enabled with the creation of the Tenant Namespace, this ClusterRole has the basic permissions to give to a remote cluster
|
Package basic defines the permission to be enabled with the creation of the Tenant Namespace, this ClusterRole has the basic permissions to give to a remote cluster |
peering-roles/incoming
Package incoming defines the permission to be enabled when a ResourceRequest has been accepted, this ClusterRole has the permissions required to a remote cluster to manage an outgoing peering (incoming for the local cluster), when the Pods will be offloaded to the local cluster
|
Package incoming defines the permission to be enabled when a ResourceRequest has been accepted, this ClusterRole has the permissions required to a remote cluster to manage an outgoing peering (incoming for the local cluster), when the Pods will be offloaded to the local cluster |
peering-roles/outgoing
Package outgoing defines the permission to be enabled when we send a ResourceRequest, this ClusterRole has the permissions required to a remote cluster to manage an incoming peering (outgoing for the local cluster), when the Pods will be offloaded from the local cluster
|
Package outgoing defines the permission to be enabled when we send a ResourceRequest, this ClusterRole has the permissions required to a remote cluster to manage an incoming peering (outgoing for the local cluster), when the Pods will be offloaded from the local cluster |
tenantNamespace
Package tenantnamespace provides an interface, and its implementation, to handle the creation and the management of tenant namespaces
|
Package tenantnamespace provides an interface, and its implementation, to handle the creation and the management of tenant namespaces |
uninstaller
Package uninstaller contains the Liqo uninstaller logic for a clean uninstall.
|
Package uninstaller contains the Liqo uninstaller logic for a clean uninstall. |
utils
Package utils contains shared utility methods for the Liqonet package.
|
Package utils contains shared utility methods for the Liqonet package. |
utils/apiserver
Package apiserver contains utility functions to configure the connection parameters to the Kubernetes API server to advertise to peering clusters.
|
Package apiserver contains utility functions to configure the connection parameters to the Kubernetes API server to advertise to peering clusters. |
utils/args
Package args contains shared utility methods for argument parsing and validation.
|
Package args contains shared utility methods for argument parsing and validation. |
utils/authenticationtoken
Package authenticationtoken contains shared utility methods for the management of the authentication token.
|
Package authenticationtoken contains shared utility methods for the management of the authentication token. |
utils/cachedClient
Package cachedclient contains utility methods to create a new controller runtime client with cache.
|
Package cachedclient contains utility methods to create a new controller runtime client with cache. |
utils/errors
Package errors contains utility functions to deal with errors.
|
Package errors contains utility functions to deal with errors. |
utils/foreignCluster
Package foreigncluster contains shared utility methods to handle the ForeignCluster resources.
|
Package foreigncluster contains shared utility methods to handle the ForeignCluster resources. |
utils/logs
Package logs contains shared utility methods for logging.
|
Package logs contains shared utility methods for logging. |
utils/peeringConditions
Package peeringconditionsutils contains shared utility methods to handle the PeeringCondition resource.
|
Package peeringconditionsutils contains shared utility methods to handle the PeeringCondition resource. |
utils/pod
Package pod contains utilities to deal with Pod objects.
|
Package pod contains utilities to deal with Pod objects. |
utils/restcfg
Package restcfg contains utility functions to deal with rest configs.
|
Package restcfg contains utility functions to deal with rest configs. |
utils/slice
Package slice contains utility functions to manage slices.
|
Package slice contains utility functions to manage slices. |
utils/syncset
Package syncset provides a structure describing a set of elements safe for concurrent usage.
|
Package syncset provides a structure describing a set of elements safe for concurrent usage. |
utils/testutil
Package testutil contains some methods useful to mock components while testing
|
Package testutil contains some methods useful to mock components while testing |
utils/trace
Package trace contains utility functions to deal with traces.
|
Package trace contains utility functions to deal with traces. |
virtualKubelet/apiReflection/reflectors/incoming
Package incoming contains the logic to configure the reflection of target objects from a foreign cluster to the home cluster
|
Package incoming contains the logic to configure the reflection of target objects from a foreign cluster to the home cluster |
virtualKubelet/apiReflection/reflectors/outgoing
Package outgoing contains the logic to configure the reflection of target objects from the home cluster to a foreign cluster
|
Package outgoing contains the logic to configure the reflection of target objects from the home cluster to a foreign cluster |
virtualKubelet/forge
Package forge groups the methods used to forge the Kubernetes object definitions for the reflection logic.
|
Package forge groups the methods used to forge the Kubernetes object definitions for the reflection logic. |
virtualKubelet/liqoNodeProvider
Package liqonodeprovider implements the VirtualKubelet NodeProvider interface, it manages the node status monitoring the status of the Liqo resources (i.e.
|
Package liqonodeprovider implements the VirtualKubelet NodeProvider interface, it manages the node status monitoring the status of the Liqo resources (i.e. |
virtualKubelet/manager
Package manager provides access to kubernetes resources for providers.
|
Package manager provides access to kubernetes resources for providers. |
virtualKubelet/namespacesmapping
Package namespacesmapping implements the virtual-kubelet namespace reflection and namespace translation
|
Package namespacesmapping implements the virtual-kubelet namespace reflection and namespace translation |
virtualKubelet/namespacesmapping/test
Package test implements a mock namespace reflection and namespace translation mechanism
|
Package test implements a mock namespace reflection and namespace translation mechanism |
virtualKubelet/provider
Package provider contains methods implementing virtual-kubelet provider
|
Package provider contains methods implementing virtual-kubelet provider |
virtualKubelet/reflection/exposition
Package exposition implements the reflection logic for services and endpointslices.
|
Package exposition implements the reflection logic for services and endpointslices. |
virtualKubelet/reflection/generic
Package generic implements the generic logic to reflect Kubernetes objects between the local and the remote cluster, for a set of resources and namespaces.
|
Package generic implements the generic logic to reflect Kubernetes objects between the local and the remote cluster, for a set of resources and namespaces. |
virtualKubelet/reflection/generic/fake
Package fake implements the reflector interfaces for testing purposes.
|
Package fake implements the reflector interfaces for testing purposes. |
virtualKubelet/reflection/manager
Package manager implements the generic logic to manage the resource reflection between the local and the remote cluster, for a set of resources and namespaces.
|
Package manager implements the generic logic to manage the resource reflection between the local and the remote cluster, for a set of resources and namespaces. |
virtualKubelet/reflection/options
Package options implements the options to configure the reflection.
|
Package options implements the options to configure the reflection. |
virtualKubelet/roles/local
Package local defines the ClusterRole containing the permissions required by the virtual kubelet in the local cluster.
|
Package local defines the ClusterRole containing the permissions required by the virtual kubelet in the local cluster. |
virtualKubelet/roles/remote
Package remote defines the ClusterRole containing the permissions required by the virtual kubelet in the remote cluster.
|
Package remote defines the ClusterRole containing the permissions required by the virtual kubelet in the remote cluster. |
vkMachinery
Package vkMachinery contains the logic required to forge a new virtualKubelet instance and all related objects
|
Package vkMachinery contains the logic required to forge a new virtualKubelet instance and all related objects |
vkMachinery/csr
Package csr contains the logic required to generate, create and approve Certificate Signing Requests (CSR) for the Virtual Kubelet instances.
|
Package csr contains the logic required to generate, create and approve Certificate Signing Requests (CSR) for the Virtual Kubelet instances. |
vkMachinery/forge
Package forge contains the logic required to generate the virtual kubelet resources.
|
Package forge contains the logic required to generate the virtual kubelet resources. |
webhookConfiguration
Package webhookConfiguration contains the logic to forge certificates and register the Liqo AdmissionWebhook
|
Package webhookConfiguration contains the logic to forge certificates and register the Liqo AdmissionWebhook |
test
|
|
e2e/testconsts
Package testconsts contains all the consts used by the E2E tests.
|
Package testconsts contains all the consts used by the E2E tests. |
e2e/testutils/microservices
Package microservices implements an E2E test based on the Google Online Boutique (https://github.com/GoogleCloudPlatform/microservices-demo) to assess the E2E functionality of Liqo
|
Package microservices implements an E2E test based on the Google Online Boutique (https://github.com/GoogleCloudPlatform/microservices-demo) to assess the E2E functionality of Liqo |
e2e/testutils/net
Package net implements basic network connecitivity test on Liqo to assess E2E functionality of the network
|
Package net implements basic network connecitivity test on Liqo to assess E2E functionality of the network |
e2e/testutils/tester
Package tester contains the logic to access the test context and the cluster included
|
Package tester contains the logic to access the test context and the cluster included |
e2e/testutils/util
Package util contains all the utility methods to execute the test (APIServer interaction, wait for condition, etc.).
|
Package util contains all the utility methods to execute the test (APIServer interaction, wait for condition, etc.). |
Click to show internal directories.
Click to hide internal directories.