Browse code

add SecretMount and UnmountSecrets methods for non-Linux

Signed-off-by: Evan Hazlett <ejhazlett@gmail.com>

Evan Hazlett authored on 2016/10/28 05:51:13
Showing 2 changed files
... ...
@@ -11,3 +11,13 @@ func detachMounted(path string) error {
11 11
 	// Therefore there are separate definitions for this.
12 12
 	return unix.Unmount(path, 0)
13 13
 }
14
+
15
+// SecretMount returns the mount for the secret path
16
+func (container *Container) SecretMount() *Mount {
17
+	return nil
18
+}
19
+
20
+// UnmountSecrets unmounts the fs for secrets
21
+func (container *Container) UnmountSecrets() error {
22
+	return nil
23
+}
... ...
@@ -44,6 +44,16 @@ func (container *Container) IpcMounts() []Mount {
44 44
 	return nil
45 45
 }
46 46
 
47
+// SecretMount returns the mount for the secret path
48
+func (container *Container) SecretMount() *Mount {
49
+	return nil
50
+}
51
+
52
+// UnmountSecrets unmounts the fs for secrets
53
+func (container *Container) UnmountSecrets() error {
54
+	return nil
55
+}
56
+
47 57
 // UnmountVolumes explicitly unmounts volumes from the container.
48 58
 func (container *Container) UnmountVolumes(forceSyscall bool, volumeEventLog func(name, action string, attributes map[string]string)) error {
49 59
 	var (