mirror of
https://github.com/gnh1201/caterpillar.git
synced 2025-02-06 15:05:00 +00:00
Update console.html, plugins
This commit is contained in:
parent
44425dbb8b
commit
0759dbffaf
21
console.html
21
console.html
|
@ -314,6 +314,27 @@
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// method(container_start)
|
||||||
|
if ([
|
||||||
|
"container_start",
|
||||||
|
"container_stop",
|
||||||
|
"container_pause",
|
||||||
|
"container_unpause",
|
||||||
|
"container_restart",
|
||||||
|
"container_kill",
|
||||||
|
"container_remove"
|
||||||
|
].indexOf(env.method) > -1) {
|
||||||
|
if (args.length < 1) {
|
||||||
|
this.echo("Please set a container name");
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
jsonrpc2_request(this, env.method, {
|
||||||
|
"name": args[0]
|
||||||
|
});
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
// method(*)
|
// method(*)
|
||||||
jsonrpc2_request(this, env.method, {});
|
jsonrpc2_request(this, env.method, {});
|
||||||
}
|
}
|
||||||
|
|
2
plugins
2
plugins
|
@ -1 +1 @@
|
||||||
Subproject commit ca4978506b4ea0aaf8ae81fb93636818bad6017e
|
Subproject commit 7af43afa3fa35d1b65f2d3bc42b6b3f3438a3ed3
|
Loading…
Reference in New Issue
Block a user