Documentation ¶
Index ¶
- Constants
- func NewSVN(scmCfg *v1alpha1.SCMSource) (scm.Provider, error)
- type SVN
- func (s *SVN) CheckToken() bool
- func (s *SVN) CreateWebhook(repo string, webhook *scm.Webhook) error
- func (s *SVN) DeleteWebhook(repo string, webhookURL string) error
- func (s *SVN) GetToken() (string, error)
- func (s *SVN) ListBranches(repo string) ([]string, error)
- func (s *SVN) ListDockerfiles(repo string) ([]string, error)
- func (s *SVN) ListRepos() ([]scm.Repository, error)
- func (s *SVN) ListTags(repo string) ([]string, error)
Constants ¶
View Source
const SVNUserPwdSep string = ":"
SVNUserPwdSep represents username and password separator, because SVN username can not contain ":".
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) CreateWebhook ¶
CreateWebhook ...
func (*SVN) DeleteWebhook ¶
DeleteWebhook ...
func (*SVN) ListBranches ¶
ListBranches ...
func (*SVN) ListDockerfiles ¶
ListDockerfiles ...
Click to show internal directories.
Click to hide internal directories.