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 ¶
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.
Click to show internal directories.
Click to hide internal directories.