1
0
Fork 0
mirror of https://github.com/kastenhq/kubestr.git synced 2024-12-15 17:50:57 +00:00
kastenhq-kubestr/pkg/csi/csi.go
Sirish Bathina 8d5674a59e
CSI snapshot restore (#37)
* starting with the validation

* Create application and use mocks

* Added snapshotter

* cleanup and full execution test

* last bit of wiring

* Nil checks for comments

* removing debug print

* unused variable
2020-12-07 11:16:53 -10:00

11 lines
224 B
Go

package csi
import (
"context"
"github.com/kastenhq/kubestr/pkg/csi/types"
)
type CSI interface {
RunSnapshotRestore(ctx context.Context, args *types.CSISnapshotRestoreArgs) (*types.CSISnapshotRestoreResults, error)
}