Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCmdCreate ¶
Types ¶
type CreateOpts ¶ added in v1.12.0
type CreateOpts struct { Title string Description string SourceBranch string TargetBranch string TargetTrackingBranch string Labels []string Assignees []string MileStone int MilestoneFlag string MRCreateTargetProject string CreateSourceBranch bool RemoveSourceBranch bool AllowCollaboration bool Autofill bool IsDraft bool IsWIP bool ShouldPush bool NoEditor bool IsInteractive bool Yes bool Web bool IO *iostreams.IOStreams Branch func() (string, error) Remotes func() (glrepo.Remotes, error) Lab func() (*gitlab.Client, error) Config func() (config.Config, error) BaseRepo func() (glrepo.Interface, error) HeadRepo func() (glrepo.Interface, error) // SourceProject is the Project we create the merge request in and where we push our branch // it is the project we have permission to push so most likely one's fork SourceProject *gitlab.Project // TargetProject is the one we query for changes between our branch and the target branch // it is the one we merge request will appear in TargetProject *gitlab.Project }
Click to show internal directories.
Click to hide internal directories.