Documentation ¶
Index ¶
- func AddLabelToNode(nodeName, key, value string, cs clientset.Interface)
- func ApplyLabelsToNamespace(cs clientset.Interface, name string, labels map[string]string) error
- func CreateConfigmap(cs clientset.Interface, name, namespace string, data map[string]string) error
- func CreateNamespace(cs clientset.Interface, name string, labels map[string]string, ...) error
- func DeleteNamespace(cs clientset.Interface, name string) error
- func DescribeSvc(ns string)
- func DumpInfo(reporter *k8sreporter.KubernetesReporter, testName string)
- func GetSvcNode(cs clientset.Interface, svcNS string, svcName string, ...) (*corev1.Node, error)
- func InitReporter(kubeconfig, path, namespace string) *k8sreporter.KubernetesReporter
- func NodeIPsForFamily(nodes []v1.Node, family ipfamily.Family, vrfName string) ([]string, error)
- func PodLogs(cs clientset.Interface, pod *corev1.Pod, podLogOpts corev1.PodLogOptions) (string, error)
- func PodLogsSinceTime(cs clientset.Interface, pod *corev1.Pod, speakerContainerName string, ...) (string, error)
- func RemoveConfigmap(cs clientset.Interface, name, namespace string) error
- func RemoveLabelFromNode(nodeName, key string, cs clientset.Interface)
- func SelectorsForNodes(nodes []v1.Node) []metav1.LabelSelector
- func SetNodeCondition(cs clientset.Interface, nodeName string, conditionType v1.NodeConditionType, ...) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddLabelToNode ¶ added in v0.13.0
func ApplyLabelsToNamespace ¶ added in v0.13.10
func CreateConfigmap ¶ added in v0.13.10
func CreateNamespace ¶ added in v0.13.10
func DeleteNamespace ¶ added in v0.13.10
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 GetSvcNode ¶ added in v0.13.6
func GetSvcNode(cs clientset.Interface, svcNS string, svcName string, allNodes *corev1.NodeList) (*corev1.Node, error)
GetSvcNode returns the node that the LB Service announcing from.
func InitReporter ¶ added in v0.13.0
func InitReporter(kubeconfig, path, namespace string) *k8sreporter.KubernetesReporter
func NodeIPsForFamily ¶
func PodLogsSinceTime ¶
func RemoveConfigmap ¶ added in v0.13.10
func RemoveLabelFromNode ¶ added in v0.13.0
func SelectorsForNodes ¶ added in v0.13.0
func SelectorsForNodes(nodes []v1.Node) []metav1.LabelSelector
func SetNodeCondition ¶ added in v0.13.10
func SetNodeCondition(cs clientset.Interface, nodeName string, conditionType v1.NodeConditionType, status v1.ConditionStatus) error
SetNodeCondition sets the node's condition to the desired status and validates that the change is applied.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.