Documentation ¶ Index ¶ func NewCmdAdd(f cmdutils.Factory) *cobra.Command func UploadDeployKey(client *gitlab.Client, projectId string, title string, key string, ...) error type AddOpts Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func NewCmdAdd ¶ func NewCmdAdd(f cmdutils.Factory) *cobra.Command func UploadDeployKey ¶ func UploadDeployKey(client *gitlab.Client, projectId string, title string, key string, canPush bool, 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 CanPush bool KeyFile string } Source Files ¶ View all Source files add.gohttp.go Click to show internal directories. Click to hide internal directories.