Documentation ¶
Index ¶
- Variables
- func RegisterActorUserServiceServer(s grpc.ServiceRegistrar, srv ActorUserServiceServer)
- type ActorUserServiceClient
- type ActorUserServiceServer
- type ActorUserService_ListClient
- type ActorUserService_ListServer
- type ActorUserService_SearchClient
- type ActorUserService_SearchServer
- type CountRequest
- func (*CountRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CountRequest) GetNamespace() string
- func (x *CountRequest) GetUseCache() bool
- func (*CountRequest) ProtoMessage()
- func (x *CountRequest) ProtoReflect() protoreflect.Message
- func (x *CountRequest) Reset()
- func (x *CountRequest) String() string
- type CountResponse
- type CreateRequest
- func (*CreateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateRequest) GetAvatar() string
- func (x *CreateRequest) GetEmail() string
- func (x *CreateRequest) GetFullName() string
- func (x *CreateRequest) GetLogin() string
- func (x *CreateRequest) GetNamespace() string
- func (*CreateRequest) ProtoMessage()
- func (x *CreateRequest) ProtoReflect() protoreflect.Message
- func (x *CreateRequest) Reset()
- func (x *CreateRequest) String() string
- type CreateResponse
- type DeleteRequest
- func (*DeleteRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteRequest) GetNamespace() string
- func (x *DeleteRequest) GetUuid() string
- func (*DeleteRequest) ProtoMessage()
- func (x *DeleteRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteRequest) Reset()
- func (x *DeleteRequest) String() string
- type DeleteResponse
- type GetByIdentityRequest
- func (*GetByIdentityRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetByIdentityRequest) GetIdentity() string
- func (x *GetByIdentityRequest) GetNamespace() string
- func (x *GetByIdentityRequest) GetUseCache() bool
- func (*GetByIdentityRequest) ProtoMessage()
- func (x *GetByIdentityRequest) ProtoReflect() protoreflect.Message
- func (x *GetByIdentityRequest) Reset()
- func (x *GetByIdentityRequest) String() string
- type GetByIdentityResponse
- func (*GetByIdentityResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetByIdentityResponse) GetUser() *User
- func (*GetByIdentityResponse) ProtoMessage()
- func (x *GetByIdentityResponse) ProtoReflect() protoreflect.Message
- func (x *GetByIdentityResponse) Reset()
- func (x *GetByIdentityResponse) String() string
- type GetByLoginRequest
- func (*GetByLoginRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetByLoginRequest) GetLogin() string
- func (x *GetByLoginRequest) GetNamespace() string
- func (x *GetByLoginRequest) GetUseCache() bool
- func (*GetByLoginRequest) ProtoMessage()
- func (x *GetByLoginRequest) ProtoReflect() protoreflect.Message
- func (x *GetByLoginRequest) Reset()
- func (x *GetByLoginRequest) String() string
- type GetByLoginResponse
- type GetRequest
- func (*GetRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetRequest) GetNamespace() string
- func (x *GetRequest) GetUseCache() bool
- func (x *GetRequest) GetUuid() string
- func (*GetRequest) ProtoMessage()
- func (x *GetRequest) ProtoReflect() protoreflect.Message
- func (x *GetRequest) Reset()
- func (x *GetRequest) String() string
- type GetResponse
- type ListRequest
- type ListResponse
- type SearchRequest
- func (*SearchRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SearchRequest) GetLimit() uint64
- func (x *SearchRequest) GetMatch() string
- func (x *SearchRequest) GetNamespace() string
- func (*SearchRequest) ProtoMessage()
- func (x *SearchRequest) ProtoReflect() protoreflect.Message
- func (x *SearchRequest) Reset()
- func (x *SearchRequest) String() string
- type SearchResponse
- type UnimplementedActorUserServiceServer
- func (UnimplementedActorUserServiceServer) Count(context.Context, *CountRequest) (*CountResponse, error)
- func (UnimplementedActorUserServiceServer) Create(context.Context, *CreateRequest) (*CreateResponse, error)
- func (UnimplementedActorUserServiceServer) Delete(context.Context, *DeleteRequest) (*DeleteResponse, error)
- func (UnimplementedActorUserServiceServer) Get(context.Context, *GetRequest) (*GetResponse, error)
- func (UnimplementedActorUserServiceServer) GetByIdentity(context.Context, *GetByIdentityRequest) (*GetByIdentityResponse, error)
- func (UnimplementedActorUserServiceServer) GetByLogin(context.Context, *GetByLoginRequest) (*GetByLoginResponse, error)
- func (UnimplementedActorUserServiceServer) List(*ListRequest, ActorUserService_ListServer) error
- func (UnimplementedActorUserServiceServer) Search(*SearchRequest, ActorUserService_SearchServer) error
- func (UnimplementedActorUserServiceServer) Update(context.Context, *UpdateRequest) (*UpdateResponse, error)
- type UnsafeActorUserServiceServer
- type UpdateRequest
- func (*UpdateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateRequest) GetAvatar() string
- func (x *UpdateRequest) GetEmail() string
- func (x *UpdateRequest) GetFullName() string
- func (x *UpdateRequest) GetLogin() string
- func (x *UpdateRequest) GetNamespace() string
- func (x *UpdateRequest) GetUuid() string
- func (*UpdateRequest) ProtoMessage()
- func (x *UpdateRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateRequest) Reset()
- func (x *UpdateRequest) String() string
- type UpdateResponse
- type User
- func (*User) Descriptor() ([]byte, []int)deprecated
- func (x *User) GetAvatar() string
- func (x *User) GetCreated() *timestamp.Timestamp
- func (x *User) GetEmail() string
- func (x *User) GetFullName() string
- func (x *User) GetIdentity() string
- func (x *User) GetLogin() string
- func (x *User) GetNamespace() string
- func (x *User) GetUpdated() *timestamp.Timestamp
- func (x *User) GetUuid() string
- func (x *User) GetVersion() uint64
- func (*User) ProtoMessage()
- func (x *User) ProtoReflect() protoreflect.Message
- func (x *User) Reset()
- func (x *User) String() string
Constants ¶
This section is empty.
Variables ¶
var ActorUserService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "native_iam_actor_user.ActorUserService", HandlerType: (*ActorUserServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Create", Handler: _ActorUserService_Create_Handler, }, { MethodName: "Get", Handler: _ActorUserService_Get_Handler, }, { MethodName: "GetByLogin", Handler: _ActorUserService_GetByLogin_Handler, }, { MethodName: "GetByIdentity", Handler: _ActorUserService_GetByIdentity_Handler, }, { MethodName: "Update", Handler: _ActorUserService_Update_Handler, }, { MethodName: "Delete", Handler: _ActorUserService_Delete_Handler, }, { MethodName: "Count", Handler: _ActorUserService_Count_Handler, }, }, Streams: []grpc.StreamDesc{ { StreamName: "List", Handler: _ActorUserService_List_Handler, ServerStreams: true, }, { StreamName: "Search", Handler: _ActorUserService_Search_Handler, ServerStreams: true, }, }, Metadata: "user.proto", }
ActorUserService_ServiceDesc is the grpc.ServiceDesc for ActorUserService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_user_proto protoreflect.FileDescriptor
Functions ¶
func RegisterActorUserServiceServer ¶
func RegisterActorUserServiceServer(s grpc.ServiceRegistrar, srv ActorUserServiceServer)
Types ¶
type ActorUserServiceClient ¶
type ActorUserServiceClient interface { // Create new user and assign identity to it. Create(ctx context.Context, in *CreateRequest, opts ...grpc.CallOption) (*CreateResponse, error) // Get user by its unique identifier Get(ctx context.Context, in *GetRequest, opts ...grpc.CallOption) (*GetResponse, error) // Get user by its login GetByLogin(ctx context.Context, in *GetByLoginRequest, opts ...grpc.CallOption) (*GetByLoginResponse, error) // Get user by the identity uuid that was assigned to it GetByIdentity(ctx context.Context, in *GetByIdentityRequest, opts ...grpc.CallOption) (*GetByIdentityResponse, error) // Update user information Update(ctx context.Context, in *UpdateRequest, opts ...grpc.CallOption) (*UpdateResponse, error) // Delete user Delete(ctx context.Context, in *DeleteRequest, opts ...grpc.CallOption) (*DeleteResponse, error) // Get all users in the namespace. List(ctx context.Context, in *ListRequest, opts ...grpc.CallOption) (ActorUserService_ListClient, error) // Get total number of users inside namespace Count(ctx context.Context, in *CountRequest, opts ...grpc.CallOption) (*CountResponse, error) // Searches for user using some "matching" string. Much faster than find operation. Searches for matches in login/fullName/email. // Matches may be not ideal and its not possible to predict how much users matched provided string. Search(ctx context.Context, in *SearchRequest, opts ...grpc.CallOption) (ActorUserService_SearchClient, error) }
ActorUserServiceClient is the client API for ActorUserService 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 NewActorUserServiceClient ¶
func NewActorUserServiceClient(cc grpc.ClientConnInterface) ActorUserServiceClient
type ActorUserServiceServer ¶
type ActorUserServiceServer interface { // Create new user and assign identity to it. Create(context.Context, *CreateRequest) (*CreateResponse, error) // Get user by its unique identifier Get(context.Context, *GetRequest) (*GetResponse, error) // Get user by its login GetByLogin(context.Context, *GetByLoginRequest) (*GetByLoginResponse, error) // Get user by the identity uuid that was assigned to it GetByIdentity(context.Context, *GetByIdentityRequest) (*GetByIdentityResponse, error) // Update user information Update(context.Context, *UpdateRequest) (*UpdateResponse, error) // Delete user Delete(context.Context, *DeleteRequest) (*DeleteResponse, error) // Get all users in the namespace. List(*ListRequest, ActorUserService_ListServer) error // Get total number of users inside namespace Count(context.Context, *CountRequest) (*CountResponse, error) // Searches for user using some "matching" string. Much faster than find operation. Searches for matches in login/fullName/email. // Matches may be not ideal and its not possible to predict how much users matched provided string. Search(*SearchRequest, ActorUserService_SearchServer) error // contains filtered or unexported methods }
ActorUserServiceServer is the server API for ActorUserService service. All implementations must embed UnimplementedActorUserServiceServer for forward compatibility
type ActorUserService_ListClient ¶
type ActorUserService_ListClient interface { Recv() (*ListResponse, error) grpc.ClientStream }
type ActorUserService_ListServer ¶
type ActorUserService_ListServer interface { Send(*ListResponse) error grpc.ServerStream }
type ActorUserService_SearchClient ¶
type ActorUserService_SearchClient interface { Recv() (*SearchResponse, error) grpc.ClientStream }
type ActorUserService_SearchServer ¶
type ActorUserService_SearchServer interface { Send(*SearchResponse) error grpc.ServerStream }
type CountRequest ¶
type CountRequest struct { // Namespace where to count users Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` // Use cache for this request or not. Cache has a very small chance to be invalid. Invalid cache deletes after small period of time (60 seconds by default) UseCache bool `protobuf:"varint,2,opt,name=useCache,proto3" json:"useCache,omitempty"` // contains filtered or unexported fields }
func (*CountRequest) Descriptor
deprecated
func (*CountRequest) Descriptor() ([]byte, []int)
Deprecated: Use CountRequest.ProtoReflect.Descriptor instead.
func (*CountRequest) GetNamespace ¶
func (x *CountRequest) GetNamespace() string
func (*CountRequest) GetUseCache ¶
func (x *CountRequest) GetUseCache() bool
func (*CountRequest) ProtoMessage ¶
func (*CountRequest) ProtoMessage()
func (*CountRequest) ProtoReflect ¶
func (x *CountRequest) ProtoReflect() protoreflect.Message
func (*CountRequest) Reset ¶
func (x *CountRequest) Reset()
func (*CountRequest) String ¶
func (x *CountRequest) String() string
type CountResponse ¶
type CountResponse struct { // Total number of users Count uint64 `protobuf:"varint,1,opt,name=count,proto3" json:"count,omitempty"` // contains filtered or unexported fields }
func (*CountResponse) Descriptor
deprecated
func (*CountResponse) Descriptor() ([]byte, []int)
Deprecated: Use CountResponse.ProtoReflect.Descriptor instead.
func (*CountResponse) GetCount ¶
func (x *CountResponse) GetCount() uint64
func (*CountResponse) ProtoMessage ¶
func (*CountResponse) ProtoMessage()
func (*CountResponse) ProtoReflect ¶
func (x *CountResponse) ProtoReflect() protoreflect.Message
func (*CountResponse) Reset ¶
func (x *CountResponse) Reset()
func (*CountResponse) String ¶
func (x *CountResponse) String() string
type CreateRequest ¶
type CreateRequest struct { // Namespace where to create user. Empty for global user Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` // User-defined unique identifier Login string `protobuf:"bytes,2,opt,name=login,proto3" json:"login,omitempty"` // User-defined name that will be displayed instead of login FullName string `protobuf:"bytes,3,opt,name=fullName,proto3" json:"fullName,omitempty"` // Link to the user avatar image Avatar string `protobuf:"bytes,4,opt,name=avatar,proto3" json:"avatar,omitempty"` // Email address Email string `protobuf:"bytes,5,opt,name=email,proto3" json:"email,omitempty"` // contains filtered or unexported fields }
func (*CreateRequest) Descriptor
deprecated
func (*CreateRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateRequest.ProtoReflect.Descriptor instead.
func (*CreateRequest) GetAvatar ¶
func (x *CreateRequest) GetAvatar() string
func (*CreateRequest) GetEmail ¶
func (x *CreateRequest) GetEmail() string
func (*CreateRequest) GetFullName ¶
func (x *CreateRequest) GetFullName() string
func (*CreateRequest) GetLogin ¶
func (x *CreateRequest) GetLogin() string
func (*CreateRequest) GetNamespace ¶
func (x *CreateRequest) GetNamespace() string
func (*CreateRequest) ProtoMessage ¶
func (*CreateRequest) ProtoMessage()
func (*CreateRequest) ProtoReflect ¶
func (x *CreateRequest) ProtoReflect() protoreflect.Message
func (*CreateRequest) Reset ¶
func (x *CreateRequest) Reset()
func (*CreateRequest) String ¶
func (x *CreateRequest) String() string
type CreateResponse ¶
type CreateResponse struct { // Created user User *User `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"` // contains filtered or unexported fields }
func (*CreateResponse) Descriptor
deprecated
func (*CreateResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateResponse.ProtoReflect.Descriptor instead.
func (*CreateResponse) GetUser ¶
func (x *CreateResponse) GetUser() *User
func (*CreateResponse) ProtoMessage ¶
func (*CreateResponse) ProtoMessage()
func (*CreateResponse) ProtoReflect ¶
func (x *CreateResponse) ProtoReflect() protoreflect.Message
func (*CreateResponse) Reset ¶
func (x *CreateResponse) Reset()
func (*CreateResponse) String ¶
func (x *CreateResponse) String() string
type DeleteRequest ¶
type DeleteRequest struct { // Namespace of the user. Empty for global user. Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` // Unique identifier of user inside namespace Uuid string `protobuf:"bytes,2,opt,name=uuid,proto3" json:"uuid,omitempty"` // contains filtered or unexported fields }
func (*DeleteRequest) Descriptor
deprecated
func (*DeleteRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteRequest.ProtoReflect.Descriptor instead.
func (*DeleteRequest) GetNamespace ¶
func (x *DeleteRequest) GetNamespace() string
func (*DeleteRequest) GetUuid ¶
func (x *DeleteRequest) GetUuid() string
func (*DeleteRequest) ProtoMessage ¶
func (*DeleteRequest) ProtoMessage()
func (*DeleteRequest) ProtoReflect ¶
func (x *DeleteRequest) ProtoReflect() protoreflect.Message
func (*DeleteRequest) Reset ¶
func (x *DeleteRequest) Reset()
func (*DeleteRequest) String ¶
func (x *DeleteRequest) String() string
type DeleteResponse ¶
type DeleteResponse struct { // Indicates if user existed before this request or it was already deleted earlier. Existed bool `protobuf:"varint,1,opt,name=existed,proto3" json:"existed,omitempty"` // contains filtered or unexported fields }
func (*DeleteResponse) Descriptor
deprecated
func (*DeleteResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteResponse.ProtoReflect.Descriptor instead.
func (*DeleteResponse) GetExisted ¶
func (x *DeleteResponse) GetExisted() bool
func (*DeleteResponse) ProtoMessage ¶
func (*DeleteResponse) ProtoMessage()
func (*DeleteResponse) ProtoReflect ¶
func (x *DeleteResponse) ProtoReflect() protoreflect.Message
func (*DeleteResponse) Reset ¶
func (x *DeleteResponse) Reset()
func (*DeleteResponse) String ¶
func (x *DeleteResponse) String() string
type GetByIdentityRequest ¶
type GetByIdentityRequest struct { // Namespace where to search for user. Empty for global user. Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` // Search for user which has this identity uuid assigned to it Identity string `protobuf:"bytes,2,opt,name=identity,proto3" json:"identity,omitempty"` // Use cache for this request or not. Cache has a very small chance to be invalid. Invalid cache deletes after small period of time (60 seconds by default) UseCache bool `protobuf:"varint,3,opt,name=useCache,proto3" json:"useCache,omitempty"` // contains filtered or unexported fields }
func (*GetByIdentityRequest) Descriptor
deprecated
func (*GetByIdentityRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetByIdentityRequest.ProtoReflect.Descriptor instead.
func (*GetByIdentityRequest) GetIdentity ¶
func (x *GetByIdentityRequest) GetIdentity() string
func (*GetByIdentityRequest) GetNamespace ¶
func (x *GetByIdentityRequest) GetNamespace() string
func (*GetByIdentityRequest) GetUseCache ¶
func (x *GetByIdentityRequest) GetUseCache() bool
func (*GetByIdentityRequest) ProtoMessage ¶
func (*GetByIdentityRequest) ProtoMessage()
func (*GetByIdentityRequest) ProtoReflect ¶
func (x *GetByIdentityRequest) ProtoReflect() protoreflect.Message
func (*GetByIdentityRequest) Reset ¶
func (x *GetByIdentityRequest) Reset()
func (*GetByIdentityRequest) String ¶
func (x *GetByIdentityRequest) String() string
type GetByIdentityResponse ¶
type GetByIdentityResponse struct { // User wich has specified identity User *User `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"` // contains filtered or unexported fields }
func (*GetByIdentityResponse) Descriptor
deprecated
func (*GetByIdentityResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetByIdentityResponse.ProtoReflect.Descriptor instead.
func (*GetByIdentityResponse) GetUser ¶
func (x *GetByIdentityResponse) GetUser() *User
func (*GetByIdentityResponse) ProtoMessage ¶
func (*GetByIdentityResponse) ProtoMessage()
func (*GetByIdentityResponse) ProtoReflect ¶
func (x *GetByIdentityResponse) ProtoReflect() protoreflect.Message
func (*GetByIdentityResponse) Reset ¶
func (x *GetByIdentityResponse) Reset()
func (*GetByIdentityResponse) String ¶
func (x *GetByIdentityResponse) String() string
type GetByLoginRequest ¶
type GetByLoginRequest struct { // Namespace where to search for user. Empty for global user. Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` // Login of the user to search Login string `protobuf:"bytes,2,opt,name=login,proto3" json:"login,omitempty"` // Use cache for this request or not. Cache has a very small chance to be invalid. Invalid cache deletes after small period of time (60 seconds by default) UseCache bool `protobuf:"varint,3,opt,name=useCache,proto3" json:"useCache,omitempty"` // contains filtered or unexported fields }
func (*GetByLoginRequest) Descriptor
deprecated
func (*GetByLoginRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetByLoginRequest.ProtoReflect.Descriptor instead.
func (*GetByLoginRequest) GetLogin ¶
func (x *GetByLoginRequest) GetLogin() string
func (*GetByLoginRequest) GetNamespace ¶
func (x *GetByLoginRequest) GetNamespace() string
func (*GetByLoginRequest) GetUseCache ¶
func (x *GetByLoginRequest) GetUseCache() bool
func (*GetByLoginRequest) ProtoMessage ¶
func (*GetByLoginRequest) ProtoMessage()
func (*GetByLoginRequest) ProtoReflect ¶
func (x *GetByLoginRequest) ProtoReflect() protoreflect.Message
func (*GetByLoginRequest) Reset ¶
func (x *GetByLoginRequest) Reset()
func (*GetByLoginRequest) String ¶
func (x *GetByLoginRequest) String() string
type GetByLoginResponse ¶
type GetByLoginResponse struct { // User with specified login User *User `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"` // contains filtered or unexported fields }
func (*GetByLoginResponse) Descriptor
deprecated
func (*GetByLoginResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetByLoginResponse.ProtoReflect.Descriptor instead.
func (*GetByLoginResponse) GetUser ¶
func (x *GetByLoginResponse) GetUser() *User
func (*GetByLoginResponse) ProtoMessage ¶
func (*GetByLoginResponse) ProtoMessage()
func (*GetByLoginResponse) ProtoReflect ¶
func (x *GetByLoginResponse) ProtoReflect() protoreflect.Message
func (*GetByLoginResponse) Reset ¶
func (x *GetByLoginResponse) Reset()
func (*GetByLoginResponse) String ¶
func (x *GetByLoginResponse) String() string
type GetRequest ¶
type GetRequest struct { // Namespace where to search for user. Empty for global user. Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` // User unique identifier inside searched namespace Uuid string `protobuf:"bytes,2,opt,name=uuid,proto3" json:"uuid,omitempty"` // Use cache for this request or not. Cache has a very small chance to be invalid. Invalid cache deletes after small period of time (60 seconds by default) UseCache bool `protobuf:"varint,3,opt,name=useCache,proto3" json:"useCache,omitempty"` // contains filtered or unexported fields }
func (*GetRequest) Descriptor
deprecated
func (*GetRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetRequest.ProtoReflect.Descriptor instead.
func (*GetRequest) GetNamespace ¶
func (x *GetRequest) GetNamespace() string
func (*GetRequest) GetUseCache ¶
func (x *GetRequest) GetUseCache() bool
func (*GetRequest) GetUuid ¶
func (x *GetRequest) GetUuid() string
func (*GetRequest) ProtoMessage ¶
func (*GetRequest) ProtoMessage()
func (*GetRequest) ProtoReflect ¶
func (x *GetRequest) ProtoReflect() protoreflect.Message
func (*GetRequest) Reset ¶
func (x *GetRequest) Reset()
func (*GetRequest) String ¶
func (x *GetRequest) String() string
type GetResponse ¶
type GetResponse struct { // Founded user User *User `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"` // contains filtered or unexported fields }
func (*GetResponse) Descriptor
deprecated
func (*GetResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetResponse.ProtoReflect.Descriptor instead.
func (*GetResponse) GetUser ¶
func (x *GetResponse) GetUser() *User
func (*GetResponse) ProtoMessage ¶
func (*GetResponse) ProtoMessage()
func (*GetResponse) ProtoReflect ¶
func (x *GetResponse) ProtoReflect() protoreflect.Message
func (*GetResponse) Reset ¶
func (x *GetResponse) Reset()
func (*GetResponse) String ¶
func (x *GetResponse) String() string
type ListRequest ¶
type ListRequest struct { // Namespace where to search for users Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` // contains filtered or unexported fields }
func (*ListRequest) Descriptor
deprecated
func (*ListRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListRequest.ProtoReflect.Descriptor instead.
func (*ListRequest) GetNamespace ¶
func (x *ListRequest) GetNamespace() string
func (*ListRequest) ProtoMessage ¶
func (*ListRequest) ProtoMessage()
func (*ListRequest) ProtoReflect ¶
func (x *ListRequest) ProtoReflect() protoreflect.Message
func (*ListRequest) Reset ¶
func (x *ListRequest) Reset()
func (*ListRequest) String ¶
func (x *ListRequest) String() string
type ListResponse ¶
type ListResponse struct { // Founded user User *User `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"` // contains filtered or unexported fields }
func (*ListResponse) Descriptor
deprecated
func (*ListResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListResponse.ProtoReflect.Descriptor instead.
func (*ListResponse) GetUser ¶
func (x *ListResponse) GetUser() *User
func (*ListResponse) ProtoMessage ¶
func (*ListResponse) ProtoMessage()
func (*ListResponse) ProtoReflect ¶
func (x *ListResponse) ProtoReflect() protoreflect.Message
func (*ListResponse) Reset ¶
func (x *ListResponse) Reset()
func (*ListResponse) String ¶
func (x *ListResponse) String() string
type SearchRequest ¶
type SearchRequest struct { // Namespace where to search for users. Empty for global user. Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` // String to search in the user information Match string `protobuf:"bytes,2,opt,name=match,proto3" json:"match,omitempty"` // How much values to return Limit uint64 `protobuf:"varint,3,opt,name=limit,proto3" json:"limit,omitempty"` // contains filtered or unexported fields }
func (*SearchRequest) Descriptor
deprecated
func (*SearchRequest) Descriptor() ([]byte, []int)
Deprecated: Use SearchRequest.ProtoReflect.Descriptor instead.
func (*SearchRequest) GetLimit ¶
func (x *SearchRequest) GetLimit() uint64
func (*SearchRequest) GetMatch ¶
func (x *SearchRequest) GetMatch() string
func (*SearchRequest) GetNamespace ¶
func (x *SearchRequest) GetNamespace() string
func (*SearchRequest) ProtoMessage ¶
func (*SearchRequest) ProtoMessage()
func (*SearchRequest) ProtoReflect ¶
func (x *SearchRequest) ProtoReflect() protoreflect.Message
func (*SearchRequest) Reset ¶
func (x *SearchRequest) Reset()
func (*SearchRequest) String ¶
func (x *SearchRequest) String() string
type SearchResponse ¶
type SearchResponse struct { // User data User *User `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"` // contains filtered or unexported fields }
func (*SearchResponse) Descriptor
deprecated
func (*SearchResponse) Descriptor() ([]byte, []int)
Deprecated: Use SearchResponse.ProtoReflect.Descriptor instead.
func (*SearchResponse) GetUser ¶
func (x *SearchResponse) GetUser() *User
func (*SearchResponse) ProtoMessage ¶
func (*SearchResponse) ProtoMessage()
func (*SearchResponse) ProtoReflect ¶
func (x *SearchResponse) ProtoReflect() protoreflect.Message
func (*SearchResponse) Reset ¶
func (x *SearchResponse) Reset()
func (*SearchResponse) String ¶
func (x *SearchResponse) String() string
type UnimplementedActorUserServiceServer ¶
type UnimplementedActorUserServiceServer struct { }
UnimplementedActorUserServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedActorUserServiceServer) Count ¶
func (UnimplementedActorUserServiceServer) Count(context.Context, *CountRequest) (*CountResponse, error)
func (UnimplementedActorUserServiceServer) Create ¶
func (UnimplementedActorUserServiceServer) Create(context.Context, *CreateRequest) (*CreateResponse, error)
func (UnimplementedActorUserServiceServer) Delete ¶
func (UnimplementedActorUserServiceServer) Delete(context.Context, *DeleteRequest) (*DeleteResponse, error)
func (UnimplementedActorUserServiceServer) Get ¶
func (UnimplementedActorUserServiceServer) Get(context.Context, *GetRequest) (*GetResponse, error)
func (UnimplementedActorUserServiceServer) GetByIdentity ¶
func (UnimplementedActorUserServiceServer) GetByIdentity(context.Context, *GetByIdentityRequest) (*GetByIdentityResponse, error)
func (UnimplementedActorUserServiceServer) GetByLogin ¶
func (UnimplementedActorUserServiceServer) GetByLogin(context.Context, *GetByLoginRequest) (*GetByLoginResponse, error)
func (UnimplementedActorUserServiceServer) Update ¶
func (UnimplementedActorUserServiceServer) Update(context.Context, *UpdateRequest) (*UpdateResponse, error)
type UnsafeActorUserServiceServer ¶
type UnsafeActorUserServiceServer interface {
// contains filtered or unexported methods
}
UnsafeActorUserServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ActorUserServiceServer will result in compilation errors.
type UpdateRequest ¶
type UpdateRequest struct { // Namespace of the user. Empty for global user. Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` // Unique identifier of user, that will be updated Uuid string `protobuf:"bytes,2,opt,name=uuid,proto3" json:"uuid,omitempty"` // User-defined unique identifier Login string `protobuf:"bytes,3,opt,name=login,proto3" json:"login,omitempty"` // User-defined name that will be displayed instead of login FullName string `protobuf:"bytes,4,opt,name=fullName,proto3" json:"fullName,omitempty"` // Link to the user avatar image Avatar string `protobuf:"bytes,5,opt,name=avatar,proto3" json:"avatar,omitempty"` // Email address Email string `protobuf:"bytes,6,opt,name=email,proto3" json:"email,omitempty"` // contains filtered or unexported fields }
func (*UpdateRequest) Descriptor
deprecated
func (*UpdateRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateRequest.ProtoReflect.Descriptor instead.
func (*UpdateRequest) GetAvatar ¶
func (x *UpdateRequest) GetAvatar() string
func (*UpdateRequest) GetEmail ¶
func (x *UpdateRequest) GetEmail() string
func (*UpdateRequest) GetFullName ¶
func (x *UpdateRequest) GetFullName() string
func (*UpdateRequest) GetLogin ¶
func (x *UpdateRequest) GetLogin() string
func (*UpdateRequest) GetNamespace ¶
func (x *UpdateRequest) GetNamespace() string
func (*UpdateRequest) GetUuid ¶
func (x *UpdateRequest) GetUuid() string
func (*UpdateRequest) ProtoMessage ¶
func (*UpdateRequest) ProtoMessage()
func (*UpdateRequest) ProtoReflect ¶
func (x *UpdateRequest) ProtoReflect() protoreflect.Message
func (*UpdateRequest) Reset ¶
func (x *UpdateRequest) Reset()
func (*UpdateRequest) String ¶
func (x *UpdateRequest) String() string
type UpdateResponse ¶
type UpdateResponse struct { // User after update User *User `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"` // contains filtered or unexported fields }
func (*UpdateResponse) Descriptor
deprecated
func (*UpdateResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpdateResponse.ProtoReflect.Descriptor instead.
func (*UpdateResponse) GetUser ¶
func (x *UpdateResponse) GetUser() *User
func (*UpdateResponse) ProtoMessage ¶
func (*UpdateResponse) ProtoMessage()
func (*UpdateResponse) ProtoReflect ¶
func (x *UpdateResponse) ProtoReflect() protoreflect.Message
func (*UpdateResponse) Reset ¶
func (x *UpdateResponse) Reset()
func (*UpdateResponse) String ¶
func (x *UpdateResponse) String() string
type User ¶
type User struct { // Namespace of the user. If namespace is empty, user is global. Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` // Unique identifier Uuid string `protobuf:"bytes,2,opt,name=uuid,proto3" json:"uuid,omitempty"` // Login unique identifies user (like UUID) but user defined and can be changed. Login string `protobuf:"bytes,3,opt,name=login,proto3" json:"login,omitempty"` // Native_iam_identity UUID Identity string `protobuf:"bytes,4,opt,name=identity,proto3" json:"identity,omitempty"` // User-defined name that will be displayed instead of login FullName string `protobuf:"bytes,5,opt,name=fullName,proto3" json:"fullName,omitempty"` // Link to the user avatar image Avatar string `protobuf:"bytes,6,opt,name=avatar,proto3" json:"avatar,omitempty"` // Email address Email string `protobuf:"bytes,7,opt,name=email,proto3" json:"email,omitempty"` // When the policy was created Created *timestamp.Timestamp `protobuf:"bytes,9,opt,name=created,proto3" json:"created,omitempty"` // Last time when the policy information was updated. Updated *timestamp.Timestamp `protobuf:"bytes,10,opt,name=updated,proto3" json:"updated,omitempty"` // Counter that increases after every update of the policy Version uint64 `protobuf:"varint,11,opt,name=version,proto3" json:"version,omitempty"` // contains filtered or unexported fields }
func (*User) Descriptor
deprecated
func (*User) GetCreated ¶
func (*User) GetFullName ¶
func (*User) GetIdentity ¶
func (*User) GetNamespace ¶
func (*User) GetUpdated ¶
func (*User) GetVersion ¶
func (*User) ProtoMessage ¶
func (*User) ProtoMessage()
func (*User) ProtoReflect ¶
func (x *User) ProtoReflect() protoreflect.Message