Upgrade to Go 1.19 (#2347)
This commit is contained in:
1 parent
07a4082aa1
commit
aef9073fa6
77 files changed
+334
-294
No files matched your search
@@ -599,6 +599,7 @@ type ChangeStateRequest struct {
|
||||
// The mutation will fail if the version does not match the latest known good version.
|
||||
Version uint32 `protobuf:"varint,2,opt,name=version,proto3" json:"version,omitempty" class:"public"` // @gotags: `class:"public"`
|
||||
// Types that are assignable to Attrs:
|
||||
//
|
||||
// *ChangeStateRequest_Attributes
|
||||
// *ChangeStateRequest_OidcChangeStateAttributes
|
||||
Attrs isChangeStateRequest_Attrs `protobuf_oneof:"attrs"`
|
||||
@@ -867,6 +868,7 @@ type AuthenticateRequest struct {
|
||||
// to keep it safe from rogue JS in the browser.
|
||||
Type string `protobuf:"bytes,6,opt,name=type,proto3" json:"type,omitempty" class:"public"` // @gotags: `class:"public"`
|
||||
// Types that are assignable to Attrs:
|
||||
//
|
||||
// *AuthenticateRequest_Attributes
|
||||
// *AuthenticateRequest_PasswordLoginAttributes
|
||||
// *AuthenticateRequest_OidcStartAttributes
|
||||
@@ -1025,6 +1027,7 @@ type AuthenticateResponse struct {
|
||||
// The type of the token returned. Either "cookie" or "token".
|
||||
Type string `protobuf:"bytes,3,opt,name=type,proto3" json:"type,omitempty" class:"public"` // @gotags: `class:"public"`
|
||||
// Types that are assignable to Attrs:
|
||||
//
|
||||
// *AuthenticateResponse_Attributes
|
||||
// *AuthenticateResponse_OidcAuthMethodAuthenticateStartResponse
|
||||
// *AuthenticateResponse_OidcAuthMethodAuthenticateCallbackResponse
|
||||
|
||||
@@ -26,6 +26,7 @@ type Credential struct {
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
// Types that are assignable to Credential:
|
||||
//
|
||||
// *Credential_UsernamePassword
|
||||
// *Credential_SshPrivateKey
|
||||
Credential isCredential_Credential `protobuf_oneof:"credential"`
|
||||
|
||||
@@ -396,6 +396,7 @@ type Job struct {
|
||||
|
||||
Type JOBTYPE `protobuf:"varint,1,opt,name=type,proto3,enum=controller.servers.services.v1.JOBTYPE" json:"type,omitempty"`
|
||||
// Types that are assignable to JobInfo:
|
||||
//
|
||||
// *Job_SessionInfo
|
||||
JobInfo isJob_JobInfo `protobuf_oneof:"job_info"`
|
||||
}
|
||||
|
||||
@@ -37,6 +37,7 @@ type Err struct {
|
||||
// wrapped represents an optionally wrapped error
|
||||
//
|
||||
// Types that are assignable to Wrapped:
|
||||
//
|
||||
// *Err_Err
|
||||
// *Err_StdError
|
||||
// *Err_None
|
||||
|
||||
@@ -34,6 +34,7 @@ type TestResource struct {
|
||||
Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"`
|
||||
OtherId string `protobuf:"bytes,3,opt,name=other_id,json=otherId,proto3" json:"other_id,omitempty"`
|
||||
// Types that are assignable to Attrs:
|
||||
//
|
||||
// *TestResource_Attributes
|
||||
// *TestResource_SubResourceAttributes
|
||||
Attrs isTestResource_Attrs `protobuf_oneof:"attrs"`
|
||||
@@ -302,6 +303,7 @@ type TestCustomTransformation struct {
|
||||
SomeRandomId string `protobuf:"bytes,1,opt,name=some_random_id,json=someRandomId,proto3" json:"some_random_id,omitempty"`
|
||||
SecondaryId string `protobuf:"bytes,2,opt,name=secondary_id,json=secondaryId,proto3" json:"secondary_id,omitempty"`
|
||||
// Types that are assignable to Attrs:
|
||||
//
|
||||
// *TestCustomTransformation_Attributes
|
||||
// *TestCustomTransformation_SubResourceAttributes
|
||||
Attrs isTestCustomTransformation_Attrs `protobuf_oneof:"attrs"`
|
||||
@@ -968,6 +970,7 @@ type TestNoItemAttributes struct {
|
||||
|
||||
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
|
||||
// Types that are assignable to Attrs:
|
||||
//
|
||||
// *TestNoItemAttributes_Attributes
|
||||
// *TestNoItemAttributes_SubResourceAttributes
|
||||
Attrs isTestNoItemAttributes_Attrs `protobuf_oneof:"attrs"`
|
||||
|
||||
Reference in new issue
Block a user