Upgrade to Go 1.19 (#2347)

This commit is contained in:
Johan Brandhorst-Satzkorn authored and GitHub committed 2022-08-25 12:12:24 -04:00
1 parent 07a4082aa1
commit aef9073fa6
77 files changed
+334 -294

No files matched your search

@@ -52,6 +52,7 @@ type Account struct {
// The ID of the Auth Method that is associated with this Account.
AuthMethodId string `protobuf:"bytes,90,opt,name=auth_method_id,proto3" json:"auth_method_id,omitempty" class:"public"` // @gotags: `class:"public"`
// Types that are assignable to Attrs:
//
// *Account_Attributes
// *Account_PasswordAccountAttributes
// *Account_OidcAccountAttributes
@@ -52,6 +52,7 @@ type AuthMethod struct {
// The Auth Method type.
Type string `protobuf:"bytes,90,opt,name=type,proto3" json:"type,omitempty" class:"public"` // @gotags: `class:"public"`
// Types that are assignable to Attrs:
//
// *AuthMethod_Attributes
// *AuthMethod_PasswordAuthMethodAttributes
// *AuthMethod_OidcAuthMethodsAttributes
@@ -52,6 +52,7 @@ type CredentialLibrary struct {
// The Credential Library type.
Type string `protobuf:"bytes,90,opt,name=type,proto3" json:"type,omitempty" class:"public"` // @gotags: `class:"public"`
// Types that are assignable to Attrs:
//
// *CredentialLibrary_Attributes
// *CredentialLibrary_VaultCredentialLibraryAttributes
Attrs isCredentialLibrary_Attrs `protobuf_oneof:"attrs"`
@@ -52,6 +52,7 @@ type Credential struct {
// The Credential type.
Type string `protobuf:"bytes,90,opt,name=type,proto3" json:"type,omitempty" class:"public"` // @gotags: `class:"public"`
// Types that are assignable to Attrs:
//
// *Credential_Attributes
// *Credential_UsernamePasswordAttributes
// *Credential_SshPrivateKeyAttributes
@@ -52,6 +52,7 @@ type CredentialStore struct {
// The Credential Store type.
Type string `protobuf:"bytes,90,opt,name=type,proto3" json:"type,omitempty" class:"public"` // @gotags: `class:"public"`
// Types that are assignable to Attrs:
//
// *CredentialStore_Attributes
// *CredentialStore_VaultCredentialStoreAttributes
Attrs isCredentialStore_Attrs `protobuf_oneof:"attrs"`
@@ -56,6 +56,7 @@ type HostCatalog struct {
// The type of Host Catalog.
Type string `protobuf:"bytes,90,opt,name=type,proto3" json:"type,omitempty" class:"public"` // @gotags: `class:"public"`
// Types that are assignable to Attrs:
//
// *HostCatalog_Attributes
Attrs isHostCatalog_Attrs `protobuf_oneof:"attrs"`
// Secrets specific to the catalog type. These are never output.
@@ -57,6 +57,7 @@ type Host struct {
// Output only. A list of Host Sets containing this Host.
HostSetIds []string `protobuf:"bytes,100,rep,name=host_set_ids,proto3" json:"host_set_ids,omitempty" class:"public"` // @gotags: `class:"public"`
// Types that are assignable to Attrs:
//
// *Host_Attributes
// *Host_StaticHostAttributes
Attrs isHost_Attrs `protobuf_oneof:"attrs"`
@@ -70,6 +70,7 @@ type HostSet struct {
// be valid for all plugin types.
SyncIntervalSeconds *wrapperspb.Int32Value `protobuf:"bytes,102,opt,name=sync_interval_seconds,proto3" json:"sync_interval_seconds,omitempty" class:"public"` // @gotags: `class:"public"`
// Types that are assignable to Attrs:
//
// *HostSet_Attributes
Attrs isHostSet_Attrs `protobuf_oneof:"attrs"`
// Output only. The available actions on this resource for this user.
@@ -52,6 +52,7 @@ type ManagedGroup struct {
// The ID of the Auth Method that is associated with this ManagedGroup.
AuthMethodId string `protobuf:"bytes,90,opt,name=auth_method_id,proto3" json:"auth_method_id,omitempty" class:"public"` // @gotags: `class:"public"`
// Types that are assignable to Attrs:
//
// *ManagedGroup_Attributes
// *ManagedGroup_OidcManagedGroupAttributes
Attrs isManagedGroup_Attrs `protobuf_oneof:"attrs"`
@@ -418,6 +418,7 @@ type Target struct {
// Output only. The injected application credential sources associated with this Target.
InjectedApplicationCredentialSources []*CredentialSource `protobuf:"bytes,530,rep,name=injected_application_credential_sources,proto3" json:"injected_application_credential_sources,omitempty"`
// Types that are assignable to Attrs:
//
// *Target_Attributes
// *Target_TcpTargetAttributes
// *Target_SshTargetAttributes