Constructors
constructor
- new Server(host?: string): Server
Properties
Optional
Readonly
host
host?: string
Private
Optional
hostname
hostname?: any
Private
Optional
ipAddress
ipAddress?: any
Private
Optional
localGroups
localGroups?: any
Private
Optional
localUsers
localUsers?: any
Methods
downloadCommandOutput
- downloadCommandOutput(command: Command, filename: string): void
Returns void
getHostname
- getHostname(cache?: boolean): ResultAsync<string, ProcessError>
getSystemImgPath
- getSystemImgPath(): Promise<string>
Returns Promise<string>
spawnProcess
- spawnProcess(command: Command, defer?: boolean): Process
Parameters
- command: Command
Optional
defer: boolean
toString
- toString(): string
Returns string