-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Qiu Jian
committed
Dec 1, 2023
1 parent
5fd68e9
commit 9ce4f8c
Showing
3 changed files
with
75 additions
and
0 deletions.
There are no files selected for viewing
25 changes: 25 additions & 0 deletions
25
src/main/java/com/yunionyun/mcp/mcclient/managers/impl/compute/BackupStorageManager.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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[]{}); | ||
} | ||
} |
25 changes: 25 additions & 0 deletions
25
src/main/java/com/yunionyun/mcp/mcclient/managers/impl/compute/DiskBackupManager.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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[]{}); | ||
} | ||
} |
25 changes: 25 additions & 0 deletions
25
src/main/java/com/yunionyun/mcp/mcclient/managers/impl/compute/InstanceBackupManager.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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[]{}); | ||
} | ||
} |