Directories ¶
Path | Synopsis |
---|---|
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. |
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. |
clientset/versioned/fake
This package has the automatically generated fake clientset.
|
This package has the automatically generated fake clientset. |
clientset/versioned/scheme
This package contains the scheme of the automatically generated clientset.
|
This package contains the scheme of the automatically generated clientset. |
clientset/versioned/typed/virtualkubelet/v1alpha1
This package has the automatically generated typed clients.
|
This package has the automatically generated typed clients. |
clientset/versioned/typed/virtualkubelet/v1alpha1/fake
Package fake has the automatically generated clients.
|
Package fake has the automatically generated clients. |
Package consts provides most useful constant for Liqo Controllers
|
Package consts provides most useful constant for Liqo Controllers |
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. |
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 |
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. |
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. |
fake
Package fake implements mock Identity interfaces for test purposes.
|
Package fake implements mock Identity interfaces for test purposes. |
responseTypes
Package responsetypes contains utils for methods responses.
|
Package responsetypes contains utils for methods responses. |
testUtils
Package identitymanagertestutils provides utility funcition for identity manager testing.
|
Package identitymanagertestutils provides utility funcition for identity manager testing. |
Package liqocontrollermanager implements the utility functions for the liqo controller manager
|
Package liqocontrollermanager implements the utility functions for the liqo controller manager |
foreign-cluster-operator
Package foreignclusteroperator implements the logic of the ForeignCluster Operator
|
Package foreignclusteroperator implements the logic of the ForeignCluster Operator |
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. |
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. |
resource-request-controller/resource-monitors
Package resourcemonitors contains the ResourceReader API that is used to create ResourceOffers, as well as resource monitors implementing this API.
|
Package resourcemonitors contains the ResourceReader API that is used to create ResourceOffers, as well as resource monitors implementing this API. |
resourceoffer-controller
Package resourceoffercontroller implements the logic of the ResourceOffer Operator
|
Package resourceoffercontroller implements the logic of the ResourceOffer Operator |
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. |
webhooks/foreigncluster
Package fcwh contains the logic of the ForeignCluster webhook.
|
Package fcwh contains the logic of the ForeignCluster webhook. |
webhooks/namespaceoffloading
Package nsoffwh contains the logic of the NamespaceOffloading webhook.
|
Package nsoffwh contains the logic of the NamespaceOffloading webhook. |
webhooks/pod
Package pod contains the logic of the pod mutating webhook.
|
Package pod contains the logic of the pod mutating webhook. |
webhooks/pod/testutils
Package testutils provides utility function for webhook testing.
|
Package testutils provides utility function for webhook testing. |
webhooks/shadowpod
Package shadowpod contains the validating webhook logic and the cache of peering information.
|
Package shadowpod contains the validating webhook logic and the cache of peering information. |
liqoctl
|
|
completion
Package completion contains the utility functions to autocomplete commands and flags.
|
Package completion contains the utility functions to autocomplete commands and flags. |
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 |
factory
Package factory implements the logic to initialize common objects for liqoctl commands.
|
Package factory implements the logic to initialize common objects for liqoctl commands. |
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 |
inband
Package inband contains common functions used for the in-band peer and unpeer commands.
|
Package inband contains common functions used for the in-band peer and unpeer commands. |
install
Package install implements the install command in liqoctl.
|
Package install implements the install command in 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 |
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 |
install/generic
Package generic implements the logic to install Liqo on a generic cluster
|
Package generic implements the logic to install Liqo on a generic cluster |
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 |
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 |
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 |
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 |
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 |
install/util
Package util implements utility functions for the liqo install providers
|
Package util implements utility functions for the liqo install providers |
move
Package move contains the logic to move volumes between clusters.
|
Package move contains the logic to move volumes between clusters. |
offload
Package offload includes the logic for the `liqoctl offload` command
|
Package offload includes the logic for the `liqoctl offload` command |
output
Package output implements the logic to dealing with the commands output.
|
Package output implements the logic to dealing with the commands output. |
peer
Package peer contains the logic to enable a peering towards a remote cluster.
|
Package peer contains the logic to enable a peering towards a remote cluster. |
peerib
Package peerib contains the logic to perform an in-band peering towards a remote cluster.
|
Package peerib contains the logic to perform an in-band peering towards a remote cluster. |
peeroob
Package peeroob contains the logic to perform an out-of-band peering towards a remote cluster.
|
Package peeroob contains the logic to perform an out-of-band peering towards a remote cluster. |
status
Package status contains the implementation of the status command.
|
Package status contains the implementation of the status command. |
status/local
Package statuslocal contains the logic that handles the status local command in liqoctl
|
Package statuslocal contains the logic that handles the status local command in liqoctl |
status/peer
Package statuspeer contains the logic that handles the status peer command in liqoctl
|
Package statuspeer contains the logic that handles the status peer command in liqoctl |
status/utils/resources
Package resources contains utilities to get share resources quantities.
|
Package resources contains utilities to get share resources quantities. |
uninstall
Package uninstall implements the uninstall command in liqoctl.
|
Package uninstall implements the uninstall command in liqoctl. |
unoffload
Package unoffload includes the logic for the `liqoctl unoffload` command
|
Package unoffload includes the logic for the `liqoctl unoffload` command |
unpeerib
Package unpeerib contains the logic to tear-down an in-band peering towards a remote cluster.
|
Package unpeerib contains the logic to tear-down an in-band peering towards a remote cluster. |
unpeeroob
Package unpeeroob contains the logic to tear-down an out-of-band peering towards a remote cluster.
|
Package unpeeroob contains the logic to tear-down an out-of-band peering towards a remote cluster. |
util
Package util contains common definition and utils used across liqoctl
|
Package util contains common definition and utils used across liqoctl |
version
Package version includes the logic for the `liqoctl version` command
|
Package version includes the logic for the `liqoctl version` command |
wait
Package wait contains the functions to wait for resource events.
|
Package wait contains the functions to wait for resource events. |
liqonet
|
|
conncheck
Package conncheck checks if a connection is alive.
|
Package conncheck checks if a connection is alive. |
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. |
ipam
Package ipam contains the IPAM module.
|
Package ipam contains the IPAM module. |
ipam/fake
Package fake implements fake IPAM grpc interfaces for testing purposes.
|
Package fake implements fake IPAM grpc interfaces for testing purposes. |
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. |
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. |
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. |
overlay
Package overlay contains the overlays implementations supported in liqo.
|
Package overlay contains the overlays implementations supported in liqo. |
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. |
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. |
tunnel/metrics
Package metrics provides a set of metrics for the VPN tunnel.
|
Package metrics provides a set of metrics for the VPN tunnel. |
tunnel/resolver
Package resolver implements the resolver used to resolve hostnames to IP addresses.
|
Package resolver implements the resolver used to resolve hostnames to IP addresses. |
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. |
utils
Package utils contain utility functions for the Liqonet package.
|
Package utils contain utility functions for the Liqonet package. |
utils/links
Package links contains utils functions to interact with link in linux systems.
|
Package links contains utils functions to interact with link in linux systems. |
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 |
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 |
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 |
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 |
Package remotemetrics contains the logic to scrape and parse metrics from a remote cluster.
|
Package remotemetrics contains the logic to scrape and parse metrics from a remote cluster. |
Package telemetry builds and sends telemetry data to the Liqo telemetry server.
|
Package telemetry builds and sends telemetry data to the Liqo telemetry server. |
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 |
Package uninstaller contains the Liqo uninstaller logic for a clean uninstall.
|
Package uninstaller contains the Liqo uninstaller logic for a clean uninstall. |
Package utils contains shared utility methods for the Liqonet package.
|
Package utils contains shared utility methods for the Liqonet package. |
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. |
args
Package args contains shared utility methods for argument parsing and validation.
|
Package args contains shared utility methods for argument parsing and validation. |
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. |
clients
Package clients contains utility methods to create and manage clients with custom features.
|
Package clients contains utility methods to create and manage clients with custom features. |
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. |
errors
Package errors contains utility functions to deal with errors.
|
Package errors contains utility functions to deal with errors. |
foreignCluster
Package foreigncluster contains shared utility methods to handle the ForeignCluster resources.
|
Package foreigncluster contains shared utility methods to handle the ForeignCluster resources. |
getters
Package getters contains utility functions to get k8s resources and at the same time to extract data from the same resources.
|
Package getters contains utility functions to get k8s resources and at the same time to extract data from the same resources. |
labels
Package labels label selectors used throughout the liqo code in order to get k8s resources.
|
Package labels label selectors used throughout the liqo code in order to get k8s resources. |
mapper
Package mapper contains the utility functions for k8s resource REST mapping.
|
Package mapper contains the utility functions for k8s resource REST mapping. |
maps
Package maps contains utility functions to manage maps.
|
Package maps contains utility functions to manage maps. |
peeringConditions
Package peeringconditionsutils contains shared utility methods to handle the PeeringCondition resource.
|
Package peeringconditionsutils contains shared utility methods to handle the PeeringCondition resource. |
pod
Package pod contains utilities to deal with Pod objects.
|
Package pod contains utilities to deal with Pod objects. |
restcfg
Package restcfg contains utility functions to deal with rest configs.
|
Package restcfg contains utility functions to deal with rest configs. |
slice
Package slice contains utility functions to manage slices.
|
Package slice contains utility functions to manage slices. |
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. |
testutil
Package testutil contains some methods useful to mock components while testing
|
Package testutil contains some methods useful to mock components while testing |
trace
Package trace contains utility functions to deal with traces.
|
Package trace contains utility functions to deal with traces. |
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. |
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. |
metrics
Package metrics provides a set of metrics for Virtual Kubelet component.
|
Package metrics provides a set of metrics for Virtual Kubelet component. |
portforwarder
Package portforwarder implements the logic to create a Port Forwarder that takes a stream from the virtual kubelet and forwards it to an offloaded pod
|
Package portforwarder implements the logic to create a Port Forwarder that takes a stream from the virtual kubelet and forwards it to an offloaded pod |
provider
Package provider contains methods implementing virtual-kubelet provider
|
Package provider contains methods implementing virtual-kubelet provider |
reflection/configuration
Package configuration implements the reflection logic for configmaps and secrets.
|
Package configuration implements the reflection logic for configmaps and secrets. |
reflection/exposition
Package exposition implements the reflection logic for services, endpointslices and ingresses.
|
Package exposition implements the reflection logic for services, endpointslices and ingresses. |
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. |
reflection/generic/fake
Package fake implements the reflector interfaces for testing purposes.
|
Package fake implements the reflector interfaces for testing purposes. |
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. |
reflection/namespacemap
Package namespacemap implements the logic to start and stop the reflection of resources for namespaces.
|
Package namespacemap implements the logic to start and stop the reflection of resources for namespaces. |
reflection/namespacemap/fake
Package fake implements a fake namespace start and stopper used for testing purpouses.
|
Package fake implements a fake namespace start and stopper used for testing purpouses. |
reflection/options
Package options implements the options to configure the reflection.
|
Package options implements the options to configure the reflection. |
reflection/storage
Package storage implements the reflection logic for persistentvolumeclaims.
|
Package storage implements the reflection logic for persistentvolumeclaims. |
reflection/workload
Package workload implements the reflection logic for pods.
|
Package workload implements the reflection logic for pods. |
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. |
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. |
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 |
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. |
Click to show internal directories.
Click to hide internal directories.