Documentation ¶
Index ¶
Constants ¶
View Source
const ( // VirtualNodePrefix -> the prefix used to generate the virtual node name. VirtualNodePrefix = "liqo-" // VirtualKubeletPrefix -> the prefix used to generate the virtual kubelet deployment name. VirtualKubeletPrefix = "virtual-kubelet-" // ReflectedpodKey -> the key of the label added to reflected pods. ReflectedpodKey = "virtualkubelet.liqo.io/source-pod" // HomePodFinalizer -> the finalizer added to local pods when reflected. HomePodFinalizer = "virtual-kubelet.liqo.io/provider" // Clients configuration. HOME_CLIENT_QPS = 1000 HOME_CLIENTS_BURST = 5000 FOREIGN_CLIENT_QPS = 1000 FOREIGN_CLIENT_BURST = 5000 )
Variables ¶
This section is empty.
Functions ¶
func VirtualNodeName ¶ added in v0.3.1
VirtualNodeName generates the virtual node name based on the cluster ID.
Types ¶
This section is empty.
Directories ¶
Path | Synopsis |
---|---|
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 |
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 |
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. |
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. |
Package manager provides access to kubernetes resources for providers.
|
Package manager provides access to kubernetes resources for providers. |
Package namespacesmapping implements the virtual-kubelet namespace reflection and namespace translation
|
Package namespacesmapping implements the virtual-kubelet namespace reflection and namespace translation |
test
Package test implements a mock namespace reflection and namespace translation mechanism
|
Package test implements a mock namespace reflection and namespace translation mechanism |
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. |
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. |
generic/fake
Package fake implements the reflector interfaces for testing purposes.
|
Package fake implements the reflector interfaces for testing purposes. |
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. |
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. |
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. |
Click to show internal directories.
Click to hide internal directories.