Documentation ¶
Overview ¶
Package v1 is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Variables
- func RegisterIamServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterIamServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client IamServiceClient) error
- func RegisterIamServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterIamServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server IamServiceServer) error
- func RegisterIamServiceServer(s grpc.ServiceRegistrar, srv IamServiceServer)
- type CanDoRequest
- func (*CanDoRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CanDoRequest) GetAction() string
- func (x *CanDoRequest) GetResource() string
- func (*CanDoRequest) ProtoMessage()
- func (x *CanDoRequest) ProtoReflect() protoreflect.Message
- func (x *CanDoRequest) Reset()
- func (x *CanDoRequest) String() string
- type CanDoRequest_Action
- func (CanDoRequest_Action) Descriptor() protoreflect.EnumDescriptor
- func (x CanDoRequest_Action) Enum() *CanDoRequest_Action
- func (CanDoRequest_Action) EnumDescriptor() ([]byte, []int)deprecated
- func (x CanDoRequest_Action) Number() protoreflect.EnumNumber
- func (x CanDoRequest_Action) String() string
- func (CanDoRequest_Action) Type() protoreflect.EnumType
- type CanDoResponse
- type CreateBindingRequest
- type CreateBindingResponse
- type CreatePolicyRequest
- type CreatePolicyResponse
- type CreateRoleRequest
- type CreateRoleResponse
- type CreateTenantRequest
- type CreateTenantResponse
- type CreateUserRequest
- func (*CreateUserRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateUserRequest) GetEmail() *wrapperspb.StringValue
- func (x *CreateUserRequest) GetPassword() string
- func (x *CreateUserRequest) GetPhone() *wrapperspb.StringValue
- func (x *CreateUserRequest) GetUsername() string
- func (*CreateUserRequest) ProtoMessage()
- func (x *CreateUserRequest) ProtoReflect() protoreflect.Message
- func (x *CreateUserRequest) Reset()
- func (x *CreateUserRequest) String() string
- type CreateUserResponse
- func (*CreateUserResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateUserResponse) GetFailReason() *wrapperspb.StringValue
- func (x *CreateUserResponse) GetResult() common.OperationResult
- func (x *CreateUserResponse) GetUserId() *wrapperspb.StringValue
- func (*CreateUserResponse) ProtoMessage()
- func (x *CreateUserResponse) ProtoReflect() protoreflect.Message
- func (x *CreateUserResponse) Reset()
- func (x *CreateUserResponse) String() string
- type DeleteBindingRequest
- type DeleteBindingResponse
- type DeletePolicyRequest
- type DeletePolicyResponse
- type DeleteRoleRequest
- type DeleteRoleResponse
- type DeleteTenantRequest
- type DeleteTenantResponse
- type DeleteUserRequest
- type DeleteUserResponse
- type GetBindingRequest
- type GetBindingResponse
- type GetRoleRequest
- type GetRoleResponse
- type GetTenantRequest
- type GetTenantResponse
- type GetUserRequest
- type GetUserResponse
- type IamServiceClient
- type IamServiceServer
- type RefreshTokenRequest
- type RefreshTokenResponse
- type TokenRequest
- func (*TokenRequest) Descriptor() ([]byte, []int)deprecated
- func (x *TokenRequest) GetPassword() string
- func (x *TokenRequest) GetUsername() string
- func (*TokenRequest) ProtoMessage()
- func (x *TokenRequest) ProtoReflect() protoreflect.Message
- func (x *TokenRequest) Reset()
- func (x *TokenRequest) String() string
- type TokenResponse
- type UnimplementedIamServiceServer
- func (UnimplementedIamServiceServer) CanDo(context.Context, *CanDoRequest) (*CanDoResponse, error)
- func (UnimplementedIamServiceServer) CreateBinding(context.Context, *CreateBindingRequest) (*CreateBindingResponse, error)
- func (UnimplementedIamServiceServer) CreatePolicy(context.Context, *CreatePolicyRequest) (*CreatePolicyResponse, error)
- func (UnimplementedIamServiceServer) CreateRole(context.Context, *CreateRoleRequest) (*CreateRoleResponse, error)
- func (UnimplementedIamServiceServer) CreateTenant(context.Context, *CreateTenantRequest) (*CreateTenantResponse, error)
- func (UnimplementedIamServiceServer) CreateUser(context.Context, *CreateUserRequest) (*CreateUserResponse, error)
- func (UnimplementedIamServiceServer) Token(context.Context, *TokenRequest) (*TokenResponse, error)
- type UnsafeIamServiceServer
- type UpdateBindingRequest
- type UpdateBindingResponse
- type UpdateRoleRequest
- type UpdateRoleResponse
- type UpdateTenantRequest
- type UpdateTenantResponse
- type UpdateUserRequest
- type UpdateUserResponse
Constants ¶
This section is empty.
Variables ¶
var ( CanDoRequest_Action_name = map[int32]string{ 0: "CREATE", 1: "UPDATE", 2: "DELETE", 3: "READ", } CanDoRequest_Action_value = map[string]int32{ "CREATE": 0, "UPDATE": 1, "DELETE": 2, "READ": 3, } )
Enum value maps for CanDoRequest_Action.
var File_iam_v1_iam_proto protoreflect.FileDescriptor
var File_iam_v1_message_proto protoreflect.FileDescriptor
var IamService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "iam.v1.IamService", HandlerType: (*IamServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Token", Handler: _IamService_Token_Handler, }, { MethodName: "CreateUser", Handler: _IamService_CreateUser_Handler, }, { MethodName: "CreateRole", Handler: _IamService_CreateRole_Handler, }, { MethodName: "CreateTenant", Handler: _IamService_CreateTenant_Handler, }, { MethodName: "CreateBinding", Handler: _IamService_CreateBinding_Handler, }, { MethodName: "CreatePolicy", Handler: _IamService_CreatePolicy_Handler, }, { MethodName: "CanDo", Handler: _IamService_CanDo_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "iam/v1/iam.proto", }
IamService_ServiceDesc is the grpc.ServiceDesc for IamService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterIamServiceHandler ¶
func RegisterIamServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
RegisterIamServiceHandler registers the http handlers for service IamService to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterIamServiceHandlerClient ¶
func RegisterIamServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client IamServiceClient) error
RegisterIamServiceHandlerClient registers the http handlers for service IamService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "IamServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "IamServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "IamServiceClient" to call the correct interceptors.
func RegisterIamServiceHandlerFromEndpoint ¶
func RegisterIamServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterIamServiceHandlerFromEndpoint is same as RegisterIamServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterIamServiceHandlerServer ¶
func RegisterIamServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server IamServiceServer) error
RegisterIamServiceHandlerServer registers the http handlers for service IamService to "mux". UnaryRPC :call IamServiceServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterIamServiceHandlerFromEndpoint instead.
func RegisterIamServiceServer ¶
func RegisterIamServiceServer(s grpc.ServiceRegistrar, srv IamServiceServer)
Types ¶
type CanDoRequest ¶
type CanDoRequest struct { Resource string `protobuf:"bytes,1,opt,name=resource,proto3" json:"resource,omitempty"` Action string `protobuf:"bytes,2,opt,name=action,proto3" json:"action,omitempty"` // contains filtered or unexported fields }
==================================================================== CanDo
func (*CanDoRequest) Descriptor
deprecated
func (*CanDoRequest) Descriptor() ([]byte, []int)
Deprecated: Use CanDoRequest.ProtoReflect.Descriptor instead.
func (*CanDoRequest) GetAction ¶
func (x *CanDoRequest) GetAction() string
func (*CanDoRequest) GetResource ¶
func (x *CanDoRequest) GetResource() string
func (*CanDoRequest) ProtoMessage ¶
func (*CanDoRequest) ProtoMessage()
func (*CanDoRequest) ProtoReflect ¶
func (x *CanDoRequest) ProtoReflect() protoreflect.Message
func (*CanDoRequest) Reset ¶
func (x *CanDoRequest) Reset()
func (*CanDoRequest) String ¶
func (x *CanDoRequest) String() string
type CanDoRequest_Action ¶
type CanDoRequest_Action int32
const ( CanDoRequest_CREATE CanDoRequest_Action = 0 CanDoRequest_UPDATE CanDoRequest_Action = 1 CanDoRequest_DELETE CanDoRequest_Action = 2 CanDoRequest_READ CanDoRequest_Action = 3 )
func (CanDoRequest_Action) Descriptor ¶
func (CanDoRequest_Action) Descriptor() protoreflect.EnumDescriptor
func (CanDoRequest_Action) Enum ¶
func (x CanDoRequest_Action) Enum() *CanDoRequest_Action
func (CanDoRequest_Action) EnumDescriptor
deprecated
func (CanDoRequest_Action) EnumDescriptor() ([]byte, []int)
Deprecated: Use CanDoRequest_Action.Descriptor instead.
func (CanDoRequest_Action) Number ¶
func (x CanDoRequest_Action) Number() protoreflect.EnumNumber
func (CanDoRequest_Action) String ¶
func (x CanDoRequest_Action) String() string
func (CanDoRequest_Action) Type ¶
func (CanDoRequest_Action) Type() protoreflect.EnumType
type CanDoResponse ¶
type CanDoResponse struct { Allowed bool `protobuf:"varint,1,opt,name=allowed,proto3" json:"allowed,omitempty"` // contains filtered or unexported fields }
func (*CanDoResponse) Descriptor
deprecated
func (*CanDoResponse) Descriptor() ([]byte, []int)
Deprecated: Use CanDoResponse.ProtoReflect.Descriptor instead.
func (*CanDoResponse) GetAllowed ¶
func (x *CanDoResponse) GetAllowed() bool
func (*CanDoResponse) ProtoMessage ¶
func (*CanDoResponse) ProtoMessage()
func (*CanDoResponse) ProtoReflect ¶
func (x *CanDoResponse) ProtoReflect() protoreflect.Message
func (*CanDoResponse) Reset ¶
func (x *CanDoResponse) Reset()
func (*CanDoResponse) String ¶
func (x *CanDoResponse) String() string
type CreateBindingRequest ¶
type CreateBindingRequest struct {
// contains filtered or unexported fields
}
==================================================================== Binding Manage
func (*CreateBindingRequest) Descriptor
deprecated
func (*CreateBindingRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateBindingRequest.ProtoReflect.Descriptor instead.
func (*CreateBindingRequest) ProtoMessage ¶
func (*CreateBindingRequest) ProtoMessage()
func (*CreateBindingRequest) ProtoReflect ¶
func (x *CreateBindingRequest) ProtoReflect() protoreflect.Message
func (*CreateBindingRequest) Reset ¶
func (x *CreateBindingRequest) Reset()
func (*CreateBindingRequest) String ¶
func (x *CreateBindingRequest) String() string
type CreateBindingResponse ¶
type CreateBindingResponse struct {
// contains filtered or unexported fields
}
func (*CreateBindingResponse) Descriptor
deprecated
func (*CreateBindingResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateBindingResponse.ProtoReflect.Descriptor instead.
func (*CreateBindingResponse) ProtoMessage ¶
func (*CreateBindingResponse) ProtoMessage()
func (*CreateBindingResponse) ProtoReflect ¶
func (x *CreateBindingResponse) ProtoReflect() protoreflect.Message
func (*CreateBindingResponse) Reset ¶
func (x *CreateBindingResponse) Reset()
func (*CreateBindingResponse) String ¶
func (x *CreateBindingResponse) String() string
type CreatePolicyRequest ¶
type CreatePolicyRequest struct {
// contains filtered or unexported fields
}
==================================================================== Policy Manage
func (*CreatePolicyRequest) Descriptor
deprecated
func (*CreatePolicyRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreatePolicyRequest.ProtoReflect.Descriptor instead.
func (*CreatePolicyRequest) ProtoMessage ¶
func (*CreatePolicyRequest) ProtoMessage()
func (*CreatePolicyRequest) ProtoReflect ¶
func (x *CreatePolicyRequest) ProtoReflect() protoreflect.Message
func (*CreatePolicyRequest) Reset ¶
func (x *CreatePolicyRequest) Reset()
func (*CreatePolicyRequest) String ¶
func (x *CreatePolicyRequest) String() string
type CreatePolicyResponse ¶
type CreatePolicyResponse struct {
// contains filtered or unexported fields
}
func (*CreatePolicyResponse) Descriptor
deprecated
func (*CreatePolicyResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreatePolicyResponse.ProtoReflect.Descriptor instead.
func (*CreatePolicyResponse) ProtoMessage ¶
func (*CreatePolicyResponse) ProtoMessage()
func (*CreatePolicyResponse) ProtoReflect ¶
func (x *CreatePolicyResponse) ProtoReflect() protoreflect.Message
func (*CreatePolicyResponse) Reset ¶
func (x *CreatePolicyResponse) Reset()
func (*CreatePolicyResponse) String ¶
func (x *CreatePolicyResponse) String() string
type CreateRoleRequest ¶
type CreateRoleRequest struct {
// contains filtered or unexported fields
}
==================================================================== Role Manage
func (*CreateRoleRequest) Descriptor
deprecated
func (*CreateRoleRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateRoleRequest.ProtoReflect.Descriptor instead.
func (*CreateRoleRequest) ProtoMessage ¶
func (*CreateRoleRequest) ProtoMessage()
func (*CreateRoleRequest) ProtoReflect ¶
func (x *CreateRoleRequest) ProtoReflect() protoreflect.Message
func (*CreateRoleRequest) Reset ¶
func (x *CreateRoleRequest) Reset()
func (*CreateRoleRequest) String ¶
func (x *CreateRoleRequest) String() string
type CreateRoleResponse ¶
type CreateRoleResponse struct {
// contains filtered or unexported fields
}
func (*CreateRoleResponse) Descriptor
deprecated
func (*CreateRoleResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateRoleResponse.ProtoReflect.Descriptor instead.
func (*CreateRoleResponse) ProtoMessage ¶
func (*CreateRoleResponse) ProtoMessage()
func (*CreateRoleResponse) ProtoReflect ¶
func (x *CreateRoleResponse) ProtoReflect() protoreflect.Message
func (*CreateRoleResponse) Reset ¶
func (x *CreateRoleResponse) Reset()
func (*CreateRoleResponse) String ¶
func (x *CreateRoleResponse) String() string
type CreateTenantRequest ¶
type CreateTenantRequest struct {
// contains filtered or unexported fields
}
==================================================================== Tenant Manage
func (*CreateTenantRequest) Descriptor
deprecated
func (*CreateTenantRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateTenantRequest.ProtoReflect.Descriptor instead.
func (*CreateTenantRequest) ProtoMessage ¶
func (*CreateTenantRequest) ProtoMessage()
func (*CreateTenantRequest) ProtoReflect ¶
func (x *CreateTenantRequest) ProtoReflect() protoreflect.Message
func (*CreateTenantRequest) Reset ¶
func (x *CreateTenantRequest) Reset()
func (*CreateTenantRequest) String ¶
func (x *CreateTenantRequest) String() string
type CreateTenantResponse ¶
type CreateTenantResponse struct {
// contains filtered or unexported fields
}
func (*CreateTenantResponse) Descriptor
deprecated
func (*CreateTenantResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateTenantResponse.ProtoReflect.Descriptor instead.
func (*CreateTenantResponse) ProtoMessage ¶
func (*CreateTenantResponse) ProtoMessage()
func (*CreateTenantResponse) ProtoReflect ¶
func (x *CreateTenantResponse) ProtoReflect() protoreflect.Message
func (*CreateTenantResponse) Reset ¶
func (x *CreateTenantResponse) Reset()
func (*CreateTenantResponse) String ¶
func (x *CreateTenantResponse) String() string
type CreateUserRequest ¶
type CreateUserRequest struct { // 用户名 Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"` // 密码 Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"` // 手机号码,要求符合11位数字格式 Phone *wrapperspb.StringValue `protobuf:"bytes,3,opt,name=phone,proto3" json:"phone,omitempty"` // 电子邮箱,要求符合通用电子邮箱格式 Email *wrapperspb.StringValue `protobuf:"bytes,4,opt,name=email,proto3" json:"email,omitempty"` // contains filtered or unexported fields }
User Manage
func (*CreateUserRequest) Descriptor
deprecated
func (*CreateUserRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateUserRequest.ProtoReflect.Descriptor instead.
func (*CreateUserRequest) GetEmail ¶
func (x *CreateUserRequest) GetEmail() *wrapperspb.StringValue
func (*CreateUserRequest) GetPassword ¶
func (x *CreateUserRequest) GetPassword() string
func (*CreateUserRequest) GetPhone ¶
func (x *CreateUserRequest) GetPhone() *wrapperspb.StringValue
func (*CreateUserRequest) GetUsername ¶
func (x *CreateUserRequest) GetUsername() string
func (*CreateUserRequest) ProtoMessage ¶
func (*CreateUserRequest) ProtoMessage()
func (*CreateUserRequest) ProtoReflect ¶
func (x *CreateUserRequest) ProtoReflect() protoreflect.Message
func (*CreateUserRequest) Reset ¶
func (x *CreateUserRequest) Reset()
func (*CreateUserRequest) String ¶
func (x *CreateUserRequest) String() string
type CreateUserResponse ¶
type CreateUserResponse struct { // 用户id UserId *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` // 创建结果 Result common.OperationResult `protobuf:"varint,2,opt,name=result,proto3,enum=common.OperationResult" json:"result,omitempty"` // 失败原因(结果为FAIL时不为空) FailReason *wrapperspb.StringValue `protobuf:"bytes,3,opt,name=fail_reason,json=failReason,proto3" json:"fail_reason,omitempty"` // contains filtered or unexported fields }
func (*CreateUserResponse) Descriptor
deprecated
func (*CreateUserResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateUserResponse.ProtoReflect.Descriptor instead.
func (*CreateUserResponse) GetFailReason ¶
func (x *CreateUserResponse) GetFailReason() *wrapperspb.StringValue
func (*CreateUserResponse) GetResult ¶
func (x *CreateUserResponse) GetResult() common.OperationResult
func (*CreateUserResponse) GetUserId ¶
func (x *CreateUserResponse) GetUserId() *wrapperspb.StringValue
func (*CreateUserResponse) ProtoMessage ¶
func (*CreateUserResponse) ProtoMessage()
func (*CreateUserResponse) ProtoReflect ¶
func (x *CreateUserResponse) ProtoReflect() protoreflect.Message
func (*CreateUserResponse) Reset ¶
func (x *CreateUserResponse) Reset()
func (*CreateUserResponse) String ¶
func (x *CreateUserResponse) String() string
type DeleteBindingRequest ¶
type DeleteBindingRequest struct {
// contains filtered or unexported fields
}
func (*DeleteBindingRequest) Descriptor
deprecated
func (*DeleteBindingRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteBindingRequest.ProtoReflect.Descriptor instead.
func (*DeleteBindingRequest) ProtoMessage ¶
func (*DeleteBindingRequest) ProtoMessage()
func (*DeleteBindingRequest) ProtoReflect ¶
func (x *DeleteBindingRequest) ProtoReflect() protoreflect.Message
func (*DeleteBindingRequest) Reset ¶
func (x *DeleteBindingRequest) Reset()
func (*DeleteBindingRequest) String ¶
func (x *DeleteBindingRequest) String() string
type DeleteBindingResponse ¶
type DeleteBindingResponse struct {
// contains filtered or unexported fields
}
func (*DeleteBindingResponse) Descriptor
deprecated
func (*DeleteBindingResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteBindingResponse.ProtoReflect.Descriptor instead.
func (*DeleteBindingResponse) ProtoMessage ¶
func (*DeleteBindingResponse) ProtoMessage()
func (*DeleteBindingResponse) ProtoReflect ¶
func (x *DeleteBindingResponse) ProtoReflect() protoreflect.Message
func (*DeleteBindingResponse) Reset ¶
func (x *DeleteBindingResponse) Reset()
func (*DeleteBindingResponse) String ¶
func (x *DeleteBindingResponse) String() string
type DeletePolicyRequest ¶
type DeletePolicyRequest struct {
// contains filtered or unexported fields
}
func (*DeletePolicyRequest) Descriptor
deprecated
func (*DeletePolicyRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeletePolicyRequest.ProtoReflect.Descriptor instead.
func (*DeletePolicyRequest) ProtoMessage ¶
func (*DeletePolicyRequest) ProtoMessage()
func (*DeletePolicyRequest) ProtoReflect ¶
func (x *DeletePolicyRequest) ProtoReflect() protoreflect.Message
func (*DeletePolicyRequest) Reset ¶
func (x *DeletePolicyRequest) Reset()
func (*DeletePolicyRequest) String ¶
func (x *DeletePolicyRequest) String() string
type DeletePolicyResponse ¶
type DeletePolicyResponse struct {
// contains filtered or unexported fields
}
func (*DeletePolicyResponse) Descriptor
deprecated
func (*DeletePolicyResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeletePolicyResponse.ProtoReflect.Descriptor instead.
func (*DeletePolicyResponse) ProtoMessage ¶
func (*DeletePolicyResponse) ProtoMessage()
func (*DeletePolicyResponse) ProtoReflect ¶
func (x *DeletePolicyResponse) ProtoReflect() protoreflect.Message
func (*DeletePolicyResponse) Reset ¶
func (x *DeletePolicyResponse) Reset()
func (*DeletePolicyResponse) String ¶
func (x *DeletePolicyResponse) String() string
type DeleteRoleRequest ¶
type DeleteRoleRequest struct {
// contains filtered or unexported fields
}
func (*DeleteRoleRequest) Descriptor
deprecated
func (*DeleteRoleRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteRoleRequest.ProtoReflect.Descriptor instead.
func (*DeleteRoleRequest) ProtoMessage ¶
func (*DeleteRoleRequest) ProtoMessage()
func (*DeleteRoleRequest) ProtoReflect ¶
func (x *DeleteRoleRequest) ProtoReflect() protoreflect.Message
func (*DeleteRoleRequest) Reset ¶
func (x *DeleteRoleRequest) Reset()
func (*DeleteRoleRequest) String ¶
func (x *DeleteRoleRequest) String() string
type DeleteRoleResponse ¶
type DeleteRoleResponse struct {
// contains filtered or unexported fields
}
func (*DeleteRoleResponse) Descriptor
deprecated
func (*DeleteRoleResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteRoleResponse.ProtoReflect.Descriptor instead.
func (*DeleteRoleResponse) ProtoMessage ¶
func (*DeleteRoleResponse) ProtoMessage()
func (*DeleteRoleResponse) ProtoReflect ¶
func (x *DeleteRoleResponse) ProtoReflect() protoreflect.Message
func (*DeleteRoleResponse) Reset ¶
func (x *DeleteRoleResponse) Reset()
func (*DeleteRoleResponse) String ¶
func (x *DeleteRoleResponse) String() string
type DeleteTenantRequest ¶
type DeleteTenantRequest struct {
// contains filtered or unexported fields
}
func (*DeleteTenantRequest) Descriptor
deprecated
func (*DeleteTenantRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteTenantRequest.ProtoReflect.Descriptor instead.
func (*DeleteTenantRequest) ProtoMessage ¶
func (*DeleteTenantRequest) ProtoMessage()
func (*DeleteTenantRequest) ProtoReflect ¶
func (x *DeleteTenantRequest) ProtoReflect() protoreflect.Message
func (*DeleteTenantRequest) Reset ¶
func (x *DeleteTenantRequest) Reset()
func (*DeleteTenantRequest) String ¶
func (x *DeleteTenantRequest) String() string
type DeleteTenantResponse ¶
type DeleteTenantResponse struct {
// contains filtered or unexported fields
}
func (*DeleteTenantResponse) Descriptor
deprecated
func (*DeleteTenantResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteTenantResponse.ProtoReflect.Descriptor instead.
func (*DeleteTenantResponse) ProtoMessage ¶
func (*DeleteTenantResponse) ProtoMessage()
func (*DeleteTenantResponse) ProtoReflect ¶
func (x *DeleteTenantResponse) ProtoReflect() protoreflect.Message
func (*DeleteTenantResponse) Reset ¶
func (x *DeleteTenantResponse) Reset()
func (*DeleteTenantResponse) String ¶
func (x *DeleteTenantResponse) String() string
type DeleteUserRequest ¶
type DeleteUserRequest struct {
// contains filtered or unexported fields
}
func (*DeleteUserRequest) Descriptor
deprecated
func (*DeleteUserRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteUserRequest.ProtoReflect.Descriptor instead.
func (*DeleteUserRequest) ProtoMessage ¶
func (*DeleteUserRequest) ProtoMessage()
func (*DeleteUserRequest) ProtoReflect ¶
func (x *DeleteUserRequest) ProtoReflect() protoreflect.Message
func (*DeleteUserRequest) Reset ¶
func (x *DeleteUserRequest) Reset()
func (*DeleteUserRequest) String ¶
func (x *DeleteUserRequest) String() string
type DeleteUserResponse ¶
type DeleteUserResponse struct {
// contains filtered or unexported fields
}
func (*DeleteUserResponse) Descriptor
deprecated
func (*DeleteUserResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteUserResponse.ProtoReflect.Descriptor instead.
func (*DeleteUserResponse) ProtoMessage ¶
func (*DeleteUserResponse) ProtoMessage()
func (*DeleteUserResponse) ProtoReflect ¶
func (x *DeleteUserResponse) ProtoReflect() protoreflect.Message
func (*DeleteUserResponse) Reset ¶
func (x *DeleteUserResponse) Reset()
func (*DeleteUserResponse) String ¶
func (x *DeleteUserResponse) String() string
type GetBindingRequest ¶
type GetBindingRequest struct {
// contains filtered or unexported fields
}
func (*GetBindingRequest) Descriptor
deprecated
func (*GetBindingRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetBindingRequest.ProtoReflect.Descriptor instead.
func (*GetBindingRequest) ProtoMessage ¶
func (*GetBindingRequest) ProtoMessage()
func (*GetBindingRequest) ProtoReflect ¶
func (x *GetBindingRequest) ProtoReflect() protoreflect.Message
func (*GetBindingRequest) Reset ¶
func (x *GetBindingRequest) Reset()
func (*GetBindingRequest) String ¶
func (x *GetBindingRequest) String() string
type GetBindingResponse ¶
type GetBindingResponse struct {
// contains filtered or unexported fields
}
func (*GetBindingResponse) Descriptor
deprecated
func (*GetBindingResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetBindingResponse.ProtoReflect.Descriptor instead.
func (*GetBindingResponse) ProtoMessage ¶
func (*GetBindingResponse) ProtoMessage()
func (*GetBindingResponse) ProtoReflect ¶
func (x *GetBindingResponse) ProtoReflect() protoreflect.Message
func (*GetBindingResponse) Reset ¶
func (x *GetBindingResponse) Reset()
func (*GetBindingResponse) String ¶
func (x *GetBindingResponse) String() string
type GetRoleRequest ¶
type GetRoleRequest struct {
// contains filtered or unexported fields
}
func (*GetRoleRequest) Descriptor
deprecated
func (*GetRoleRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetRoleRequest.ProtoReflect.Descriptor instead.
func (*GetRoleRequest) ProtoMessage ¶
func (*GetRoleRequest) ProtoMessage()
func (*GetRoleRequest) ProtoReflect ¶
func (x *GetRoleRequest) ProtoReflect() protoreflect.Message
func (*GetRoleRequest) Reset ¶
func (x *GetRoleRequest) Reset()
func (*GetRoleRequest) String ¶
func (x *GetRoleRequest) String() string
type GetRoleResponse ¶
type GetRoleResponse struct {
// contains filtered or unexported fields
}
func (*GetRoleResponse) Descriptor
deprecated
func (*GetRoleResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetRoleResponse.ProtoReflect.Descriptor instead.
func (*GetRoleResponse) ProtoMessage ¶
func (*GetRoleResponse) ProtoMessage()
func (*GetRoleResponse) ProtoReflect ¶
func (x *GetRoleResponse) ProtoReflect() protoreflect.Message
func (*GetRoleResponse) Reset ¶
func (x *GetRoleResponse) Reset()
func (*GetRoleResponse) String ¶
func (x *GetRoleResponse) String() string
type GetTenantRequest ¶
type GetTenantRequest struct {
// contains filtered or unexported fields
}
func (*GetTenantRequest) Descriptor
deprecated
func (*GetTenantRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetTenantRequest.ProtoReflect.Descriptor instead.
func (*GetTenantRequest) ProtoMessage ¶
func (*GetTenantRequest) ProtoMessage()
func (*GetTenantRequest) ProtoReflect ¶
func (x *GetTenantRequest) ProtoReflect() protoreflect.Message
func (*GetTenantRequest) Reset ¶
func (x *GetTenantRequest) Reset()
func (*GetTenantRequest) String ¶
func (x *GetTenantRequest) String() string
type GetTenantResponse ¶
type GetTenantResponse struct {
// contains filtered or unexported fields
}
func (*GetTenantResponse) Descriptor
deprecated
func (*GetTenantResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetTenantResponse.ProtoReflect.Descriptor instead.
func (*GetTenantResponse) ProtoMessage ¶
func (*GetTenantResponse) ProtoMessage()
func (*GetTenantResponse) ProtoReflect ¶
func (x *GetTenantResponse) ProtoReflect() protoreflect.Message
func (*GetTenantResponse) Reset ¶
func (x *GetTenantResponse) Reset()
func (*GetTenantResponse) String ¶
func (x *GetTenantResponse) String() string
type GetUserRequest ¶
type GetUserRequest struct {
// contains filtered or unexported fields
}
func (*GetUserRequest) Descriptor
deprecated
func (*GetUserRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetUserRequest.ProtoReflect.Descriptor instead.
func (*GetUserRequest) ProtoMessage ¶
func (*GetUserRequest) ProtoMessage()
func (*GetUserRequest) ProtoReflect ¶
func (x *GetUserRequest) ProtoReflect() protoreflect.Message
func (*GetUserRequest) Reset ¶
func (x *GetUserRequest) Reset()
func (*GetUserRequest) String ¶
func (x *GetUserRequest) String() string
type GetUserResponse ¶
type GetUserResponse struct {
// contains filtered or unexported fields
}
func (*GetUserResponse) Descriptor
deprecated
func (*GetUserResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetUserResponse.ProtoReflect.Descriptor instead.
func (*GetUserResponse) ProtoMessage ¶
func (*GetUserResponse) ProtoMessage()
func (*GetUserResponse) ProtoReflect ¶
func (x *GetUserResponse) ProtoReflect() protoreflect.Message
func (*GetUserResponse) Reset ¶
func (x *GetUserResponse) Reset()
func (*GetUserResponse) String ¶
func (x *GetUserResponse) String() string
type IamServiceClient ¶
type IamServiceClient interface { // Token Token(ctx context.Context, in *TokenRequest, opts ...grpc.CallOption) (*TokenResponse, error) // rpc RefreshToken(RefreshTokenRequest) returns (RefreshTokenResponse) {}; // ==================================================================== // User Manage CreateUser(ctx context.Context, in *CreateUserRequest, opts ...grpc.CallOption) (*CreateUserResponse, error) // rpc UpdateUser(UpdateUserRequest) returns (UpdateUserResponse) {}; // rpc DeleteUser(DeleteUserRequest) returns (DeleteUserResponse) {}; // rpc GetUser(GetUserRequest) returns (GetUserResponse) {}; // ==================================================================== // Role Manage CreateRole(ctx context.Context, in *CreateRoleRequest, opts ...grpc.CallOption) (*CreateRoleResponse, error) // rpc UpdateRole(UpdateRoleRequest) returns (UpdateRoleResponse) {}; // rpc DeleteRole(DeleteRoleRequest) returns (DeleteRoleResponse) {}; // rpc GetRole(GetRoleRequest) returns (GetRoleResponse) {}; // ==================================================================== // Tenant Manage CreateTenant(ctx context.Context, in *CreateTenantRequest, opts ...grpc.CallOption) (*CreateTenantResponse, error) // rpc UpdateTenant(UpdateTenantRequest) returns (UpdateTenantResponse) {}; // rpc DeleteTenant(DeleteTenantRequest) returns (DeleteTenantResponse) {}; // rpc GetTenant(GetTenantRequest) returns (GetTenantResponse) {}; // ==================================================================== // Bind Manage CreateBinding(ctx context.Context, in *CreateBindingRequest, opts ...grpc.CallOption) (*CreateBindingResponse, error) // rpc UpdateBinding(UpdateBindingRequest) returns (UpdateBindingResponse) {}; // rpc DeleteBinding(DeleteBindingRequest) returns (DeleteBindingResponse) {}; // rpc GetBinding(GetBindingRequest) returns (GetBindingResponse) {}; // ==================================================================== // Policy Manage CreatePolicy(ctx context.Context, in *CreatePolicyRequest, opts ...grpc.CallOption) (*CreatePolicyResponse, error) // rpc DeletePolicy(DeletePolicyRequest) returns (DeletePolicyResponse) {}; // ==================================================================== // CanDo CanDo(ctx context.Context, in *CanDoRequest, opts ...grpc.CallOption) (*CanDoResponse, error) }
IamServiceClient is the client API for IamService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewIamServiceClient ¶
func NewIamServiceClient(cc grpc.ClientConnInterface) IamServiceClient
type IamServiceServer ¶
type IamServiceServer interface { // Token Token(context.Context, *TokenRequest) (*TokenResponse, error) // rpc RefreshToken(RefreshTokenRequest) returns (RefreshTokenResponse) {}; // ==================================================================== // User Manage CreateUser(context.Context, *CreateUserRequest) (*CreateUserResponse, error) // rpc UpdateUser(UpdateUserRequest) returns (UpdateUserResponse) {}; // rpc DeleteUser(DeleteUserRequest) returns (DeleteUserResponse) {}; // rpc GetUser(GetUserRequest) returns (GetUserResponse) {}; // ==================================================================== // Role Manage CreateRole(context.Context, *CreateRoleRequest) (*CreateRoleResponse, error) // rpc UpdateRole(UpdateRoleRequest) returns (UpdateRoleResponse) {}; // rpc DeleteRole(DeleteRoleRequest) returns (DeleteRoleResponse) {}; // rpc GetRole(GetRoleRequest) returns (GetRoleResponse) {}; // ==================================================================== // Tenant Manage CreateTenant(context.Context, *CreateTenantRequest) (*CreateTenantResponse, error) // rpc UpdateTenant(UpdateTenantRequest) returns (UpdateTenantResponse) {}; // rpc DeleteTenant(DeleteTenantRequest) returns (DeleteTenantResponse) {}; // rpc GetTenant(GetTenantRequest) returns (GetTenantResponse) {}; // ==================================================================== // Bind Manage CreateBinding(context.Context, *CreateBindingRequest) (*CreateBindingResponse, error) // rpc UpdateBinding(UpdateBindingRequest) returns (UpdateBindingResponse) {}; // rpc DeleteBinding(DeleteBindingRequest) returns (DeleteBindingResponse) {}; // rpc GetBinding(GetBindingRequest) returns (GetBindingResponse) {}; // ==================================================================== // Policy Manage CreatePolicy(context.Context, *CreatePolicyRequest) (*CreatePolicyResponse, error) // rpc DeletePolicy(DeletePolicyRequest) returns (DeletePolicyResponse) {}; // ==================================================================== // CanDo CanDo(context.Context, *CanDoRequest) (*CanDoResponse, error) // contains filtered or unexported methods }
IamServiceServer is the server API for IamService service. All implementations must embed UnimplementedIamServiceServer for forward compatibility
type RefreshTokenRequest ¶
type RefreshTokenRequest struct {
// contains filtered or unexported fields
}
func (*RefreshTokenRequest) Descriptor
deprecated
func (*RefreshTokenRequest) Descriptor() ([]byte, []int)
Deprecated: Use RefreshTokenRequest.ProtoReflect.Descriptor instead.
func (*RefreshTokenRequest) ProtoMessage ¶
func (*RefreshTokenRequest) ProtoMessage()
func (*RefreshTokenRequest) ProtoReflect ¶
func (x *RefreshTokenRequest) ProtoReflect() protoreflect.Message
func (*RefreshTokenRequest) Reset ¶
func (x *RefreshTokenRequest) Reset()
func (*RefreshTokenRequest) String ¶
func (x *RefreshTokenRequest) String() string
type RefreshTokenResponse ¶
type RefreshTokenResponse struct {
// contains filtered or unexported fields
}
func (*RefreshTokenResponse) Descriptor
deprecated
func (*RefreshTokenResponse) Descriptor() ([]byte, []int)
Deprecated: Use RefreshTokenResponse.ProtoReflect.Descriptor instead.
func (*RefreshTokenResponse) ProtoMessage ¶
func (*RefreshTokenResponse) ProtoMessage()
func (*RefreshTokenResponse) ProtoReflect ¶
func (x *RefreshTokenResponse) ProtoReflect() protoreflect.Message
func (*RefreshTokenResponse) Reset ¶
func (x *RefreshTokenResponse) Reset()
func (*RefreshTokenResponse) String ¶
func (x *RefreshTokenResponse) String() string
type TokenRequest ¶
type TokenRequest struct { Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"` Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"` // contains filtered or unexported fields }
==================================================================== Token
func (*TokenRequest) Descriptor
deprecated
func (*TokenRequest) Descriptor() ([]byte, []int)
Deprecated: Use TokenRequest.ProtoReflect.Descriptor instead.
func (*TokenRequest) GetPassword ¶
func (x *TokenRequest) GetPassword() string
func (*TokenRequest) GetUsername ¶
func (x *TokenRequest) GetUsername() string
func (*TokenRequest) ProtoMessage ¶
func (*TokenRequest) ProtoMessage()
func (*TokenRequest) ProtoReflect ¶
func (x *TokenRequest) ProtoReflect() protoreflect.Message
func (*TokenRequest) Reset ¶
func (x *TokenRequest) Reset()
func (*TokenRequest) String ¶
func (x *TokenRequest) String() string
type TokenResponse ¶
type TokenResponse struct { Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"` // google.protobuf.Duration expiration = 2; // contains filtered or unexported fields }
func (*TokenResponse) Descriptor
deprecated
func (*TokenResponse) Descriptor() ([]byte, []int)
Deprecated: Use TokenResponse.ProtoReflect.Descriptor instead.
func (*TokenResponse) GetToken ¶
func (x *TokenResponse) GetToken() string
func (*TokenResponse) ProtoMessage ¶
func (*TokenResponse) ProtoMessage()
func (*TokenResponse) ProtoReflect ¶
func (x *TokenResponse) ProtoReflect() protoreflect.Message
func (*TokenResponse) Reset ¶
func (x *TokenResponse) Reset()
func (*TokenResponse) String ¶
func (x *TokenResponse) String() string
type UnimplementedIamServiceServer ¶
type UnimplementedIamServiceServer struct { }
UnimplementedIamServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedIamServiceServer) CanDo ¶
func (UnimplementedIamServiceServer) CanDo(context.Context, *CanDoRequest) (*CanDoResponse, error)
func (UnimplementedIamServiceServer) CreateBinding ¶
func (UnimplementedIamServiceServer) CreateBinding(context.Context, *CreateBindingRequest) (*CreateBindingResponse, error)
func (UnimplementedIamServiceServer) CreatePolicy ¶
func (UnimplementedIamServiceServer) CreatePolicy(context.Context, *CreatePolicyRequest) (*CreatePolicyResponse, error)
func (UnimplementedIamServiceServer) CreateRole ¶
func (UnimplementedIamServiceServer) CreateRole(context.Context, *CreateRoleRequest) (*CreateRoleResponse, error)
func (UnimplementedIamServiceServer) CreateTenant ¶
func (UnimplementedIamServiceServer) CreateTenant(context.Context, *CreateTenantRequest) (*CreateTenantResponse, error)
func (UnimplementedIamServiceServer) CreateUser ¶
func (UnimplementedIamServiceServer) CreateUser(context.Context, *CreateUserRequest) (*CreateUserResponse, error)
func (UnimplementedIamServiceServer) Token ¶
func (UnimplementedIamServiceServer) Token(context.Context, *TokenRequest) (*TokenResponse, error)
type UnsafeIamServiceServer ¶
type UnsafeIamServiceServer interface {
// contains filtered or unexported methods
}
UnsafeIamServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to IamServiceServer will result in compilation errors.
type UpdateBindingRequest ¶
type UpdateBindingRequest struct {
// contains filtered or unexported fields
}
func (*UpdateBindingRequest) Descriptor
deprecated
func (*UpdateBindingRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateBindingRequest.ProtoReflect.Descriptor instead.
func (*UpdateBindingRequest) ProtoMessage ¶
func (*UpdateBindingRequest) ProtoMessage()
func (*UpdateBindingRequest) ProtoReflect ¶
func (x *UpdateBindingRequest) ProtoReflect() protoreflect.Message
func (*UpdateBindingRequest) Reset ¶
func (x *UpdateBindingRequest) Reset()
func (*UpdateBindingRequest) String ¶
func (x *UpdateBindingRequest) String() string
type UpdateBindingResponse ¶
type UpdateBindingResponse struct {
// contains filtered or unexported fields
}
func (*UpdateBindingResponse) Descriptor
deprecated
func (*UpdateBindingResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpdateBindingResponse.ProtoReflect.Descriptor instead.
func (*UpdateBindingResponse) ProtoMessage ¶
func (*UpdateBindingResponse) ProtoMessage()
func (*UpdateBindingResponse) ProtoReflect ¶
func (x *UpdateBindingResponse) ProtoReflect() protoreflect.Message
func (*UpdateBindingResponse) Reset ¶
func (x *UpdateBindingResponse) Reset()
func (*UpdateBindingResponse) String ¶
func (x *UpdateBindingResponse) String() string
type UpdateRoleRequest ¶
type UpdateRoleRequest struct {
// contains filtered or unexported fields
}
func (*UpdateRoleRequest) Descriptor
deprecated
func (*UpdateRoleRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateRoleRequest.ProtoReflect.Descriptor instead.
func (*UpdateRoleRequest) ProtoMessage ¶
func (*UpdateRoleRequest) ProtoMessage()
func (*UpdateRoleRequest) ProtoReflect ¶
func (x *UpdateRoleRequest) ProtoReflect() protoreflect.Message
func (*UpdateRoleRequest) Reset ¶
func (x *UpdateRoleRequest) Reset()
func (*UpdateRoleRequest) String ¶
func (x *UpdateRoleRequest) String() string
type UpdateRoleResponse ¶
type UpdateRoleResponse struct {
// contains filtered or unexported fields
}
func (*UpdateRoleResponse) Descriptor
deprecated
func (*UpdateRoleResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpdateRoleResponse.ProtoReflect.Descriptor instead.
func (*UpdateRoleResponse) ProtoMessage ¶
func (*UpdateRoleResponse) ProtoMessage()
func (*UpdateRoleResponse) ProtoReflect ¶
func (x *UpdateRoleResponse) ProtoReflect() protoreflect.Message
func (*UpdateRoleResponse) Reset ¶
func (x *UpdateRoleResponse) Reset()
func (*UpdateRoleResponse) String ¶
func (x *UpdateRoleResponse) String() string
type UpdateTenantRequest ¶
type UpdateTenantRequest struct {
// contains filtered or unexported fields
}
func (*UpdateTenantRequest) Descriptor
deprecated
func (*UpdateTenantRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateTenantRequest.ProtoReflect.Descriptor instead.
func (*UpdateTenantRequest) ProtoMessage ¶
func (*UpdateTenantRequest) ProtoMessage()
func (*UpdateTenantRequest) ProtoReflect ¶
func (x *UpdateTenantRequest) ProtoReflect() protoreflect.Message
func (*UpdateTenantRequest) Reset ¶
func (x *UpdateTenantRequest) Reset()
func (*UpdateTenantRequest) String ¶
func (x *UpdateTenantRequest) String() string
type UpdateTenantResponse ¶
type UpdateTenantResponse struct {
// contains filtered or unexported fields
}
func (*UpdateTenantResponse) Descriptor
deprecated
func (*UpdateTenantResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpdateTenantResponse.ProtoReflect.Descriptor instead.
func (*UpdateTenantResponse) ProtoMessage ¶
func (*UpdateTenantResponse) ProtoMessage()
func (*UpdateTenantResponse) ProtoReflect ¶
func (x *UpdateTenantResponse) ProtoReflect() protoreflect.Message
func (*UpdateTenantResponse) Reset ¶
func (x *UpdateTenantResponse) Reset()
func (*UpdateTenantResponse) String ¶
func (x *UpdateTenantResponse) String() string
type UpdateUserRequest ¶
type UpdateUserRequest struct {
// contains filtered or unexported fields
}
func (*UpdateUserRequest) Descriptor
deprecated
func (*UpdateUserRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateUserRequest.ProtoReflect.Descriptor instead.
func (*UpdateUserRequest) ProtoMessage ¶
func (*UpdateUserRequest) ProtoMessage()
func (*UpdateUserRequest) ProtoReflect ¶
func (x *UpdateUserRequest) ProtoReflect() protoreflect.Message
func (*UpdateUserRequest) Reset ¶
func (x *UpdateUserRequest) Reset()
func (*UpdateUserRequest) String ¶
func (x *UpdateUserRequest) String() string
type UpdateUserResponse ¶
type UpdateUserResponse struct {
// contains filtered or unexported fields
}
func (*UpdateUserResponse) Descriptor
deprecated
func (*UpdateUserResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpdateUserResponse.ProtoReflect.Descriptor instead.
func (*UpdateUserResponse) ProtoMessage ¶
func (*UpdateUserResponse) ProtoMessage()
func (*UpdateUserResponse) ProtoReflect ¶
func (x *UpdateUserResponse) ProtoReflect() protoreflect.Message
func (*UpdateUserResponse) Reset ¶
func (x *UpdateUserResponse) Reset()
func (*UpdateUserResponse) String ¶
func (x *UpdateUserResponse) String() string