func (i *InstancesController) InstanceExists(ctx context.Context, node *v1.Node) (bool, error) {
	klog.Infof("InstanceExists: node %q", node.GetName())
	machine, err := metal.GetMachineFromNode(i.client, types.NodeName(node.Name))
	if err != nil {
		return false, err
	}
	return machine.Allocation != nil, nil
}
// InstanceExists returns true if the instance for the given node exists according to the cloud provider.
// Use the node.name or node.spec.providerID field to find the node in the cloud provider.
InstanceExists returns true if the instance for the given node exists according to the cloud provider.
Use the node.name or node.spec.providerID field to find the node in the cloud provider.
// InstanceExists returns true if the instance for the given node exists according to the cloud provider . // Use the node . name or node . spec . providerID field to find the node in the cloud provider .
func (i *InstancesController) InstanceExists(ctx context.Context, node *v1.Node) (bool, error) {
	klog.Infof("InstanceExists: node %q", node.GetName())
	machine, err := metal.GetMachineFromNode(i.client, types.NodeName(node.Name))
	if err != nil {
		return false, err
	}
	return machine.Allocation != nil, nil
}
func ( i * InstancesController ) InstanceExists ( ctx context . Context , node * v1 . Node ) ( bool , error ) { klog . Infof ( " " , node . GetName ( ) ) machine , err := metal . GetMachineFromNode ( i . client , types . NodeName ( node . Name ) ) if err != nil { return false , err } return machine . Allocation != nil , nil }
InstanceExists returns true if the instance for the given node exists according to the cloud provider.
InstanceExists returns true if the instance for the given node exists according to the cloud provider .