tests

package
v0.231.0-rc.0 Latest Latest
Warning

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

Go to latest
Published: Oct 1, 2026 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AssertNodeTaints

func AssertNodeTaints(nodeList *corev1.NodeList, expectedTaints []corev1.Taint)

func AssertNodeVolumes added in v0.83.0

func AssertNodeVolumes(kubeConfig, region, nodeGroupName, volumeName string)

func ListNodes added in v0.54.0

func ListNodes(clientset kubernetes.Interface, nodeGroupName string) *corev1.NodeList

func NodeInstanceIDs added in v0.231.0

func NodeInstanceIDs(kubeConfig, nodeGroupName string) []string

NodeInstanceIDs returns the EC2 instance IDs of a nodegroup's nodes, read from their Kubernetes provider IDs.

func NodeInstances added in v0.231.0

func NodeInstances(kubeConfig, region, nodeGroupName string) []ec2types.Instance

NodeInstances returns the EC2 instances backing a nodegroup's nodes.

func PrimaryNetworkInterface added in v0.231.0

func PrimaryNetworkInterface(instance ec2types.Instance) *ec2types.InstanceNetworkInterface

PrimaryNetworkInterface returns an instance's primary network interface, the one at device index 0 on network card 0. That is the interface the VPC CNI reads connection tracking settings from before replicating them onto the interfaces it creates for pods.

Types

This section is empty.

Jump to

Keyboard shortcuts

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