go-netapp

module
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 28, 2020 License: MIT

README

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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL