Beispiel #1
0
def host_containers(host_name):
    host = eru.get_host(host_name)
    if host is None:
        abort(404)

    pod_name=eru.get_pod(host['pod_id'])['name']
    containers=eru.list_host_containers(host_name, g.start, g.limit)['containers']
    return render_template('/deploy/pods/host_containers.html', host_name=host_name,
            pod_name=pod_name, containers=containers)
Beispiel #2
0
def get_host_info(hostname):
    return eru.get_host(hostname)