Add container rename support
Signed-off-by: jason yang <jasonyangshadow@gmail.com>
This commit is contained in:
committed by
Jonathon Anderson
parent
7d17bcc6fa
commit
d262ec10ef
@@ -84,6 +84,13 @@ message ContainerSyncUserParameter {
|
||||
string containerName = 1;
|
||||
}
|
||||
|
||||
// ContainerRenameParameter is the input for ContainerRename
|
||||
message ContainerRenameParameter {
|
||||
string containerName = 1;
|
||||
string targetName = 2;
|
||||
bool build = 3;
|
||||
}
|
||||
|
||||
// Nodes
|
||||
|
||||
// NodeNames is an array of node ids.
|
||||
@@ -275,6 +282,14 @@ service WWApi {
|
||||
};
|
||||
}
|
||||
|
||||
// ContainerRename renames the container
|
||||
rpc ContainerRename(ContainerRenameParameter) returns (google.protobuf.Empty) {
|
||||
option (google.api.http) = {
|
||||
post: "/v1/containerrename"
|
||||
body: "*"
|
||||
};
|
||||
}
|
||||
|
||||
// Nodes
|
||||
|
||||
// NodeAdd adds one or more nodes for management by Warewulf and returns
|
||||
|
||||
Reference in New Issue
Block a user