code: func (plugin *flexVolumePlugin) GetAccessModes() []api.PersistentVolumeAccessMode {
  	return []api.PersistentVolumeAccessMode{
  		api.ReadWriteOnce,
  		api.ReadOnlyMany,
  	}
  }
docs: // GetAccessModes gets the allowed access modes for this plugin.