pkg/

directory
v0.3.1-rc.1 Latest Latest
Warning

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

Go to latest
Published: Oct 15, 2021 License: Apache-2.0

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.
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
namespace-controller
Package namespacectrl contains Namespace Controller logic, and some tests for it
Package namespacectrl contains Namespace Controller logic, and some tests for it
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.
namespaceMap-controller/testUtils
Package namespacemapctrltestutils provides utility function for namespaceMap controller testing.
Package namespacemapctrltestutils provides utility function for namespaceMap controller testing.
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
offloadingStatus-controller
Package offloadingstatuscontroller contains OffloadingStatus Controller logic.
Package offloadingstatuscontroller contains OffloadingStatus Controller logic.
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/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.
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
resourceoffer-controller
Package resourceoffercontroller implements the logic of the ResourceOffer Operator
Package resourceoffercontroller implements the logic of the ResourceOffer Operator
search-domain-operator
Package searchdomainoperator implements the logic of the SearchDomain Operator
Package searchdomainoperator implements the logic of the SearchDomain Operator
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
common
Package common contains common definition and utils used across liqoctl
Package common contains common definition and utils used across 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
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
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/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/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.
install/utils
Package installutils implements some utility functions for the liqo install providers
Package installutils implements some utility functions for the liqo install providers
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
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
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.
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/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.
Package mutate defines the logic of Liqo Mutating Webhook.
Package mutate defines the logic of Liqo Mutating Webhook.
testUtils
Package mutatetestutils provides utility funcition for webhook testing.
Package mutatetestutils provides utility funcition for webhook testing.
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 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.
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.
errorsManagement
Package errorsmanagement contains all utility function to use in case of errors.
Package errorsmanagement contains all utility function to use in case of errors.
foreignCluster
Package foreigncluster contains shared utility methods to handle the ForeignCluster resources.
Package foreigncluster contains shared utility methods to handle the ForeignCluster resources.
logs
Package logs contains shared utility methods for logging.
Package logs contains shared utility methods for logging.
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.
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
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
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.
manager
Package manager provides access to kubernetes resources for providers.
Package manager provides access to kubernetes resources for providers.
namespacesmapping
Package namespacesmapping implements the virtual-kubelet namespace reflection and namespace translation
Package namespacesmapping implements the virtual-kubelet namespace reflection and namespace translation
namespacesmapping/test
Package test implements a mock namespace reflection and namespace translation mechanism
Package test implements a mock namespace reflection and namespace translation mechanism
provider
Package provider contains methods implementing virtual-kubelet provider
Package provider contains methods implementing virtual-kubelet provider
reflection/exposition
Package exposition implements the reflection logic for services and endpointslices.
Package exposition implements the reflection logic for services and endpointslices.
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/options
Package options implements the options to configure the reflection.
Package options implements the options to configure the reflection.
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
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.
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.
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

Jump to

Keyboard shortcuts

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