Documentation ¶
Index ¶
- Variables
- func RegisterDirectoryServer(s grpc.ServiceRegistrar, srv DirectoryServer)
- type AddMemberRequest
- func (*AddMemberRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AddMemberRequest) GetId() string
- func (x *AddMemberRequest) GetUserId() string
- func (*AddMemberRequest) ProtoMessage()
- func (x *AddMemberRequest) ProtoReflect() protoreflect.Message
- func (x *AddMemberRequest) Reset()
- func (x *AddMemberRequest) String() string
- type CreateGroupRequest
- func (*CreateGroupRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateGroupRequest) GetKind() string
- func (x *CreateGroupRequest) GetName() string
- func (x *CreateGroupRequest) GetParent() string
- func (*CreateGroupRequest) ProtoMessage()
- func (x *CreateGroupRequest) ProtoReflect() protoreflect.Message
- func (x *CreateGroupRequest) Reset()
- func (x *CreateGroupRequest) String() string
- type CreateUserRequest
- func (*CreateUserRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateUserRequest) GetFirstName() string
- func (x *CreateUserRequest) GetKind() string
- func (x *CreateUserRequest) GetLastName() string
- func (x *CreateUserRequest) GetName() string
- func (x *CreateUserRequest) GetUsername() string
- func (*CreateUserRequest) ProtoMessage()
- func (x *CreateUserRequest) ProtoReflect() protoreflect.Message
- func (x *CreateUserRequest) Reset()
- func (x *CreateUserRequest) String() string
- type DeleteGroupRequest
- type DeleteUserRequest
- type DirectoryClient
- type DirectoryServer
- type Directory_GroupsClient
- type Directory_GroupsServer
- type Directory_MembersClient
- type Directory_MembersServer
- type Directory_UsersClient
- type Directory_UsersServer
- type Empty
- type GroupRequest
- type GroupResponse
- func (*GroupResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GroupResponse) GetExtensions() map[string]string
- func (x *GroupResponse) GetId() string
- func (x *GroupResponse) GetKind() string
- func (x *GroupResponse) GetName() string
- func (x *GroupResponse) GetParent() string
- func (*GroupResponse) ProtoMessage()
- func (x *GroupResponse) ProtoReflect() protoreflect.Message
- func (x *GroupResponse) Reset()
- func (x *GroupResponse) String() string
- type GroupsRequest
- func (*GroupsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GroupsRequest) GetFilterKind() string
- func (x *GroupsRequest) GetFilterParent() string
- func (*GroupsRequest) ProtoMessage()
- func (x *GroupsRequest) ProtoReflect() protoreflect.Message
- func (x *GroupsRequest) Reset()
- func (x *GroupsRequest) String() string
- type MemberResponse
- func (*MemberResponse) Descriptor() ([]byte, []int)deprecated
- func (x *MemberResponse) GetRoles() []string
- func (x *MemberResponse) GetUser() *UserResponse
- func (*MemberResponse) ProtoMessage()
- func (x *MemberResponse) ProtoReflect() protoreflect.Message
- func (x *MemberResponse) Reset()
- func (x *MemberResponse) String() string
- type MembersRequest
- type RemoveMemberRequest
- func (*RemoveMemberRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RemoveMemberRequest) GetId() string
- func (x *RemoveMemberRequest) GetUserId() string
- func (*RemoveMemberRequest) ProtoMessage()
- func (x *RemoveMemberRequest) ProtoReflect() protoreflect.Message
- func (x *RemoveMemberRequest) Reset()
- func (x *RemoveMemberRequest) String() string
- type RoleResponse
- func (*RoleResponse) Descriptor() ([]byte, []int)deprecated
- func (x *RoleResponse) GetId() string
- func (x *RoleResponse) GetKind() string
- func (x *RoleResponse) GetName() string
- func (*RoleResponse) ProtoMessage()
- func (x *RoleResponse) ProtoReflect() protoreflect.Message
- func (x *RoleResponse) Reset()
- func (x *RoleResponse) String() string
- type UnimplementedDirectoryServer
- func (UnimplementedDirectoryServer) AddMember(context.Context, *AddMemberRequest) (*Empty, error)
- func (UnimplementedDirectoryServer) CreateGroup(context.Context, *CreateGroupRequest) (*GroupResponse, error)
- func (UnimplementedDirectoryServer) CreateUser(context.Context, *CreateUserRequest) (*UserResponse, error)
- func (UnimplementedDirectoryServer) DeleteGroup(context.Context, *DeleteGroupRequest) (*Empty, error)
- func (UnimplementedDirectoryServer) DeleteUser(context.Context, *DeleteUserRequest) (*Empty, error)
- func (UnimplementedDirectoryServer) Group(context.Context, *GroupRequest) (*GroupResponse, error)
- func (UnimplementedDirectoryServer) Groups(*GroupsRequest, Directory_GroupsServer) error
- func (UnimplementedDirectoryServer) Members(*MembersRequest, Directory_MembersServer) error
- func (UnimplementedDirectoryServer) RemoveMember(context.Context, *RemoveMemberRequest) (*Empty, error)
- func (UnimplementedDirectoryServer) UpdateGroupExtensions(context.Context, *UpdateGroupExtensionsRequest) (*Empty, error)
- func (UnimplementedDirectoryServer) User(context.Context, *UserRequest) (*UserResponse, error)
- func (UnimplementedDirectoryServer) Users(*UsersRequest, Directory_UsersServer) error
- type UnsafeDirectoryServer
- type UpdateGroupExtensionsRequest
- func (*UpdateGroupExtensionsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateGroupExtensionsRequest) GetData() map[string]string
- func (x *UpdateGroupExtensionsRequest) GetId() string
- func (*UpdateGroupExtensionsRequest) ProtoMessage()
- func (x *UpdateGroupExtensionsRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateGroupExtensionsRequest) Reset()
- func (x *UpdateGroupExtensionsRequest) String() string
- type UserRequest
- type UserResponse
- func (*UserResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UserResponse) GetFirstName() string
- func (x *UserResponse) GetId() string
- func (x *UserResponse) GetKind() string
- func (x *UserResponse) GetLastName() string
- func (x *UserResponse) GetMail() string
- func (x *UserResponse) GetName() string
- func (x *UserResponse) GetNickname() string
- func (x *UserResponse) GetPhone() string
- func (x *UserResponse) GetPicture() string
- func (x *UserResponse) GetProfile() string
- func (x *UserResponse) GetUsername() string
- func (x *UserResponse) GetWebsite() string
- func (*UserResponse) ProtoMessage()
- func (x *UserResponse) ProtoReflect() protoreflect.Message
- func (x *UserResponse) Reset()
- func (x *UserResponse) String() string
- type UsersRequest
Constants ¶
This section is empty.
Variables ¶
var Directory_ServiceDesc = grpc.ServiceDesc{ ServiceName: "directory.Directory", HandlerType: (*DirectoryServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "User", Handler: _Directory_User_Handler, }, { MethodName: "CreateUser", Handler: _Directory_CreateUser_Handler, }, { MethodName: "DeleteUser", Handler: _Directory_DeleteUser_Handler, }, { MethodName: "Group", Handler: _Directory_Group_Handler, }, { MethodName: "CreateGroup", Handler: _Directory_CreateGroup_Handler, }, { MethodName: "DeleteGroup", Handler: _Directory_DeleteGroup_Handler, }, { MethodName: "UpdateGroupExtensions", Handler: _Directory_UpdateGroupExtensions_Handler, }, { MethodName: "AddMember", Handler: _Directory_AddMember_Handler, }, { MethodName: "RemoveMember", Handler: _Directory_RemoveMember_Handler, }, }, Streams: []grpc.StreamDesc{ { StreamName: "Users", Handler: _Directory_Users_Handler, ServerStreams: true, }, { StreamName: "Groups", Handler: _Directory_Groups_Handler, ServerStreams: true, }, { StreamName: "Members", Handler: _Directory_Members_Handler, ServerStreams: true, }, }, Metadata: "proto/directory.proto", }
Directory_ServiceDesc is the grpc.ServiceDesc for Directory service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_proto_directory_proto protoreflect.FileDescriptor
Functions ¶
func RegisterDirectoryServer ¶
func RegisterDirectoryServer(s grpc.ServiceRegistrar, srv DirectoryServer)
Types ¶
type AddMemberRequest ¶
type AddMemberRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` UserId string `protobuf:"bytes,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` // contains filtered or unexported fields }
func (*AddMemberRequest) Descriptor
deprecated
func (*AddMemberRequest) Descriptor() ([]byte, []int)
Deprecated: Use AddMemberRequest.ProtoReflect.Descriptor instead.
func (*AddMemberRequest) GetId ¶
func (x *AddMemberRequest) GetId() string
func (*AddMemberRequest) GetUserId ¶
func (x *AddMemberRequest) GetUserId() string
func (*AddMemberRequest) ProtoMessage ¶
func (*AddMemberRequest) ProtoMessage()
func (*AddMemberRequest) ProtoReflect ¶
func (x *AddMemberRequest) ProtoReflect() protoreflect.Message
func (*AddMemberRequest) Reset ¶
func (x *AddMemberRequest) Reset()
func (*AddMemberRequest) String ¶
func (x *AddMemberRequest) String() string
type CreateGroupRequest ¶
type CreateGroupRequest struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Kind string `protobuf:"bytes,2,opt,name=kind,proto3" json:"kind,omitempty"` Parent string `protobuf:"bytes,3,opt,name=parent,proto3" json:"parent,omitempty"` // contains filtered or unexported fields }
func (*CreateGroupRequest) Descriptor
deprecated
func (*CreateGroupRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateGroupRequest.ProtoReflect.Descriptor instead.
func (*CreateGroupRequest) GetKind ¶
func (x *CreateGroupRequest) GetKind() string
func (*CreateGroupRequest) GetName ¶
func (x *CreateGroupRequest) GetName() string
func (*CreateGroupRequest) GetParent ¶
func (x *CreateGroupRequest) GetParent() string
func (*CreateGroupRequest) ProtoMessage ¶
func (*CreateGroupRequest) ProtoMessage()
func (*CreateGroupRequest) ProtoReflect ¶
func (x *CreateGroupRequest) ProtoReflect() protoreflect.Message
func (*CreateGroupRequest) Reset ¶
func (x *CreateGroupRequest) Reset()
func (*CreateGroupRequest) String ¶
func (x *CreateGroupRequest) String() string
type CreateUserRequest ¶
type CreateUserRequest struct { Kind string `protobuf:"bytes,1,opt,name=kind,proto3" json:"kind,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Username string `protobuf:"bytes,3,opt,name=username,proto3" json:"username,omitempty"` FirstName string `protobuf:"bytes,4,opt,name=firstName,proto3" json:"firstName,omitempty"` LastName string `protobuf:"bytes,5,opt,name=lastName,proto3" json:"lastName,omitempty"` // contains filtered or unexported fields }
func (*CreateUserRequest) Descriptor
deprecated
func (*CreateUserRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateUserRequest.ProtoReflect.Descriptor instead.
func (*CreateUserRequest) GetFirstName ¶
func (x *CreateUserRequest) GetFirstName() string
func (*CreateUserRequest) GetKind ¶
func (x *CreateUserRequest) GetKind() string
func (*CreateUserRequest) GetLastName ¶
func (x *CreateUserRequest) GetLastName() string
func (*CreateUserRequest) GetName ¶
func (x *CreateUserRequest) GetName() string
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 DeleteGroupRequest ¶
type DeleteGroupRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*DeleteGroupRequest) Descriptor
deprecated
func (*DeleteGroupRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteGroupRequest.ProtoReflect.Descriptor instead.
func (*DeleteGroupRequest) GetId ¶
func (x *DeleteGroupRequest) GetId() string
func (*DeleteGroupRequest) ProtoMessage ¶
func (*DeleteGroupRequest) ProtoMessage()
func (*DeleteGroupRequest) ProtoReflect ¶
func (x *DeleteGroupRequest) ProtoReflect() protoreflect.Message
func (*DeleteGroupRequest) Reset ¶
func (x *DeleteGroupRequest) Reset()
func (*DeleteGroupRequest) String ¶
func (x *DeleteGroupRequest) String() string
type DeleteUserRequest ¶
type DeleteUserRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*DeleteUserRequest) Descriptor
deprecated
func (*DeleteUserRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteUserRequest.ProtoReflect.Descriptor instead.
func (*DeleteUserRequest) GetId ¶
func (x *DeleteUserRequest) GetId() string
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 DirectoryClient ¶
type DirectoryClient interface { User(ctx context.Context, in *UserRequest, opts ...grpc.CallOption) (*UserResponse, error) Users(ctx context.Context, in *UsersRequest, opts ...grpc.CallOption) (Directory_UsersClient, error) CreateUser(ctx context.Context, in *CreateUserRequest, opts ...grpc.CallOption) (*UserResponse, error) DeleteUser(ctx context.Context, in *DeleteUserRequest, opts ...grpc.CallOption) (*Empty, error) Group(ctx context.Context, in *GroupRequest, opts ...grpc.CallOption) (*GroupResponse, error) Groups(ctx context.Context, in *GroupsRequest, opts ...grpc.CallOption) (Directory_GroupsClient, error) CreateGroup(ctx context.Context, in *CreateGroupRequest, opts ...grpc.CallOption) (*GroupResponse, error) DeleteGroup(ctx context.Context, in *DeleteGroupRequest, opts ...grpc.CallOption) (*Empty, error) UpdateGroupExtensions(ctx context.Context, in *UpdateGroupExtensionsRequest, opts ...grpc.CallOption) (*Empty, error) Members(ctx context.Context, in *MembersRequest, opts ...grpc.CallOption) (Directory_MembersClient, error) AddMember(ctx context.Context, in *AddMemberRequest, opts ...grpc.CallOption) (*Empty, error) RemoveMember(ctx context.Context, in *RemoveMemberRequest, opts ...grpc.CallOption) (*Empty, error) }
DirectoryClient is the client API for Directory 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 NewDirectoryClient ¶
func NewDirectoryClient(cc grpc.ClientConnInterface) DirectoryClient
type DirectoryServer ¶
type DirectoryServer interface { User(context.Context, *UserRequest) (*UserResponse, error) Users(*UsersRequest, Directory_UsersServer) error CreateUser(context.Context, *CreateUserRequest) (*UserResponse, error) DeleteUser(context.Context, *DeleteUserRequest) (*Empty, error) Group(context.Context, *GroupRequest) (*GroupResponse, error) Groups(*GroupsRequest, Directory_GroupsServer) error CreateGroup(context.Context, *CreateGroupRequest) (*GroupResponse, error) DeleteGroup(context.Context, *DeleteGroupRequest) (*Empty, error) UpdateGroupExtensions(context.Context, *UpdateGroupExtensionsRequest) (*Empty, error) Members(*MembersRequest, Directory_MembersServer) error AddMember(context.Context, *AddMemberRequest) (*Empty, error) RemoveMember(context.Context, *RemoveMemberRequest) (*Empty, error) // contains filtered or unexported methods }
DirectoryServer is the server API for Directory service. All implementations must embed UnimplementedDirectoryServer for forward compatibility
type Directory_GroupsClient ¶
type Directory_GroupsClient interface { Recv() (*GroupResponse, error) grpc.ClientStream }
type Directory_GroupsServer ¶
type Directory_GroupsServer interface { Send(*GroupResponse) error grpc.ServerStream }
type Directory_MembersClient ¶
type Directory_MembersClient interface { Recv() (*MemberResponse, error) grpc.ClientStream }
type Directory_MembersServer ¶
type Directory_MembersServer interface { Send(*MemberResponse) error grpc.ServerStream }
type Directory_UsersClient ¶
type Directory_UsersClient interface { Recv() (*UserResponse, error) grpc.ClientStream }
type Directory_UsersServer ¶
type Directory_UsersServer interface { Send(*UserResponse) error grpc.ServerStream }
type Empty ¶
type Empty struct {
// contains filtered or unexported fields
}
func (*Empty) Descriptor
deprecated
func (*Empty) ProtoMessage ¶
func (*Empty) ProtoMessage()
func (*Empty) ProtoReflect ¶
func (x *Empty) ProtoReflect() protoreflect.Message
type GroupRequest ¶
type GroupRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*GroupRequest) Descriptor
deprecated
func (*GroupRequest) Descriptor() ([]byte, []int)
Deprecated: Use GroupRequest.ProtoReflect.Descriptor instead.
func (*GroupRequest) GetId ¶
func (x *GroupRequest) GetId() string
func (*GroupRequest) ProtoMessage ¶
func (*GroupRequest) ProtoMessage()
func (*GroupRequest) ProtoReflect ¶
func (x *GroupRequest) ProtoReflect() protoreflect.Message
func (*GroupRequest) Reset ¶
func (x *GroupRequest) Reset()
func (*GroupRequest) String ¶
func (x *GroupRequest) String() string
type GroupResponse ¶
type GroupResponse struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Kind string `protobuf:"bytes,2,opt,name=kind,proto3" json:"kind,omitempty"` Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` Parent string `protobuf:"bytes,4,opt,name=parent,proto3" json:"parent,omitempty"` Extensions map[string]string `` /* 161-byte string literal not displayed */ // contains filtered or unexported fields }
func (*GroupResponse) Descriptor
deprecated
func (*GroupResponse) Descriptor() ([]byte, []int)
Deprecated: Use GroupResponse.ProtoReflect.Descriptor instead.
func (*GroupResponse) GetExtensions ¶
func (x *GroupResponse) GetExtensions() map[string]string
func (*GroupResponse) GetId ¶
func (x *GroupResponse) GetId() string
func (*GroupResponse) GetKind ¶
func (x *GroupResponse) GetKind() string
func (*GroupResponse) GetName ¶
func (x *GroupResponse) GetName() string
func (*GroupResponse) GetParent ¶
func (x *GroupResponse) GetParent() string
func (*GroupResponse) ProtoMessage ¶
func (*GroupResponse) ProtoMessage()
func (*GroupResponse) ProtoReflect ¶
func (x *GroupResponse) ProtoReflect() protoreflect.Message
func (*GroupResponse) Reset ¶
func (x *GroupResponse) Reset()
func (*GroupResponse) String ¶
func (x *GroupResponse) String() string
type GroupsRequest ¶
type GroupsRequest struct { FilterKind string `protobuf:"bytes,1,opt,name=filterKind,proto3" json:"filterKind,omitempty"` FilterParent string `protobuf:"bytes,2,opt,name=filterParent,proto3" json:"filterParent,omitempty"` // contains filtered or unexported fields }
func (*GroupsRequest) Descriptor
deprecated
func (*GroupsRequest) Descriptor() ([]byte, []int)
Deprecated: Use GroupsRequest.ProtoReflect.Descriptor instead.
func (*GroupsRequest) GetFilterKind ¶
func (x *GroupsRequest) GetFilterKind() string
func (*GroupsRequest) GetFilterParent ¶
func (x *GroupsRequest) GetFilterParent() string
func (*GroupsRequest) ProtoMessage ¶
func (*GroupsRequest) ProtoMessage()
func (*GroupsRequest) ProtoReflect ¶
func (x *GroupsRequest) ProtoReflect() protoreflect.Message
func (*GroupsRequest) Reset ¶
func (x *GroupsRequest) Reset()
func (*GroupsRequest) String ¶
func (x *GroupsRequest) String() string
type MemberResponse ¶
type MemberResponse struct { User *UserResponse `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"` Roles []string `protobuf:"bytes,2,rep,name=roles,proto3" json:"roles,omitempty"` // contains filtered or unexported fields }
func (*MemberResponse) Descriptor
deprecated
func (*MemberResponse) Descriptor() ([]byte, []int)
Deprecated: Use MemberResponse.ProtoReflect.Descriptor instead.
func (*MemberResponse) GetRoles ¶
func (x *MemberResponse) GetRoles() []string
func (*MemberResponse) GetUser ¶
func (x *MemberResponse) GetUser() *UserResponse
func (*MemberResponse) ProtoMessage ¶
func (*MemberResponse) ProtoMessage()
func (*MemberResponse) ProtoReflect ¶
func (x *MemberResponse) ProtoReflect() protoreflect.Message
func (*MemberResponse) Reset ¶
func (x *MemberResponse) Reset()
func (*MemberResponse) String ¶
func (x *MemberResponse) String() string
type MembersRequest ¶
type MembersRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*MembersRequest) Descriptor
deprecated
func (*MembersRequest) Descriptor() ([]byte, []int)
Deprecated: Use MembersRequest.ProtoReflect.Descriptor instead.
func (*MembersRequest) GetId ¶
func (x *MembersRequest) GetId() string
func (*MembersRequest) ProtoMessage ¶
func (*MembersRequest) ProtoMessage()
func (*MembersRequest) ProtoReflect ¶
func (x *MembersRequest) ProtoReflect() protoreflect.Message
func (*MembersRequest) Reset ¶
func (x *MembersRequest) Reset()
func (*MembersRequest) String ¶
func (x *MembersRequest) String() string
type RemoveMemberRequest ¶
type RemoveMemberRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` UserId string `protobuf:"bytes,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` // contains filtered or unexported fields }
func (*RemoveMemberRequest) Descriptor
deprecated
func (*RemoveMemberRequest) Descriptor() ([]byte, []int)
Deprecated: Use RemoveMemberRequest.ProtoReflect.Descriptor instead.
func (*RemoveMemberRequest) GetId ¶
func (x *RemoveMemberRequest) GetId() string
func (*RemoveMemberRequest) GetUserId ¶
func (x *RemoveMemberRequest) GetUserId() string
func (*RemoveMemberRequest) ProtoMessage ¶
func (*RemoveMemberRequest) ProtoMessage()
func (*RemoveMemberRequest) ProtoReflect ¶
func (x *RemoveMemberRequest) ProtoReflect() protoreflect.Message
func (*RemoveMemberRequest) Reset ¶
func (x *RemoveMemberRequest) Reset()
func (*RemoveMemberRequest) String ¶
func (x *RemoveMemberRequest) String() string
type RoleResponse ¶
type RoleResponse struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Kind string `protobuf:"bytes,2,opt,name=kind,proto3" json:"kind,omitempty"` Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*RoleResponse) Descriptor
deprecated
func (*RoleResponse) Descriptor() ([]byte, []int)
Deprecated: Use RoleResponse.ProtoReflect.Descriptor instead.
func (*RoleResponse) GetId ¶
func (x *RoleResponse) GetId() string
func (*RoleResponse) GetKind ¶
func (x *RoleResponse) GetKind() string
func (*RoleResponse) GetName ¶
func (x *RoleResponse) GetName() string
func (*RoleResponse) ProtoMessage ¶
func (*RoleResponse) ProtoMessage()
func (*RoleResponse) ProtoReflect ¶
func (x *RoleResponse) ProtoReflect() protoreflect.Message
func (*RoleResponse) Reset ¶
func (x *RoleResponse) Reset()
func (*RoleResponse) String ¶
func (x *RoleResponse) String() string
type UnimplementedDirectoryServer ¶
type UnimplementedDirectoryServer struct { }
UnimplementedDirectoryServer must be embedded to have forward compatible implementations.
func (UnimplementedDirectoryServer) AddMember ¶
func (UnimplementedDirectoryServer) AddMember(context.Context, *AddMemberRequest) (*Empty, error)
func (UnimplementedDirectoryServer) CreateGroup ¶
func (UnimplementedDirectoryServer) CreateGroup(context.Context, *CreateGroupRequest) (*GroupResponse, error)
func (UnimplementedDirectoryServer) CreateUser ¶
func (UnimplementedDirectoryServer) CreateUser(context.Context, *CreateUserRequest) (*UserResponse, error)
func (UnimplementedDirectoryServer) DeleteGroup ¶
func (UnimplementedDirectoryServer) DeleteGroup(context.Context, *DeleteGroupRequest) (*Empty, error)
func (UnimplementedDirectoryServer) DeleteUser ¶
func (UnimplementedDirectoryServer) DeleteUser(context.Context, *DeleteUserRequest) (*Empty, error)
func (UnimplementedDirectoryServer) Group ¶
func (UnimplementedDirectoryServer) Group(context.Context, *GroupRequest) (*GroupResponse, error)
func (UnimplementedDirectoryServer) Groups ¶
func (UnimplementedDirectoryServer) Groups(*GroupsRequest, Directory_GroupsServer) error
func (UnimplementedDirectoryServer) Members ¶
func (UnimplementedDirectoryServer) Members(*MembersRequest, Directory_MembersServer) error
func (UnimplementedDirectoryServer) RemoveMember ¶
func (UnimplementedDirectoryServer) RemoveMember(context.Context, *RemoveMemberRequest) (*Empty, error)
func (UnimplementedDirectoryServer) UpdateGroupExtensions ¶
func (UnimplementedDirectoryServer) UpdateGroupExtensions(context.Context, *UpdateGroupExtensionsRequest) (*Empty, error)
func (UnimplementedDirectoryServer) User ¶
func (UnimplementedDirectoryServer) User(context.Context, *UserRequest) (*UserResponse, error)
func (UnimplementedDirectoryServer) Users ¶
func (UnimplementedDirectoryServer) Users(*UsersRequest, Directory_UsersServer) error
type UnsafeDirectoryServer ¶
type UnsafeDirectoryServer interface {
// contains filtered or unexported methods
}
UnsafeDirectoryServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to DirectoryServer will result in compilation errors.
type UpdateGroupExtensionsRequest ¶
type UpdateGroupExtensionsRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Data map[string]string `` /* 149-byte string literal not displayed */ // contains filtered or unexported fields }
func (*UpdateGroupExtensionsRequest) Descriptor
deprecated
func (*UpdateGroupExtensionsRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateGroupExtensionsRequest.ProtoReflect.Descriptor instead.
func (*UpdateGroupExtensionsRequest) GetData ¶
func (x *UpdateGroupExtensionsRequest) GetData() map[string]string
func (*UpdateGroupExtensionsRequest) GetId ¶
func (x *UpdateGroupExtensionsRequest) GetId() string
func (*UpdateGroupExtensionsRequest) ProtoMessage ¶
func (*UpdateGroupExtensionsRequest) ProtoMessage()
func (*UpdateGroupExtensionsRequest) ProtoReflect ¶
func (x *UpdateGroupExtensionsRequest) ProtoReflect() protoreflect.Message
func (*UpdateGroupExtensionsRequest) Reset ¶
func (x *UpdateGroupExtensionsRequest) Reset()
func (*UpdateGroupExtensionsRequest) String ¶
func (x *UpdateGroupExtensionsRequest) String() string
type UserRequest ¶
type UserRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*UserRequest) Descriptor
deprecated
func (*UserRequest) Descriptor() ([]byte, []int)
Deprecated: Use UserRequest.ProtoReflect.Descriptor instead.
func (*UserRequest) GetId ¶
func (x *UserRequest) GetId() string
func (*UserRequest) ProtoMessage ¶
func (*UserRequest) ProtoMessage()
func (*UserRequest) ProtoReflect ¶
func (x *UserRequest) ProtoReflect() protoreflect.Message
func (*UserRequest) Reset ¶
func (x *UserRequest) Reset()
func (*UserRequest) String ¶
func (x *UserRequest) String() string
type UserResponse ¶
type UserResponse struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Kind string `protobuf:"bytes,2,opt,name=kind,proto3" json:"kind,omitempty"` Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` FirstName string `protobuf:"bytes,4,opt,name=first_name,json=firstName,proto3" json:"first_name,omitempty"` LastName string `protobuf:"bytes,5,opt,name=last_name,json=lastName,proto3" json:"last_name,omitempty"` Username string `protobuf:"bytes,6,opt,name=username,proto3" json:"username,omitempty"` Nickname string `protobuf:"bytes,7,opt,name=nickname,proto3" json:"nickname,omitempty"` Mail string `protobuf:"bytes,8,opt,name=mail,proto3" json:"mail,omitempty"` Phone string `protobuf:"bytes,9,opt,name=phone,proto3" json:"phone,omitempty"` Profile string `protobuf:"bytes,10,opt,name=profile,proto3" json:"profile,omitempty"` Picture string `protobuf:"bytes,11,opt,name=picture,proto3" json:"picture,omitempty"` Website string `protobuf:"bytes,12,opt,name=website,proto3" json:"website,omitempty"` // contains filtered or unexported fields }
func (*UserResponse) Descriptor
deprecated
func (*UserResponse) Descriptor() ([]byte, []int)
Deprecated: Use UserResponse.ProtoReflect.Descriptor instead.
func (*UserResponse) GetFirstName ¶
func (x *UserResponse) GetFirstName() string
func (*UserResponse) GetId ¶
func (x *UserResponse) GetId() string
func (*UserResponse) GetKind ¶
func (x *UserResponse) GetKind() string
func (*UserResponse) GetLastName ¶
func (x *UserResponse) GetLastName() string
func (*UserResponse) GetMail ¶
func (x *UserResponse) GetMail() string
func (*UserResponse) GetName ¶
func (x *UserResponse) GetName() string
func (*UserResponse) GetNickname ¶
func (x *UserResponse) GetNickname() string
func (*UserResponse) GetPhone ¶
func (x *UserResponse) GetPhone() string
func (*UserResponse) GetPicture ¶
func (x *UserResponse) GetPicture() string
func (*UserResponse) GetProfile ¶
func (x *UserResponse) GetProfile() string
func (*UserResponse) GetUsername ¶
func (x *UserResponse) GetUsername() string
func (*UserResponse) GetWebsite ¶
func (x *UserResponse) GetWebsite() string
func (*UserResponse) ProtoMessage ¶
func (*UserResponse) ProtoMessage()
func (*UserResponse) ProtoReflect ¶
func (x *UserResponse) ProtoReflect() protoreflect.Message
func (*UserResponse) Reset ¶
func (x *UserResponse) Reset()
func (*UserResponse) String ¶
func (x *UserResponse) String() string
type UsersRequest ¶
type UsersRequest struct {
// contains filtered or unexported fields
}
func (*UsersRequest) Descriptor
deprecated
func (*UsersRequest) Descriptor() ([]byte, []int)
Deprecated: Use UsersRequest.ProtoReflect.Descriptor instead.
func (*UsersRequest) ProtoMessage ¶
func (*UsersRequest) ProtoMessage()
func (*UsersRequest) ProtoReflect ¶
func (x *UsersRequest) ProtoReflect() protoreflect.Message
func (*UsersRequest) Reset ¶
func (x *UsersRequest) Reset()
func (*UsersRequest) String ¶
func (x *UsersRequest) String() string