Add alias resolution to target service (#4277)
* Add aliases to target resource and alias resolution to target service * Wire up the target alias domain package to the target service handler * Adding alias resolution to target api tests
This commit is contained in:
1 parent
92181e272a
commit
3f3b624b54
12 files changed
+1359
-631
No files matched your search
@@ -0,0 +1,10 @@
|
||||
// Code generated by "make api"; DO NOT EDIT.
|
||||
// Copyright (c) HashiCorp, Inc.
|
||||
// SPDX-License-Identifier: MPL-2.0
|
||||
|
||||
package targets
|
||||
|
||||
type Alias struct {
|
||||
Id string `json:"id,omitempty"`
|
||||
Value string `json:"value,omitempty"`
|
||||
}
|
||||
@@ -41,6 +41,7 @@ type Target struct {
|
||||
Attributes map[string]interface{} `json:"attributes,omitempty"`
|
||||
AuthorizedActions []string `json:"authorized_actions,omitempty"`
|
||||
Address string `json:"address,omitempty"`
|
||||
Aliases []*Alias `json:"aliases,omitempty"`
|
||||
|
||||
response *api.Response
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user