code: func networkNamespaceMode(container *dockertypes.ContainerJSON) runtimeapi.NamespaceMode {
  	if container != nil && container.HostConfig != nil && string(container.HostConfig.NetworkMode) == namespaceModeHost {
  		return runtimeapi.NamespaceMode_NODE
  	}
  	return runtimeapi.NamespaceMode_POD
  }
docs: // networkNamespaceMode returns the network runtimeapi.NamespaceMode for this container.
  // Supports: POD, NODE