2017-11-04 01:04:43 +08:00
|
|
|
// +build !linux
|
2017-04-05 05:31:02 +08:00
|
|
|
|
|
|
|
package buildah
|
|
|
|
|
|
|
|
import (
|
2017-06-02 22:39:26 +08:00
|
|
|
"github.com/pkg/errors"
|
2017-04-05 05:31:02 +08:00
|
|
|
)
|
|
|
|
|
|
|
|
func lookupUserInContainer(rootdir, username string) (uint64, uint64, error) {
|
2017-06-02 22:39:26 +08:00
|
|
|
return 0, 0, errors.New("user lookup not supported")
|
2017-04-05 05:31:02 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
func lookupGroupInContainer(rootdir, groupname string) (uint64, error) {
|
2017-06-02 22:39:26 +08:00
|
|
|
return 0, errors.New("group lookup not supported")
|
2017-04-05 05:31:02 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
func lookupGroupForUIDInContainer(rootdir string, userid uint64) (string, uint64, error) {
|
2017-06-02 22:39:26 +08:00
|
|
|
return "", 0, errors.New("primary group lookup by uid not supported")
|
2017-04-05 05:31:02 +08:00
|
|
|
}
|