feat: update docker api invoke

Signed-off-by: MiaoWoo <admin@yumc.pw>
This commit is contained in:
2020-01-03 14:33:39 +08:00
parent b497c9750e
commit 67b410e448
13 changed files with 66 additions and 15 deletions

View File

@@ -33,6 +33,13 @@
]
},
"commands": [
{
"command": "dayu.task.logs",
"title": "View Task Logs",
"icon": {
"dark": "src/images/browser.svg"
}
},
{
"command": "dayu.container.logs",
"title": "View Container Logs",
@@ -55,6 +62,11 @@
"when": "view == docker-explorer && viewItem =~ /.*\"type\":\"CONTAINER\".*/",
"group": "inline"
},
{
"command": "dayu.task.logs",
"when": "view == docker-explorer && viewItem =~ /.*\"type\":\"TASK\".*/",
"group": "inline"
},
{
"command": "dayu.service.logs",
"when": "view == docker-explorer && viewItem =~ /.*\"type\":\"SERVICE\".*/",