Documentation ¶
Index ¶
- Constants
- Variables
- func RegisterCmsServiceServer(s grpc.ServiceRegistrar, srv CmsServiceServer)
- type CmsServiceClient
- type CmsServiceServer
- type UnimplementedCmsServiceServer
- func (UnimplementedCmsServiceServer) AlterDatabase(context.Context, *Ydb_Cms.AlterDatabaseRequest) (*Ydb_Cms.AlterDatabaseResponse, error)
- func (UnimplementedCmsServiceServer) CreateDatabase(context.Context, *Ydb_Cms.CreateDatabaseRequest) (*Ydb_Cms.CreateDatabaseResponse, error)
- func (UnimplementedCmsServiceServer) DescribeDatabaseOptions(context.Context, *Ydb_Cms.DescribeDatabaseOptionsRequest) (*Ydb_Cms.DescribeDatabaseOptionsResponse, error)
- func (UnimplementedCmsServiceServer) GetDatabaseStatus(context.Context, *Ydb_Cms.GetDatabaseStatusRequest) (*Ydb_Cms.GetDatabaseStatusResponse, error)
- func (UnimplementedCmsServiceServer) ListDatabases(context.Context, *Ydb_Cms.ListDatabasesRequest) (*Ydb_Cms.ListDatabasesResponse, error)
- func (UnimplementedCmsServiceServer) RemoveDatabase(context.Context, *Ydb_Cms.RemoveDatabaseRequest) (*Ydb_Cms.RemoveDatabaseResponse, error)
- type UnsafeCmsServiceServer
Constants ¶
const ( CmsService_CreateDatabase_FullMethodName = "/Ydb.Cms.V1.CmsService/CreateDatabase" CmsService_GetDatabaseStatus_FullMethodName = "/Ydb.Cms.V1.CmsService/GetDatabaseStatus" CmsService_AlterDatabase_FullMethodName = "/Ydb.Cms.V1.CmsService/AlterDatabase" CmsService_ListDatabases_FullMethodName = "/Ydb.Cms.V1.CmsService/ListDatabases" CmsService_RemoveDatabase_FullMethodName = "/Ydb.Cms.V1.CmsService/RemoveDatabase" CmsService_DescribeDatabaseOptions_FullMethodName = "/Ydb.Cms.V1.CmsService/DescribeDatabaseOptions" )
Variables ¶
var CmsService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "Ydb.Cms.V1.CmsService", HandlerType: (*CmsServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "CreateDatabase", Handler: _CmsService_CreateDatabase_Handler, }, { MethodName: "GetDatabaseStatus", Handler: _CmsService_GetDatabaseStatus_Handler, }, { MethodName: "AlterDatabase", Handler: _CmsService_AlterDatabase_Handler, }, { MethodName: "ListDatabases", Handler: _CmsService_ListDatabases_Handler, }, { MethodName: "RemoveDatabase", Handler: _CmsService_RemoveDatabase_Handler, }, { MethodName: "DescribeDatabaseOptions", Handler: _CmsService_DescribeDatabaseOptions_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "ydb_cms_v1.proto", }
CmsService_ServiceDesc is the grpc.ServiceDesc for CmsService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_ydb_cms_v1_proto protoreflect.FileDescriptor
Functions ¶
func RegisterCmsServiceServer ¶
func RegisterCmsServiceServer(s grpc.ServiceRegistrar, srv CmsServiceServer)
Types ¶
type CmsServiceClient ¶
type CmsServiceClient interface { // Create a new database. CreateDatabase(ctx context.Context, in *Ydb_Cms.CreateDatabaseRequest, opts ...grpc.CallOption) (*Ydb_Cms.CreateDatabaseResponse, error) // Get current database's status. GetDatabaseStatus(ctx context.Context, in *Ydb_Cms.GetDatabaseStatusRequest, opts ...grpc.CallOption) (*Ydb_Cms.GetDatabaseStatusResponse, error) // Alter database resources. AlterDatabase(ctx context.Context, in *Ydb_Cms.AlterDatabaseRequest, opts ...grpc.CallOption) (*Ydb_Cms.AlterDatabaseResponse, error) // List all databases. ListDatabases(ctx context.Context, in *Ydb_Cms.ListDatabasesRequest, opts ...grpc.CallOption) (*Ydb_Cms.ListDatabasesResponse, error) // Remove database. RemoveDatabase(ctx context.Context, in *Ydb_Cms.RemoveDatabaseRequest, opts ...grpc.CallOption) (*Ydb_Cms.RemoveDatabaseResponse, error) // Describe supported database options. DescribeDatabaseOptions(ctx context.Context, in *Ydb_Cms.DescribeDatabaseOptionsRequest, opts ...grpc.CallOption) (*Ydb_Cms.DescribeDatabaseOptionsResponse, error) }
CmsServiceClient is the client API for CmsService 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 NewCmsServiceClient ¶
func NewCmsServiceClient(cc grpc.ClientConnInterface) CmsServiceClient
type CmsServiceServer ¶
type CmsServiceServer interface { // Create a new database. CreateDatabase(context.Context, *Ydb_Cms.CreateDatabaseRequest) (*Ydb_Cms.CreateDatabaseResponse, error) // Get current database's status. GetDatabaseStatus(context.Context, *Ydb_Cms.GetDatabaseStatusRequest) (*Ydb_Cms.GetDatabaseStatusResponse, error) // Alter database resources. AlterDatabase(context.Context, *Ydb_Cms.AlterDatabaseRequest) (*Ydb_Cms.AlterDatabaseResponse, error) // List all databases. ListDatabases(context.Context, *Ydb_Cms.ListDatabasesRequest) (*Ydb_Cms.ListDatabasesResponse, error) // Remove database. RemoveDatabase(context.Context, *Ydb_Cms.RemoveDatabaseRequest) (*Ydb_Cms.RemoveDatabaseResponse, error) // Describe supported database options. DescribeDatabaseOptions(context.Context, *Ydb_Cms.DescribeDatabaseOptionsRequest) (*Ydb_Cms.DescribeDatabaseOptionsResponse, error) // contains filtered or unexported methods }
CmsServiceServer is the server API for CmsService service. All implementations must embed UnimplementedCmsServiceServer for forward compatibility
type UnimplementedCmsServiceServer ¶
type UnimplementedCmsServiceServer struct { }
UnimplementedCmsServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedCmsServiceServer) AlterDatabase ¶
func (UnimplementedCmsServiceServer) AlterDatabase(context.Context, *Ydb_Cms.AlterDatabaseRequest) (*Ydb_Cms.AlterDatabaseResponse, error)
func (UnimplementedCmsServiceServer) CreateDatabase ¶
func (UnimplementedCmsServiceServer) CreateDatabase(context.Context, *Ydb_Cms.CreateDatabaseRequest) (*Ydb_Cms.CreateDatabaseResponse, error)
func (UnimplementedCmsServiceServer) DescribeDatabaseOptions ¶
func (UnimplementedCmsServiceServer) DescribeDatabaseOptions(context.Context, *Ydb_Cms.DescribeDatabaseOptionsRequest) (*Ydb_Cms.DescribeDatabaseOptionsResponse, error)
func (UnimplementedCmsServiceServer) GetDatabaseStatus ¶
func (UnimplementedCmsServiceServer) GetDatabaseStatus(context.Context, *Ydb_Cms.GetDatabaseStatusRequest) (*Ydb_Cms.GetDatabaseStatusResponse, error)
func (UnimplementedCmsServiceServer) ListDatabases ¶
func (UnimplementedCmsServiceServer) ListDatabases(context.Context, *Ydb_Cms.ListDatabasesRequest) (*Ydb_Cms.ListDatabasesResponse, error)
func (UnimplementedCmsServiceServer) RemoveDatabase ¶
func (UnimplementedCmsServiceServer) RemoveDatabase(context.Context, *Ydb_Cms.RemoveDatabaseRequest) (*Ydb_Cms.RemoveDatabaseResponse, error)
type UnsafeCmsServiceServer ¶
type UnsafeCmsServiceServer interface {
// contains filtered or unexported methods
}
UnsafeCmsServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to CmsServiceServer will result in compilation errors.