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

x/kubernetes_apis/builtin/core@v1/mod.ts>Endpoints

REST focused Typescript classes for Kubernetes APIs, and tools for generating API interfaces
Latest
interface Endpoints
import { type Endpoints } from "https://deno.land/x/kubernetes_apis@v0.5.3/builtin/core@v1/mod.ts";

Endpoints is a collection of endpoints that implement the actual service. Example:

 Name: "mysvc",
 Subsets: [
   {
     Addresses: [{"ip": "10.10.1.1"}, {"ip": "10.10.2.2"}],
     Ports: [{"name": "a", "port": 8675}, {"name": "b", "port": 309}]
   },
   {
     Addresses: [{"ip": "10.10.3.3"}],
     Ports: [{"name": "a", "port": 93}, {"name": "b", "port": 76}]
   },
]

Properties

optional
apiVersion: "v1"
optional
kind: "Endpoints"
optional
metadata: MetaV1.ObjectMeta | null
optional
subsets: Array<EndpointSubset> | null