Documentation ¶
Index ¶
- func AppendBitbucketServerSourceToEtree(source *etree.Element, gitSource *devopsv1alpha3.BitbucketServerSource)
- func AppendGitSourceToEtree(source *etree.Element, gitSource *devopsv1alpha3.GitSource)
- func AppendGithubSourceToEtree(source *etree.Element, githubSource *devopsv1alpha3.GithubSource)
- func AppendGitlabSourceToEtree(source *etree.Element, gitSource *devopsv1alpha3.GitlabSource)
- func AppendSingleSvnSourceToEtree(source *etree.Element, svnSource *devopsv1alpha3.SingleSvnSource)
- func AppendSvnSourceToEtree(source *etree.Element, svnSource *devopsv1alpha3.SvnSource)
- func GetBitbucketServerSourceFromEtree(source *etree.Element) *devopsv1alpha3.BitbucketServerSource
- func GetGitSourcefromEtree(source *etree.Element) *devopsv1alpha3.GitSource
- func GetGithubSourcefromEtree(source *etree.Element) *devopsv1alpha3.GithubSource
- func GetGitlabSourceFromEtree(source *etree.Element) (gitSource *devopsv1alpha3.GitlabSource)
- func GetSingleSvnSourceFromEtree(source *etree.Element) *devopsv1alpha3.SingleSvnSource
- func GetSvnSourcefromEtree(source *etree.Element) *devopsv1alpha3.SvnSource
- type BitbucketPRDiscoverTrust
- type GitHubPRDiscoverTrust
- type PRDiscoverTrust
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AppendBitbucketServerSourceToEtree ¶
func AppendBitbucketServerSourceToEtree(source *etree.Element, gitSource *devopsv1alpha3.BitbucketServerSource)
func AppendGitSourceToEtree ¶
func AppendGitSourceToEtree(source *etree.Element, gitSource *devopsv1alpha3.GitSource)
func AppendGithubSourceToEtree ¶
func AppendGithubSourceToEtree(source *etree.Element, githubSource *devopsv1alpha3.GithubSource)
func AppendGitlabSourceToEtree ¶
func AppendGitlabSourceToEtree(source *etree.Element, gitSource *devopsv1alpha3.GitlabSource)
func AppendSingleSvnSourceToEtree ¶
func AppendSingleSvnSourceToEtree(source *etree.Element, svnSource *devopsv1alpha3.SingleSvnSource)
func AppendSvnSourceToEtree ¶
func AppendSvnSourceToEtree(source *etree.Element, svnSource *devopsv1alpha3.SvnSource)
func GetBitbucketServerSourceFromEtree ¶
func GetBitbucketServerSourceFromEtree(source *etree.Element) *devopsv1alpha3.BitbucketServerSource
func GetGitSourcefromEtree ¶
func GetGitSourcefromEtree(source *etree.Element) *devopsv1alpha3.GitSource
func GetGithubSourcefromEtree ¶
func GetGithubSourcefromEtree(source *etree.Element) *devopsv1alpha3.GithubSource
func GetGitlabSourceFromEtree ¶
func GetGitlabSourceFromEtree(source *etree.Element) (gitSource *devopsv1alpha3.GitlabSource)
func GetSingleSvnSourceFromEtree ¶
func GetSingleSvnSourceFromEtree(source *etree.Element) *devopsv1alpha3.SingleSvnSource
func GetSvnSourcefromEtree ¶
func GetSvnSourcefromEtree(source *etree.Element) *devopsv1alpha3.SvnSource
Types ¶
type BitbucketPRDiscoverTrust ¶
type BitbucketPRDiscoverTrust int
Bitbucket
const ( BitbucketPRDiscoverTrustEveryone BitbucketPRDiscoverTrust = 1 BitbucketPRDiscoverTrustTeamForks BitbucketPRDiscoverTrust = 2 BitbucketPRDiscoverTrustNobody BitbucketPRDiscoverTrust = 3 )
func (BitbucketPRDiscoverTrust) IsValid ¶
func (p BitbucketPRDiscoverTrust) IsValid() bool
func (BitbucketPRDiscoverTrust) ParseFromString ¶
func (p BitbucketPRDiscoverTrust) ParseFromString(prTrust string) BitbucketPRDiscoverTrust
func (BitbucketPRDiscoverTrust) String ¶
func (p BitbucketPRDiscoverTrust) String() string
func (BitbucketPRDiscoverTrust) Value ¶
func (p BitbucketPRDiscoverTrust) Value() int
type GitHubPRDiscoverTrust ¶
type GitHubPRDiscoverTrust int
GitHub
const (
GitHubPRDiscoverTrustContributors GitHubPRDiscoverTrust = 1
)
func (GitHubPRDiscoverTrust) IsValid ¶
func (p GitHubPRDiscoverTrust) IsValid() bool
func (GitHubPRDiscoverTrust) ParseFromString ¶
func (p GitHubPRDiscoverTrust) ParseFromString(prTrust string) GitHubPRDiscoverTrust
func (GitHubPRDiscoverTrust) String ¶
func (p GitHubPRDiscoverTrust) String() string
func (GitHubPRDiscoverTrust) Value ¶
func (p GitHubPRDiscoverTrust) Value() int
type PRDiscoverTrust ¶
type PRDiscoverTrust int
const ( PRDiscoverTrustMember PRDiscoverTrust = 1 PRDiscoverTrustEveryone PRDiscoverTrust = 2 PRDiscoverTrustPermission PRDiscoverTrust = 3 PRDiscoverTrustNobody PRDiscoverTrust = 4 PRDiscoverUnknown PRDiscoverTrust = -1 )
func (PRDiscoverTrust) IsValid ¶
func (p PRDiscoverTrust) IsValid() bool
func (PRDiscoverTrust) ParseFromString ¶
func (p PRDiscoverTrust) ParseFromString(prTrust string) PRDiscoverTrust
func (PRDiscoverTrust) String ¶
func (p PRDiscoverTrust) String() string
func (PRDiscoverTrust) Value ¶
func (p PRDiscoverTrust) Value() int
Click to show internal directories.
Click to hide internal directories.