kind: Index | Files

package nodes

import ""

Package nodes provides a kind specific definition of a cluster node


Package Files

doc.go types.go

type Node Uses

type Node interface {
    // The node should implement exec.Cmder for running commands against the node
    // see:
    // 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

Package nodes imports 2 packages (graph) and is imported by 25 packages. Updated 2020-02-21. Refresh now. Tools for package owners.