Versions in this module Expand all Collapse all v0 v0.2.0 Sep 21, 2025 Changes in this version + const Bitbucket + const Gitlab + func GetHeadBranch() (string, error) + func GetLastCommitMessage() (string, error) + type CreatePRRequest struct + CloseSourceBranch bool + Destination struct{ ... } + Source struct{ ... } + Title string + type CreatePRResponse struct + Links struct{ ... } + func CreatePR(host, project string, ...) (CreatePRResponse, error) + type FakeTransport struct + func (t *FakeTransport) RoundTrip(req *http.Request) (*http.Response, error) + type HttpSettings struct + WithFakeHttpTransport bool + func (c *HttpSettings) CliFlags() []cli.Flag + func (c *HttpSettings) Parse(cCtx *cli.Context) (err error) + type ServiceInfo struct + HeadBranch string + Host string + LastCommitMsg string + ProjectName string + RefName string + func (g *ServiceInfo) CliFlags() []cli.Flag + func (g *ServiceInfo) Parse(cCtx *cli.Context) error v0.1.2 Feb 6, 2025 Changes in this version type GitlabJob + ID int64 + type RetryJobResponse struct + Name string + WebUrl string + func RetryJob(host, project string, jobID int64, token string) (RetryJobResponse, error) + type RunJobResponse struct + Name string + WebUrl string + func RunJob(host, project string, jobID int64, token string) (RunJobResponse, error) v0.1.1 Dec 11, 2024 v0.1.0 Nov 22, 2024 Changes in this version + var BlurredStyle = lipgloss.NewStyle().Foreground(lipgloss.Color("240")) + var CursorStyle = FocusedStyle + var FocusedStyle = lipgloss.NewStyle().Foreground(lipgloss.Color("205")) + var HelpStyle = BlurredStyle + var NoStyle = lipgloss.NewStyle() + var StatusStyles = map[string]StatusProps + var TableBorderStyle = lipgloss.NewStyle().Foreground(lipgloss.Color("#660066")) + func EncodeHyperlink(href string, text string) string + func GetCurrentGitProjectName() (string, string, error) + func GetCurrentGitRef() (string, error) + type Credentials struct + Service string + User string + func (c *Credentials) CliFlags() []cli.Flag + func (c *Credentials) Parse(cCtx *cli.Context) error + func (c *Credentials) Token() string + type GitlabInfo struct + GitlabHost string + ProjectName string + RefName string + func (g *GitlabInfo) CliFlags() []cli.Flag + func (g *GitlabInfo) Parse(cCtx *cli.Context) error + type GitlabJob struct + Coverage interface{} + Duration *float64 + Name string + Stage string + Status string + User struct{ ... } + WebUrl string + func GetLatestJobs(host, project string, pipelineID int, token string) ([]GitlabJob, error) + func GetLatestTriggeredJobs(host, project string, pipelineID int, token string) ([]GitlabJob, error) + type GitlabPipeline struct + Id int + Ref string + WebUrl string + func GetLatestPipeline(host, project, ref, token string) (GitlabPipeline, error) + type StatusProps struct + Emoji string + Style lipgloss.Style