Skip to main content

Gateway Api

@dataverket/gateway-apiv2026.11.12.1· AGPL-3.0-only· 9d agoBEHAVIORSACCEPTED WARNINGS
01README

The Kubernetes Gateway API, read as swamp data: Gateways, HTTPRoutes and GatewayClasses with their conditions, through kubectl. Read-only. Three model types, each with list and get. gateway records a Gateway's class, the addresses it asks for and was given, its Accepted and Programmed conditions, and every listener with hostname, port, protocol, TLS mode and certificate references by name, allowed routes, attached routes, supported kinds and the listener's own conditions. httproute records hostnames, parents, rules with matches and backends, and what each controller reported per parent, in whatever form it named the parent. gatewayclass records the controller, whether it accepted the class and whether it supports the installed version. Every record carries a summary a workflow asserts on without parsing text: healthy, programmed, allListenersProgrammed, allParentsAccepted, allRefsResolved, and a list naming every listener or parent that is not as it should be, with the controller's reason and message. Each list also writes an inventory of what it saw. An object that is not accepted, not programmed, or whose references do not resolve is recorded, never thrown; only a call that could not be made fails the method, and a cluster without the Gateway API CRDs is named as exactly that. Reads only the standard fields; run against Envoy Gateway v1.8.2.

02Behaviors3
@dataverket/gateway-api/gatewayv2026.11.12.1gateway.ts
fn list(namespace?: string)
Read every Gateway of one namespace, or of every namespace, and record each with its listeners and conditions, plus an inventory of the list
ArgumentTypeDescription
namespace?stringThe namespace to list instead of the definition's. Left out or empty, the definition's namespace is read, and every namespace when that is empty too
fn get(name: string, namespace?: string)
Read one Gateway by name and record it with its listeners and conditions
ArgumentTypeDescription
namestringThe Gateway's name
namespace?stringThe Gateway's namespace. Left out or empty, the definition's namespace is used

Resources

gateway(infinite)— One Gateway: class, addresses, conditions, listeners with their conditions, and a summary to assert on
inventory(infinite)— What one list saw: every Gateway by name, and the unhealthy ones with the reasons
@dataverket/gateway-api/httproutev2026.11.12.1httproute.ts
fn list(namespace?: string)
Read every HTTPRoute of one namespace, or of every namespace, and record each with its parents, rules and per-parent conditions, plus an inventory of the list
ArgumentTypeDescription
namespace?stringThe namespace to list instead of the definition's. Left out or empty, the definition's namespace is read, and every namespace when that is empty too
fn get(name: string, namespace?: string)
Read one HTTPRoute by name and record it with its parents, rules and per-parent conditions
ArgumentTypeDescription
namestringThe HTTPRoute's name
namespace?stringThe HTTPRoute's namespace. Left out or empty, the definition's namespace is used

Resources

httproute(infinite)— One HTTPRoute: hostnames, parents, rules with backends, what each controller reported per parent, and a summary to assert on
inventory(infinite)— What one list saw: every HTTPRoute by name, and the unhealthy ones with the reasons
@dataverket/gateway-api/gatewayclassv2026.11.12.1gatewayclass.ts
fn list()
Read every GatewayClass of the cluster and record each with its controller and Accepted condition, plus an inventory of the list
fn get(name: string)
Read one GatewayClass by name and record it
ArgumentTypeDescription
namestringThe GatewayClass's name

Resources

gatewayclass(infinite)— One GatewayClass: its controller, parameters reference, supported features and the Accepted condition
inventory(infinite)— What one list saw: every GatewayClass by name, and the ones not accepted with the reason
03Previous Versions1
2026.11.10.1AGPL-3.0-only
04Stats
A
100 / 100
Downloads
4
Archive size
81.1 KB
  • Has README or module doc2/2earned
  • README has a code example1/1earned
  • README is substantive1/1earned
  • Most symbols documented1/1earned
  • No slow types (deprecated)1/1earned
  • Dependencies pass trust audit2/2earned
  • Docs keep secrets in a vault1/1earned
  • Has description1/1earned
  • Platform support declared (or universal)2/2earned
  • License2/2earned
  • Verified public repository2/2earned

06Platforms
07Labels