Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/kubernetes_apis/deps.ts>readAllPages

REST focused Typescript classes for Kubernetes APIs, and tools for generating API interfaces
Latest
function readAllPages
import { readAllPages } from "https://deno.land/x/kubernetes_apis@v0.5.3/deps.ts";

Paginates through an API request, yielding each successive page as a whole

Type Parameters

T
U extends { continue?: string | null; }

Parameters

pageFunc: (token?: string) => Promise<{ metadata: U; items: T[]; }>