https://github.com/dell/gobrick
Go library for CSI drivers
https://github.com/dell/gobrick
Last synced: 9 months ago
JSON representation
Go library for CSI drivers
- Host: GitHub
- URL: https://github.com/dell/gobrick
- Owner: dell
- License: apache-2.0
- Created: 2020-04-13T13:25:45.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2025-03-24T10:00:54.000Z (10 months ago)
- Last Synced: 2025-03-30T08:09:20.795Z (10 months ago)
- Language: Go
- Size: 224 KB
- Stars: 8
- Watchers: 16
- Forks: 11
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
README
# GOBRICK
**Library for iSCSI/FC/NVMe volume connection**
### Example
```
connector := gobrick.NewISCSIConnector(gobrick.ISCSIConnectorParams{})
dev, err := connector.ConnectVolume(context.Background(),
gobrick.ISCSIVolumeInfo{
Lun:1,
Targets: []gobrick.ISCSITargetInfo{
{Portal: "1.1.1.1",
Target: "iqn.2015-10.com.dell:dellemc-array-fnm00185000782-b-5dc4fceb"}}})
err = connector.DisconnectVolumeByDeviceName(context.Background(), "dm-1")
```