2016-06-07 03:45:21 -04:00
|
|
|
// +build solaris freebsd
|
|
|
|
|
|
|
|
package container
|
|
|
|
|
|
|
|
import (
|
|
|
|
"golang.org/x/sys/unix"
|
|
|
|
)
|
|
|
|
|
|
|
|
func detachMounted(path string) error {
|
|
|
|
//Solaris and FreeBSD do not support the lazy unmount or MNT_DETACH feature.
|
|
|
|
// Therefore there are separate definitions for this.
|
|
|
|
return unix.Unmount(path, 0)
|
|
|
|
}
|
2016-10-27 16:51:13 -04:00
|
|
|
|
2017-04-11 13:34:19 -04:00
|
|
|
// SecretMounts returns the mounts for the secret path
|
|
|
|
func (container *Container) SecretMounts() []Mount {
|
2016-10-27 16:51:13 -04:00
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
// UnmountSecrets unmounts the fs for secrets
|
|
|
|
func (container *Container) UnmountSecrets() error {
|
|
|
|
return nil
|
|
|
|
}
|