mirror of
https://github.com/cristicalin/synology-csi.git
synced 2026-07-29 08:44:28 +00:00
Initial commit
This commit is contained in:
22
pkg/models/dsm.go
Normal file
22
pkg/models/dsm.go
Normal file
@@ -0,0 +1,22 @@
|
||||
// Copyright 2021 Synology Inc.
|
||||
|
||||
package models
|
||||
|
||||
const (
|
||||
K8sCsiName = "Kubernetes CSI"
|
||||
|
||||
// ISCSI definitions
|
||||
FsTypeExt4 = "ext4"
|
||||
FsTypeBtrfs = "btrfs"
|
||||
LunTypeFile = "FILE"
|
||||
LunTypeThin = "THIN"
|
||||
LunTypeAdv = "ADV"
|
||||
LunTypeBlun = "BLUN" // thin provision, mapped to type 263
|
||||
LunTypeBlunThick = "BLUN_THICK" // thick provision, mapped to type 259
|
||||
MaxIqnLen = 128
|
||||
|
||||
// CSI definitions
|
||||
TargetPrefix = "k8s-csi"
|
||||
LunPrefix = "k8s-csi"
|
||||
IqnPrefix = "iqn.2000-01.com.synology:"
|
||||
)
|
||||
Reference in New Issue
Block a user