8f32cdf595
Signed-off-by: sbwml <admin@cooluc.com>
319 lines
5.8 KiB
JSON
319 lines
5.8 KiB
JSON
{
|
|
"admin/docker": {
|
|
"title": "Docker",
|
|
"order": "60",
|
|
"action": {
|
|
"type": "firstchild"
|
|
},
|
|
"depends": {
|
|
"acl": [ "luci-app-dockerman" ],
|
|
"fs": {
|
|
"/etc/init.d/dockerd": "executable",
|
|
"/usr/bin/dockerd": "executable"
|
|
},
|
|
"uci": { "dockerd": true }
|
|
}
|
|
},
|
|
|
|
"admin/docker/overview": {
|
|
"title": "Overview",
|
|
"order": 1,
|
|
"action": {
|
|
"type": "view",
|
|
"path": "dockerman/overview"
|
|
}
|
|
},
|
|
|
|
"admin/docker/configuration": {
|
|
"title": "Configuration",
|
|
"order": 2,
|
|
"action": {
|
|
"type": "view",
|
|
"path": "dockerman/configuration"
|
|
}
|
|
},
|
|
|
|
"admin/docker/container/archive/*": {
|
|
"action": {
|
|
"type": "alias",
|
|
"path": "admin/docker/containers"
|
|
}
|
|
},
|
|
|
|
"admin/docker/container/archive/put/*": {
|
|
"action": {
|
|
"type": "function",
|
|
"module": "luci.controller.docker",
|
|
"function": "container_put_archive"
|
|
},
|
|
"auth": {
|
|
"methods": [ "cookie:sysauth_https", "cookie:sysauth_http" ],
|
|
"login": true
|
|
}
|
|
},
|
|
|
|
"admin/docker/container/archive/get/*": {
|
|
"action": {
|
|
"type": "function",
|
|
"module": "luci.controller.docker",
|
|
"function": "container_get_archive"
|
|
},
|
|
"auth": {
|
|
"methods": [ "cookie:sysauth_https", "cookie:sysauth_http" ],
|
|
"login": true
|
|
}
|
|
},
|
|
|
|
"admin/docker/container/export/*": {
|
|
"action": {
|
|
"type": "function",
|
|
"module": "luci.controller.docker",
|
|
"function": "container_export"
|
|
},
|
|
"auth": {
|
|
"methods": [ "cookie:sysauth_https", "cookie:sysauth_http" ],
|
|
"login": true
|
|
}
|
|
},
|
|
|
|
"admin/docker/container/*": {
|
|
"title_hide": "Container",
|
|
"action": {
|
|
"type": "view",
|
|
"path": "dockerman/container"
|
|
}
|
|
},
|
|
|
|
"admin/docker/containers": {
|
|
"title": "Containers",
|
|
"order": 3,
|
|
"action": {
|
|
"type": "view",
|
|
"path": "dockerman/containers"
|
|
}
|
|
},
|
|
|
|
"admin/docker/containers/prune": {
|
|
"action": {
|
|
"type": "function",
|
|
"module": "luci.controller.docker",
|
|
"function": "containers_prune",
|
|
"post": true
|
|
},
|
|
"auth": {
|
|
"methods": [ "cookie:sysauth_https", "cookie:sysauth_http" ],
|
|
"login": true
|
|
}
|
|
},
|
|
|
|
"admin/docker/container": {
|
|
"action": {
|
|
"type": "alias",
|
|
"path": "admin/docker/containers"
|
|
}
|
|
},
|
|
|
|
"admin/docker/container_new": {
|
|
"title_hide": "Container",
|
|
"action": {
|
|
"type": "view",
|
|
"path": "dockerman/container_new"
|
|
}
|
|
},
|
|
|
|
"admin/docker/images/build": {
|
|
"action": {
|
|
"type": "function",
|
|
"module": "luci.controller.docker",
|
|
"function": "image_build",
|
|
"post": true
|
|
},
|
|
"auth": {
|
|
"methods": [ "cookie:sysauth_https", "cookie:sysauth_http" ],
|
|
"login": true
|
|
}
|
|
},
|
|
|
|
"admin/docker/images/build/prune": {
|
|
"action": {
|
|
"type": "function",
|
|
"module": "luci.controller.docker",
|
|
"function": "image_build_prune",
|
|
"post": true
|
|
},
|
|
"auth": {
|
|
"methods": [ "cookie:sysauth_https", "cookie:sysauth_http" ],
|
|
"login": true
|
|
}
|
|
},
|
|
|
|
"admin/docker/images/get/*": {
|
|
"action": {
|
|
"type": "function",
|
|
"module": "luci.controller.docker",
|
|
"function": "image_get"
|
|
},
|
|
"auth": {
|
|
"methods": [ "cookie:sysauth_https", "cookie:sysauth_http" ],
|
|
"login": true
|
|
}
|
|
},
|
|
|
|
"admin/docker/images/load": {
|
|
"action": {
|
|
"type": "function",
|
|
"module": "luci.controller.docker",
|
|
"function": "image_load",
|
|
"post": true
|
|
},
|
|
"auth": {
|
|
"methods": [ "cookie:sysauth_https", "cookie:sysauth_http" ],
|
|
"login": true
|
|
}
|
|
},
|
|
|
|
"admin/docker/images/prune": {
|
|
"action": {
|
|
"type": "function",
|
|
"module": "luci.controller.docker",
|
|
"function": "images_prune",
|
|
"post": true
|
|
},
|
|
"auth": {
|
|
"methods": [ "cookie:sysauth_https", "cookie:sysauth_http" ],
|
|
"login": true
|
|
}
|
|
},
|
|
|
|
"admin/docker/images": {
|
|
"title": "Images",
|
|
"order": 4,
|
|
"action": {
|
|
"type": "view",
|
|
"path": "dockerman/images"
|
|
}
|
|
},
|
|
|
|
"admin/docker/images/create": {
|
|
"action": {
|
|
"type": "function",
|
|
"module": "luci.controller.docker",
|
|
"function": "image_create",
|
|
"post": true
|
|
},
|
|
"auth": {
|
|
"methods": [ "cookie:sysauth_https", "cookie:sysauth_http" ],
|
|
"login": true
|
|
}
|
|
},
|
|
|
|
"admin/docker/images/push/*": {
|
|
"action": {
|
|
"type": "function",
|
|
"module": "luci.controller.docker",
|
|
"function": "image_push",
|
|
"post": true
|
|
},
|
|
"auth": {
|
|
"methods": [ "cookie:sysauth_https", "cookie:sysauth_http" ],
|
|
"login": true
|
|
}
|
|
},
|
|
|
|
"admin/docker/image": {
|
|
"action": {
|
|
"type": "alias",
|
|
"path": "admin/docker/images"
|
|
}
|
|
},
|
|
|
|
"admin/docker/network/*": {
|
|
"title_hide": "Network",
|
|
"action": {
|
|
"type": "view",
|
|
"path": "dockerman/network"
|
|
}
|
|
},
|
|
|
|
"admin/docker/networks": {
|
|
"title": "Networks",
|
|
"order": 5,
|
|
"action": {
|
|
"type": "view",
|
|
"path": "dockerman/networks"
|
|
}
|
|
},
|
|
|
|
"admin/docker/networks/prune": {
|
|
"action": {
|
|
"type": "function",
|
|
"module": "luci.controller.docker",
|
|
"function": "networks_prune",
|
|
"post": true
|
|
},
|
|
"auth": {
|
|
"methods": [ "cookie:sysauth_https", "cookie:sysauth_http" ],
|
|
"login": true
|
|
}
|
|
},
|
|
|
|
"admin/docker/network_new": {
|
|
"title_hide": "Network",
|
|
"action": {
|
|
"type": "view",
|
|
"path": "dockerman/network_new"
|
|
}
|
|
},
|
|
|
|
"admin/docker/network": {
|
|
"action": {
|
|
"type": "alias",
|
|
"path": "admin/docker/networks"
|
|
}
|
|
},
|
|
|
|
"admin/docker/volumes": {
|
|
"title": "Volumes",
|
|
"order": 6,
|
|
"action": {
|
|
"type": "view",
|
|
"path": "dockerman/volumes"
|
|
}
|
|
},
|
|
|
|
"admin/docker/volumes/prune": {
|
|
"action": {
|
|
"type": "function",
|
|
"module": "luci.controller.docker",
|
|
"function": "volumes_prune",
|
|
"post": true
|
|
},
|
|
"auth": {
|
|
"methods": [ "cookie:sysauth_https", "cookie:sysauth_http" ],
|
|
"login": true
|
|
}
|
|
},
|
|
|
|
"admin/docker/docker/events": {
|
|
"action": {
|
|
"type": "function",
|
|
"module": "luci.controller.docker",
|
|
"function": "docker_events",
|
|
"post": true
|
|
},
|
|
"auth": {
|
|
"methods": [ "cookie:sysauth_https", "cookie:sysauth_http" ],
|
|
"login": true
|
|
}
|
|
},
|
|
|
|
"admin/docker/events": {
|
|
"title": "Events",
|
|
"order": 7,
|
|
"action": {
|
|
"type": "view",
|
|
"path": "dockerman/events"
|
|
}
|
|
}
|
|
}
|