Documentation ¶ Index ¶ func NewCmdAdd(f *cmdutil.Factory, runF func(*AddOptions) error) *cobra.Command func SSHKeyUpload(httpClient *http.Client, hostname string, keyFile io.Reader, title string) error type AddOptions 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 } Source Files ¶ View all Source files add.go http.go Click to show internal directories. Click to hide internal directories.