Documentation ¶
Index ¶
- Constants
- func BranchPattern(gitKind string) string
- func CreateFolderXml(folderUrl string, name string) string
- func CreateMultiBranchProjectXml(info *gits.GitRepositoryInfo, gitProvider gits.GitProvider, credentials string, ...) string
- func EditUserAuth(url string, configService *jenkauth.AuthConfigService, ...) (jenkauth.UserAuth, error)
- func GetJenkinsClient(url string, batch bool, configService *jenkauth.AuthConfigService) (*gojenkins.Jenkins, error)
- func JenkinsTokenURL(url string) string
- func PrintGetTokenFromURL(out io.Writer, tokenUrl string) (int, error)
Constants ¶
View Source
const ( DefaultJenkinsCredentialsPrefix = "jenkins-x-" DefaultJenkinsfile = "Jenkinsfile" Chartmuseum = "chartmuseum" // BranchPatternMasterPRsAndFeatures only match master, PRs and features BranchPatternMasterPRsAndFeatures = "master|PR-.*|feature.*" // BranchPatternMatchEverything matches everything BranchPatternMatchEverything = ".*" )
Variables ¶
This section is empty.
Functions ¶
func BranchPattern ¶
func CreateFolderXml ¶
func CreateMultiBranchProjectXml ¶
func CreateMultiBranchProjectXml(info *gits.GitRepositoryInfo, gitProvider gits.GitProvider, credentials string, branches string, jenkinsfile string) string
func EditUserAuth ¶
func GetJenkinsClient ¶
func GetJenkinsClient(url string, batch bool, configService *jenkauth.AuthConfigService) (*gojenkins.Jenkins, error)
func JenkinsTokenURL ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.