containerkit: define mount type
Signed-off-by: Stephen J Day <stephen.day@docker.com>
This commit is contained in:
parent
478f715836
commit
ba1e290d12
1 changed files with 19 additions and 0 deletions
19
mount.go
Normal file
19
mount.go
Normal file
|
@ -0,0 +1,19 @@
|
||||||
|
package containerd
|
||||||
|
|
||||||
|
// Mount is the lingua franca of the containerkit. A mount represents a
|
||||||
|
// serialized mount syscall. Components either emit or consume mounts.
|
||||||
|
type Mount struct {
|
||||||
|
// Type specifies the host-specific of the mount.
|
||||||
|
Type string
|
||||||
|
|
||||||
|
// Source specifies where to mount from. Depending on the host system, this
|
||||||
|
// can be a source path or device.
|
||||||
|
Source string
|
||||||
|
|
||||||
|
// Target is the filesystem mount location.
|
||||||
|
Target string
|
||||||
|
|
||||||
|
// Options contains zero or more fstab-style mount options. Typically,
|
||||||
|
// these are platform specific.
|
||||||
|
Options []string
|
||||||
|
}
|
Loading…
Reference in a new issue