]> git.immae.eu Git - github/fretlink/terraform-provider-statuscake.git/blame - vendor/github.com/fsouza/go-dockerclient/external/github.com/docker/docker/pkg/idtools/usergroupadd_unsupported.go
provider: Ensured Go 1.11 in TravisCI and README
[github/fretlink/terraform-provider-statuscake.git] / vendor / github.com / fsouza / go-dockerclient / external / github.com / docker / docker / pkg / idtools / usergroupadd_unsupported.go
CommitLineData
9b12e4fe
JC
1// +build !linux
2
3package idtools
4
5import "fmt"
6
7// AddNamespaceRangesUser takes a name and finds an unused uid, gid pair
8// and calls the appropriate helper function to add the group and then
9// the user to the group in /etc/group and /etc/passwd respectively.
10func AddNamespaceRangesUser(name string) (int, int, error) {
11 return -1, -1, fmt.Errorf("No support for adding users or groups on this OS")
12}