Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
feudal
feudalScripts
Commits
68efbc4a
Commit
68efbc4a
authored
Nov 07, 2018
by
Lukas Burgey
Browse files
Move UserCredentialStates into the Output
parent
7186b1a9
Changes
1
Show whitespace changes
Inline
Side-by-side
scripts.go
View file @
68efbc4a
...
@@ -19,6 +19,10 @@ type (
...
@@ -19,6 +19,10 @@ type (
Value
string
`json:"value"`
Value
string
`json:"value"`
}
}
// UserCredentialStates serves to inform the backend about the per credential states
// after the script run
UserCredentialStates
map
[
string
]
map
[
string
]
State
// Group a group of which User is a member of
// Group a group of which User is a member of
Group
struct
{
Group
struct
{
Name
string
`json:"name"`
Name
string
`json:"name"`
...
@@ -76,6 +80,10 @@ type (
...
@@ -76,6 +80,10 @@ type (
// Ignored when State is not Deployed
// Ignored when State is not Deployed
// Maps a credential name to a credential value
// Maps a credential name to a credential value
Credentials
map
[
string
]
string
`json:"credentials"`
Credentials
map
[
string
]
string
`json:"credentials"`
// UserCredentialStates states of the credentials provided by the user (not by the script!)
// This field is not mandatory! Currently it is overwritten by the client
UserCredentialStates
UserCredentialStates
`json:"user_credential_states"`
}
}
// State is a string enum
// State is a string enum
...
...
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