Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Interface ¶
type Interface interface { mount.Interface JfsMount(ctx context.Context, volumeID string, target string, secrets, volCtx map[string]string, options []string) (Jfs, error) JfsCreateVol(ctx context.Context, volumeID string, subPath string, secrets, volCtx map[string]string) error JfsDeleteVol(ctx context.Context, volumeID string, target string, secrets, volCtx map[string]string, options []string) error JfsUnmount(ctx context.Context, volumeID, mountPath string) error JfsCleanupMountPoint(ctx context.Context, mountPath string) error GetJfsVolUUID(ctx context.Context, name string) (string, error) SetQuota(ctx context.Context, secrets map[string]string, jfsSetting *config.JfsSetting, quotaPath string, capacity int64) error Settings(ctx context.Context, volumeID string, secrets, volCtx map[string]string, options []string) (*config.JfsSetting, error) GetSubPath(ctx context.Context, volumeID string) (string, error) CreateTarget(ctx context.Context, target string) error AuthFs(ctx context.Context, secrets map[string]string, jfsSetting *config.JfsSetting, force bool) (string, error) }
Interface of juicefs provider
func NewJfsProvider ¶
func NewJfsProvider(mounter *mount.SafeFormatAndMount, k8sClient *k8sclient.K8sClient) Interface
NewJfsProvider creates a provider for JuiceFS file system
Click to show internal directories.
Click to hide internal directories.