Documentation ¶
Index ¶
- Constants
- Variables
- func RegisterSchemeServiceServer(s grpc.ServiceRegistrar, srv SchemeServiceServer)
- type SchemeServiceClient
- type SchemeServiceServer
- type UnimplementedSchemeServiceServer
- func (UnimplementedSchemeServiceServer) DescribePath(context.Context, *Ydb_Scheme.DescribePathRequest) (*Ydb_Scheme.DescribePathResponse, error)
- func (UnimplementedSchemeServiceServer) ListDirectory(context.Context, *Ydb_Scheme.ListDirectoryRequest) (*Ydb_Scheme.ListDirectoryResponse, error)
- func (UnimplementedSchemeServiceServer) MakeDirectory(context.Context, *Ydb_Scheme.MakeDirectoryRequest) (*Ydb_Scheme.MakeDirectoryResponse, error)
- func (UnimplementedSchemeServiceServer) ModifyPermissions(context.Context, *Ydb_Scheme.ModifyPermissionsRequest) (*Ydb_Scheme.ModifyPermissionsResponse, error)
- func (UnimplementedSchemeServiceServer) RemoveDirectory(context.Context, *Ydb_Scheme.RemoveDirectoryRequest) (*Ydb_Scheme.RemoveDirectoryResponse, error)
- type UnsafeSchemeServiceServer
Constants ¶
const ( SchemeService_MakeDirectory_FullMethodName = "/Ydb.Scheme.V1.SchemeService/MakeDirectory" SchemeService_RemoveDirectory_FullMethodName = "/Ydb.Scheme.V1.SchemeService/RemoveDirectory" SchemeService_ListDirectory_FullMethodName = "/Ydb.Scheme.V1.SchemeService/ListDirectory" SchemeService_DescribePath_FullMethodName = "/Ydb.Scheme.V1.SchemeService/DescribePath" SchemeService_ModifyPermissions_FullMethodName = "/Ydb.Scheme.V1.SchemeService/ModifyPermissions" )
Variables ¶
var File_ydb_scheme_v1_proto protoreflect.FileDescriptor
var SchemeService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "Ydb.Scheme.V1.SchemeService", HandlerType: (*SchemeServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "MakeDirectory", Handler: _SchemeService_MakeDirectory_Handler, }, { MethodName: "RemoveDirectory", Handler: _SchemeService_RemoveDirectory_Handler, }, { MethodName: "ListDirectory", Handler: _SchemeService_ListDirectory_Handler, }, { MethodName: "DescribePath", Handler: _SchemeService_DescribePath_Handler, }, { MethodName: "ModifyPermissions", Handler: _SchemeService_ModifyPermissions_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "ydb_scheme_v1.proto", }
SchemeService_ServiceDesc is the grpc.ServiceDesc for SchemeService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterSchemeServiceServer ¶
func RegisterSchemeServiceServer(s grpc.ServiceRegistrar, srv SchemeServiceServer)
Types ¶
type SchemeServiceClient ¶
type SchemeServiceClient interface { // Make Directory. MakeDirectory(ctx context.Context, in *Ydb_Scheme.MakeDirectoryRequest, opts ...grpc.CallOption) (*Ydb_Scheme.MakeDirectoryResponse, error) // Remove Directory. RemoveDirectory(ctx context.Context, in *Ydb_Scheme.RemoveDirectoryRequest, opts ...grpc.CallOption) (*Ydb_Scheme.RemoveDirectoryResponse, error) // Returns information about given directory and objects inside it. ListDirectory(ctx context.Context, in *Ydb_Scheme.ListDirectoryRequest, opts ...grpc.CallOption) (*Ydb_Scheme.ListDirectoryResponse, error) // Returns information about object with given path. DescribePath(ctx context.Context, in *Ydb_Scheme.DescribePathRequest, opts ...grpc.CallOption) (*Ydb_Scheme.DescribePathResponse, error) // Modify permissions. ModifyPermissions(ctx context.Context, in *Ydb_Scheme.ModifyPermissionsRequest, opts ...grpc.CallOption) (*Ydb_Scheme.ModifyPermissionsResponse, error) }
SchemeServiceClient is the client API for SchemeService 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 NewSchemeServiceClient ¶
func NewSchemeServiceClient(cc grpc.ClientConnInterface) SchemeServiceClient
type SchemeServiceServer ¶
type SchemeServiceServer interface { // Make Directory. MakeDirectory(context.Context, *Ydb_Scheme.MakeDirectoryRequest) (*Ydb_Scheme.MakeDirectoryResponse, error) // Remove Directory. RemoveDirectory(context.Context, *Ydb_Scheme.RemoveDirectoryRequest) (*Ydb_Scheme.RemoveDirectoryResponse, error) // Returns information about given directory and objects inside it. ListDirectory(context.Context, *Ydb_Scheme.ListDirectoryRequest) (*Ydb_Scheme.ListDirectoryResponse, error) // Returns information about object with given path. DescribePath(context.Context, *Ydb_Scheme.DescribePathRequest) (*Ydb_Scheme.DescribePathResponse, error) // Modify permissions. ModifyPermissions(context.Context, *Ydb_Scheme.ModifyPermissionsRequest) (*Ydb_Scheme.ModifyPermissionsResponse, error) // contains filtered or unexported methods }
SchemeServiceServer is the server API for SchemeService service. All implementations must embed UnimplementedSchemeServiceServer for forward compatibility
type UnimplementedSchemeServiceServer ¶
type UnimplementedSchemeServiceServer struct { }
UnimplementedSchemeServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedSchemeServiceServer) DescribePath ¶
func (UnimplementedSchemeServiceServer) DescribePath(context.Context, *Ydb_Scheme.DescribePathRequest) (*Ydb_Scheme.DescribePathResponse, error)
func (UnimplementedSchemeServiceServer) ListDirectory ¶
func (UnimplementedSchemeServiceServer) ListDirectory(context.Context, *Ydb_Scheme.ListDirectoryRequest) (*Ydb_Scheme.ListDirectoryResponse, error)
func (UnimplementedSchemeServiceServer) MakeDirectory ¶
func (UnimplementedSchemeServiceServer) MakeDirectory(context.Context, *Ydb_Scheme.MakeDirectoryRequest) (*Ydb_Scheme.MakeDirectoryResponse, error)
func (UnimplementedSchemeServiceServer) ModifyPermissions ¶
func (UnimplementedSchemeServiceServer) ModifyPermissions(context.Context, *Ydb_Scheme.ModifyPermissionsRequest) (*Ydb_Scheme.ModifyPermissionsResponse, error)
func (UnimplementedSchemeServiceServer) RemoveDirectory ¶
func (UnimplementedSchemeServiceServer) RemoveDirectory(context.Context, *Ydb_Scheme.RemoveDirectoryRequest) (*Ydb_Scheme.RemoveDirectoryResponse, error)
type UnsafeSchemeServiceServer ¶
type UnsafeSchemeServiceServer interface {
// contains filtered or unexported methods
}
UnsafeSchemeServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to SchemeServiceServer will result in compilation errors.