-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
26 changed files
with
667 additions
and
576 deletions.
There are no files selected for viewing
211 changes: 105 additions & 106 deletions
211
components/content-service-api/go/log.pb.go → ...content-service-api/go/headless-log.pb.go
Large diffs are not rendered by default.
Oops, something went wrong.
145 changes: 145 additions & 0 deletions
145
components/content-service-api/go/headless-log_grpc.pb.go
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
65 changes: 65 additions & 0 deletions
65
components/content-service-api/typescript/src/headless-log_grpc_pb.d.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,65 @@ | ||
/** | ||
* Copyright (c) 2021 Gitpod GmbH. All rights reserved. | ||
* Licensed under the GNU Affero General Public License (AGPL). | ||
* See License-AGPL.txt in the project root for license information. | ||
*/ | ||
|
||
// package: contentservice | ||
// file: headless-log.proto | ||
|
||
/* tslint:disable */ | ||
/* eslint-disable */ | ||
|
||
import * as grpc from "@grpc/grpc-js"; | ||
import {handleClientStreamingCall} from "@grpc/grpc-js/build/src/server-call"; | ||
import * as headless_log_pb from "./headless-log_pb"; | ||
|
||
interface IHeadlessLogServiceService extends grpc.ServiceDefinition<grpc.UntypedServiceImplementation> { | ||
logDownloadURL: IHeadlessLogServiceService_ILogDownloadURL; | ||
listLogs: IHeadlessLogServiceService_IListLogs; | ||
} | ||
|
||
interface IHeadlessLogServiceService_ILogDownloadURL extends grpc.MethodDefinition<headless_log_pb.LogDownloadURLRequest, headless_log_pb.LogDownloadURLResponse> { | ||
path: "/contentservice.HeadlessLogService/LogDownloadURL"; | ||
requestStream: false; | ||
responseStream: false; | ||
requestSerialize: grpc.serialize<headless_log_pb.LogDownloadURLRequest>; | ||
requestDeserialize: grpc.deserialize<headless_log_pb.LogDownloadURLRequest>; | ||
responseSerialize: grpc.serialize<headless_log_pb.LogDownloadURLResponse>; | ||
responseDeserialize: grpc.deserialize<headless_log_pb.LogDownloadURLResponse>; | ||
} | ||
interface IHeadlessLogServiceService_IListLogs extends grpc.MethodDefinition<headless_log_pb.ListLogsRequest, headless_log_pb.ListLogsResponse> { | ||
path: "/contentservice.HeadlessLogService/ListLogs"; | ||
requestStream: false; | ||
responseStream: false; | ||
requestSerialize: grpc.serialize<headless_log_pb.ListLogsRequest>; | ||
requestDeserialize: grpc.deserialize<headless_log_pb.ListLogsRequest>; | ||
responseSerialize: grpc.serialize<headless_log_pb.ListLogsResponse>; | ||
responseDeserialize: grpc.deserialize<headless_log_pb.ListLogsResponse>; | ||
} | ||
|
||
export const HeadlessLogServiceService: IHeadlessLogServiceService; | ||
|
||
export interface IHeadlessLogServiceServer extends grpc.UntypedServiceImplementation { | ||
logDownloadURL: grpc.handleUnaryCall<headless_log_pb.LogDownloadURLRequest, headless_log_pb.LogDownloadURLResponse>; | ||
listLogs: grpc.handleUnaryCall<headless_log_pb.ListLogsRequest, headless_log_pb.ListLogsResponse>; | ||
} | ||
|
||
export interface IHeadlessLogServiceClient { | ||
logDownloadURL(request: headless_log_pb.LogDownloadURLRequest, callback: (error: grpc.ServiceError | null, response: headless_log_pb.LogDownloadURLResponse) => void): grpc.ClientUnaryCall; | ||
logDownloadURL(request: headless_log_pb.LogDownloadURLRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: headless_log_pb.LogDownloadURLResponse) => void): grpc.ClientUnaryCall; | ||
logDownloadURL(request: headless_log_pb.LogDownloadURLRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: headless_log_pb.LogDownloadURLResponse) => void): grpc.ClientUnaryCall; | ||
listLogs(request: headless_log_pb.ListLogsRequest, callback: (error: grpc.ServiceError | null, response: headless_log_pb.ListLogsResponse) => void): grpc.ClientUnaryCall; | ||
listLogs(request: headless_log_pb.ListLogsRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: headless_log_pb.ListLogsResponse) => void): grpc.ClientUnaryCall; | ||
listLogs(request: headless_log_pb.ListLogsRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: headless_log_pb.ListLogsResponse) => void): grpc.ClientUnaryCall; | ||
} | ||
|
||
export class HeadlessLogServiceClient extends grpc.Client implements IHeadlessLogServiceClient { | ||
constructor(address: string, credentials: grpc.ChannelCredentials, options?: Partial<grpc.ClientOptions>); | ||
public logDownloadURL(request: headless_log_pb.LogDownloadURLRequest, callback: (error: grpc.ServiceError | null, response: headless_log_pb.LogDownloadURLResponse) => void): grpc.ClientUnaryCall; | ||
public logDownloadURL(request: headless_log_pb.LogDownloadURLRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: headless_log_pb.LogDownloadURLResponse) => void): grpc.ClientUnaryCall; | ||
public logDownloadURL(request: headless_log_pb.LogDownloadURLRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: headless_log_pb.LogDownloadURLResponse) => void): grpc.ClientUnaryCall; | ||
public listLogs(request: headless_log_pb.ListLogsRequest, callback: (error: grpc.ServiceError | null, response: headless_log_pb.ListLogsResponse) => void): grpc.ClientUnaryCall; | ||
public listLogs(request: headless_log_pb.ListLogsRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: headless_log_pb.ListLogsResponse) => void): grpc.ClientUnaryCall; | ||
public listLogs(request: headless_log_pb.ListLogsRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: headless_log_pb.ListLogsResponse) => void): grpc.ClientUnaryCall; | ||
} |
Oops, something went wrong.