|
| 1 | +// Package backup implements the functionality of [Backup methods]. |
| 2 | +// Package implements [getFileBackupList], [getMysqlBackupList], |
| 3 | +// [getFileList], [getMysqlList], [restoreFile], [restoreMysql], [downloadFile], [downloadMysql], [getLog] methods. |
| 4 | +// To create the appropriate methods, you need to call either [CallGetFileBackupList], [CallGetMysqlBackupList], |
| 5 | +// [CallGetFileList], [CallGetMysqlList], [CallRestoreFile], [CallRestoreMysql], [CallDownloadFile], |
| 6 | +// [CallDownloadMysql] or [CallGetLog]. |
| 7 | +// |
| 8 | +// [Backup methods]: https://beget.com/ru/kb/api/funkczii-upravleniya-bekapami |
| 9 | +// [getFileBackupList]: https://beget.com/ru/kb/api/funkczii-upravleniya-bekapami#getfilebackuplist |
| 10 | +// [getMysqlBackupList]: https://beget.com/ru/kb/api/funkczii-upravleniya-bekapami#getmysqlbackuplist |
| 11 | +// [getFileList]: https://beget.com/ru/kb/api/funkczii-upravleniya-bekapami#getfilelist |
| 12 | +// [getMysqlList]: https://beget.com/ru/kb/api/funkczii-upravleniya-bekapami#getmysqllist |
| 13 | +// [restoreFile]: https://beget.com/ru/kb/api/funkczii-upravleniya-bekapami#restorefile |
| 14 | +// [restoreMysql]: https://beget.com/ru/kb/api/funkczii-upravleniya-bekapami#restoremysql |
| 15 | +// [downloadFile]: https://beget.com/ru/kb/api/funkczii-upravleniya-bekapami#downloadfile |
| 16 | +// [downloadMysql]: https://beget.com/ru/kb/api/funkczii-upravleniya-bekapami#downloadmysql |
| 17 | +// [getLog]: https://beget.com/ru/kb/api/funkczii-upravleniya-bekapami#getlog |
| 18 | +package backup |
| 19 | + |
| 20 | +// Constants used to implement the [getFileBackupList], [getMysqlBackupList], |
| 21 | +// [getFileList], [getMysqlList], [restoreFile], [restoreMysql], [downloadFile], [downloadMysql], [getLog] methods. |
| 22 | +// |
| 23 | +// [getFileBackupList]: https://beget.com/ru/kb/api/funkczii-upravleniya-bekapami#getfilebackuplist |
| 24 | +// [getMysqlBackupList]: https://beget.com/ru/kb/api/funkczii-upravleniya-bekapami#getmysqlbackuplist |
| 25 | +// [getFileList]: https://beget.com/ru/kb/api/funkczii-upravleniya-bekapami#getfilelist |
| 26 | +// [getMysqlList]: https://beget.com/ru/kb/api/funkczii-upravleniya-bekapami#getmysqllist |
| 27 | +// [restoreFile]: https://beget.com/ru/kb/api/funkczii-upravleniya-bekapami#restorefile |
| 28 | +// [restoreMysql]: https://beget.com/ru/kb/api/funkczii-upravleniya-bekapami#restoremysql |
| 29 | +// [downloadFile]: https://beget.com/ru/kb/api/funkczii-upravleniya-bekapami#downloadfile |
| 30 | +// [downloadMysql]: https://beget.com/ru/kb/api/funkczii-upravleniya-bekapami#downloadmysql |
| 31 | +// [getLog]: https://beget.com/ru/kb/api/funkczii-upravleniya-bekapami#getlog |
| 32 | +const ( |
| 33 | + GetFileBackupListMethodName = "GetFileBackupList" |
| 34 | + GetFileBackupListMethodPath = "backup/getFileBackupList" |
| 35 | + |
| 36 | + GetMysqlBackupListMethodName = "GetMysqlBackupList" |
| 37 | + GetMysqlBackupListMethodPath = "backup/getMysqlBackupList" |
| 38 | + |
| 39 | + GetFileListMethodName = "GetFileList" |
| 40 | + GetFileListMethodPath = "backup/getFileList" |
| 41 | + |
| 42 | + GetMysqlListMethodName = "GetMysqlList" |
| 43 | + GetMysqlListMethodPath = "backup/getMysqlList" |
| 44 | + |
| 45 | + RestoreFileMethodName = "RestoreFile" |
| 46 | + RestoreFileMethodPath = "backup/restoreFile" |
| 47 | + |
| 48 | + RestoreMysqlMethodName = "RestoreMysql" |
| 49 | + RestoreMysqlMethodPath = "backup/restoreMysql" |
| 50 | + |
| 51 | + DownloadFileMethodName = "DownloadFile" |
| 52 | + DownloadFileMethodPath = "backup/downloadFile" |
| 53 | + |
| 54 | + DownloadMysqlMethodName = "DownloadMysql" |
| 55 | + DownloadMysqlMethodPath = "backup/downloadMysql" |
| 56 | + |
| 57 | + GetLogMethodName = "GetLog" |
| 58 | + GetLogMethodPath = "backup/getLog" |
| 59 | +) |
0 commit comments