cmd

package
v0.0.0-...-80afc61 Latest Latest
Warning

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

Go to latest
Published: Jul 13, 2023 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PromQOptions

type PromQOptions struct {
	genericclioptions.IOStreams
	// contains filtered or unexported fields
}

PromQOptions provides information required to updat

func NewPromQOptions

func NewPromQOptions(streams genericclioptions.IOStreams) *PromQOptions

NewPromQOptions provides an instance of PQOptions

func (*PromQOptions) Complete

func (o *PromQOptions) Complete(cmd *cobra.Command, args []string) error

Complete sets all information required for updating the current context

func (*PromQOptions) Run

func (o *PromQOptions) Run() error

func (*PromQOptions) Validate

func (o *PromQOptions) Validate() error

Validate ensures that all required arguments and flag values are provided

type RootPromQCmd

type RootPromQCmd struct {
	*cobra.Command
	// contains filtered or unexported fields
}

func NewCmdPromQ

func NewCmdPromQ(streams genericclioptions.IOStreams) *RootPromQCmd

NewCmdPromQ provides a cobra command wrapping AnalyzeOptions

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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