2016-09-22 20:14:15 +00:00
|
|
|
// +build !linux
|
|
|
|
|
|
|
|
package volume
|
|
|
|
|
|
|
|
import (
|
|
|
|
"fmt"
|
|
|
|
"runtime"
|
|
|
|
|
|
|
|
mounttypes "github.com/docker/docker/api/types/mount"
|
|
|
|
)
|
|
|
|
|
|
|
|
// ConvertTmpfsOptions converts *mounttypes.TmpfsOptions to the raw option string
|
|
|
|
// for mount(2).
|
2016-11-08 06:46:23 +00:00
|
|
|
func ConvertTmpfsOptions(opt *mounttypes.TmpfsOptions, readOnly bool) (string, error) {
|
2016-09-22 20:14:15 +00:00
|
|
|
return "", fmt.Errorf("%s does not support tmpfs", runtime.GOOS)
|
|
|
|
}
|