Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/kubernetes_apis/builtin/core@v1/structs.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.0/builtin/core@v1/structs.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