abstractANodeAction
Hierarchy
- ANodeAction
Index
Properties
readonlycontainer
The container, for resolving whatever services or SDK clients the action needs.
Methods
log
To report what the action is doing for
diff, the diff itshandle()was given. The message is emitted as an ActionEvent, so it is picked up by whatever listeners the command has, rather than written straight to the console.Parameters
diff: Diff
message: string
metadata: Record<string, unknown> = {}
Returns void
The base class of every resource action: an action implementing IResourceAction must extend it. It gives the action the Container, and a
log()that goes through Octo's event stream so its output lands in the command's report alongside everything else.Functions/Node