Update format of secret to return both raw and decoded when possible (#1372)
This commit is contained in:
1 parent
77bafcab71
commit
7c3d5be4f6
15 files changed
+409
-327
No files matched your search
@@ -560,15 +560,19 @@ var inputStructs = []*structInfo{
|
||||
outFile: "targets/credential_library.gen.go",
|
||||
},
|
||||
{
|
||||
inProto: &targets.SessionCredential{},
|
||||
outFile: "targets/session_credential.gen.go",
|
||||
inProto: &targets.SessionSecret{},
|
||||
outFile: "targets/session_secret.gen.go",
|
||||
fieldOverrides: []fieldInfo{
|
||||
{
|
||||
Name: "Secret",
|
||||
Name: "Raw",
|
||||
FieldType: "json.RawMessage",
|
||||
},
|
||||
},
|
||||
},
|
||||
{
|
||||
inProto: &targets.SessionCredential{},
|
||||
outFile: "targets/session_credential.gen.go",
|
||||
},
|
||||
{
|
||||
inProto: &targets.SessionAuthorization{},
|
||||
outFile: "targets/session_authorization.gen.go",
|
||||
|
||||
Reference in new issue
Block a user