Merge branch 'main' into plugin-hostcatalogs
This commit is contained in:
commit
80d41b9044
79 files changed
+3965
-927
No files matched your search
@@ -159,6 +159,18 @@ func DefaultDescription() Option {
|
||||
}
|
||||
}
|
||||
|
||||
func WithEgressCredentialSourceIds(inEgressCredentialSourceIds []string) Option {
|
||||
return func(o *options) {
|
||||
o.postMap["egress_credential_source_ids"] = inEgressCredentialSourceIds
|
||||
}
|
||||
}
|
||||
|
||||
func DefaultEgressCredentialSourceIds() Option {
|
||||
return func(o *options) {
|
||||
o.postMap["egress_credential_source_ids"] = nil
|
||||
}
|
||||
}
|
||||
|
||||
func WithHostId(inHostId string) Option {
|
||||
return func(o *options) {
|
||||
o.postMap["host_id"] = inHostId
|
||||
|
||||
@@ -33,6 +33,8 @@ type Target struct {
|
||||
ApplicationCredentialLibraries []*CredentialLibrary `json:"application_credential_libraries,omitempty"`
|
||||
ApplicationCredentialSourceIds []string `json:"application_credential_source_ids,omitempty"`
|
||||
ApplicationCredentialSources []*CredentialSource `json:"application_credential_sources,omitempty"`
|
||||
EgressCredentialSourceIds []string `json:"egress_credential_source_ids,omitempty"`
|
||||
EgressCredentialSources []*CredentialSource `json:"egress_credential_sources,omitempty"`
|
||||
Attributes map[string]interface{} `json:"attributes,omitempty"`
|
||||
AuthorizedActions []string `json:"authorized_actions,omitempty"`
|
||||
|
||||
|
||||
Reference in new issue
Block a user