Method | Description | |
---|---|---|
BackupIsInProgress ( SqlExecutor dbExecutor, string backupPrefix ) : bool | ||
CollectBlobs ( Logger log, Microsoft.WindowsAzure.Storage.Blob.CloudBlobContainer container, string prefix, bool>.Func |
||
DatabaseExistsAndIsOnline ( IDbExecutor dbExecutor, string restoreName ) : bool | ||
DownloadPackage ( Microsoft.WindowsAzure.Storage.Blob.CloudBlobContainer container, string id, string version, string folder ) : string | ||
EnumerateBlobs ( Logger log, Microsoft.WindowsAzure.Storage.Blob.CloudBlobContainer container, string prefix, bool>.Func |
||
GenerateHash ( byte input ) : string | ||
GenerateStatusString ( int total, int &counter ) : string | ||
GetBackupOfOriginalPackageFileName ( string id, string version ) : string | ||
GetConnectionString ( string connectionString, string databaseName ) : string | ||
GetDatabase ( IDbExecutor dbExecutor, string databaseName ) : Db | ||
GetDatabaseNameTimestamp ( Db database ) : string | ||
GetDatabaseNameTimestamp ( string databaseName ) : string | ||
GetDatabaseServerName ( System.Data.SqlClient.SqlConnectionStringBuilder connectionStringBuilder ) : string | ||
GetDateTimeFromTimestamp ( string timestamp ) : System.DateTime | ||
GetDbName ( string connectionString ) : string | ||
GetDbServer ( string connectionString ) : string | ||
GetLastBackup ( SqlExecutor dbExecutor, string backupNamePrefix ) : Db | ||
GetLastBackupTime ( SqlExecutor dbExecutor, string backupNamePrefix ) : System.DateTime | ||
GetMasterConnectionString ( string connectionString ) : string | ||
GetOpsConnectionString ( string connectionString ) : string | ||
GetTimestamp ( ) : string |
Method | Description | |
---|---|---|
GetPackage ( IDbExecutor dbExecutor, string id, string version ) : |
||
GetPackageAuditBlobName ( string id, string version, PackageAuditAction action ) : string | ||
GetPackageBackupFileName ( string id, string version, string hash ) : string | ||
GetPackageBackupsBlobContainer ( Microsoft.WindowsAzure.Storage.Blob.CloudBlobClient blobClient ) : Microsoft.WindowsAzure.Storage.Blob.CloudBlobContainer | ||
GetPackageFileBlob ( Microsoft.WindowsAzure.Storage.Blob.CloudBlobContainer packagesBlobContainer, string id, string version ) : Microsoft.WindowsAzure.Storage.Blob.CloudBlockBlob | ||
GetPackageFileName ( string id, string version ) : string | ||
GetPackageRegistration ( IDbExecutor dbExecutor, string id ) : NuGetGallery.Operations.PackageRegistration | ||
GetPackages ( IDbExecutor dbExecutor, int packageRegistrationKey ) : IEnumerable |
||
GetPackagesBlobContainer ( Microsoft.WindowsAzure.Storage.Blob.CloudBlobClient blobClient ) : Microsoft.WindowsAzure.Storage.Blob.CloudBlobContainer | ||
GetTempFolder ( ) : string | ||
GetUser ( IDbExecutor dbExecutor, string username ) : NuGetGallery.Operations.User | ||
SaveAuditRecord ( Microsoft.WindowsAzure.Storage.CloudStorageAccount storage, AuditRecord auditRecord ) : Task |
public static BackupIsInProgress ( SqlExecutor dbExecutor, string backupPrefix ) : bool | ||
dbExecutor | SqlExecutor | |
backupPrefix | string | |
return | bool |
public static CollectBlobs ( Logger log, Microsoft.WindowsAzure.Storage.Blob.CloudBlobContainer container, string prefix, bool>.Func |
||
log | Logger | |
container | Microsoft.WindowsAzure.Storage.Blob.CloudBlobContainer | |
prefix | string | |
condition | bool>.Func | |
countEstimate | int | |
return | IList |
public static DatabaseExistsAndIsOnline ( IDbExecutor dbExecutor, string restoreName ) : bool | ||
dbExecutor | IDbExecutor | |
restoreName | string | |
return | bool |
public static DownloadPackage ( Microsoft.WindowsAzure.Storage.Blob.CloudBlobContainer container, string id, string version, string folder ) : string | ||
container | Microsoft.WindowsAzure.Storage.Blob.CloudBlobContainer | |
id | string | |
version | string | |
folder | string | |
return | string |
public static EnumerateBlobs ( Logger log, Microsoft.WindowsAzure.Storage.Blob.CloudBlobContainer container, string prefix, bool>.Func |
||
log | Logger | |
container | Microsoft.WindowsAzure.Storage.Blob.CloudBlobContainer | |
prefix | string | |
condition | bool>.Func | |
return | IEnumerable |
public static GenerateHash ( byte input ) : string | ||
input | byte | |
return | string |
public static GenerateStatusString ( int total, int &counter ) : string | ||
total | int | |
counter | int | |
return | string |
public static GetBackupOfOriginalPackageFileName ( string id, string version ) : string | ||
id | string | |
version | string | |
return | string |
public static GetConnectionString ( string connectionString, string databaseName ) : string | ||
connectionString | string | |
databaseName | string | |
return | string |
public static GetDatabase ( IDbExecutor dbExecutor, string databaseName ) : Db | ||
dbExecutor | IDbExecutor | |
databaseName | string | |
return | Db |
public static GetDatabaseNameTimestamp ( Db database ) : string | ||
database | Db | |
return | string |
public static GetDatabaseNameTimestamp ( string databaseName ) : string | ||
databaseName | string | |
return | string |
public static GetDatabaseServerName ( System.Data.SqlClient.SqlConnectionStringBuilder connectionStringBuilder ) : string | ||
connectionStringBuilder | System.Data.SqlClient.SqlConnectionStringBuilder | |
return | string |
public static GetDateTimeFromTimestamp ( string timestamp ) : System.DateTime | ||
timestamp | string | |
return | System.DateTime |
public static GetDbName ( string connectionString ) : string | ||
connectionString | string | |
return | string |
public static GetDbServer ( string connectionString ) : string | ||
connectionString | string | |
return | string |
public static GetLastBackup ( SqlExecutor dbExecutor, string backupNamePrefix ) : Db | ||
dbExecutor | SqlExecutor | |
backupNamePrefix | string | |
return | Db |
public static GetLastBackupTime ( SqlExecutor dbExecutor, string backupNamePrefix ) : System.DateTime | ||
dbExecutor | SqlExecutor | |
backupNamePrefix | string | |
return | System.DateTime |
public static GetMasterConnectionString ( string connectionString ) : string | ||
connectionString | string | |
return | string |
public static GetOpsConnectionString ( string connectionString ) : string | ||
connectionString | string | |
return | string |