code: func proxyExecMode(p Proxy) structs.ProxyExecMode {
  	switch p.(type) {
  	case *Daemon:
  		return structs.ProxyExecModeDaemon
  
  	case *Noop:
  		return structs.ProxyExecModeTest
  
  	default:
  		return structs.ProxyExecModeUnspecified
  	}
  }
docs: // proxyExecMode returns the ProxyExecMode for a Proxy instance.