clusterTerminalUtils

package
v0.6.23 Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ServiceAccountNameKey        = "serviceAccountName"
	NodeSelectorKey              = "nodeSelector"
	ContainersKey                = "containers"
	ImageKey                     = "image"
	NamespaceKey                 = "namespace"
	MetadataKey                  = "metadata"
	NameKey                      = "name"
	SubjectsKey                  = "subjects"
	NodeNameKey                  = "nodeName"
	Key                          = "key"
	TolerationsKey               = "tolerations"
	TolerationEffectKey          = "effect"
	TolerationOperator           = "operator"
	DefaultNamespace             = "default"
	ServiceAccountKind           = "ServiceAccount"
	ClusterRoleBindingKind       = "ClusterRoleBinding"
	PodKind                      = "Pod"
	TerminalNodeDebugPodName     = "terminal-node-debug-pod"
	TerminalAccessServiceAccount = "terminal-access-service-account"
	TerminalAccessRoleBinding    = "terminal-access-role-binding"
)

Variables

This section is empty.

Functions

func IsNodeDebugPod

func IsNodeDebugPod(pod *v1.Pod) bool

func ReplaceTemplateData

func ReplaceTemplateData(templateData string, podNameVar string, namespace string, nodeName string, baseImage string, isAutoSelect bool, taints []models.NodeTaints) (string, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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