internal

package
v0.11.1 Latest Latest
Warning

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

Go to latest
Published: Feb 26, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Overview

Package internal contains methods about quantifying the provider metrics

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCmdQuantify

func NewCmdQuantify() *cobra.Command

NewCmdQuantify creates a cobra command

Types

type QuantifyOptions

type QuantifyOptions struct {
	// contains filtered or unexported fields
}

QuantifyOptions represents the options of quantify command

func (*QuantifyOptions) CollectData

func (o *QuantifyOptions) CollectData(query string) (model.Value, error)

CollectData sends query and collect data by using the prometheus client

func (*QuantifyOptions) Run

func (o *QuantifyOptions) Run(_ *cobra.Command, _ []string) error

Run executes the quantify command's tasks.

Directories

Path Synopsis
Package common is for some common functions for tooling
Package common is for some common functions for tooling
Package managed contains functions about managed resource management during the experiment
Package managed contains functions about managed resource management during the experiment

Jump to

Keyboard shortcuts

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