github.com/kim0/docker@v0.6.2-0.20161130212042-4addda3f07e7/volume/volume_unsupported.go (about) 1 // +build !linux 2 3 package volume 4 5 import ( 6 "fmt" 7 "runtime" 8 9 mounttypes "github.com/docker/docker/api/types/mount" 10 ) 11 12 // ConvertTmpfsOptions converts *mounttypes.TmpfsOptions to the raw option string 13 // for mount(2). 14 func ConvertTmpfsOptions(opt *mounttypes.TmpfsOptions) (string, error) { 15 return "", fmt.Errorf("%s does not support tmpfs", runtime.GOOS) 16 }