kubernetes/pkg/registry/registrytest/node.go

type NodeRegistry

// MakeNodeList constructs api.NodeList from list of node names and a NodeResource.
func MakeNodeList(nodes []string, nodeResources api.ResourceList) *api.NodeList {}

func (r *NodeRegistry) SetError(err error) {}

func (r *NodeRegistry) ListNodes(ctx context.Context, options *metainternalversion.ListOptions) (*api.NodeList, error) {}

func (r *NodeRegistry) CreateNode(ctx context.Context, node *api.Node) error {}

func (r *NodeRegistry) UpdateNode(ctx context.Context, node *api.Node) error {}

func (r *NodeRegistry) GetNode(ctx context.Context, nodeID string, options *metav1.GetOptions) (*api.Node, error) {}

func (r *NodeRegistry) DeleteNode(ctx context.Context, nodeID string) error {}

func (r *NodeRegistry) WatchNodes(ctx context.Context, options *metainternalversion.ListOptions) (watch.Interface, error) {}