Ydb_Scheme_V1

package
v0.0.0-...-ea1f632 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 12, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
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

View Source
var File_ydb_scheme_v1_proto protoreflect.FileDescriptor
View Source
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.

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.

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL