Kui API Documentation - v11.0.0 / @kui-shell/core / ResourceWithMetadata
@kui-shell/core.ResourceWithMetadata
A minimal subset of a kubernetes-like resource specification that identifies a resource
Name | Type |
---|---|
Content |
void |
-
↳
ResourceWithMetadata
- apiVersion
- content
- contentType
- kind
- metadata
- nameHash
- onclick
- presentation
- prettyName
- toolbarText
- version
• Optional
apiVersion: string
packages/core/src/models/entity.ts:63
• Optional
content: Content
packages/core/src/models/entity.ts:80
• Optional
contentType: string
packages/core/src/models/entity.ts:81
• Optional
kind: string
packages/core/src/models/entity.ts:46
• Optional
metadata: Object
Name | Type |
---|---|
creationTimestamp? |
string |
generation? |
string |
labels? |
Record <string , string > |
name |
string |
namespace? |
string |
MetadataNamedResource.metadata
packages/core/src/models/entity.ts:48
• Optional
nameHash: string
packages/core/src/models/entity.ts:70
• Optional
onclick: Object
family of onclick handlers
Name | Type |
---|---|
kind? |
string |
name? |
string |
nameHash? |
string |
namespace? |
string |
packages/core/src/models/entity.ts:73
• Optional
presentation: Presentation
packages/core/src/models/entity.ts:83
• Optional
prettyName: string
name hash, e.g. the hash part of auto-generated names, or an openwhisk activation id
packages/core/src/models/entity.ts:69
• Optional
toolbarText: ToolbarText
packages/core/src/models/entity.ts:82
• Optional
version: string
optional designation of resource version