Versions in this module Expand all Collapse all v1 v1.19.1 Oct 25, 2022 Changes in this version + var AspId = "aspId" + var DiskByIdDeviceNamePrefix = "virtio-" + var DiskByIdDevicePath = "/dev/disk/by-id" + var DiskChargePrepaidPeriodAttr = "diskChargeTypePrepaidPeriod" + var DiskChargePrepaidPeriodDefault = 1 + var DiskChargePrepaidPeriodValidValues = []int + var DiskChargePrepaidRenewFlagAttr = "diskChargePrepaidRenewFlag" + var DiskChargePrepaidRenewFlagDefault = DiskChargePrepaidRenewFlagNotifyAndManualRenewd + var DiskChargePrepaidRenewFlagDisableNotifyAndManualRenew = "DISABLE_NOTIFY_AND_MANUAL_RENEW" + var DiskChargePrepaidRenewFlagNotifyAndAutoRenew = "NOTIFY_AND_AUTO_RENEW" + var DiskChargePrepaidRenewFlagNotifyAndManualRenewd = "NOTIFY_AND_MANUAL_RENEW" + var DiskChargeTypeAttr = "diskChargeType" + var DiskChargeTypeDefault = DiskChargeTypePostPaidByHour + var DiskChargeTypePostPaidByHour = "POSTPAID_BY_HOUR" + var DiskChargeTypePrePaid = "PREPAID" + var DiskNameAttr = "diskName" + var DiskTagsAttr = "diskTags" + var DiskTypeAttr = "diskType" + var DiskTypeCloudBasic = "CLOUD_BASIC" + var DiskTypeCloudPremium = "CLOUD_PREMIUM" + var DiskTypeCloudSsd = "CLOUD_SSD" + var DiskTypeDefault = DiskTypeCloudBasic + var DiskZone = "diskZone" + var DiskZones = "diskZones" + var DriverName = "com.tencent.cloud.csi.cbs" + var DriverVerision = "0.1.0" + var EncryptAttr = "encrypt" + var EncryptEnable = "ENCRYPT" + var GB = 1 << (10 * 3) + var StatusAttached = "ATTACHED" + var StatusUnattached = "UNATTACHED" + type Driver struct + func NewDriver(region string, zone string, secretId string, secretKey string) (*Driver, error) + func (drv *Driver) Run(endpoint *url.URL, cbsUrl string) error