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)

Node represents a kind cluster node

Package nodes imports 1 packages (graph) and is imported by 24 packages. Updated 2019-10-01. Refresh now. Tools for package owners.