Documentation
¶
Index ¶
Constants ¶
View Source
const ( K8sCsiName = "Kubernetes CSI" // ISCSI definitions FsTypeExt4 = "ext4" FsTypeBtrfs = "btrfs" LunTypeFile = "FILE" LunTypeAdv = "ADV" LunTypeBlun = "BLUN" // thin provision, mapped to type 263 LunTypeBlunThick = "BLUN_THICK" // thick provision, mapped to type 259 MaxIqnLen = 128 // NVMe definitions MaxNqnLen = 128 // Share definitions UserGroupTypeLocalUser = "local_user" UserGroupTypeLocalGroup = "local_group" UserGroupTypeSystem = "system" // CSI definitions TargetPrefix = "k8s-csi" SubsystemPrefix = TargetPrefix DevicePrefix = "k8s-csi" IqnPrefix = "iqn.2000-01.com.synology:" NqnPrefix = "nqn.2000-01.com.synology:" )
Variables ¶
This section is empty.
Functions ¶
func GenBackendName ¶ added in v1.3.0
func GenShareName ¶ added in v1.1.0
Types ¶
type BySnapshotAndParentUuid ¶ added in v1.1.0
type BySnapshotAndParentUuid []*K8sSnapshotRespSpec
func (BySnapshotAndParentUuid) Len ¶ added in v1.1.0
func (a BySnapshotAndParentUuid) Len() int
func (BySnapshotAndParentUuid) Less ¶ added in v1.1.0
func (a BySnapshotAndParentUuid) Less(i, j int) bool
func (BySnapshotAndParentUuid) Swap ¶ added in v1.1.0
func (a BySnapshotAndParentUuid) Swap(i, j int)
type ByVolumeId ¶ added in v1.1.0
type ByVolumeId []*K8sVolumeRespSpec
func (ByVolumeId) Len ¶ added in v1.1.0
func (a ByVolumeId) Len() int
func (ByVolumeId) Less ¶ added in v1.1.0
func (a ByVolumeId) Less(i, j int) bool
func (ByVolumeId) Swap ¶ added in v1.1.0
func (a ByVolumeId) Swap(i, j int)
type CreateK8sVolumeSpec ¶
type CreateK8sVolumeSpec struct {
DsmIp string
K8sVolumeName string
BackendName string
Description string
Location string
Size int64
Type string
ThinProvisioning bool
TargetName string
MultipleSession bool
SourceSnapshotId string
SourceVolumeId string
Protocol string
NfsVersion string
DevAttribs map[string]bool
Reclaim bool
}
type K8sSnapshotRespSpec ¶ added in v1.1.0
type K8sVolumeRespSpec ¶ added in v1.1.0
type NodeStageVolumeSpec ¶ added in v1.1.0
Click to show internal directories.
Click to hide internal directories.