mirror of
https://github.com/Start9Labs/start-sdk.git
synced 2026-03-30 12:21:57 +00:00
add mount
This commit is contained in:
15
lib/types.ts
15
lib/types.ts
@@ -373,7 +373,7 @@ export type Effects = {
|
|||||||
* Note: any auth should be filtered out already
|
* Note: any auth should be filtered out already
|
||||||
*/
|
*/
|
||||||
getInterface(options: {
|
getInterface(options: {
|
||||||
serviceId?: PackageId
|
packageId?: PackageId
|
||||||
interfaceId?: string
|
interfaceId?: string
|
||||||
}): Promise<NetworkInterface>
|
}): Promise<NetworkInterface>
|
||||||
|
|
||||||
@@ -447,6 +447,19 @@ export type Effects = {
|
|||||||
}): Promise<{ stop(): Promise<void> }>
|
}): Promise<{ stop(): Promise<void> }>
|
||||||
restart(): void
|
restart(): void
|
||||||
shutdown(): void
|
shutdown(): void
|
||||||
|
|
||||||
|
mount(options: {
|
||||||
|
location: {
|
||||||
|
volumeId: string,
|
||||||
|
path: string,
|
||||||
|
}
|
||||||
|
target: {
|
||||||
|
packageId: string,
|
||||||
|
volumeId: string,
|
||||||
|
path: string,
|
||||||
|
readonly: boolean,
|
||||||
|
}
|
||||||
|
}): Promise<void>
|
||||||
}
|
}
|
||||||
|
|
||||||
// prettier-ignore
|
// prettier-ignore
|
||||||
|
|||||||
Reference in New Issue
Block a user