Documentation ¶
Index ¶
- func NewSVN(scmCfg *api.SCMConfig) (scm.SCMProvider, error)
- type SVN
- func (s *SVN) CheckToken() bool
- func (g *SVN) CreateStatus(recordStatus api.Status, targetURL, repoURL, statusesURL string) error
- func (s *SVN) CreateWebHook(repoURL string, webHook *scm.WebHook) error
- func (s *SVN) DeleteWebHook(repoURL string, webHookUrl string) error
- func (s *SVN) GetTemplateType(repo string) (string, error)
- func (s *SVN) GetToken() (string, error)
- func (s *SVN) ListBranches(repo string) ([]string, error)
- func (s *SVN) ListRepos() ([]api.Repository, error)
- func (s *SVN) ListTags(repo string) ([]string, error)
- func (s *SVN) NewTagFromLatest(tagName, description, commitID, url string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type SVN ¶
type SVN struct {
// contains filtered or unexported fields
}
SVN represents the SCM provider of SVN.
func (*SVN) CheckToken ¶
func (*SVN) CreateStatus ¶
CreateStatus generate a new status for repository.
func (*SVN) NewTagFromLatest ¶
Click to show internal directories.
Click to hide internal directories.