golang's netapp client
c, err := netapp.NewClient(
<your endpoint>,
<your version>,
&netapp.ClientOptions{
},
)
if err != nil {
fmt.Fprintf(os.Stderr, "error: %v\n", err)
os.Exit(1)
}
qRes, _, err := c.QuotaReport.Report(&netapp.QuotaReportOptions{
MaxRecords: 1,
Query: &netapp.QuotaReportEntryQuery{
QuotaReportEntry: &netapp.QuotaReportEntry{
QuotaTarget: quotaTarget,
},
},
})
- Fork (https://github.com/pepabo/go-netapp/fork)
- Create a feature branch
- Commit your changes
- Rebase your local changes against the master branch
- Run test suite with the
go test ./...
command and confirm that it passes - Run
gofmt -s
- Create a new Pull Request