add mount

This commit is contained in:
Aiden McClelland
2023-05-04 11:38:36 -06:00
parent e5e42a7524
commit a7d0a8cbf0

View File

@@ -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