Skip to content

Commit

Permalink
Issue minishift#317 Refactoring existing hostfolder code and implemen…
Browse files Browse the repository at this point in the history
…ting sshfs hostfolders

- Add hidden sftpd command
- Refactor existing hostfolder actions
- Introducing hostfolder.Manager as entry point for hostfolder operations
- Introducing HostFolder interface as common abstraction for any host folder type
- Split impl details between CIFS and SSHFS
- Allow to configure host folder interactively as well as non-interactively (Issue minishift#959)
- Adding docs
  • Loading branch information
hferentschik committed Mar 7, 2018
1 parent a58d643 commit 3d5d208
Show file tree
Hide file tree
Showing 28 changed files with 1,553 additions and 803 deletions.
82 changes: 47 additions & 35 deletions Gopkg.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 5 additions & 0 deletions Gopkg.toml
Expand Up @@ -174,3 +174,8 @@ ignored = ["github.com/Sirupsen/logrus"]
[[constraint]]
name = "github.com/stretchr/testify"
version = "=v1.2.0"

[[constraint]]
name = "github.com/pkg/sftp"
version = "1.0.0"

1 change: 1 addition & 0 deletions cmd/minishift/cmd/config/config.go
Expand Up @@ -95,6 +95,7 @@ var (
// Host Folders
HostFoldersMountPath = createConfigSetting("hostfolders-mountpath", SetString, nil, nil, true, nil)
HostFoldersAutoMount = createConfigSetting("hostfolders-automount", SetBool, nil, nil, true, nil)
HostFoldersSftpPort = createConfigSetting("hostfolders-sftp-port", SetInt, []setFn{validations.IsPositive}, nil, true, nil)

// Image caching
ImageCaching = createConfigSetting("image-caching", SetBool, nil, nil, true, true)
Expand Down

0 comments on commit 3d5d208

Please sign in to comment.