Versions in this module Expand all Collapse all v1 v1.30.2 Oct 11, 2023 Changes in this version + var ClientService_ServiceDesc = grpc.ServiceDesc + var File_clients_proto protoreflect.FileDescriptor + func RegisterClientServiceServer(s grpc.ServiceRegistrar, srv ClientServiceServer) + type Client struct + Id int64 + IsActive bool + Principal string + Type string + func (*Client) Descriptor() ([]byte, []int) + func (*Client) ProtoMessage() + func (x *Client) GetId() int64 + func (x *Client) GetIsActive() bool + func (x *Client) GetPrincipal() string + func (x *Client) GetType() string + func (x *Client) ProtoReflect() protoreflect.Message + func (x *Client) Reset() + func (x *Client) String() string + type ClientRequest struct + Principal string + Type string + func (*ClientRequest) Descriptor() ([]byte, []int) + func (*ClientRequest) ProtoMessage() + func (x *ClientRequest) GetPrincipal() string + func (x *ClientRequest) GetType() string + func (x *ClientRequest) ProtoReflect() protoreflect.Message + func (x *ClientRequest) Reset() + func (x *ClientRequest) String() string + type ClientServiceClient interface + Create func(ctx context.Context, in *ClientRequest, opts ...grpc.CallOption) (*Client, error) + CreateRole func(ctx context.Context, opts ...grpc.CallOption) (ClientService_CreateRoleClient, error) + Delete func(ctx context.Context, opts ...grpc.CallOption) (ClientService_DeleteClient, error) + IsOwner func(ctx context.Context, in *IsOwnerRequest, opts ...grpc.CallOption) (*IsOwnerResponse, error) + List func(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (ClientService_ListClient, error) + Retrieve func(ctx context.Context, in *DeleteClientRequest, opts ...grpc.CallOption) (ClientService_RetrieveClient, error) + Update func(ctx context.Context, in *Client, opts ...grpc.CallOption) (*Client, error) + UpdateRoles func(ctx context.Context, opts ...grpc.CallOption) (ClientService_UpdateRolesClient, error) + func NewClientServiceClient(cc grpc.ClientConnInterface) ClientServiceClient + type ClientServiceServer interface + Create func(context.Context, *ClientRequest) (*Client, error) + CreateRole func(ClientService_CreateRoleServer) error + Delete func(ClientService_DeleteServer) error + IsOwner func(context.Context, *IsOwnerRequest) (*IsOwnerResponse, error) + List func(*empty.Empty, ClientService_ListServer) error + Retrieve func(*DeleteClientRequest, ClientService_RetrieveServer) error + Update func(context.Context, *Client) (*Client, error) + UpdateRoles func(ClientService_UpdateRolesServer) error + type ClientService_CreateRoleClient interface + Recv func() (*Role, error) + Send func(*CreateRoleRequest) error + type ClientService_CreateRoleServer interface + Recv func() (*CreateRoleRequest, error) + Send func(*Role) error + type ClientService_DeleteClient interface + Recv func() (*Client, error) + Send func(*DeleteClientRequest) error + type ClientService_DeleteServer interface + Recv func() (*DeleteClientRequest, error) + Send func(*Client) error + type ClientService_ListClient interface + Recv func() (*Client, error) + type ClientService_ListServer interface + Send func(*Client) error + type ClientService_RetrieveClient interface + Recv func() (*RetrieveResourceScope, error) + type ClientService_RetrieveServer interface + Send func(*RetrieveResourceScope) error + type ClientService_UpdateRolesClient interface + Recv func() (*Role, error) + Send func(*Role) error + type ClientService_UpdateRolesServer interface + Recv func() (*Role, error) + Send func(*Role) error + type CreateRoleRequest struct + ClientId int64 + ScopeId int64 + func (*CreateRoleRequest) Descriptor() ([]byte, []int) + func (*CreateRoleRequest) ProtoMessage() + func (x *CreateRoleRequest) GetClientId() int64 + func (x *CreateRoleRequest) GetScopeId() int64 + func (x *CreateRoleRequest) ProtoReflect() protoreflect.Message + func (x *CreateRoleRequest) Reset() + func (x *CreateRoleRequest) String() string + type DeleteClientRequest struct + ClientId int64 + func (*DeleteClientRequest) Descriptor() ([]byte, []int) + func (*DeleteClientRequest) ProtoMessage() + func (x *DeleteClientRequest) GetClientId() int64 + func (x *DeleteClientRequest) ProtoReflect() protoreflect.Message + func (x *DeleteClientRequest) Reset() + func (x *DeleteClientRequest) String() string + type IsOwnerRequest struct + Principal string + func (*IsOwnerRequest) Descriptor() ([]byte, []int) + func (*IsOwnerRequest) ProtoMessage() + func (x *IsOwnerRequest) GetPrincipal() string + func (x *IsOwnerRequest) ProtoReflect() protoreflect.Message + func (x *IsOwnerRequest) Reset() + func (x *IsOwnerRequest) String() string + type IsOwnerResponse struct + IsOwner bool + func (*IsOwnerResponse) Descriptor() ([]byte, []int) + func (*IsOwnerResponse) ProtoMessage() + func (x *IsOwnerResponse) GetIsOwner() bool + func (x *IsOwnerResponse) ProtoReflect() protoreflect.Message + func (x *IsOwnerResponse) Reset() + func (x *IsOwnerResponse) String() string + type RetrieveResourceScope struct + Description string + Label string + Name string + ResourceId int64 + ResourceScopesId int64 + func (*RetrieveResourceScope) Descriptor() ([]byte, []int) + func (*RetrieveResourceScope) ProtoMessage() + func (x *RetrieveResourceScope) GetDescription() string + func (x *RetrieveResourceScope) GetLabel() string + func (x *RetrieveResourceScope) GetName() string + func (x *RetrieveResourceScope) GetResourceId() int64 + func (x *RetrieveResourceScope) GetResourceScopesId() int64 + func (x *RetrieveResourceScope) ProtoReflect() protoreflect.Message + func (x *RetrieveResourceScope) Reset() + func (x *RetrieveResourceScope) String() string + type Role struct + ClientId int64 + Id int64 + ScopeId int64 + func (*Role) Descriptor() ([]byte, []int) + func (*Role) ProtoMessage() + func (x *Role) GetClientId() int64 + func (x *Role) GetId() int64 + func (x *Role) GetScopeId() int64 + func (x *Role) ProtoReflect() protoreflect.Message + func (x *Role) Reset() + func (x *Role) String() string + type UnimplementedClientServiceServer struct + func (UnimplementedClientServiceServer) Create(context.Context, *ClientRequest) (*Client, error) + func (UnimplementedClientServiceServer) CreateRole(ClientService_CreateRoleServer) error + func (UnimplementedClientServiceServer) Delete(ClientService_DeleteServer) error + func (UnimplementedClientServiceServer) IsOwner(context.Context, *IsOwnerRequest) (*IsOwnerResponse, error) + func (UnimplementedClientServiceServer) List(*empty.Empty, ClientService_ListServer) error + func (UnimplementedClientServiceServer) Retrieve(*DeleteClientRequest, ClientService_RetrieveServer) error + func (UnimplementedClientServiceServer) Update(context.Context, *Client) (*Client, error) + func (UnimplementedClientServiceServer) UpdateRoles(ClientService_UpdateRolesServer) error + type UnsafeClientServiceServer interface