k8s

package
v2.12.0 Latest Latest
Warning

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

Go to latest
Published: Oct 29, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const K8sLabel = "label"

K8sLabel defines the field label to be used

View Source
const K8sValueFile = "k8sValues.csv"

K8sValueFile values file that stories k8s node labels applied

Variables

This section is empty.

Functions

func DeleteK8sValuesFile

func DeleteK8sValuesFile() bool

DeleteK8sValuesFile deletes the values in the file used in fakeNode

func GetFakeNode

func GetFakeNode() *v1.Node

GetFakeNode returns a fake node with labels including current hostname

func WriteK8sValueToFile

func WriteK8sValueToFile(inputType, value string)

WriteK8sValueToFile writes the values to a file to used in fakeNode

Types

This section is empty.

Jump to

Keyboard shortcuts

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