Documentation ¶
Index ¶
Constants ¶
View Source
const ( // Name : CSI Driver name Name = "csi.truenas.ar2ro.io" // VendorVersion : CSI version VendorVersion = "1.0.0" // UnixSocketPrefix : CSI Driver unix prefix UnixSocketPrefix = "unix://" )
Variables ¶
View Source
var Manifest = map[string]string{
"url": "https://github.com/arturoguerra/truenas-csi",
}
Manifest : CSI Driver manifest
Functions ¶
This section is empty.
Types ¶
type Params ¶
type Params struct { Dataset string `json:"dataset"` FSType string `json:"fstype"` Compression string `json:"compression"` }
Params Example: StorageClass Parameters on k8s
type PublishContext ¶
type PublishContext struct { IQN string `json:"iqn"` Portal string `json:"portal"` LunID int `json:"lunid"` }
PublishContext Full Iqn path portal address lun id iqn lun
type Service ¶
type Service interface { csi.ControllerServer csi.IdentityServer csi.NodeServer }
Service : combines all the CSI Driver spec
type VolumeContext ¶
type VolumeContext struct { Name string `json:"name"` Dataset string `json:"dataset"` FSType string `json:"fstype"` }
VolumeContext Volume Name FSType
Click to show internal directories.
Click to hide internal directories.