[dockerode] add VolumeOptions & TmpfsOptions to MountSettings (#34991)

* add VolumeOptions & TmpfsOptions to MountSettings

* Labels and Options as { [name: string]: string }
This commit is contained in:
stuartthomson 2019-04-26 03:08:29 +01:00 committed by Pranav Senthilnathan
parent 5ff6bfd1b9
commit e09e79218d

View File

@ -810,6 +810,18 @@ declare namespace Dockerode {
BindOptions ?: {
Propagation: MountPropagation;
};
VolumeOptions ?: {
NoCopy: boolean;
Labels: { [label: string]: string };
DriverConfig: {
Name: string;
Options: { [option: string]: string};
};
};
TmpfsOptions ?: {
SizeBytes: number;
Mode: number;
};
}
type MountConfig = MountSettings[];