From 3e31985bd433393512ec89a5687a0d85dc093ab6 Mon Sep 17 00:00:00 2001 From: estevan <50840058+chaireze@users.noreply.github.com> Date: Thu, 29 Jun 2023 10:37:39 -0400 Subject: [PATCH] pls pls precommits --- pkg/blob/blob.go | 116 +++++++++++++++++++++++------------------------ 1 file changed, 58 insertions(+), 58 deletions(-) diff --git a/pkg/blob/blob.go b/pkg/blob/blob.go index 7c212e2e9..2d53f76e8 100644 --- a/pkg/blob/blob.go +++ b/pkg/blob/blob.go @@ -48,64 +48,64 @@ import ( const ( // DefaultDriverName holds the name of the csi-driver - DefaultDriverName = "blob.csi.azure.com" - blobCSIDriverName = "blob_csi_driver" - separator = "#" - volumeIDTemplate = "%s#%s#%s#%s#%s#%s" - secretNameTemplate = "azure-storage-account-%s-secret" - serverNameField = "server" - storageEndpointSuffixField = "storageendpointsuffix" - tagsField = "tags" - matchTagsField = "matchtags" - protocolField = "protocol" - accountNameField = "accountname" - accountKeyField = "accountkey" - storageAccountField = "storageaccount" - storageAccountTypeField = "storageaccounttype" - skuNameField = "skuname" - subscriptionIDField = "subscriptionid" - resourceGroupField = "resourcegroup" - locationField = "location" - secretNameField = "secretname" - secretNamespaceField = "secretnamespace" - containerNameField = "containername" - containerNamePrefixField = "containernameprefix" - storeAccountKeyField = "storeaccountkey" - isHnsEnabledField = "ishnsenabled" - softDeleteBlobsField = "softdeleteblobs" - softDeleteContainersField = "softdeletecontainers" - enableBlobVersioningField = "enableblobversioning" - getAccountKeyFromSecretField = "getaccountkeyfromsecret" - storageSPNClientIDField = "azurestoragespnclientid" - storageSPNTenantIDField = "azurestoragespntenantid" - keyVaultURLField = "keyvaulturl" - keyVaultSecretNameField = "keyvaultsecretname" - keyVaultSecretVersionField = "keyvaultsecretversion" - storageAccountNameField = "storageaccountname" - allowBlobPublicAccessField = "allowblobpublicaccess" - requireInfraEncryptionField = "requireinfraencryption" - ephemeralField = "csi.storage.k8s.io/ephemeral" - podNamespaceField = "csi.storage.k8s.io/pod.namespace" - mountOptionsField = "mountoptions" - falseValue = "false" - trueValue = "true" - defaultSecretAccountName = "azurestorageaccountname" - defaultSecretAccountKey = "azurestorageaccountkey" - accountSasTokenField = "azurestorageaccountsastoken" - msiSecretField = "msisecret" - storageSPNClientSecretField = "azurestoragespnclientsecret" - EcProtocol = "edgecache" - Fuse = "fuse" - Fuse2 = "fuse2" - NFS = "nfs" - vnetResourceGroupField = "vnetresourcegroup" - vnetNameField = "vnetname" - subnetNameField = "subnetname" - accessTierField = "accesstier" - networkEndpointTypeField = "networkendpointtype" - mountPermissionsField = "mountpermissions" - useDataPlaneAPIField = "usedataplaneapi" - EcStrgAuthenticationField = "edgecache-storage-auth" + DefaultDriverName = "blob.csi.azure.com" + blobCSIDriverName = "blob_csi_driver" + separator = "#" + volumeIDTemplate = "%s#%s#%s#%s#%s#%s" + secretNameTemplate = "azure-storage-account-%s-secret" + serverNameField = "server" + storageEndpointSuffixField = "storageendpointsuffix" + tagsField = "tags" + matchTagsField = "matchtags" + protocolField = "protocol" + accountNameField = "accountname" + accountKeyField = "accountkey" + storageAccountField = "storageaccount" + storageAccountTypeField = "storageaccounttype" + skuNameField = "skuname" + subscriptionIDField = "subscriptionid" + resourceGroupField = "resourcegroup" + locationField = "location" + secretNameField = "secretname" + secretNamespaceField = "secretnamespace" + containerNameField = "containername" + containerNamePrefixField = "containernameprefix" + storeAccountKeyField = "storeaccountkey" + isHnsEnabledField = "ishnsenabled" + softDeleteBlobsField = "softdeleteblobs" + softDeleteContainersField = "softdeletecontainers" + enableBlobVersioningField = "enableblobversioning" + getAccountKeyFromSecretField = "getaccountkeyfromsecret" + storageSPNClientIDField = "azurestoragespnclientid" + storageSPNTenantIDField = "azurestoragespntenantid" + keyVaultURLField = "keyvaulturl" + keyVaultSecretNameField = "keyvaultsecretname" + keyVaultSecretVersionField = "keyvaultsecretversion" + storageAccountNameField = "storageaccountname" + allowBlobPublicAccessField = "allowblobpublicaccess" + requireInfraEncryptionField = "requireinfraencryption" + ephemeralField = "csi.storage.k8s.io/ephemeral" + podNamespaceField = "csi.storage.k8s.io/pod.namespace" + mountOptionsField = "mountoptions" + falseValue = "false" + trueValue = "true" + defaultSecretAccountName = "azurestorageaccountname" + defaultSecretAccountKey = "azurestorageaccountkey" + accountSasTokenField = "azurestorageaccountsastoken" + msiSecretField = "msisecret" + storageSPNClientSecretField = "azurestoragespnclientsecret" + EcProtocol = "edgecache" + Fuse = "fuse" + Fuse2 = "fuse2" + NFS = "nfs" + vnetResourceGroupField = "vnetresourcegroup" + vnetNameField = "vnetname" + subnetNameField = "subnetname" + accessTierField = "accesstier" + networkEndpointTypeField = "networkendpointtype" + mountPermissionsField = "mountpermissions" + useDataPlaneAPIField = "usedataplaneapi" + EcStrgAuthenticationField = "edgecache-storage-auth" // See https://docs.microsoft.com/en-us/rest/api/storageservices/naming-and-referencing-containers--blobs--and-metadata#container-names containerNameMinLength = 3