Skip to content

Commit aec2759

Browse files
authored
Merge pull request #63 from yunionio/container-manager
feat: add compute container manager
2 parents 34ed794 + 044a0c7 commit aec2759

File tree

2 files changed

+24
-1
lines changed

2 files changed

+24
-1
lines changed

pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
<groupId>com.yunionyun.mcp</groupId>
66
<artifactId>mcclient</artifactId>
7-
<version>3.2.16</version>
7+
<version>3.2.17</version>
88
<packaging>jar</packaging>
99

1010
<name>${project.groupId}:${project.artifactId}</name>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
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+
public class ContainerManager extends ComputeManager {
7+
public ContainerManager() {
8+
this(EndpointType.InternalURL);
9+
}
10+
11+
public ContainerManager(EndpointType endpointType) {
12+
super(
13+
"container",
14+
"containers",
15+
endpointType,
16+
new String[]{
17+
"ID",
18+
"Name",
19+
"Spec",
20+
},
21+
new String[]{});
22+
}
23+
}

0 commit comments

Comments
 (0)