Add handler and API support for alias creation with target (#4508)
* Add handler and API support for alias creation with target
This commit is contained in:
15 files changed
+1116
-484
No files matched your search
@@ -1010,6 +1010,14 @@ var inputStructs = []*structInfo{
|
||||
inProto: &targets.Alias{},
|
||||
outFile: "targets/alias.gen.go",
|
||||
},
|
||||
{
|
||||
inProto: &targets.TargetAliasAttributes{},
|
||||
outFile: "targets/target_alias_attributes.gen.go",
|
||||
},
|
||||
{
|
||||
inProto: &targets.AuthorizeSessionArguments{},
|
||||
outFile: "targets/authorize_session_arguments.gen.go",
|
||||
},
|
||||
{
|
||||
inProto: &targets.SessionSecret{},
|
||||
outFile: "targets/session_secret.gen.go",
|
||||
@@ -1130,6 +1138,13 @@ var inputStructs = []*structInfo{
|
||||
ProtoName: "injected_application_credential_source_ids",
|
||||
FieldType: "[]string",
|
||||
},
|
||||
// with_aliases is used when creating a target with alaises.
|
||||
{
|
||||
Name: "Aliases",
|
||||
ProtoName: "with_aliases",
|
||||
FieldType: "[]Alias",
|
||||
SkipDefault: true,
|
||||
},
|
||||
},
|
||||
versionEnabled: true,
|
||||
createResponseTypes: []string{CreateResponseType, ReadResponseType, UpdateResponseType, DeleteResponseType, ListResponseType},
|
||||
|
||||
Reference in new issue
Block a user