cmd

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Jun 12, 2019 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCmdDf

func NewCmdDf(streams genericclioptions.IOStreams, version, commit, date string) *cobra.Command

NewCmdDf is a cobra command wrapping

Types

type DfiOptions

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

DfiOptions is struct of df options

func NewDfOptions

func NewDfOptions(streams genericclioptions.IOStreams) *DfiOptions

NewDfOptions is an instance of DfOptions

func (*DfiOptions) Complete

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

Complete sets all information required for opening the service

func (*DfiOptions) Run

func (o *DfiOptions) Run(args []string) error

Run opens the service in the browser

func (*DfiOptions) Validate

func (o *DfiOptions) 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
JackTT - Gopher 🇻🇳