func VolumeMachine(tag VolumeTag) (MachineTag, bool) {
	id := tag.Id()
	pos := strings.LastIndex(id, "/")
	if pos == -1 {
		return MachineTag{}, false
	}
	id = id[:pos]
	if !IsValidMachine(id) {
		return MachineTag{}, false
	}
	return NewMachineTag(id), true
}
// VolumeMachine returns the machine component of the volume
// tag, and a boolean indicating whether or not there is a
// machine component.
VolumeMachine returns the machine component of the volume
tag, and a boolean indicating whether or not there is a
machine component.
// VolumeMachine returns the machine component of the volume // tag and a boolean indicating whether or not there is a // machine component .
func VolumeMachine(tag VolumeTag) (MachineTag, bool) {
	id := tag.Id()
	pos := strings.LastIndex(id, "/")
	if pos == -1 {
		return MachineTag{}, false
	}
	id = id[:pos]
	if !IsValidMachine(id) {
		return MachineTag{}, false
	}
	return NewMachineTag(id), true
}
func VolumeMachine ( tag VolumeTag ) ( MachineTag , bool ) { id := tag . Id ( ) pos := strings . LastIndex ( id , " " ) if pos == - 1 { return MachineTag { } , false } id = id [ : pos ] if ! IsValidMachine ( id ) { return MachineTag { } , false } return NewMachineTag ( id ) , true }
VolumeMachine returns the machine component of the volume
tag, and a boolean indicating whether or not there is a
machine component.
VolumeMachine returns the machine component of the volume tag and a boolean indicating whether or not there is a machine component .