Change interface of SetUp function
This commit is contained in:
@@ -129,11 +129,7 @@ type Mounter interface {
|
||||
// content should be owned by 'fsGroup' so that it can be
|
||||
// accessed by the pod. This may be called more than once, so
|
||||
// implementations must be idempotent.
|
||||
SetUp(mounterArgs MounterArgs) error
|
||||
|
||||
// SetupWithStatusTracking is similar to SetUp function except it
|
||||
// also return operation status as a return value
|
||||
SetUpWithStatusTracking(mounterArgs MounterArgs) (volumetypes.OperationStatus, error)
|
||||
SetUp(mounterArgs MounterArgs) (volumetypes.OperationStatus, error)
|
||||
|
||||
// SetUpAt prepares and mounts/unpacks the volume to the
|
||||
// specified directory path, which may or may not exist yet.
|
||||
|
Reference in New Issue
Block a user