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;
} = ...
Builds /admin/spiffe/agents: one agent's page when
agentis in the query, the list otherwise.