cmd

package
v2.1.2+incompatible Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCmdOpenService

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

NewCmdOpenService provides a cobra command wrapping OpenServiceOptions

Types

type OpenServiceOptions

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

OpenServiceOptions provides information required to open the service in the browser

func NewOpenServiceOptions

func NewOpenServiceOptions(streams genericclioptions.IOStreams) *OpenServiceOptions

NewOpenServiceOptions provides an instance of OpenServiceOptions with default values

func (*OpenServiceOptions) Complete

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

Complete sets all information required for opening the service

func (*OpenServiceOptions) Run

func (o *OpenServiceOptions) Run() error

Run opens the service in the browser

func (*OpenServiceOptions) Validate

func (o *OpenServiceOptions) 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