simpletask

package
v0.0.0-...-2031953 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 7, 2025 License: MIT Imports: 5 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SimpleTask

type SimpleTask struct {
	VCSClient  vcsapi.Client
	BranchName string
	// contains filtered or unexported fields
}

func New

New creates a new instance of the basic task helper

func (*SimpleTask) Clone

func (n *SimpleTask) Clone() error

Clone clones the repository and initializes the vcs client

func (*SimpleTask) CommitPushAndMergeRequest

func (n *SimpleTask) CommitPushAndMergeRequest(commitMessage string, mergeRequestTitle string, mergeRequestDescription string, mergeRequestKey string) error

CommitPushAndMergeRequest commits and pushes the changes, additionally creates or updates the merge request

func (*SimpleTask) CreateBranch

func (n *SimpleTask) CreateBranch(branchName string) error

CreateBranch creates a new branch

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL