Add csv mode to nvcdi api

Signed-off-by: Evan Lezar <elezar@nvidia.com>
This commit is contained in:
Evan Lezar
2023-05-10 14:23:05 +02:00
parent 540dbcbc03
commit e78a4f5eac
4 changed files with 108 additions and 0 deletions

View File

@@ -36,6 +36,9 @@ const (
ModeGds = "gds"
// ModeMofed configures the CDI spec generator to generate a MOFED spec.
ModeMofed = "mofed"
// ModeCSV configures the CDI spec generator to generate a spec based on the contents of CSV
// mountspec files.
ModeCSV = "csv"
)
// Interface defines the API for the nvcdi package