Documentation ¶ Index ¶ func NewCmdAdd(f *cmdutils.Factory, runE func(*AddOpts) error) *cobra.Command func UploadSSHKey(client *gitlab.Client, title, key, usage_type, expiresAt string) error type AddOpts Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func NewCmdAdd ¶ func NewCmdAdd(f *cmdutils.Factory, runE func(*AddOpts) error) *cobra.Command func UploadSSHKey ¶ func UploadSSHKey(client *gitlab.Client, title, key, usage_type, expiresAt string) error Types ¶ type AddOpts ¶ type AddOpts struct { HTTPClient func() (*gitlab.Client, error) IO *iostreams.IOStreams BaseRepo func() (glrepo.Interface, error) Title string Key string ExpiresAt string UsageType string KeyFile string } Source Files ¶ View all Source files add.go http.go Click to show internal directories. Click to hide internal directories.