Documentation ¶
Index ¶
- Constants
- Variables
- 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 is a label to set on all offloaded resources. LiqoOutgoingKey = "virtualkubelet.liqo.io/outgoing" // LiqoOriginClusterID is a label to set on all offloaded resources to identify the origin cluster. LiqoOriginClusterID = "virtualkubelet.liqo.io/originClusterId" // LiqoIncomingKey is a label for incoming resources. LiqoIncomingKey = "virtualkubelet.liqo.io/incoming" )
Variables ¶
View Source
var ( LiqoNodeName = func() string { if forger.virtualNodeName == nil { return "" } return forger.virtualNodeName.Value().ToString() } )
Functions ¶
func ForeignToHome ¶
func ForeignToHomeStatus ¶
func HomeToForeign ¶
func InitForger ¶
func InitForger(nattingTable namespacesmapping.NamespaceNatter, opts ...options.ReadOnlyOption)
InitForger initialize forger component to set all necessary fields of offloaded resources.
func ReplicasetFromPod ¶
func ReplicasetFromPod(pod *corev1.Pod) *appsv1.ReplicaSet
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.