Skip to main content

CrdModel

@webda/kubernetes


Interface: CrdModel

Defined in: kubernetes/src/crd/schema.ts:350

Model metadata used to build a CustomResourceDefinition

Extends​

Properties​

Identifier​

Identifier: string

Defined in: kubernetes/src/crd/naming.ts:8

Model identifier, e.g. MyApp/Tenant

Inherited from​

CrdModelMetadata.Identifier


Plural​

Plural: string

Defined in: kubernetes/src/crd/naming.ts:12

Plural of the model, e.g. Tenants or MyApp/Tenants

Inherited from​

CrdModelMetadata.Plural


PrimaryKey​

PrimaryKey: string[]

Defined in: kubernetes/src/crd/naming.ts:20

Primary key fields

Inherited from​

CrdModelMetadata.PrimaryKey


PrimaryKeySeparator?​

optional PrimaryKeySeparator?: string

Defined in: kubernetes/src/crd/naming.ts:24

Separator of a composite primary key

Inherited from​

CrdModelMetadata.PrimaryKeySeparator


Schemas​

Schemas: object

Defined in: kubernetes/src/crd/schema.ts:351

Stored?​

optional Stored?: JSONSchema7


ShortName?​

optional ShortName?: string

Defined in: kubernetes/src/crd/naming.ts:16

Short name of the model

Inherited from​

CrdModelMetadata.ShortName