Documentation ¶
Index ¶
- Constants
- Variables
- func ChangePodIp(newPodCidr string, oldPodIp string) (newPodIp string, err error)
- func ForeignReplicasetDeleted(pod *corev1.Pod) *corev1.Pod
- func ForeignToHome(foreignObj, homeObj runtime.Object, reflectionType string) (runtime.Object, error)
- func ForeignToHomeStatus(foreignObj, homeObj runtime.Object) (runtime.Object, error)
- func HomeToForeign(homeObj, foreignObj runtime.Object, reflectionType string) (runtime.Object, error)
- func InitForger(nattingTable namespacesMapping.NamespaceNatter, opts ...options.ReadOnlyOption)
- func ReplicasetFromPod(pod *corev1.Pod) *appsv1.ReplicaSet
Constants ¶
View Source
const ( LiqoOutgoingKey = "virtualkubelet.liqo.io/outgoing" LiqoIncomingKey = "virtualkubelet.liqo.io/incoming" )
Variables ¶
View Source
var ( LiqoNodeName = func() string { if forger.virtualNodeName == nil { return "" } return forger.virtualNodeName.Value().ToString() } )
Functions ¶
func ChangePodIp ¶
ChangePodIp creates a new IP address obtained by means of the old IP address and the new podCIDR
func ForeignToHome ¶
func ForeignToHomeStatus ¶
func HomeToForeign ¶
func InitForger ¶
func InitForger(nattingTable namespacesMapping.NamespaceNatter, opts ...options.ReadOnlyOption)
func ReplicasetFromPod ¶
func ReplicasetFromPod(pod *corev1.Pod) *appsv1.ReplicaSet
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.