forge

package
v0.3.0-rc.2 Latest Latest
Warning

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

Go to latest
Published: Aug 20, 2021 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

Package forge contains the logic required to generate the virtual kubelet resources.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ClusterRoleLabels added in v0.3.0

func ClusterRoleLabels(remoteClusterID string) map[string]string

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

func VirtualKubeletLabels(remoteClusterID string) map[string]string

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.

Jump to

Keyboard shortcuts

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