Documentation ¶
Index ¶
- Variables
- func CreatePullRequest(cmd *cobra.Command, args []string) error
- func DetermineClonePoint(client *scm.Client, repository string, branch string, previousCommit string, ...) (string, error)
- func DetermineMonoRepoChange(credentials string, kind string, host string, owner string, repo string) (string, error)
- func DetermineToken(credentials string, kind string, host string, owner string, repo string) (string, error)
- func FindOpenPullRequestByBranches(ctx context.Context, head string, base string, scmClient *scm.Client, ...) (bool, int, string)
- func GetScmClient(repositoryURL string) (*scm.Client, string, string, error)
- func GetURL(kind string, host string, owner string, repo string) string
- func NewMonoRepoChangeCmd() *cobra.Command
- func NewPrCmd() *cobra.Command
- func NewPrCreateCmd() *cobra.Command
- func NewTagCmd() *cobra.Command
- func NewTokenCmd() *cobra.Command
- func NewURLCmd() *cobra.Command
- func Tag(cmd *cobra.Command, args []string) error
Constants ¶
This section is empty.
Variables ¶
View Source
var ( PreviousCommit string Branch string SubPath string )
View Source
var ( CommitBranch string BaseBranch string PrTitle string CommitTitle string GitUser string GitEmail string OutputGitSha string OutputPrNumber string OutputPrURL string )
View Source
var ( Sha string Ref string Repository string )
Functions ¶
func DetermineClonePoint ¶
func DetermineMonoRepoChange ¶
func DetermineToken ¶
func NewMonoRepoChangeCmd ¶
NewMonoRepoChangeCmd creates a new token command.
func NewPrCreateCmd ¶
NewPrCreateCmd creates a pr_create command.
Types ¶
This section is empty.
Source Files ¶
Click to show internal directories.
Click to hide internal directories.