code: func (sb *sandbox) getGatewayEndpoint() *endpoint {
  	for _, ep := range sb.getConnectedEndpoints() {
  		if ep.getNetwork().Type() == "null" || ep.getNetwork().Type() == "host" {
  			continue
  		}
  		if len(ep.Gateway()) != 0 {
  			return ep
  		}
  	}
  	return nil
  }
docs: // Returns the endpoint which is providing external connectivity to the sandbox