Exemplo n.º 1
0
def dashboard_get_overview(kubeconfig,
                           namespace,
                           bin_path=settings.DASHBOARD_CTL_BIN):
    dashboard_client = make_dashboard_ctl_client(kubeconfig=kubeconfig,
                                                 bin_path=bin_path)
    dashboard_overview = dashboard_client.overview(namespace=namespace,
                                                   parameters=dict())
    return dashboard_overview
Exemplo n.º 2
0
def dashboard_get_overview(kubeconfig, namespace):
    dashboard_client = make_dashboard_ctl_client(
        kubeconfig=kubeconfig
    )
    dashboard_overview = dashboard_client.overview(
        namespace=namespace,
        parameters=dict()
    )
    return dashboard_overview