iya-sts
    Preparing search index...

    Variable spiffeAgentsView

    spiffeAgentsView: (
        req: any,
    ) =>
        | {
            inner: string;
            json: | { agent?: undefined; error: string }
            | { agent: Record<string, any>; error?: undefined };
            title: string;
            up: { filtered: boolean; href: string; label: any; leaf: any };
        }
        | {
            inner: string;
            json: {
                agents: any;
                container: string;
                filter: { q: string };
                matched: any;
                max: any;
                paging: { page: number; pages: number; perPage: number; total: any };
                total: any;
            };
            title: string;
            up?: undefined;
        } = ...

    Type Declaration

      • (
            req: any,
        ):
            | {
                inner: string;
                json: | { agent?: undefined; error: string }
                | { agent: Record<string, any>; error?: undefined };
                title: string;
                up: { filtered: boolean; href: string; label: any; leaf: any };
            }
            | {
                inner: string;
                json: {
                    agents: any;
                    container: string;
                    filter: { q: string };
                    matched: any;
                    max: any;
                    paging: { page: number; pages: number; perPage: number; total: any };
                    total: any;
                };
                title: string;
                up?: undefined;
            }
      • Builds /admin/spiffe/agents: one agent's page when agent is in the query, the list otherwise.

        Parameters

        • req: any

          the request

        Returns
            | {
                inner: string;
                json: | { agent?: undefined; error: string }
                | { agent: Record<string, any>; error?: undefined };
                title: string;
                up: { filtered: boolean; href: string; label: any; leaf: any };
            }
            | {
                inner: string;
                json: {
                    agents: any;
                    container: string;
                    filter: { q: string };
                    matched: any;
                    max: any;
                    paging: { page: number; pages: number; perPage: number; total: any };
                    total: any;
                };
                title: string;
                up?: undefined;
            }

        json, inner, title, and up for an agent's page