mirror of https://github.com/docker/docs.git
add import in mesos
Signed-off-by: Xian Chaobo <xianchaobo@huawei.com>
This commit is contained in:
parent
d7001cac97
commit
684b2802d7
|
@ -245,6 +245,11 @@ func (c *Cluster) Load(imageReader io.Reader, callback func(what, status string)
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Import image
|
||||||
|
func (c *Cluster) Import(source string, repository string, tag string, imageReader io.Reader, callback func(what, status string)) {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
// RenameContainer Rename a container
|
// RenameContainer Rename a container
|
||||||
func (c *Cluster) RenameContainer(container *cluster.Container, newName string) error {
|
func (c *Cluster) RenameContainer(container *cluster.Container, newName string) error {
|
||||||
//FIXME this doesn't work as the next refreshcontainer will erase this change (this change is in-memory only)
|
//FIXME this doesn't work as the next refreshcontainer will erase this change (this change is in-memory only)
|
||||||
|
|
Loading…
Reference in New Issue