| // Licensed to the Apache Software Foundation (ASF) under one or more |
| // contributor license agreements. See the NOTICE file distributed with |
| // this work for additional information regarding copyright ownership. |
| // The ASF licenses this file to You under the Apache License, Version 2.0 |
| // (the "License"); you may not use this file except in compliance with |
| // the License. You may obtain a copy of the License at |
| // |
| // http://www.apache.org/licenses/LICENSE-2.0 |
| // |
| // Unless required by applicable law or agreed to in writing, software |
| // distributed under the License is distributed on an "AS IS" BASIS, |
| // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| // See the License for the specific language governing permissions and |
| // limitations under the License. |
| |
| // Code generated by protoc-gen-connect-go. DO NOT EDIT. |
| // |
| // Source: registry/v1alpha1/repository_commit.proto |
| |
| package registryv1alpha1v1alpha1connect |
| |
| import ( |
| context "context" |
| errors "errors" |
| http "net/http" |
| strings "strings" |
| ) |
| |
| import ( |
| connect_go "github.com/bufbuild/connect-go" |
| ) |
| |
| import ( |
| v1alpha1 "github.com/apache/dubbo-kubernetes/pkg/bufman/gen/proto/go/registry/v1alpha1" |
| ) |
| |
| // This is a compile-time assertion to ensure that this generated file and the connect package are |
| // compatible. If you get a compiler error that this constant is not defined, this code was |
| // generated with a version of connect newer than the one compiled into your binary. You can fix the |
| // problem by either regenerating this code with an older version of connect or updating the connect |
| // version compiled into your binary. |
| const _ = connect_go.IsAtLeastVersion1_7_0 |
| |
| const ( |
| // RepositoryCommitServiceName is the fully-qualified name of the RepositoryCommitService service. |
| RepositoryCommitServiceName = "bufman.dubbo.apache.org.registry.v1alpha1.RepositoryCommitService" |
| ) |
| |
| // These constants are the fully-qualified names of the RPCs defined in this package. They're |
| // exposed at runtime as Spec.Procedure and as the final two segments of the HTTP route. |
| // |
| // Note that these are different from the fully-qualified method names used by |
| // google.golang.org/protobuf/reflect/protoreflect. To convert from these constants to |
| // reflection-formatted method names, remove the leading slash and convert the remaining slash to a |
| // period. |
| const ( |
| // RepositoryCommitServiceListRepositoryCommitsByBranchProcedure is the fully-qualified name of the |
| // RepositoryCommitService's ListRepositoryCommitsByBranch RPC. |
| RepositoryCommitServiceListRepositoryCommitsByBranchProcedure = "/bufman.dubbo.apache.org.registry.v1alpha1.RepositoryCommitService/ListRepositoryCommitsByBranch" |
| // RepositoryCommitServiceListRepositoryCommitsByReferenceProcedure is the fully-qualified name of |
| // the RepositoryCommitService's ListRepositoryCommitsByReference RPC. |
| RepositoryCommitServiceListRepositoryCommitsByReferenceProcedure = "/bufman.dubbo.apache.org.registry.v1alpha1.RepositoryCommitService/ListRepositoryCommitsByReference" |
| // RepositoryCommitServiceGetRepositoryCommitByReferenceProcedure is the fully-qualified name of the |
| // RepositoryCommitService's GetRepositoryCommitByReference RPC. |
| RepositoryCommitServiceGetRepositoryCommitByReferenceProcedure = "/bufman.dubbo.apache.org.registry.v1alpha1.RepositoryCommitService/GetRepositoryCommitByReference" |
| // RepositoryCommitServiceGetRepositoryCommitBySequenceIdProcedure is the fully-qualified name of |
| // the RepositoryCommitService's GetRepositoryCommitBySequenceId RPC. |
| RepositoryCommitServiceGetRepositoryCommitBySequenceIdProcedure = "/bufman.dubbo.apache.org.registry.v1alpha1.RepositoryCommitService/GetRepositoryCommitBySequenceId" |
| // RepositoryCommitServiceListRepositoryDraftCommitsProcedure is the fully-qualified name of the |
| // RepositoryCommitService's ListRepositoryDraftCommits RPC. |
| RepositoryCommitServiceListRepositoryDraftCommitsProcedure = "/bufman.dubbo.apache.org.registry.v1alpha1.RepositoryCommitService/ListRepositoryDraftCommits" |
| // RepositoryCommitServiceDeleteRepositoryDraftCommitProcedure is the fully-qualified name of the |
| // RepositoryCommitService's DeleteRepositoryDraftCommit RPC. |
| RepositoryCommitServiceDeleteRepositoryDraftCommitProcedure = "/bufman.dubbo.apache.org.registry.v1alpha1.RepositoryCommitService/DeleteRepositoryDraftCommit" |
| ) |
| |
| // RepositoryCommitServiceClient is a client for the |
| // bufman.dubbo.apache.org.registry.v1alpha1.RepositoryCommitService service. |
| type RepositoryCommitServiceClient interface { |
| // ListRepositoryCommitsByBranch lists the repository commits associated |
| // with a repository branch on a repository, ordered by their create time. |
| // |
| // Deprecated: do not use. |
| ListRepositoryCommitsByBranch(context.Context, *connect_go.Request[v1alpha1.ListRepositoryCommitsByBranchRequest]) (*connect_go.Response[v1alpha1.ListRepositoryCommitsByBranchResponse], error) |
| // ListRepositoryCommitsByReference returns repository commits up-to and including |
| // the provided reference. |
| ListRepositoryCommitsByReference(context.Context, *connect_go.Request[v1alpha1.ListRepositoryCommitsByReferenceRequest]) (*connect_go.Response[v1alpha1.ListRepositoryCommitsByReferenceResponse], error) |
| // GetRepositoryCommitByReference returns the repository commit matching |
| // the provided reference, if it exists. |
| GetRepositoryCommitByReference(context.Context, *connect_go.Request[v1alpha1.GetRepositoryCommitByReferenceRequest]) (*connect_go.Response[v1alpha1.GetRepositoryCommitByReferenceResponse], error) |
| // GetRepositoryCommitBySequenceId returns the repository commit matching |
| // the provided sequence ID and branch, if it exists. |
| GetRepositoryCommitBySequenceId(context.Context, *connect_go.Request[v1alpha1.GetRepositoryCommitBySequenceIdRequest]) (*connect_go.Response[v1alpha1.GetRepositoryCommitBySequenceIdResponse], error) |
| // ListRepositoryDraftCommits lists draft commits in a repository. |
| ListRepositoryDraftCommits(context.Context, *connect_go.Request[v1alpha1.ListRepositoryDraftCommitsRequest]) (*connect_go.Response[v1alpha1.ListRepositoryDraftCommitsResponse], error) |
| // DeleteRepositoryDraftCommit deletes a draft. |
| DeleteRepositoryDraftCommit(context.Context, *connect_go.Request[v1alpha1.DeleteRepositoryDraftCommitRequest]) (*connect_go.Response[v1alpha1.DeleteRepositoryDraftCommitResponse], error) |
| } |
| |
| // NewRepositoryCommitServiceClient constructs a client for the |
| // bufman.dubbo.apache.org.registry.v1alpha1.RepositoryCommitService service. By default, it |
| // uses the Connect protocol with the binary Protobuf Codec, asks for gzipped responses, and sends |
| // uncompressed requests. To use the gRPC or gRPC-Web protocols, supply the connect.WithGRPC() or |
| // connect.WithGRPCWeb() options. |
| // |
| // The URL supplied here should be the base URL for the Connect or gRPC server (for example, |
| // http://api.acme.com or https://acme.com/grpc). |
| func NewRepositoryCommitServiceClient(httpClient connect_go.HTTPClient, baseURL string, opts ...connect_go.ClientOption) RepositoryCommitServiceClient { |
| baseURL = strings.TrimRight(baseURL, "/") |
| return &repositoryCommitServiceClient{ |
| listRepositoryCommitsByBranch: connect_go.NewClient[v1alpha1.ListRepositoryCommitsByBranchRequest, v1alpha1.ListRepositoryCommitsByBranchResponse]( |
| httpClient, |
| baseURL+RepositoryCommitServiceListRepositoryCommitsByBranchProcedure, |
| connect_go.WithIdempotency(connect_go.IdempotencyNoSideEffects), |
| connect_go.WithClientOptions(opts...), |
| ), |
| listRepositoryCommitsByReference: connect_go.NewClient[v1alpha1.ListRepositoryCommitsByReferenceRequest, v1alpha1.ListRepositoryCommitsByReferenceResponse]( |
| httpClient, |
| baseURL+RepositoryCommitServiceListRepositoryCommitsByReferenceProcedure, |
| connect_go.WithIdempotency(connect_go.IdempotencyNoSideEffects), |
| connect_go.WithClientOptions(opts...), |
| ), |
| getRepositoryCommitByReference: connect_go.NewClient[v1alpha1.GetRepositoryCommitByReferenceRequest, v1alpha1.GetRepositoryCommitByReferenceResponse]( |
| httpClient, |
| baseURL+RepositoryCommitServiceGetRepositoryCommitByReferenceProcedure, |
| connect_go.WithIdempotency(connect_go.IdempotencyNoSideEffects), |
| connect_go.WithClientOptions(opts...), |
| ), |
| getRepositoryCommitBySequenceId: connect_go.NewClient[v1alpha1.GetRepositoryCommitBySequenceIdRequest, v1alpha1.GetRepositoryCommitBySequenceIdResponse]( |
| httpClient, |
| baseURL+RepositoryCommitServiceGetRepositoryCommitBySequenceIdProcedure, |
| connect_go.WithIdempotency(connect_go.IdempotencyNoSideEffects), |
| connect_go.WithClientOptions(opts...), |
| ), |
| listRepositoryDraftCommits: connect_go.NewClient[v1alpha1.ListRepositoryDraftCommitsRequest, v1alpha1.ListRepositoryDraftCommitsResponse]( |
| httpClient, |
| baseURL+RepositoryCommitServiceListRepositoryDraftCommitsProcedure, |
| connect_go.WithIdempotency(connect_go.IdempotencyNoSideEffects), |
| connect_go.WithClientOptions(opts...), |
| ), |
| deleteRepositoryDraftCommit: connect_go.NewClient[v1alpha1.DeleteRepositoryDraftCommitRequest, v1alpha1.DeleteRepositoryDraftCommitResponse]( |
| httpClient, |
| baseURL+RepositoryCommitServiceDeleteRepositoryDraftCommitProcedure, |
| connect_go.WithIdempotency(connect_go.IdempotencyIdempotent), |
| connect_go.WithClientOptions(opts...), |
| ), |
| } |
| } |
| |
| // repositoryCommitServiceClient implements RepositoryCommitServiceClient. |
| type repositoryCommitServiceClient struct { |
| listRepositoryCommitsByBranch *connect_go.Client[v1alpha1.ListRepositoryCommitsByBranchRequest, v1alpha1.ListRepositoryCommitsByBranchResponse] |
| listRepositoryCommitsByReference *connect_go.Client[v1alpha1.ListRepositoryCommitsByReferenceRequest, v1alpha1.ListRepositoryCommitsByReferenceResponse] |
| getRepositoryCommitByReference *connect_go.Client[v1alpha1.GetRepositoryCommitByReferenceRequest, v1alpha1.GetRepositoryCommitByReferenceResponse] |
| getRepositoryCommitBySequenceId *connect_go.Client[v1alpha1.GetRepositoryCommitBySequenceIdRequest, v1alpha1.GetRepositoryCommitBySequenceIdResponse] |
| listRepositoryDraftCommits *connect_go.Client[v1alpha1.ListRepositoryDraftCommitsRequest, v1alpha1.ListRepositoryDraftCommitsResponse] |
| deleteRepositoryDraftCommit *connect_go.Client[v1alpha1.DeleteRepositoryDraftCommitRequest, v1alpha1.DeleteRepositoryDraftCommitResponse] |
| } |
| |
| // ListRepositoryCommitsByBranch calls |
| // bufman.dubbo.apache.org.registry.v1alpha1.RepositoryCommitService.ListRepositoryCommitsByBranch. |
| // |
| // Deprecated: do not use. |
| func (c *repositoryCommitServiceClient) ListRepositoryCommitsByBranch(ctx context.Context, req *connect_go.Request[v1alpha1.ListRepositoryCommitsByBranchRequest]) (*connect_go.Response[v1alpha1.ListRepositoryCommitsByBranchResponse], error) { |
| return c.listRepositoryCommitsByBranch.CallUnary(ctx, req) |
| } |
| |
| // ListRepositoryCommitsByReference calls |
| // bufman.dubbo.apache.org.registry.v1alpha1.RepositoryCommitService.ListRepositoryCommitsByReference. |
| func (c *repositoryCommitServiceClient) ListRepositoryCommitsByReference(ctx context.Context, req *connect_go.Request[v1alpha1.ListRepositoryCommitsByReferenceRequest]) (*connect_go.Response[v1alpha1.ListRepositoryCommitsByReferenceResponse], error) { |
| return c.listRepositoryCommitsByReference.CallUnary(ctx, req) |
| } |
| |
| // GetRepositoryCommitByReference calls |
| // bufman.dubbo.apache.org.registry.v1alpha1.RepositoryCommitService.GetRepositoryCommitByReference. |
| func (c *repositoryCommitServiceClient) GetRepositoryCommitByReference(ctx context.Context, req *connect_go.Request[v1alpha1.GetRepositoryCommitByReferenceRequest]) (*connect_go.Response[v1alpha1.GetRepositoryCommitByReferenceResponse], error) { |
| return c.getRepositoryCommitByReference.CallUnary(ctx, req) |
| } |
| |
| // GetRepositoryCommitBySequenceId calls |
| // bufman.dubbo.apache.org.registry.v1alpha1.RepositoryCommitService.GetRepositoryCommitBySequenceId. |
| func (c *repositoryCommitServiceClient) GetRepositoryCommitBySequenceId(ctx context.Context, req *connect_go.Request[v1alpha1.GetRepositoryCommitBySequenceIdRequest]) (*connect_go.Response[v1alpha1.GetRepositoryCommitBySequenceIdResponse], error) { |
| return c.getRepositoryCommitBySequenceId.CallUnary(ctx, req) |
| } |
| |
| // ListRepositoryDraftCommits calls |
| // bufman.dubbo.apache.org.registry.v1alpha1.RepositoryCommitService.ListRepositoryDraftCommits. |
| func (c *repositoryCommitServiceClient) ListRepositoryDraftCommits(ctx context.Context, req *connect_go.Request[v1alpha1.ListRepositoryDraftCommitsRequest]) (*connect_go.Response[v1alpha1.ListRepositoryDraftCommitsResponse], error) { |
| return c.listRepositoryDraftCommits.CallUnary(ctx, req) |
| } |
| |
| // DeleteRepositoryDraftCommit calls |
| // bufman.dubbo.apache.org.registry.v1alpha1.RepositoryCommitService.DeleteRepositoryDraftCommit. |
| func (c *repositoryCommitServiceClient) DeleteRepositoryDraftCommit(ctx context.Context, req *connect_go.Request[v1alpha1.DeleteRepositoryDraftCommitRequest]) (*connect_go.Response[v1alpha1.DeleteRepositoryDraftCommitResponse], error) { |
| return c.deleteRepositoryDraftCommit.CallUnary(ctx, req) |
| } |
| |
| // RepositoryCommitServiceHandler is an implementation of the |
| // bufman.dubbo.apache.org.registry.v1alpha1.RepositoryCommitService service. |
| type RepositoryCommitServiceHandler interface { |
| // ListRepositoryCommitsByBranch lists the repository commits associated |
| // with a repository branch on a repository, ordered by their create time. |
| // |
| // Deprecated: do not use. |
| ListRepositoryCommitsByBranch(context.Context, *connect_go.Request[v1alpha1.ListRepositoryCommitsByBranchRequest]) (*connect_go.Response[v1alpha1.ListRepositoryCommitsByBranchResponse], error) |
| // ListRepositoryCommitsByReference returns repository commits up-to and including |
| // the provided reference. |
| ListRepositoryCommitsByReference(context.Context, *connect_go.Request[v1alpha1.ListRepositoryCommitsByReferenceRequest]) (*connect_go.Response[v1alpha1.ListRepositoryCommitsByReferenceResponse], error) |
| // GetRepositoryCommitByReference returns the repository commit matching |
| // the provided reference, if it exists. |
| GetRepositoryCommitByReference(context.Context, *connect_go.Request[v1alpha1.GetRepositoryCommitByReferenceRequest]) (*connect_go.Response[v1alpha1.GetRepositoryCommitByReferenceResponse], error) |
| // GetRepositoryCommitBySequenceId returns the repository commit matching |
| // the provided sequence ID and branch, if it exists. |
| GetRepositoryCommitBySequenceId(context.Context, *connect_go.Request[v1alpha1.GetRepositoryCommitBySequenceIdRequest]) (*connect_go.Response[v1alpha1.GetRepositoryCommitBySequenceIdResponse], error) |
| // ListRepositoryDraftCommits lists draft commits in a repository. |
| ListRepositoryDraftCommits(context.Context, *connect_go.Request[v1alpha1.ListRepositoryDraftCommitsRequest]) (*connect_go.Response[v1alpha1.ListRepositoryDraftCommitsResponse], error) |
| // DeleteRepositoryDraftCommit deletes a draft. |
| DeleteRepositoryDraftCommit(context.Context, *connect_go.Request[v1alpha1.DeleteRepositoryDraftCommitRequest]) (*connect_go.Response[v1alpha1.DeleteRepositoryDraftCommitResponse], error) |
| } |
| |
| // NewRepositoryCommitServiceHandler builds an HTTP handler from the service implementation. It |
| // returns the path on which to mount the handler and the handler itself. |
| // |
| // By default, handlers support the Connect, gRPC, and gRPC-Web protocols with the binary Protobuf |
| // and JSON codecs. They also support gzip compression. |
| func NewRepositoryCommitServiceHandler(svc RepositoryCommitServiceHandler, opts ...connect_go.HandlerOption) (string, http.Handler) { |
| repositoryCommitServiceListRepositoryCommitsByBranchHandler := connect_go.NewUnaryHandler( |
| RepositoryCommitServiceListRepositoryCommitsByBranchProcedure, |
| svc.ListRepositoryCommitsByBranch, |
| connect_go.WithIdempotency(connect_go.IdempotencyNoSideEffects), |
| connect_go.WithHandlerOptions(opts...), |
| ) |
| repositoryCommitServiceListRepositoryCommitsByReferenceHandler := connect_go.NewUnaryHandler( |
| RepositoryCommitServiceListRepositoryCommitsByReferenceProcedure, |
| svc.ListRepositoryCommitsByReference, |
| connect_go.WithIdempotency(connect_go.IdempotencyNoSideEffects), |
| connect_go.WithHandlerOptions(opts...), |
| ) |
| repositoryCommitServiceGetRepositoryCommitByReferenceHandler := connect_go.NewUnaryHandler( |
| RepositoryCommitServiceGetRepositoryCommitByReferenceProcedure, |
| svc.GetRepositoryCommitByReference, |
| connect_go.WithIdempotency(connect_go.IdempotencyNoSideEffects), |
| connect_go.WithHandlerOptions(opts...), |
| ) |
| repositoryCommitServiceGetRepositoryCommitBySequenceIdHandler := connect_go.NewUnaryHandler( |
| RepositoryCommitServiceGetRepositoryCommitBySequenceIdProcedure, |
| svc.GetRepositoryCommitBySequenceId, |
| connect_go.WithIdempotency(connect_go.IdempotencyNoSideEffects), |
| connect_go.WithHandlerOptions(opts...), |
| ) |
| repositoryCommitServiceListRepositoryDraftCommitsHandler := connect_go.NewUnaryHandler( |
| RepositoryCommitServiceListRepositoryDraftCommitsProcedure, |
| svc.ListRepositoryDraftCommits, |
| connect_go.WithIdempotency(connect_go.IdempotencyNoSideEffects), |
| connect_go.WithHandlerOptions(opts...), |
| ) |
| repositoryCommitServiceDeleteRepositoryDraftCommitHandler := connect_go.NewUnaryHandler( |
| RepositoryCommitServiceDeleteRepositoryDraftCommitProcedure, |
| svc.DeleteRepositoryDraftCommit, |
| connect_go.WithIdempotency(connect_go.IdempotencyIdempotent), |
| connect_go.WithHandlerOptions(opts...), |
| ) |
| return "/bufman.dubbo.apache.org.registry.v1alpha1.RepositoryCommitService/", http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { |
| switch r.URL.Path { |
| case RepositoryCommitServiceListRepositoryCommitsByBranchProcedure: |
| repositoryCommitServiceListRepositoryCommitsByBranchHandler.ServeHTTP(w, r) |
| case RepositoryCommitServiceListRepositoryCommitsByReferenceProcedure: |
| repositoryCommitServiceListRepositoryCommitsByReferenceHandler.ServeHTTP(w, r) |
| case RepositoryCommitServiceGetRepositoryCommitByReferenceProcedure: |
| repositoryCommitServiceGetRepositoryCommitByReferenceHandler.ServeHTTP(w, r) |
| case RepositoryCommitServiceGetRepositoryCommitBySequenceIdProcedure: |
| repositoryCommitServiceGetRepositoryCommitBySequenceIdHandler.ServeHTTP(w, r) |
| case RepositoryCommitServiceListRepositoryDraftCommitsProcedure: |
| repositoryCommitServiceListRepositoryDraftCommitsHandler.ServeHTTP(w, r) |
| case RepositoryCommitServiceDeleteRepositoryDraftCommitProcedure: |
| repositoryCommitServiceDeleteRepositoryDraftCommitHandler.ServeHTTP(w, r) |
| default: |
| http.NotFound(w, r) |
| } |
| }) |
| } |
| |
| // UnimplementedRepositoryCommitServiceHandler returns CodeUnimplemented from all methods. |
| type UnimplementedRepositoryCommitServiceHandler struct{} |
| |
| func (UnimplementedRepositoryCommitServiceHandler) ListRepositoryCommitsByBranch(context.Context, *connect_go.Request[v1alpha1.ListRepositoryCommitsByBranchRequest]) (*connect_go.Response[v1alpha1.ListRepositoryCommitsByBranchResponse], error) { |
| return nil, connect_go.NewError(connect_go.CodeUnimplemented, errors.New("bufman.dubbo.apache.org.registry.v1alpha1.RepositoryCommitService.ListRepositoryCommitsByBranch is not implemented")) |
| } |
| |
| func (UnimplementedRepositoryCommitServiceHandler) ListRepositoryCommitsByReference(context.Context, *connect_go.Request[v1alpha1.ListRepositoryCommitsByReferenceRequest]) (*connect_go.Response[v1alpha1.ListRepositoryCommitsByReferenceResponse], error) { |
| return nil, connect_go.NewError(connect_go.CodeUnimplemented, errors.New("bufman.dubbo.apache.org.registry.v1alpha1.RepositoryCommitService.ListRepositoryCommitsByReference is not implemented")) |
| } |
| |
| func (UnimplementedRepositoryCommitServiceHandler) GetRepositoryCommitByReference(context.Context, *connect_go.Request[v1alpha1.GetRepositoryCommitByReferenceRequest]) (*connect_go.Response[v1alpha1.GetRepositoryCommitByReferenceResponse], error) { |
| return nil, connect_go.NewError(connect_go.CodeUnimplemented, errors.New("bufman.dubbo.apache.org.registry.v1alpha1.RepositoryCommitService.GetRepositoryCommitByReference is not implemented")) |
| } |
| |
| func (UnimplementedRepositoryCommitServiceHandler) GetRepositoryCommitBySequenceId(context.Context, *connect_go.Request[v1alpha1.GetRepositoryCommitBySequenceIdRequest]) (*connect_go.Response[v1alpha1.GetRepositoryCommitBySequenceIdResponse], error) { |
| return nil, connect_go.NewError(connect_go.CodeUnimplemented, errors.New("bufman.dubbo.apache.org.registry.v1alpha1.RepositoryCommitService.GetRepositoryCommitBySequenceId is not implemented")) |
| } |
| |
| func (UnimplementedRepositoryCommitServiceHandler) ListRepositoryDraftCommits(context.Context, *connect_go.Request[v1alpha1.ListRepositoryDraftCommitsRequest]) (*connect_go.Response[v1alpha1.ListRepositoryDraftCommitsResponse], error) { |
| return nil, connect_go.NewError(connect_go.CodeUnimplemented, errors.New("bufman.dubbo.apache.org.registry.v1alpha1.RepositoryCommitService.ListRepositoryDraftCommits is not implemented")) |
| } |
| |
| func (UnimplementedRepositoryCommitServiceHandler) DeleteRepositoryDraftCommit(context.Context, *connect_go.Request[v1alpha1.DeleteRepositoryDraftCommitRequest]) (*connect_go.Response[v1alpha1.DeleteRepositoryDraftCommitResponse], error) { |
| return nil, connect_go.NewError(connect_go.CodeUnimplemented, errors.New("bufman.dubbo.apache.org.registry.v1alpha1.RepositoryCommitService.DeleteRepositoryDraftCommit is not implemented")) |
| } |