Documentation
¶
Overview ¶
Package mounter
Package mounter
Index ¶
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func GetKnownS3FSOptions ¶ added in v0.12.43
GetKnownS3FSOptions returns a Set of known s3fs mount option names used to classify options as known (standard s3fs) or unknown (custom for addMountParam)
Types ¶
type CSIMounterFactory ¶
type CSIMounterFactory struct{}
func NewCSIMounterFactory ¶
func NewCSIMounterFactory() *CSIMounterFactory
func (*CSIMounterFactory) NewMounter ¶
func (s *CSIMounterFactory) NewMounter(params MounterParams) Mounter
type FakeMounterFactory ¶
func (*FakeMounterFactory) NewMounter ¶
func (f *FakeMounterFactory) NewMounter(params MounterParams) Mounter
type Mounter ¶
func NewRcloneMounter ¶
func NewRcloneMounter(params RcloneMounterParams) Mounter
func NewS3fsMounter ¶
func NewS3fsMounter(params S3fsMounterParams) Mounter
type MounterParams ¶ added in v1.0.6
type NewMounterFactory ¶
type NewMounterFactory interface {
NewMounter(params MounterParams) Mounter
}
type RcloneMounter ¶
type RcloneMounter struct {
BucketName string //From Secret in SC
ObjectPath string //From Secret in SC
EndPoint string //From Secret in SC
LocConstraint string //From Secret in SC
AuthType string
AccessKeys string
KpRootKeyCrn string
IAMEndpoint string
UID string
GID string
ReadOnly bool
MountOptions []string
MounterUtils utils.MounterUtils
// contains filtered or unexported fields
}
Mounter interface defined in mounter.go rcloneMounter Implements Mounter
func (*RcloneMounter) Mount ¶
func (rclone *RcloneMounter) Mount(source string, target string) error
func (*RcloneMounter) Unmount ¶
func (rclone *RcloneMounter) Unmount(target string) error
type RcloneMounterParams ¶ added in v1.0.6
type S3fsMounter ¶
type S3fsMounter struct {
BucketName string //From Secret in SC
ObjectPath string //From Secret in SC
EndPoint string //From Secret in SC
LocConstraint string //From Secret in SC
AuthType string
AccessKeys string
IAMEndpoint string
KpRootKeyCrn string
MountOptions []string
AddMountParam 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.