Kui API Documentation - v11.0.0 / @kui-shell/plugin-kubectl / KubeItems
@kui-shell/plugin-kubectl.KubeItems
e.g. kubectl get pods -o json
will return a kind: items
Name | Type |
---|---|
Item |
extends KubeResource = KubeResource |
-
↳
KubeItems
- apiVersion
- content
- contentType
- isKubeResource
- isSimulacrum
- items
- kind
- kuiRawData
- metadata
- nameHash
- onclick
- originatingCommand
- presentation
- prettyName
- spec
- status
- toolbarText
- version
• apiVersion: "v1"
KubeResource.apiVersion
plugins/plugin-kubectl/src/lib/model/resource.ts:539
• Optional
content: void
KubeResource.content
packages/core/mdist/models/entity.d.ts:50
• Optional
contentType: string
KubeResource.contentType
packages/core/mdist/models/entity.d.ts:51
• isKubeResource: true
KubeResource.isKubeResource
plugins/plugin-kubectl/src/lib/model/resource.ts:205
• Optional
isSimulacrum: boolean
KubeResource.isSimulacrum
plugins/plugin-kubectl/src/lib/model/resource.ts:204
• items: Item
[]
plugins/plugin-kubectl/src/lib/model/resource.ts:541
• kind: "List"
KubeResource.kind
plugins/plugin-kubectl/src/lib/model/resource.ts:540
• Optional
kuiRawData: string
KubeResource.kuiRawData
plugins/plugin-kubectl/src/lib/model/resource.ts:182
• Optional
metadata: { creationTimestamp?
: string
; generation?
: string
; labels?
: Record
<string
, string
> ; name
: string
; namespace?
: string
} & Partial
<WithOwnerReferences
> & Partial
<WithResourceVersion
> & { annotations?
: object
; creationTimestamp?
: string
; generateName?
: string
; generation?
: string
; labels?
: { [key: string]: string
; } ; name
: string
; namespace?
: string
; uid?
: string
}
KubeResource.metadata
packages/core/mdist/models/entity.d.ts:23
• Optional
nameHash: string
KubeResource.nameHash
packages/core/mdist/models/entity.d.ts:42
• Optional
onclick: Object
family of onclick handlers
Name | Type |
---|---|
kind? |
string |
name? |
string |
nameHash? |
string |
namespace? |
string |
KubeResource.onclick
packages/core/mdist/models/entity.d.ts:44
• originatingCommand: EvaluatorArgs
<KubeOptions
>
KubeResource.originatingCommand
plugins/plugin-kubectl/src/lib/model/resource.ts:203
• Optional
presentation: Presentation
KubeResource.presentation
packages/core/mdist/models/entity.d.ts:53
• Optional
prettyName: string
name hash, e.g. the hash part of auto-generated names, or an openwhisk activation id
KubeResource.prettyName
packages/core/mdist/models/entity.d.ts:41
• Optional
spec: any
KubeResource.spec
plugins/plugin-kubectl/src/lib/model/resource.ts:200
• Optional
status: KubeStatus
KubeResource.status
plugins/plugin-kubectl/src/lib/model/resource.ts:199
• Optional
toolbarText: ToolbarText
KubeResource.toolbarText
packages/core/mdist/models/entity.d.ts:52
• Optional
version: string
optional designation of resource version
KubeResource.version
packages/core/mdist/models/entity.d.ts:39