feat:multi cluster application
This commit is contained in:
17
vendor/openpitrix.io/openpitrix/pkg/pb/repo_indexer.pb.go
generated
vendored
17
vendor/openpitrix.io/openpitrix/pkg/pb/repo_indexer.pb.go
generated
vendored
@@ -4,6 +4,7 @@
|
||||
package pb
|
||||
|
||||
import (
|
||||
context "context"
|
||||
fmt "fmt"
|
||||
math "math"
|
||||
|
||||
@@ -11,9 +12,10 @@ import (
|
||||
timestamp "github.com/golang/protobuf/ptypes/timestamp"
|
||||
wrappers "github.com/golang/protobuf/ptypes/wrappers"
|
||||
_ "github.com/grpc-ecosystem/grpc-gateway/protoc-gen-swagger/options"
|
||||
context "golang.org/x/net/context"
|
||||
_ "google.golang.org/genproto/googleapis/api/annotations"
|
||||
grpc "google.golang.org/grpc"
|
||||
codes "google.golang.org/grpc/codes"
|
||||
status "google.golang.org/grpc/status"
|
||||
)
|
||||
|
||||
// Reference imports to suppress errors if they are not otherwise used.
|
||||
@@ -25,7 +27,7 @@ var _ = math.Inf
|
||||
// is compatible with the proto package it is being compiled against.
|
||||
// A compilation error at this line likely means your copy of the
|
||||
// proto package needs to be updated.
|
||||
const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
|
||||
const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
|
||||
|
||||
type IndexRepoRequest struct {
|
||||
// id of repository to index
|
||||
@@ -457,6 +459,17 @@ type RepoIndexerServer interface {
|
||||
DescribeRepoEvents(context.Context, *DescribeRepoEventsRequest) (*DescribeRepoEventsResponse, error)
|
||||
}
|
||||
|
||||
// UnimplementedRepoIndexerServer can be embedded to have forward compatible implementations.
|
||||
type UnimplementedRepoIndexerServer struct {
|
||||
}
|
||||
|
||||
func (*UnimplementedRepoIndexerServer) IndexRepo(ctx context.Context, req *IndexRepoRequest) (*IndexRepoResponse, error) {
|
||||
return nil, status.Errorf(codes.Unimplemented, "method IndexRepo not implemented")
|
||||
}
|
||||
func (*UnimplementedRepoIndexerServer) DescribeRepoEvents(ctx context.Context, req *DescribeRepoEventsRequest) (*DescribeRepoEventsResponse, error) {
|
||||
return nil, status.Errorf(codes.Unimplemented, "method DescribeRepoEvents not implemented")
|
||||
}
|
||||
|
||||
func RegisterRepoIndexerServer(s *grpc.Server, srv RepoIndexerServer) {
|
||||
s.RegisterService(&_RepoIndexer_serviceDesc, srv)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user