// generateOptionsData generates metadata for given GCE PD volume.
generateOptionsData generates metadata for given GCE PD volume.
// generateOptionsData generates metadata for given GCE PD volume .
func (d *FlexVolumeDriver) generateOptionsData() *flexvolume.GCEPDOptsData {
	return &flexvolume.GCEPDOptsData{
		VolumeID:   d.volId,
		Zone:       d.zone,
		Project:    d.project,
		DevicePath: getDevPathByVolID(d.volId),
		FsType:     d.fsType,
	}
}
func ( d * FlexVolumeDriver ) generateOptionsData ( ) * flexvolume . GCEPDOptsData { return & flexvolume . GCEPDOptsData { VolumeID : d . volId , Zone : d . zone , Project : d . project , DevicePath : getDevPathByVolID ( d . volId ) , FsType : d . fsType , } }
generateOptionsData generates metadata for given GCE PD volume.
generateOptionsData generates metadata for given GCE PD volume .