svn

package
v0.9.5-beta.1 Latest Latest
Warning

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

Go to latest
Published: May 20, 2019 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const SVNUserPwdSep string = ":"

SVNUserPwdSep represents username and password separator, because SVN username can not contain ":".

Variables

This section is empty.

Functions

func NewSVN

func NewSVN(scmCfg *v1alpha1.SCMSource) (scm.Provider, error)

NewSVN new SVN client

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() error

CheckToken ...

func (*SVN) CreateStatus added in v0.9.6

func (s *SVN) CreateStatus(status c_v1alpha1.StatusPhase, targetURL, repoURL, commitSha string) error

CreateStatus ...

func (*SVN) CreateWebhook

func (s *SVN) CreateWebhook(repo string, webhook *scm.Webhook) error

CreateWebhook ...

func (*SVN) DeleteWebhook

func (s *SVN) DeleteWebhook(repo string, webhookURL string) error

DeleteWebhook ...

func (*SVN) GetPullRequestSHA added in v0.9.6

func (s *SVN) GetPullRequestSHA(repoURL string, number int) (string, error)

GetPullRequestSHA ...

func (*SVN) GetToken

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

GetToken ...

func (*SVN) ListBranches

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

ListBranches ...

func (*SVN) ListDockerfiles

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

ListDockerfiles ...

func (*SVN) ListRepos

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

ListRepos ...

func (*SVN) ListTags

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

ListTags ...

Jump to

Keyboard shortcuts

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