Documentation ¶
Overview ¶
Package forge contains the logic required to generate the virtual kubelet resources.
Index ¶
- func ClusterRoleLabels(remoteClusterID string) map[string]string
- func VirtualKubeletClusterRoleBinding(name, kubeletNamespace, remoteClusterID string) *rbacv1.ClusterRoleBinding
- func VirtualKubeletDeployment(...) (*appsv1.Deployment, error)
- func VirtualKubeletLabels(remoteClusterID string) map[string]string
- func VirtualKubeletServiceAccount(name, kubeletNamespace string) *v1.ServiceAccount
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ClusterRoleLabels ¶ added in v0.3.0
ClusterRoleLabels returns the labels to be set on a ClusterRoleBinding related to a VirtualKubelet.
func VirtualKubeletClusterRoleBinding ¶ added in v0.3.0
func VirtualKubeletClusterRoleBinding(name, kubeletNamespace, remoteClusterID string) *rbacv1.ClusterRoleBinding
VirtualKubeletClusterRoleBinding forges a ClusterRoleBinding for a VirtualKubelet.
func VirtualKubeletDeployment ¶ added in v0.3.0
func VirtualKubeletDeployment(remoteClusterID, vkName, vkNamespace, liqoNamespace, vkImage, initVKImage, nodeName, homeClusterID string) (*appsv1.Deployment, error)
VirtualKubeletDeployment forges the deployment for a virtual-kubelet.
func VirtualKubeletLabels ¶ added in v0.3.0
VirtualKubeletLabels forges the labels for a virtual-kubelet.
func VirtualKubeletServiceAccount ¶ added in v0.3.0
func VirtualKubeletServiceAccount(name, kubeletNamespace string) *v1.ServiceAccount
VirtualKubeletServiceAccount forges a ServiceAccount for a VirtualKubelet.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.