Skip to content

Commit 5fc85a8

Browse files
authored
Merge pull request #49 from swordqiu/hotfix/qj-server-backup-support
fix: server backup support
2 parents 5fd68e9 + 9ce4f8c commit 5fc85a8

File tree

3 files changed

+75
-0
lines changed

3 files changed

+75
-0
lines changed
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
package com.yunionyun.mcp.mcclient.managers.impl.compute;
2+
3+
import com.yunionyun.mcp.mcclient.EndpointType;
4+
import com.yunionyun.mcp.mcclient.managers.ComputeManager;
5+
6+
/**
7+
* 备份存储
8+
*
9+
* @author zxc
10+
* @date 2020/01/18
11+
*/
12+
public class BackupStorageManager extends ComputeManager {
13+
public BackupStorageManager() {
14+
this(EndpointType.InternalURL);
15+
}
16+
17+
public BackupStorageManager(EndpointType endpointType) {
18+
super(
19+
"backupstorage",
20+
"backupstorages",
21+
endpointType,
22+
new String[]{},
23+
new String[]{});
24+
}
25+
}
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
package com.yunionyun.mcp.mcclient.managers.impl.compute;
2+
3+
import com.yunionyun.mcp.mcclient.EndpointType;
4+
import com.yunionyun.mcp.mcclient.managers.ComputeManager;
5+
6+
/**
7+
* 磁盘备份
8+
*
9+
* @author zxc
10+
* @date 2020/01/18
11+
*/
12+
public class DiskBackupManager extends ComputeManager {
13+
public DiskBackupManager() {
14+
this(EndpointType.InternalURL);
15+
}
16+
17+
public DiskBackupManager(EndpointType endpointType) {
18+
super(
19+
"diskbackup",
20+
"diskbackups",
21+
endpointType,
22+
new String[]{},
23+
new String[]{});
24+
}
25+
}
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
package com.yunionyun.mcp.mcclient.managers.impl.compute;
2+
3+
import com.yunionyun.mcp.mcclient.EndpointType;
4+
import com.yunionyun.mcp.mcclient.managers.ComputeManager;
5+
6+
/**
7+
* 主机备份
8+
*
9+
* @author zxc
10+
* @date 2020/01/18
11+
*/
12+
public class InstanceBackupManager extends ComputeManager {
13+
public InstanceBackupManager() {
14+
this(EndpointType.InternalURL);
15+
}
16+
17+
public InstanceBackupManager(EndpointType endpointType) {
18+
super(
19+
"instancebackup",
20+
"instancebackups",
21+
endpointType,
22+
new String[]{},
23+
new String[]{});
24+
}
25+
}

0 commit comments

Comments
 (0)