import type { RpcTransport } from "@protobuf-ts/runtime-rpc"; import type { ServiceInfo } from "@protobuf-ts/runtime-rpc"; import type { ImportReplResponse } from "./service.js"; import type { ImportReplRequest } from "./service.js"; import type { ExportReplResponse } from "./service.js"; import type { ExportReplRequest } from "./service.js"; import type { TransferReplFromOfflineClusterResponse } from "./service.js"; import type { TransferReplFromOfflineClusterRequest } from "./service.js"; import type { GetClustersResponse } from "./service.js"; import type { GetClustersRequest } from "./service.js"; import type { DeleteReplResponse } from "./service.js"; import type { DeleteReplRequest } from "./service.js"; import type { BulkRemoveResponse } from "./service.js"; import type { BulkRemoveRequest } from "./service.js"; import type { RestoreReplResponse } from "./service.js"; import type { RestoreReplRequest } from "./service.js"; import type { SoftTakedownReplResponse } from "./service.js"; import type { SoftTakedownReplRequest } from "./service.js"; import type { TakedownReplResponse } from "./service.js"; import type { TakedownReplRequest } from "./service.js"; import type { TransferUserResponse } from "./service.js"; import type { TransferUserRequest } from "./service.js"; import type { TransferReplsResponse } from "./service.js"; import type { TransferReplsRequest } from "./service.js"; import type { GetTransferStatusResponse } from "./service.js"; import type { GetTransferStatusRequest } from "./service.js"; import type { GetReplConnectionInfoResponse } from "./service.js"; import type { GetReplConnectionInfoRequest } from "./service.js"; import type { GetReplResponse } from "./service.js"; import type { GetReplRequest } from "./service.js"; import type { CreateReplResponse } from "./service.js"; import type { CreateReplRequest } from "./service.js"; import type { UnaryCall } from "@protobuf-ts/runtime-rpc"; import type { RpcOptions } from "@protobuf-ts/runtime-rpc"; /** * Lore is the service that manages goval clusters. It maps repls to their * cluster and provides a way to transfer repls between clusters. * * @generated from protobuf service replit.goval.api.lore.Lore */ export interface ILoreClient { /** * CreateRepl will create a new repl in Lore. Its contents may be copied from * a source repl or a specified list of files. * * @generated from protobuf rpc: CreateRepl */ createRepl(input: CreateReplRequest, options?: RpcOptions): UnaryCall; /** * GetRepl will return a repl and its associated cluster and GCS buckets. * * @generated from protobuf rpc: GetRepl */ getRepl(input: GetReplRequest, options?: RpcOptions): UnaryCall; /** * GetReplConnectionInfo will return a repl and its associated cluster and * GCE buckets. If the repl does not exist, the repl will be created; however, * GCS contents will not be copied. This is only used for guest-fork repls * which don't require GCS copies. For regular repls, `CreateRepl` must be * called to copy the repl contents. * * @generated from protobuf rpc: GetReplConnectionInfo */ getReplConnectionInfo(input: GetReplConnectionInfoRequest, options?: RpcOptions): UnaryCall; /** * GetTransferStatus will return the status of the given repl transfer. * * @generated from protobuf rpc: GetTransferStatus */ getTransferStatus(input: GetTransferStatusRequest, options?: RpcOptions): UnaryCall; /** * TransferRepls will initiate a bulk transfer of repls to a new cluster and * return the transfer id. * * @generated from protobuf rpc: TransferRepls */ transferRepls(input: TransferReplsRequest, options?: RpcOptions): UnaryCall; /** * TransferUser will initiate a bulk transfer of repls for the user * to a new cluster and return the transfer id. * * @deprecated * @generated from protobuf rpc: TransferUser */ transferUser(input: TransferUserRequest, options?: RpcOptions): UnaryCall; /** * TakedownRepl performs a hard takedown of a repl, which blocks a user from * running it for an hour and prevents the repl from being woken up via * requests to ..repl.co, requiring the repl to be opened in the * workspace. * * @generated from protobuf rpc: TakedownRepl */ takedownRepl(input: TakedownReplRequest, options?: RpcOptions): UnaryCall; /** * SoftTakedownRepl performs a soft takedown of a repl, which allows a user to * restart it immediately and prevents the repl from being woken up via * requests to ..repl.co, requiring the repl to be opened in the * workspace. * * @generated from protobuf rpc: SoftTakedownRepl */ softTakedownRepl(input: SoftTakedownReplRequest, options?: RpcOptions): UnaryCall; /** * RestoreRepl deletes a repl's tombstone. * * @generated from protobuf rpc: RestoreRepl */ restoreRepl(input: RestoreReplRequest, options?: RpcOptions): UnaryCall; /** * BulkRemove performs a soft takedown on the specified repls. * * @generated from protobuf rpc: BulkRemove */ bulkRemove(input: BulkRemoveRequest, options?: RpcOptions): UnaryCall; /** * DeleteRepl permanently deletes a repl. * This adds a tombstone to prevent the repl from running, attempts to delete * GCS resources (margarine disk, helium margarine disk + snapshots, gcsfiles, * OT metadata) on a best-effort basis, and soft deletes the repl from the * lore database. GCS cleanup failures are logged but do not block deletion; * orphaned storage can be cleaned up separately. * This operation is irreversible and idempotent. * * @generated from protobuf rpc: DeleteRepl */ deleteRepl(input: DeleteReplRequest, options?: RpcOptions): UnaryCall; /** * GetClusters returns metadata for all clusters. * * @generated from protobuf rpc: GetClusters */ getClusters(input: GetClustersRequest, options?: RpcOptions): UnaryCall; /** * TransferReplFromOfflineCluster transfers a repl from an offline cluster to * a new cluster. * The key difference between this and TransferRepls is that this method * doesn't require the source cluster to be online. * Deprecated. TransferRepls will automatically handle offline clusters. * * @deprecated * @generated from protobuf rpc: TransferReplFromOfflineCluster */ transferReplFromOfflineCluster(input: TransferReplFromOfflineClusterRequest, options?: RpcOptions): UnaryCall; /** * ExportRepl exports a bundle of signed object store URLs for exporting the * full contents of a repl. Currently this only includes loose files and * margarine blocks. * * The `ReplExport` can be passed to a call to another Lore's `ImportRepl` RPC * to import the repl into another Lore. * * Exports are short lived and should be imported as soon as possible. * * @generated from protobuf rpc: ExportRepl */ exportRepl(input: ExportReplRequest, options?: RpcOptions): UnaryCall; /** * ImportRepl imports a repls contents into this Lore's domain. An export * from another Lore's `ExportRepl` RPC must be provided. * * This will copy the data from the export's signed URLs into this Lore's * set of object storage buckets. * * @generated from protobuf rpc: ImportRepl */ importRepl(input: ImportReplRequest, options?: RpcOptions): UnaryCall; } /** * Lore is the service that manages goval clusters. It maps repls to their * cluster and provides a way to transfer repls between clusters. * * @generated from protobuf service replit.goval.api.lore.Lore */ export declare class LoreClient implements ILoreClient, ServiceInfo { private readonly _transport; typeName: string; methods: import("@protobuf-ts/runtime-rpc").MethodInfo[]; options: { [extensionName: string]: import("@protobuf-ts/runtime").JsonValue; }; constructor(_transport: RpcTransport); /** * CreateRepl will create a new repl in Lore. Its contents may be copied from * a source repl or a specified list of files. * * @generated from protobuf rpc: CreateRepl */ createRepl(input: CreateReplRequest, options?: RpcOptions): UnaryCall; /** * GetRepl will return a repl and its associated cluster and GCS buckets. * * @generated from protobuf rpc: GetRepl */ getRepl(input: GetReplRequest, options?: RpcOptions): UnaryCall; /** * GetReplConnectionInfo will return a repl and its associated cluster and * GCE buckets. If the repl does not exist, the repl will be created; however, * GCS contents will not be copied. This is only used for guest-fork repls * which don't require GCS copies. For regular repls, `CreateRepl` must be * called to copy the repl contents. * * @generated from protobuf rpc: GetReplConnectionInfo */ getReplConnectionInfo(input: GetReplConnectionInfoRequest, options?: RpcOptions): UnaryCall; /** * GetTransferStatus will return the status of the given repl transfer. * * @generated from protobuf rpc: GetTransferStatus */ getTransferStatus(input: GetTransferStatusRequest, options?: RpcOptions): UnaryCall; /** * TransferRepls will initiate a bulk transfer of repls to a new cluster and * return the transfer id. * * @generated from protobuf rpc: TransferRepls */ transferRepls(input: TransferReplsRequest, options?: RpcOptions): UnaryCall; /** * TransferUser will initiate a bulk transfer of repls for the user * to a new cluster and return the transfer id. * * @deprecated * @generated from protobuf rpc: TransferUser */ transferUser(input: TransferUserRequest, options?: RpcOptions): UnaryCall; /** * TakedownRepl performs a hard takedown of a repl, which blocks a user from * running it for an hour and prevents the repl from being woken up via * requests to ..repl.co, requiring the repl to be opened in the * workspace. * * @generated from protobuf rpc: TakedownRepl */ takedownRepl(input: TakedownReplRequest, options?: RpcOptions): UnaryCall; /** * SoftTakedownRepl performs a soft takedown of a repl, which allows a user to * restart it immediately and prevents the repl from being woken up via * requests to ..repl.co, requiring the repl to be opened in the * workspace. * * @generated from protobuf rpc: SoftTakedownRepl */ softTakedownRepl(input: SoftTakedownReplRequest, options?: RpcOptions): UnaryCall; /** * RestoreRepl deletes a repl's tombstone. * * @generated from protobuf rpc: RestoreRepl */ restoreRepl(input: RestoreReplRequest, options?: RpcOptions): UnaryCall; /** * BulkRemove performs a soft takedown on the specified repls. * * @generated from protobuf rpc: BulkRemove */ bulkRemove(input: BulkRemoveRequest, options?: RpcOptions): UnaryCall; /** * DeleteRepl permanently deletes a repl. * This adds a tombstone to prevent the repl from running, attempts to delete * GCS resources (margarine disk, helium margarine disk + snapshots, gcsfiles, * OT metadata) on a best-effort basis, and soft deletes the repl from the * lore database. GCS cleanup failures are logged but do not block deletion; * orphaned storage can be cleaned up separately. * This operation is irreversible and idempotent. * * @generated from protobuf rpc: DeleteRepl */ deleteRepl(input: DeleteReplRequest, options?: RpcOptions): UnaryCall; /** * GetClusters returns metadata for all clusters. * * @generated from protobuf rpc: GetClusters */ getClusters(input: GetClustersRequest, options?: RpcOptions): UnaryCall; /** * TransferReplFromOfflineCluster transfers a repl from an offline cluster to * a new cluster. * The key difference between this and TransferRepls is that this method * doesn't require the source cluster to be online. * Deprecated. TransferRepls will automatically handle offline clusters. * * @deprecated * @generated from protobuf rpc: TransferReplFromOfflineCluster */ transferReplFromOfflineCluster(input: TransferReplFromOfflineClusterRequest, options?: RpcOptions): UnaryCall; /** * ExportRepl exports a bundle of signed object store URLs for exporting the * full contents of a repl. Currently this only includes loose files and * margarine blocks. * * The `ReplExport` can be passed to a call to another Lore's `ImportRepl` RPC * to import the repl into another Lore. * * Exports are short lived and should be imported as soon as possible. * * @generated from protobuf rpc: ExportRepl */ exportRepl(input: ExportReplRequest, options?: RpcOptions): UnaryCall; /** * ImportRepl imports a repls contents into this Lore's domain. An export * from another Lore's `ExportRepl` RPC must be provided. * * This will copy the data from the export's signed URLs into this Lore's * set of object storage buckets. * * @generated from protobuf rpc: ImportRepl */ importRepl(input: ImportReplRequest, options?: RpcOptions): UnaryCall; }