Documentation ¶
Index ¶
- func NewGCSFS(ctx context.Context, bucket string, conn connection.GCSConnection) (*gcsFS, error)
- func NewLocalFS(base string) *localFS
- func NewS3FS(ctx context.Context, bucket string, conn connection.S3Connection) (*s3FS, error)
- func NewSMBFS(server string, port, share string, auth types.Authentication) (*smbFS, error)
- func NewSSHFS(host, user, password string) (*sshFS, error)
- type FileInfo
- type Filesystem
- type FilesystemRW
- type ListItemLimiter
- type SMBFileInfo
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewGCSFS ¶
func NewGCSFS(ctx context.Context, bucket string, conn connection.GCSConnection) (*gcsFS, error)
func NewLocalFS ¶
func NewLocalFS(base string) *localFS
func NewS3FS ¶
func NewS3FS(ctx context.Context, bucket string, conn connection.S3Connection) (*s3FS, error)
Types ¶
type FileInfo ¶
FileInfo is a wrapper for os.FileInfo that also returns the full path of the file.
FullPath is required to support globs with ReadDir()
type Filesystem ¶
type FilesystemRW ¶
type ListItemLimiter ¶
type ListItemLimiter interface {
SetMaxListItems(maxList int)
}
type SMBFileInfo ¶ added in v1.0.16
func (*SMBFileInfo) FullPath ¶ added in v1.0.16
func (t *SMBFileInfo) FullPath() string
Click to show internal directories.
Click to hide internal directories.