{"modulePath":"github.com/2lambda123/openshift-origin","version":"v3.11.0+incompatible","isLatest":false,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package host\n\nPackage host contains a utility to run commands on the Docker host by using an image in privileged mode.\n\nCreate an HostHelper with NewHostHelper\n\n## Constants\n\n```go\nconst (\n\n\t// RemoteHostOriginDir is a directory on the remote machine that runs Docker\n\tRemoteHostOriginDir = \"/var/lib/origin/cluster-up\"\n)\n```\n\n## Types\n\n```go\ntype HostHelper struct {\n\t// contains filtered or unexported fields\n}\n```\nHostHelper contains methods to help check settings on a Docker host machine using a privileged container\n\n```go\nfunc NewHostHelper(dockerHelper *dockerhelper.Helper, image string) *HostHelper\n```\nNewHostHelper creates a new HostHelper\n\n```go\nfunc (h *HostHelper) CanUseNsenterMounter() (bool, error)\n```\nCanUseNsenterMounter returns true if the Docker host machine can execute findmnt through nsenter\n\n```go\nfunc (h *HostHelper) EnsureVolumeUseShareMount(volumesDir string) error\n```\nEnsureVolumeUseShareMount ensures that the host Docker VM has a shared directory that can be used for OpenShift volumes. This is needed for Docker for Mac.\n\n","path":"github.com/2lambda123/openshift-origin/pkg/oc/clusterup/docker/host","name":"host","synopsis":"Package host contains a utility to run commands on the Docker host by using an image in privileged mode.","isRedistributable":true}
