Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
F
feudalScripts
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
feudal
feudalScripts
Commits
204b1223
Commit
204b1223
authored
Aug 15, 2018
by
Lukas Burgey
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add credential
parent
53b1ad1b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
0 deletions
+11
-0
scripts.go
scripts.go
+11
-0
No files found.
scripts.go
View file @
204b1223
...
...
@@ -12,6 +12,13 @@ type (
Key
string
`json:"key"`
}
// Credential is currently a ssh key, but may be a password hash in the future
Credential
struct
{
Type
string
`json:"type,omitempty"`
Name
string
`json:"name"`
Value
string
`json:"value"`
}
// Group a group of which User is a member of
Group
struct
{
Name
string
`json:"name"`
...
...
@@ -41,6 +48,10 @@ type (
// Key contains the ssh key of this deployment task
Key
SSHKey
`json:"key"`
// Credentials the credentials to deploy
// maps the credential type to the according credentials
Credentials
map
[
string
][]
Credential
`json:"credentials"`
// Questionnaire is an answered questionnaire
// Maps a question name to the answer of the user
// The keys (question names) *must* be identical to those of the Output.Questionnaire
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment