add

package
v0.0.0-...-f5432ee Latest Latest
Warning

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

Go to latest
Published: Apr 14, 2021 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCmdAdd

func NewCmdAdd(f *cmdutil.Factory, runF func(*AddOptions) error) *cobra.Command

func SSHKeyUpload

func SSHKeyUpload(httpClient *http.Client, hostname string, keyFile io.Reader, title string) error

Types

type AddOptions

type AddOptions struct {
	IO         *iostreams.IOStreams
	Config     func() (config.Config, error)
	HTTPClient func() (*http.Client, error)

	KeyFile string
	Title   string
}

Jump to

Keyboard shortcuts

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