Class: Event
Defined in: lib/k8s/event.ts:44
Extends
Constructors
Constructor
new Event(json: KubeEvent, cluster?: string): Event;
Defined in: lib/k8s/KubeObject.ts:100
Parameters
| Parameter | Type |
|---|---|
json | KubeEvent |
cluster? | string |
Returns
Event
Inherited from
Properties
| Property | Modifier | Type | Default value | Description | Overrides | Inherited from | Defined in |
|---|---|---|---|---|---|---|---|
_clusterName | public | string | undefined | - | - | KubeObject._clusterName | lib/k8s/KubeObject.ts:50 |
jsonData | public | KubeEvent | undefined | - | - | KubeObject.jsonData | lib/k8s/KubeObject.ts:47 |
_internalApiEndpoint? | static | | ApiClient<KubeObjectInterface> | ApiWithNamespaceClient<KubeObjectInterface> | undefined | - | - | KubeObject._internalApiEndpoint | lib/k8s/KubeObject.ts:67 |
apiName | static | string | 'events' | Name of the resource, plural, used in API | KubeObject.apiName | - | lib/k8s/event.ts:46 |
apiVersion | static | string | 'v1' | Group and version of the resource formatted as "GROUP/VERSION", e.g. "policy.k8s.io/v1". | KubeObject.apiVersion | - | lib/k8s/event.ts:47 |
isNamespaced | static | boolean | true | Whether the object is namespaced. | KubeObject.isNamespaced | - | lib/k8s/event.ts:49 |
isScalable | readonly | boolean | undefined | Whether the object is scalable, and should have a ScaleButton | - | KubeObject.isScalable | lib/k8s/KubeObject.ts:65 |
kind | static | string | 'Event' | The kind of the object. Corresponding to the resource kind in Kubernetes. | KubeObject.kind | - | lib/k8s/event.ts:45 |
readOnlyFields | static | string[] | [] | Readonly field defined as JSONPath paths | - | KubeObject.readOnlyFields | lib/k8s/KubeObject.ts:49 |