Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // GB xxx GB = 1 << (10 * 3) // DiskTypeAttr xxx // cbs disk type DiskTypeAttr = "diskType" // DiskNameAttr xxx // cbs disk name DiskNameAttr = "diskName" // DiskTagsAttr xxx // cbs disk tags DiskTagsAttr = "diskTags" // DiskTypeCloudBasic xxx // tencentcloud cbs types, now support CLOUD_BASIC, CLOUD_PREMIUM, CLOUD_SSD DiskTypeCloudBasic = "CLOUD_BASIC" // DiskTypeCloudPremium xxx DiskTypeCloudPremium = "CLOUD_PREMIUM" // DiskTypeCloudSsd xxx DiskTypeCloudSsd = "CLOUD_SSD" // DiskTypeDefault xxx DiskTypeDefault = DiskTypeCloudBasic // DiskChargeTypeAttr xxx // cbs disk charge type DiskChargeTypeAttr = "diskChargeType" // DiskChargeTypePrePaid xxx DiskChargeTypePrePaid = "PREPAID" // DiskChargeTypePostPaidByHour xxx DiskChargeTypePostPaidByHour = "POSTPAID_BY_HOUR" // DiskChargeTypeDefault xxx DiskChargeTypeDefault = DiskChargeTypePostPaidByHour // DiskChargePrepaidPeriodAttr xxx // cbs disk charge prepaid options DiskChargePrepaidPeriodAttr = "diskChargeTypePrepaidPeriod" // DiskChargePrepaidPeriodValidValues xxx DiskChargePrepaidPeriodValidValues = []int{1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 24, 36} // DiskChargePrepaidPeriodDefault xxx DiskChargePrepaidPeriodDefault = 1 // DiskChargePrepaidRenewFlagAttr xxx DiskChargePrepaidRenewFlagAttr = "diskChargePrepaidRenewFlag" // DiskChargePrepaidRenewFlagNotifyAndAutoRenew xxx DiskChargePrepaidRenewFlagNotifyAndAutoRenew = "NOTIFY_AND_AUTO_RENEW" // DiskChargePrepaidRenewFlagNotifyAndManualRenewd xxx DiskChargePrepaidRenewFlagNotifyAndManualRenewd = "NOTIFY_AND_MANUAL_RENEW" // DiskChargePrepaidRenewFlagDisableNotifyAndManualRenew xxx DiskChargePrepaidRenewFlagDisableNotifyAndManualRenew = "DISABLE_NOTIFY_AND_MANUAL_RENEW" // DiskChargePrepaidRenewFlagDefault xxx DiskChargePrepaidRenewFlagDefault = DiskChargePrepaidRenewFlagNotifyAndManualRenewd // EncryptAttr xxx // cbs disk encrypt EncryptAttr = "encrypt" // EncryptEnable xxx EncryptEnable = "ENCRYPT" // DiskZone xxx // cbs disk zone DiskZone = "diskZone" // DiskZones xxx // cbs disk zones DiskZones = "diskZones" // AspId xxx // cbs disk asp Id AspId = "aspId" // StatusUnattached xxx // cbs status StatusUnattached = "UNATTACHED" // StatusAttached xxx StatusAttached = "ATTACHED" )
View Source
var ( // DriverName xxx DriverName = "com.tencent.cloud.csi.cbs" // DriverVerision xxx DriverVerision = "0.1.0" )
View Source
var ( // DiskByIdDevicePath xxx DiskByIdDevicePath = "/dev/disk/by-id" // DiskByIdDeviceNamePrefix xxx DiskByIdDeviceNamePrefix = "virtio-" )
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.