Documentation
¶
Index ¶
- Variables
- type Service
- func (g *Service) GetGitBasePath() (string, error)
- func (g *Service) GetGitBasePathWithRepo(repo *git.Repository) (string, error)
- func (g *Service) GetGitBranches() (*storer.ReferenceIter, error)
- func (g *Service) GetGitCurrentBranchName() (string, error)
- func (g *Service) GetGitHead() (*plumbing.Reference, error)
- func (g *Service) GetGitHeadTree() (*object.Tree, error)
- func (g *Service) GetGitRepo() (*git.Repository, error)
- func (g *Service) GetRemoteGitRepo(remoteURL string) (*git.Repository, error)
- func (g *Service) PushTag() error
- func (g *Service) TagSemver() (bool, error)
Constants ¶
This section is empty.
Variables ¶
Functions ¶
This section is empty.
Types ¶
type Service ¶ added in v0.22.1
type Service struct {
// contains filtered or unexported fields
}
func NewGitService ¶ added in v0.22.1
func NewGitService() *Service
func NewGitServiceWithRepo ¶ added in v0.22.1
func NewGitServiceWithRepo(repo *git.Repository) *Service
func (*Service) GetGitBasePath ¶ added in v0.22.1
func (*Service) GetGitBasePathWithRepo ¶ added in v0.22.1
func (g *Service) GetGitBasePathWithRepo(repo *git.Repository) (string, error)
func (*Service) GetGitBranches ¶ added in v0.22.1
func (g *Service) GetGitBranches() (*storer.ReferenceIter, error)
func (*Service) GetGitCurrentBranchName ¶ added in v0.22.1
func (*Service) GetGitHead ¶ added in v0.22.1
func (*Service) GetGitHeadTree ¶ added in v0.22.1
func (*Service) GetGitRepo ¶ added in v0.22.1
func (g *Service) GetGitRepo() (*git.Repository, error)
func (*Service) GetRemoteGitRepo ¶ added in v0.22.1
func (g *Service) GetRemoteGitRepo(remoteURL string) (*git.Repository, error)
Click to show internal directories.
Click to hide internal directories.