plugin

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Oct 21, 2021 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCmdPi

func NewCmdPi(streams genericclioptions.IOStreams) *cobra.Command

NewCmdPi provides a cobra command wrapping CmdOptions

Types

type CmdOptions

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

CmdOptions provides context required to run the program

func NewCmdOptions

func NewCmdOptions(streams genericclioptions.IOStreams) *CmdOptions

NewCmdOptions provides an instance of CmdOptions

func (*CmdOptions) Complete

func (o *CmdOptions) Complete(args []string) error

Complete sets all required context to run the command

func (*CmdOptions) Run

func (o *CmdOptions) Run() error

Run executes the command

func (*CmdOptions) Validate

func (o *CmdOptions) Validate() error

Validate ensures that all required arguments and flag values are provided and validated

type PodInteractionInfo

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

PodInteractionInfo contains all information of a pod interaction

Jump to

Keyboard shortcuts

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