k3s/pkg/util/nsenter
Davanum Srinivas 2f98d7a3ea Support nsenter in non-systemd environments
In our CI, we run kubekins image for most of the jobs. This is a
debian image with upstart and does not enable systemd. So we should:

* Bailout if any binary is missing other than systemd-run.
* SupportsSystemd should check the binary path to correctly
  identify if the systemd-run is present or not
* Pass the errors back to the callers so kubelet is forced to
  fail early when there is a problem. We currently assume
  that all binaries are in the root directory by default which
  is wrong.
2018-04-22 22:10:36 -04:00
..
BUILD Autogenerate BUILD files 2017-12-23 13:12:11 -08:00
nsenter.go Support nsenter in non-systemd environments 2018-04-22 22:10:36 -04:00
nsenter_unsupported.go Support nsenter in non-systemd environments 2018-04-22 22:10:36 -04:00