Commit 68efbc4a authored by Lukas Burgey's avatar Lukas Burgey
Browse files

Move UserCredentialStates into the Output

parent 7186b1a9
...@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment