1
0
mirror of https://github.com/ceph/ceph-csi.git synced 2025-06-14 18:53:35 +00:00
Files
.github
actions
api
assets
charts
cmd
deploy
docs
e2e
examples
internal
scripts
tools
troubleshooting
vendor
github.com
armon
aws
beorn7
bits-and-blooms
blang
cenkalti
ceph
cespare
container-storage-interface
csi-addons
cyphar
davecgh
docker
evanphx
fatih
felixge
fsnotify
ghodss
go-logr
gogo
golang
google
googleapis
grpc-ecosystem
go-grpc-middleware
go-grpc-prometheus
grpc-gateway
internal
BUILD.bazel
errors.pb.go
errors.proto
runtime
utilities
LICENSE.txt
hashicorp
imdario
inconshreveable
jmespath
json-iterator
kubernetes-csi
libopenstorage
mattn
matttproud
mitchellh
moby
modern-go
nxadm
oklog
onsi
opencontainers
openshift
pborman
pierrec
pkg
pmezard
prometheus
ryanuber
spf13
stretchr
go.opentelemetry.io
go.uber.org
golang.org
gomodules.xyz
google.golang.org
gopkg.in
k8s.io
sigs.k8s.io
modules.txt
.commitlintrc.yml
.gitignore
.mergify.yml
.pre-commit-config.yaml
LICENSE
Makefile
README.md
build.env
deploy.sh
go.mod
go.sum
ceph-csi/vendor/github.com/grpc-ecosystem/grpc-gateway/internal/errors.proto
Humble Chirammal aa698bc3e1 rebase: update kubernetes and libraries to v1.22.0 version
Kubernetes v1.22 version has been released and this update
ceph csi dependencies to use the same version.

Signed-off-by: Humble Chirammal <hchiramm@redhat.com>
2021-08-12 09:55:50 +00:00

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;
}