import "sigs.k8s.io/cluster-api/test/infrastructure/docker/docker/types"
type Node struct { Name string ClusterRole string InternalIP string Image string Commander *containerCmder // contains filtered or unexported fields }
Node can be thought of as a logical component of Kubernetes. A node is either a control plane node, a worker node, or a load balancer node.
NewNode returns a Node with defaults.
Delete removes the container.
IP gets the docker ipv4 and ipv6 of the node.
IsRunning returns if the container is running
Kill sends the named signal to the container.
Role returns the role of the node.
String returns the name of the node.
WithStatus sets the status of the container and returns the node
WriteFile puts a file inside a running container.
Package types imports 8 packages (graph) and is imported by 1 packages. Updated 2021-01-24. Refresh now. Tools for package owners.