Skip to main content

Interface: CRDSpecLike

Defined in: lib/k8s/crdSpec.ts:24

Subset of the KubeCRD['spec'] shape that the helpers below depend on. Lives in this standalone module so the helpers can be imported (and unit tested) without pulling in lib/k8s/index.ts, which transitively loads every built-in resource class and creates a circular import that vitest cannot resolve in isolation.

Properties​

group?​

optional group?: string;

Defined in: lib/k8s/crdSpec.ts:25


names?​

optional names?: object;

Defined in: lib/k8s/crdSpec.ts:27

kind?​

optional kind?: string;

listKind?​

optional listKind?: string;

plural?​

optional plural?: string;

singular?​

optional singular?: string;

scope?​

optional scope?: string;

Defined in: lib/k8s/crdSpec.ts:34


version?​

optional version?: string;

Defined in: lib/k8s/crdSpec.ts:26


versions?​

optional versions?: CRDVersionLike[];

Defined in: lib/k8s/crdSpec.ts:33