cmd

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jan 17, 2020 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCmdTap

func NewCmdTap(streams genericclioptions.IOStreams, version version.Info) *cobra.Command

NewCmdTap provides a cobra command wrapping TapOptions

Types

type TapOptions

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

func NewTapOptions

func NewTapOptions(streams genericclioptions.IOStreams) *TapOptions

NewTapOptions provides an instance of TapOptions with default values

func (*TapOptions) Complete

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

Complete sets all information required for updating the current context

func (*TapOptions) Run

func (o *TapOptions) Run() error

func (*TapOptions) Validate

func (o *TapOptions) Validate() error

Validate ensures that all required arguments and flag values are provided

Jump to

Keyboard shortcuts

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