mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
99beb2ca02
Add a deprecation/removal notice, pointing out to appropriate replacement packages. I was not sure if a package-level deprecation is enough, so I also added notices around each block. Note that `nolint:golint` annotations are left as is, otherwise golint complains like this: > pkg/mount/deprecated.go:45:1: comment on exported var `MergeTmpfsOptions` should be of the form `MergeTmpfsOptions ...` (golint) > // Deprecated: use github.com/moby/sys/mount instead. > ^ Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
19 lines
552 B
Go
19 lines
552 B
Go
package mount // import "github.com/docker/docker/pkg/mount"
|
|
|
|
import (
|
|
sysmount "github.com/moby/sys/mount"
|
|
)
|
|
|
|
// Deprecated: use github.com/moby/sys/mount instead.
|
|
//nolint:golint
|
|
var (
|
|
MakeMount = sysmount.MakeMount
|
|
MakeShared = sysmount.MakeShared
|
|
MakeRShared = sysmount.MakeRShared
|
|
MakePrivate = sysmount.MakePrivate
|
|
MakeRPrivate = sysmount.MakeRPrivate
|
|
MakeSlave = sysmount.MakeSlave
|
|
MakeRSlave = sysmount.MakeRSlave
|
|
MakeUnbindable = sysmount.MakeUnbindable
|
|
MakeRUnbindable = sysmount.MakeRUnbindable
|
|
)
|