/go-netapp

golang's netapp client

Primary LanguageGoMIT LicenseMIT

go-netapp

golang's netapp client

example

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,
                },
        },
})

Contribution

  1. Fork (https://github.com/pepabo/go-netapp/fork)
  2. Create a feature branch
  3. Commit your changes
  4. Rebase your local changes against the master branch
  5. Run test suite with the go test ./... command and confirm that it passes
  6. Run gofmt -s
  7. Create a new Pull Request

Author

pyama86