kind: sigs.k8s.io/kind/pkg/cluster/nodes Index | Files

package nodes

import "sigs.k8s.io/kind/pkg/cluster/nodes"

Package nodes provides a kind specific definition of a cluster node

Index

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: sigs.k8s.io/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)
}

Node represents a kind cluster node

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