func ActionReceiverTag(name string) (Tag, error) {
	if IsValidUnit(name) {
		return NewUnitTag(name), nil
	}
	if IsValidApplication(name) {
		// TODO(jcw4) enable when leader elections complete
		//return NewApplicationTag(name), nil
	}
	if IsValidMachine(name) {
		return NewMachineTag(name), nil
	}
	return nil, fmt.Errorf("invalid actionreceiver name %q", name)
}
// ActionReceiverTag returns an ActionReceiver Tag from a
// machine or unit name.
ActionReceiverTag returns an ActionReceiver Tag from a
machine or unit name.
// ActionReceiverTag returns an ActionReceiver Tag from a // machine or unit name .
func ActionReceiverTag(name string) (Tag, error) {
	if IsValidUnit(name) {
		return NewUnitTag(name), nil
	}
	if IsValidApplication(name) {
	}
	if IsValidMachine(name) {
		return NewMachineTag(name), nil
	}
	return nil, fmt.Errorf("invalid actionreceiver name %q", name)
}
func ActionReceiverTag ( name string ) ( Tag , error ) { if IsValidUnit ( name ) { return NewUnitTag ( name ) , nil } if IsValidApplication ( name ) { } if IsValidMachine ( name ) { return NewMachineTag ( name ) , nil } return nil , fmt . Errorf ( " " , name ) }
ActionReceiverTag returns an ActionReceiver Tag from a
machine or unit name.
ActionReceiverTag returns an ActionReceiver Tag from a machine or unit name .
// TODO(jcw4) enable when leader elections complete //return NewApplicationTag(name), nil