package metric

import "github.com/vmware/govmomi/cli/metric"

Index

Types

type EntityDetail

type EntityDetail struct {
	Realtime   bool     `json:"realtime"`
	Historical bool     `json:"historical"`
	Instance   []string `json:"instance"`
}

type MetricInfo

type MetricInfo struct {
	Counter          *types.PerfCounterInfo `json:"counter"`
	Enabled          []string               `json:"enabled"`
	PerDeviceEnabled []string               `json:"perDeviceEnabled"`
	Detail           *EntityDetail          `json:"detail"`
}

type PerformanceFlag

type PerformanceFlag struct {
	*flags.DatacenterFlag
	*flags.OutputFlag
	// contains filtered or unexported fields
}

func NewPerformanceFlag

func NewPerformanceFlag(ctx context.Context) (*PerformanceFlag, context.Context)

func (*PerformanceFlag) ErrNotFound

func (f *PerformanceFlag) ErrNotFound(name string) error

func (*PerformanceFlag) Interval

func (f *PerformanceFlag) Interval(val int32) int32

func (*PerformanceFlag) Manager

func (*PerformanceFlag) Process

func (f *PerformanceFlag) Process(ctx context.Context) error

func (*PerformanceFlag) Register

func (f *PerformanceFlag) Register(ctx context.Context, fs *flag.FlagSet)

Source Files

change.go info.go ls.go performance.go reset.go sample.go

Directories

PathSynopsis
cli/metric/interval
Version
v0.48.1 (latest)
Published
Feb 11, 2025
Platform
linux/amd64
Imports
19 packages
Last checked
2 months ago

Tools for package owners.