Documentation ¶
Overview ¶
Package nodes provides a kind specific definition of a cluster node
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Node ¶
type Node interface { // The node should implement exec.Cmder for running commands against the node // see: github.com/cbrendanprice/kind/pkg/exec exec.Cmder // String should return the node name String() string // see also: fmt.Stringer // Role should return the node's role Role() (string, error) // see also: pkg/cluster/constants // TODO(bentheelder): should return node addresses more generally // Possibly remove this method in favor of obtaining this detail with // exec or from the provider IP() (ipv4 string, ipv6 string, err error) // SerialLogs collects the "node" container logs SerialLogs(writer io.Writer) error }
Node represents a kind cluster node
Click to show internal directories.
Click to hide internal directories.