mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-25 20:53:33 +00:00
1. Updated etcd/protobuf/grpc dependencies: echo " hack/pin-dependency.sh github.com/golang/protobuf latest hack/pin-dependency.sh google.golang.org/protobuf latest hack/pin-dependency.sh go.etcd.io/etcd/api/v3 v3.5.0-rc.0 hack/pin-dependency.sh go.etcd.io/etcd/client/v3 v3.5.0-rc.0 hack/pin-dependency.sh go.etcd.io/etcd/client/pkg/v3 v3.5.0-rc.0 hack/pin-dependency.sh go.etcd.io/etcd/pkg/v3 v3.5.0-rc.0 hack/pin-dependency.sh go.etcd.io/etcd/server/v3 v3.5.0-rc.0 hack/pin-dependency.sh go.etcd.io/etcd/tests/v3 v3.5.0-rc.0 hack/pin-dependency.sh google.golang.org/grpc latest " | bash 2. Linted transitive dependencies until versions are clean: hack/lint-dependencies.sh | grep " hack/pin-dependency.sh" | bash 3. Linted dependencies until dropped versions are clean: hack/lint-dependencies.sh | grep "dropreplace" | bash 4. Updated vendor and internal modules: hack/update-vendor.sh hack/update-internal-modules.sh Repeated steps 2-4 until clean
27 lines
781 B
Protocol Buffer
27 lines
781 B
Protocol Buffer
syntax = "proto3";
|
|
package grpc.gateway.runtime;
|
|
option go_package = "internal";
|
|
|
|
import "google/protobuf/any.proto";
|
|
|
|
// Error is the generic error returned from unary RPCs.
|
|
message Error {
|
|
string error = 1;
|
|
// This is to make the error more compatible with users that expect errors to be Status objects:
|
|
// https://github.com/grpc/grpc/blob/master/src/proto/grpc/status/status.proto
|
|
// It should be the exact same message as the Error field.
|
|
int32 code = 2;
|
|
string message = 3;
|
|
repeated google.protobuf.Any details = 4;
|
|
}
|
|
|
|
// StreamError is a response type which is returned when
|
|
// streaming rpc returns an error.
|
|
message StreamError {
|
|
int32 grpc_code = 1;
|
|
int32 http_code = 2;
|
|
string message = 3;
|
|
string http_status = 4;
|
|
repeated google.protobuf.Any details = 5;
|
|
}
|