Core of image's duplication feature
This commit is contained in:
@@ -32,6 +32,13 @@ message ContainerDeleteParameter {
|
||||
repeated string containerNames = 1;
|
||||
}
|
||||
|
||||
// ContainerCopyParameter contains 2 inputs : first one for the source container name and second one for the duplicated container name.
|
||||
message ContainerCopyParameter {
|
||||
repeated string containerSourceName = 1;
|
||||
repeated string containerDestName = 1;
|
||||
|
||||
}
|
||||
|
||||
// ContainerImportParameter has all input for importing a container.
|
||||
message ContainerImportParameter{
|
||||
string source = 1; // container source uri
|
||||
|
||||
@@ -251,6 +251,16 @@ func (x *ContainerDeleteParameter) GetContainerNames() []string {
|
||||
return nil
|
||||
}
|
||||
|
||||
type ContainerCopyParameter struct {
|
||||
state protoimpl.MessageState
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
ContainerSource string `protobuf:"bytes,1,rep,name=ContainerSource,proto3" json:"ContainerSource,omitempty"`
|
||||
ContainerDestination string `protobuf:"bytes,1,rep,name=ContainerDestination,proto3" json:"ContainerDestination,omitempty"`
|
||||
}
|
||||
|
||||
|
||||
// ContainerImportParameter has all input for importing a container.
|
||||
type ContainerImportParameter struct {
|
||||
state protoimpl.MessageState
|
||||
|
||||
Reference in New Issue
Block a user