Options
All
  • Public
  • Public/Protected
  • All
Menu

External module "lib/kubernetes/request"

Index

Type aliases

KubernetesDelete

KubernetesDelete: Pick<KubernetesApplication, "name" | "ns" | "workspaceId" | "mode">

Information needed to delete resources related to an application in a Kubernetes cluster.

KubernetesDeleteResourceRequest

KubernetesDeleteResourceRequest: KubernetesDelete & KubernetesClientsContainer

Internal application structure used to delete resources from a Kubernetes cluster.

KubernetesResourceRequest

Internal application structure used to create or update resources in a Kubernetes cluster.

Functions

appName

isKubernetesApplication

  • isKubernetesApplication(o: object): o is KubernetesApplication
  • Test if the object is a valid KubernetesApplication by checking if it has all required properties.

    Parameters

    • o: object

      Putative Kubernetes application data

      • [key: string]: any

    Returns o is KubernetesApplication

    true if all required properties are present, false otherwise.

reqFilter

  • reqFilter<T>(k: string, v: T): T | undefined
  • Stringify filter for a Kubernetes request object.

    Type parameters

    • T

    Parameters

    • k: string
    • v: T

    Returns T | undefined

reqString

  • reqString(req: any): string

Generated using TypeDoc