Documentation ¶
Index ¶
Constants ¶
View Source
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 // Share definitions UserGroupTypeLocalUser = "local_user" UserGroupTypeLocalGroup = "local_group" UserGroupTypeSystem = "system" // CSI definitions TargetPrefix = "k8s-csi" LunPrefix = "k8s-csi" IqnPrefix = "iqn.2000-01.com.synology:" )
Variables ¶
This section is empty.
Functions ¶
func GenLunName ¶ added in v1.1.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 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.