testrepos

package
v1.1.0-rc8 Latest Latest
Warning

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

Go to latest
Published: Jul 19, 2019 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var HTTPSTestRepo = HTTPSRepo{
	URL:      "https://gitlab.com/argo-cd-test/test-apps.git",
	Username: "blah",
	Password: "B5sBDeoqAVUouoHkrovy",
}
View Source
var SSHTestRepo = SSHRepo{
	URL: "git@gitlab.com:alex_collins/private-repo.git",
	SSHPrivateKey: `-----BEGIN OPENSSH PRIVATE KEY-----
b3BlbnNzaC1rZXktdjEAAAAABG5vbmUAAAAEbm9uZQAAAAAAAAABAAACFwAAAAdzc2gtcn
NhAAAAAwEAAQAAAgEA4uR3auhx1ipcDPGXE6Wz/Zg86YIRD2puJgfXcPoUVKd/mqxlYEew
nv9y/mpPlAAqbIemEr3eXxziTFU88jvhH+97IYIl4iK7Guo5yuQnjXP2sHBoxUbpV6SYgJ
GXTCqGzkg9dBjYQq+fNSytC60DseObaZDj3AnI0qpfQzR2WeG4I5z1gAWphOdSLU1mnjJi
5Y+gmkw++7pCZKefV0QWgfSX0SwwyWhAthAp6WDApdsyjwQrgfuHvRNSOerEd0Qg9ge3kZ
MDbZpHQBp6/zZLxY4aU4NWTDMRmxqXPVvdppVutpQnYIl3osCyxEGGgCDduHPfI1vCIFMV
lSmD9I5pp4ZeuAAWl6Dcyxxwenywu562gS1Tdrz3x4pr2Xsu4PEdZZ5z848u/NhO8hXNFq
fePw0TCrNqDMEHQsIR/LatoC928QEZ9iyr/ID+r25zUtFKeVNZLC0f/hWDVDSBaZ0h6W//
nvZaHGMaOByD0NdwzZ76xrEOrXvypCLpVNhtMilFR9gXoalkOjnUm3Ngrnq+2qTYIbkGvt
p/3xe8Ez+Ovv3s1n5ndmnOa3VPrAmmL+mIpSPGkqao49+e3KtaesHDZJTDeuhbiqmpbnct
76pA6a/STS6kNQ/HsRmNLUWQnfJTOs3ec2IJzFd5Ls4ioaNfBMhE3M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kF9RFmeUMAAAEBAO+B2mQLjrEluEkm9F4mDlCXeH3Kxgj46xoLWX++65vMPQ8fLQBU
CpBZjiqilZhsKihXk11imuEHA7eF1NooVomc7gZMc/npgA1wKKeMQCSCiuymJXll5YDdnX
JsWmgYb7lNFRoZ9kAq670w0DbZ+yMqx+4Om9G3TcZZMqIZg7cNyU+LHUJ8XGEUWGu/NlmP
uFqEPMXT+aTMJd6/iswfVzwRSpjcMMJTgyqc+/QxKjqTAKL+e+FsqJgUBmE64H/HhTY1s0
suMY6yssPLTjcLnjrAjZ+Glf67k9QmrNAc6+iEbr2O/AMI1AqjODL7yBM/wzdCmNDqKH3r
gv8i03bqWHsAAAAXYWxleF9jb2xsaW5zQGludHVpdC5jb20BAgME
-----END OPENSSH PRIVATE KEY-----
`,
	InsecureIgnoreHostKey: true,
}

why isn't this the same repo as the HTTPS one? because you could accidentally use the username/password to access it and that would invalidate all test for SSH

Functions

This section is empty.

Types

type HTTPSRepo

type HTTPSRepo struct {
	URL, Username, Password string
}

type SSHRepo

type SSHRepo struct {
	URL, SSHPrivateKey    string
	InsecureIgnoreHostKey bool
}

Jump to

Keyboard shortcuts

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