code: func (v *Cloud) NodeAddresses(ctx context.Context, nodeName types.NodeName) ([]v1.NodeAddress, error) {
  	name := mapNodeNameToInstanceName(nodeName)
  	instance, err := v.fetchInstance(name)
  	if err != nil {
  		return nil, err
  	}
  
  	var address net.IP
  
  	if instance.IPAddress != "" {
  		address = net.ParseIP(instance.IPAddress)
  		if address == nil {
  			return nil, fmt.Errorf("couldn't parse address: %s", instance.IPAddress)
  		}
  	} else {
  		resolved, err := net.LookupIP(name)
  		if err != nil || len(resolved) < 1 {
  			return nil, fmt.Errorf("couldn't lookup address: %s", name)
  		}
  		address = resolved[0]
  	}
  
  	return []v1.NodeAddress{
  		{Type: v1.NodeInternalIP, Address: address.String()},
  		{Type: v1.NodeExternalIP, Address: address.String()},
  	}, nil
  }
docs: // NodeAddresses returns the NodeAddresses of the instance with the specified nodeName.