ConnectMachineProps
View as MarkdownDefined in: react-ui/src/components/ConnectMachine.tsx:12
Properties
Section titled “Properties”Methods
Section titled “Methods”onClose()?
Section titled “onClose()?”onClose?(): void;Defined in: react-ui/src/components/ConnectMachine.tsx:19
Dialog: Cancel / Done, Esc or a backdrop click.
Returns
Section titled “Returns”void
onConnected()?
Section titled “onConnected()?”onConnected?(machine): void;Defined in: react-ui/src/components/ConnectMachine.tsx:24
A computer came online while this was shown (a new one, or a known one reconnecting). It is selected for new sessions before this is called.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
machine |
{ agentOutdated: boolean; agentVersion: string; id: string; lastSeenAt: string; name: string; online: boolean; os: string; runtimes: object[]; transport: "ws" | "http" | null; } |
machine.agentOutdated |
boolean |
machine.agentVersion |
string |
machine.id |
string |
machine.lastSeenAt |
string |
machine.name |
string |
machine.online |
boolean |
machine.os |
string |
machine.runtimes |
object[] |
machine.transport |
"ws" | "http" | null |
Returns
Section titled “Returns”void