internal

package
v0.0.0-...-e779149 Latest Latest
Warning

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

Go to latest
Published: Jul 18, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

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

Jump to

Keyboard shortcuts

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