mirror of
https://github.com/docker/docs.git
synced 2026-03-27 22:38:54 +07:00
Signed-off-by: Guillaume Tardif <guillaume.tardif@gmail.com> Signed-off-by: Guillaume Tardif <guillaume.tardif@gmail.com>
1.5 KiB
1.5 KiB
description, keywords, skip_read_time
| description | keywords | skip_read_time |
|---|---|---|
| Docker extension API reference | Docker, extensions, sdk, API, reference | true |
Interface: ExecResult
Since
0.2.0
Hierarchy
-
↳
ExecResult
Methods
lines
▸ lines(): string[]
Split output lines.
Returns
string[]
The list of lines.
parseJsonLines
▸ parseJsonLines(): any[]
Parse each output line as a JSON object.
Returns
any[]
The list of lines where each line is a JSON object.
parseJsonObject
▸ parseJsonObject(): any
Parse a well-formed JSON output.
Returns
any
The JSON object.
Properties
cmd
• Optional Readonly cmd: string
Inherited from
killed
• Optional Readonly killed: boolean
Inherited from
signal
• Optional Readonly signal: string
Inherited from
code
• Optional Readonly code: number
Inherited from
stdout
• Readonly stdout: string
Inherited from
stderr
• Readonly stderr: string