Documentation
¶
Overview ¶
Package mounter
Package mounter
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CSIMounterFactory ¶
type CSIMounterFactory struct{}
func NewCSIMounterFactory ¶
func NewCSIMounterFactory() *CSIMounterFactory
func (*CSIMounterFactory) NewMounter ¶
type FakeMounterFactory ¶
func (*FakeMounterFactory) NewMounter ¶
type Mounter ¶
type Mounter interface {
Mount(source string, target string, secretMap map[string]string) error
Unmount(target string) error
}
func NewRcloneMounter ¶
func NewS3fsMounter ¶
type NewMounterFactory ¶
type RcloneMounter ¶
type RcloneMounter struct {
BucketName string //From Secret in SC
ObjPath string //From Secret in SC
EndPoint string //From Secret in SC
LocConstraint string //From Secret in SC
AuthType string
AccessKeys string
KpRootKeyCrn string
UID string
GID string
MountOptions []string
MounterUtils utils.MounterUtils
}
Mounter interface defined in mounter.go rcloneMounter Implements Mounter
func (*RcloneMounter) Unmount ¶
func (rclone *RcloneMounter) Unmount(target string) error
type S3fsMounter ¶
type S3fsMounter struct {
BucketName string //From Secret in SC
ObjPath string //From Secret in SC
EndPoint string //From Secret in SC
LocConstraint string //From Secret in SC
AuthType string
AccessKeys string
KpRootKeyCrn string
MountOptions []string
MounterUtils utils.MounterUtils
}
Mounter interface defined in mounter.go s3fsMounter Implements Mounter
func (*S3fsMounter) Unmount ¶
func (s3fs *S3fsMounter) Unmount(target string) error
Source Files
¶
Click to show internal directories.
Click to hide internal directories.