k8s

package
v0.13.4 Latest Latest
Warning

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

Go to latest
Published: Jul 21, 2022 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddLabelToNode added in v0.13.0

func AddLabelToNode(nodeName, key, value string, cs clientset.Interface)

func DescribeSvc

func DescribeSvc(ns string)

DescribeSvc logs the output of kubectl describe svc for the given namespace.

func DumpInfo added in v0.13.0

func DumpInfo(reporter *k8sreporter.KubernetesReporter, testName string)

func InitReporter added in v0.13.0

func InitReporter(kubeconfig, path, namespace string) *k8sreporter.KubernetesReporter

func NodeIPsForFamily

func NodeIPsForFamily(nodes []v1.Node, family ipfamily.Family) []string

func PodLogs

func PodLogs(cs clientset.Interface, pod *corev1.Pod, podLogOpts corev1.PodLogOptions) (string, error)

func PodLogsSinceTime

func PodLogsSinceTime(cs clientset.Interface, pod *corev1.Pod, SpeakerContainerName string, sinceTime *metav1.Time) (string, error)

func RemoveLabelFromNode added in v0.13.0

func RemoveLabelFromNode(nodeName, key string, cs clientset.Interface)

func SelectorsForNodes added in v0.13.0

func SelectorsForNodes(nodes []v1.Node) []metav1.LabelSelector

Types

This section is empty.

Jump to

Keyboard shortcuts

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