Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HdfsBackend ¶
type HdfsBackend struct {
// contains filtered or unexported fields
}
func NewHdfsBackend ¶
func NewHdfsBackend(client *hdfs.Client, namenode string, hdfsPath string) *HdfsBackend
func (*HdfsBackend) DisplayPath ¶
func (h *HdfsBackend) DisplayPath(version string) string
func (*HdfsBackend) Download ¶
func (h *HdfsBackend) Download(version string, destPath string) error
func (*HdfsBackend) LatestVersion ¶
func (h *HdfsBackend) LatestVersion(checkForSuccess bool) (string, error)
type LocalBackend ¶
type LocalBackend struct {
// contains filtered or unexported fields
}
A basic backend for the local filesystem
func NewLocalBackend ¶
func NewLocalBackend(path string) *LocalBackend
func (*LocalBackend) DisplayPath ¶
func (lb *LocalBackend) DisplayPath(version string) string
func (*LocalBackend) Download ¶
func (lb *LocalBackend) Download(version string, destPath string) error
func (*LocalBackend) LatestVersion ¶
func (lb *LocalBackend) LatestVersion(checkForSuccess bool) (string, error)
type S3Backend ¶
type S3Backend struct {
// contains filtered or unexported fields
}
func (*S3Backend) DisplayPath ¶
Click to show internal directories.
Click to hide internal directories.