zapi

package
v2.0.0-...-e401e50 Latest Latest
Warning

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

Go to latest
Published: Dec 9, 2024 License: Apache-2.0 Imports: 16 Imported by: 0

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
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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