Skip to content

Commit

Permalink
Merge pull request #49 from swordqiu/hotfix/qj-server-backup-support
Browse files Browse the repository at this point in the history
fix: server backup support
  • Loading branch information
swordqiu authored Dec 1, 2023
2 parents 5fd68e9 + 9ce4f8c commit 5fc85a8
Show file tree
Hide file tree
Showing 3 changed files with 75 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
package com.yunionyun.mcp.mcclient.managers.impl.compute;

import com.yunionyun.mcp.mcclient.EndpointType;
import com.yunionyun.mcp.mcclient.managers.ComputeManager;

/**
* 备份存储
*
* @author zxc
* @date 2020/01/18
*/
public class BackupStorageManager extends ComputeManager {
public BackupStorageManager() {
this(EndpointType.InternalURL);
}

public BackupStorageManager(EndpointType endpointType) {
super(
"backupstorage",
"backupstorages",
endpointType,
new String[]{},
new String[]{});
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
package com.yunionyun.mcp.mcclient.managers.impl.compute;

import com.yunionyun.mcp.mcclient.EndpointType;
import com.yunionyun.mcp.mcclient.managers.ComputeManager;

/**
* 磁盘备份
*
* @author zxc
* @date 2020/01/18
*/
public class DiskBackupManager extends ComputeManager {
public DiskBackupManager() {
this(EndpointType.InternalURL);
}

public DiskBackupManager(EndpointType endpointType) {
super(
"diskbackup",
"diskbackups",
endpointType,
new String[]{},
new String[]{});
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
package com.yunionyun.mcp.mcclient.managers.impl.compute;

import com.yunionyun.mcp.mcclient.EndpointType;
import com.yunionyun.mcp.mcclient.managers.ComputeManager;

/**
* 主机备份
*
* @author zxc
* @date 2020/01/18
*/
public class InstanceBackupManager extends ComputeManager {
public InstanceBackupManager() {
this(EndpointType.InternalURL);
}

public InstanceBackupManager(EndpointType endpointType) {
super(
"instancebackup",
"instancebackups",
endpointType,
new String[]{},
new String[]{});
}
}

0 comments on commit 5fc85a8

Please sign in to comment.