Skip to content

Interface for Format functions #20

Open
@guilhem

Description

@guilhem

Currently, Interface only support "mount" functions:

type Interface interface {

To simply CSI test and mocking
Can we create a new Interface for all "Format" functions?
like:

func (mounter *SafeFormatAndMount) FormatAndMount(source string, target string, fstype string, options []string) error {

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions