Files
storage-appliance/internal/infra/stubs/nfs.go

19 lines
370 B
Go

package stubs
import (
"context"
"log"
)
type NFSAdapter struct{}
func (n *NFSAdapter) ListExports(ctx context.Context) ([]string, error) {
log.Println("nfs: ListExports (stub)")
return []string{"/export/data"}, nil
}
func (n *NFSAdapter) CreateExport(ctx context.Context, path string) error {
log.Printf("nfs: CreateExport path=%s (stub)", path)
return nil
}