Skip to main content

Interface: KubeCRD

This is the base interface for all Kubernetes resources, i.e. it contains fields that all Kubernetes resources have.

Extends

Properties

apiVersion?

optional apiVersion: string;

Inherited from

KubeObjectInterface.apiVersion

Defined in

src/lib/k8s/cluster.ts:73


kind

kind: string;

Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to.

In CamelCase.

Cannot be updated.

See

more info

Inherited from

KubeObjectInterface.kind

Defined in

src/lib/k8s/cluster.ts:72


metadata

metadata: KubeMetadata;

Inherited from

KubeObjectInterface.metadata

Defined in

src/lib/k8s/cluster.ts:74


spec

spec: object;

Index Signature

[other: string]: any

group

group: string;

names

names: object;

names.categories?

optional categories: string[];

names.kind

kind: string;

names.listKind

listKind: string;

names.plural

plural: string;

names.singular

singular: string;

scope

scope: string;

version

version: string;

versions

versions: object[];

Defined in

src/lib/k8s/crd.ts:6


status?

optional status: object;

acceptedNames?

optional acceptedNames: object;

acceptedNames.categories?

optional categories: string[];

acceptedNames.kind

kind: string;

acceptedNames.plural

plural: string;

acceptedNames.shortNames

shortNames: string[];

conditions?

optional conditions: object[];

storedVersions?

optional storedVersions: string[];

Defined in

src/lib/k8s/crd.ts:32