Imports github.com/pkg/errors github.com/rancher/rancher/pkg/namespace github.com/rancher/rancher/pkg/ref github.com/rancher/rancher/pkg/settings github.com/rancher/types/apis/project.cattle.io/v3 github.com/sirupsen/logrus Standard library imports bytes context fmt io/ioutil math/rand net net/url os os/exec path/filepath strconv strings time