func (c *nodes) Delete(name string) error {
	return c.r.Delete().Resource(c.resourceName()).Name(name).Do().Error()
}
Delete deletes an existing node.
package client
import (
	"errors"
	"fmt"
	"github.com/GoogleCloudPlatform/kubernetes/pkg/api"
)
type NodesInterface interface {
	Nodes() NodeInterface
}
type NodeInterface interface {
	Get(name string) (result *api.Node, err error)
	Create(minion *api.Node) (*api.Node, error)
	List() (*api.NodeList, error)
	Delete(name string) error
	Update(*api.Node) (*api.Node, error)
}
type nodes struct {
	r *Client
}
func newNodes(c *Client) *nodes {
	return &nodes{c}
}
func (c *nodes) resourceName() string {
	if preV1Beta3(c.r.APIVersion()) {
		return "minions"
	}
	return "nodes"
}
func (c *nodes) Create(minion *api.Node) (*api.Node, error) {
	result := &api.Node{}
	err := c.r.Post().Resource(c.resourceName()).Body(minion).Do().Into(result)
	return result, err
}
func (c *nodes) List() (*api.NodeList, error) {
	result := &api.NodeList{}
	err := c.r.Get().Resource(c.resourceName()).Do().Into(result)
	return result, err
}
func (c *nodes) Get(name string) (*api.Node, error) {
	if len(name) == 0 {
		return nil, errors.New("name is required parameter to Get")
	}
	result := &api.Node{}
	err := c.r.Get().Resource(c.resourceName()).Name(name).Do().Into(result)
	return result, err
}