svn

package
v0.7.0-alpha.1 Latest Latest
Warning

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

Go to latest
Published: Sep 21, 2018 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewSVN

func NewSVN(scmCfg *api.SCMConfig) (scm.SCMProvider, error)

Types

type SVN

type SVN struct {
	// contains filtered or unexported fields
}

SVN represents the SCM provider of SVN.

func (*SVN) CheckToken

func (s *SVN) CheckToken() bool

func (*SVN) CreateStatus

func (g *SVN) CreateStatus(recordStatus api.Status, targetURL, repoURL, statusesURL string) error

CreateStatus generate a new status for repository.

func (*SVN) CreateWebHook

func (s *SVN) CreateWebHook(repoURL string, webHook *scm.WebHook) error

func (*SVN) DeleteWebHook

func (s *SVN) DeleteWebHook(repoURL string, webHookUrl string) error

func (*SVN) GetTemplateType

func (s *SVN) GetTemplateType(repo string) (string, error)

func (*SVN) GetToken

func (s *SVN) GetToken() (string, error)

func (*SVN) ListBranches

func (s *SVN) ListBranches(repo string) ([]string, error)

func (*SVN) ListRepos

func (s *SVN) ListRepos() ([]api.Repository, error)

func (*SVN) ListTags

func (s *SVN) ListTags(repo string) ([]string, error)

func (*SVN) NewTagFromLatest

func (s *SVN) NewTagFromLatest(tagName, description, commitID, url string) error

Jump to

Keyboard shortcuts

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