Documentation ¶
Overview ¶
Package zapi Copyright NetApp Inc, 2021 All rights reserved
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Cmd = &cobra.Command{
Use: "zapi",
Short: "Zapi Utility",
Long: "Zapi Utility - Explore available ZAPI counters of an ONTAP system",
}
Functions ¶
This section is empty.
Types ¶
type Args ¶
type Args struct { // main command: show, export, etc Command string // second command: what to show, export, Item string // poller that contains parameters of an Ontap cluster Poller string // which API to show (when Item is "api") API string // which attr to show (when Item is "attrs") Attr string // which object to show (when Item is "object") Object string // which counter(s) to show when "show data" is called Counters []string Instance string Duration int MaxRecords int // additional parameters to add to the ZAPI request, in "key:value" format Parameters []string Config string // filepath of Harvest config (defaults to "harvest.yml") can be relative or absolute path OutputFormat string Timeout string }
Click to show internal directories.
Click to hide internal directories.