package
0.27.0-alpha
Repository: https://github.com/kubernetes-sigs/kind.git
Documentation: pkg.go.dev

# Functions

APIServerEndpointNode selects the node from allNodes which hosts the API Server endpoint This should be the control plane node if there is one control plane node, or a LoadBalancer otherwise.
BootstrapControlPlaneNode returns a handle to the bootstrap control plane node TODO(bentheelder): remove this.
ControlPlaneNodes returns all control plane nodes such that the first entry is the bootstrap control plane node.
CopyNodeToNode copies file from a to b.
ExternalLoadBalancerNode returns a node handle for the external control plane loadbalancer node or nil if there isn't one.
ImageID returns ID of image on the node with the given image name if present.
ImageTags is used to perform a reverse lookup of the ImageID to list set of available RepoTags corresponding to the ImageID in question.
InternalNodes returns the list of container IDs for the "nodes" in the cluster that are ~Kubernetes nodes, as opposed to e.g.
KubeVersion returns the Kubernetes version installed on the node.
LoadImageArchive loads image onto the node, where image is a Reader over an image archive.
ReTagImage is used to tag an ImageID with a custom tag specified by imageName parameter.
SecondaryControlPlaneNodes returns handles to the secondary control plane nodes and NOT the bootstrap control plane node.
SelectNodesByRole returns a list of nodes with the matching role TODO(bentheelder): remove this in favor of specific role select methods and avoid the unnecessary error handling.
WriteFile writes content to dest on the node.