Cloud API Overview > @adpt/cloud > k8s > Resource
k8s.Resource class
Primitive Component recognized by the k8s plugin to represent resources
Signature:
export declare class Resource extends Action<ResourceProps>
Constructors
| Constructor | Modifiers | Description |
|---|---|---|
| (constructor)(props) |
Properties
| Property | Modifiers | Type | Description |
|---|---|---|---|
| deployedWhen | (goalStatus: Adapt.GoalStatus, helpers: Adapt.DeployHelpers) => Promise<true |Adapt.Waiting |Adapt.Waiting[]> | ||
| manifest_ | Manifest |
Methods
| Method | Modifiers | Description |
|---|---|---|
| action(op, ctx) | ||
| shouldAct(op, ctx) | ||
| status(observe, buildData) | ||
| validate() |