feat:multi cluster application
This commit is contained in:
26
vendor/openpitrix.io/openpitrix/pkg/pb/repo.pb.go
generated
vendored
26
vendor/openpitrix.io/openpitrix/pkg/pb/repo.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 CreateRepoRequest struct {
|
||||
// required, repository name
|
||||
@@ -1314,6 +1316,26 @@ type RepoManagerServer interface {
|
||||
ValidateRepo(context.Context, *ValidateRepoRequest) (*ValidateRepoResponse, error)
|
||||
}
|
||||
|
||||
// UnimplementedRepoManagerServer can be embedded to have forward compatible implementations.
|
||||
type UnimplementedRepoManagerServer struct {
|
||||
}
|
||||
|
||||
func (*UnimplementedRepoManagerServer) CreateRepo(ctx context.Context, req *CreateRepoRequest) (*CreateRepoResponse, error) {
|
||||
return nil, status.Errorf(codes.Unimplemented, "method CreateRepo not implemented")
|
||||
}
|
||||
func (*UnimplementedRepoManagerServer) DescribeRepos(ctx context.Context, req *DescribeReposRequest) (*DescribeReposResponse, error) {
|
||||
return nil, status.Errorf(codes.Unimplemented, "method DescribeRepos not implemented")
|
||||
}
|
||||
func (*UnimplementedRepoManagerServer) ModifyRepo(ctx context.Context, req *ModifyRepoRequest) (*ModifyRepoResponse, error) {
|
||||
return nil, status.Errorf(codes.Unimplemented, "method ModifyRepo not implemented")
|
||||
}
|
||||
func (*UnimplementedRepoManagerServer) DeleteRepos(ctx context.Context, req *DeleteReposRequest) (*DeleteReposResponse, error) {
|
||||
return nil, status.Errorf(codes.Unimplemented, "method DeleteRepos not implemented")
|
||||
}
|
||||
func (*UnimplementedRepoManagerServer) ValidateRepo(ctx context.Context, req *ValidateRepoRequest) (*ValidateRepoResponse, error) {
|
||||
return nil, status.Errorf(codes.Unimplemented, "method ValidateRepo not implemented")
|
||||
}
|
||||
|
||||
func RegisterRepoManagerServer(s *grpc.Server, srv RepoManagerServer) {
|
||||
s.RegisterService(&_RepoManager_serviceDesc, srv)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user