mirror of
https://github.com/prometheus/prometheus.git
synced 2024-12-28 15:09:39 -08:00
375ad1185c
* *: bump gRPC dependencies This change updates the gRPC dependencies to more recent versions: * github.com/gogo/protobuf => v1.2.0 * github.com/grpc-ecosystem/grpc-gateway => v1.6.3 * google.golang.org/grpc => v1.17.0 In addition scripts/genproto.sh leverages Go modules information instead of hardcoding SHA1 commits. This ensures that the code is generated from the exact same sources. Signed-off-by: Simon Pasquier <spasquie@redhat.com> * Run 'make proto' in CI Signed-off-by: Simon Pasquier <spasquie@redhat.com> * Revert tabs -> spaces change Signed-off-by: Simon Pasquier <spasquie@redhat.com> * Fix 'make proto' step Signed-off-by: Simon Pasquier <spasquie@redhat.com> * 'go get' grpc/protobuf dependencies Signed-off-by: Simon Pasquier <spasquie@redhat.com> * Prepopulate cache with go mod download Signed-off-by: Simon Pasquier <spasquie@redhat.com>
46 lines
1.2 KiB
Plaintext
46 lines
1.2 KiB
Plaintext
// Code generated by protoc-gen-go.
|
|
// source: gogo.proto
|
|
// DO NOT EDIT!
|
|
|
|
package gogoproto
|
|
|
|
import proto "github.com/gogo/protobuf/proto"
|
|
import json "encoding/json"
|
|
import math "math"
|
|
import google_protobuf "github.com/gogo/protobuf/protoc-gen-gogo/descriptor"
|
|
|
|
// Reference proto, json, and math imports to suppress error if they are not otherwise used.
|
|
var _ = proto.Marshal
|
|
var _ = &json.SyntaxError{}
|
|
var _ = math.Inf
|
|
|
|
var E_Nullable = &proto.ExtensionDesc{
|
|
ExtendedType: (*google_protobuf.FieldOptions)(nil),
|
|
ExtensionType: (*bool)(nil),
|
|
Field: 51235,
|
|
Name: "gogoproto.nullable",
|
|
Tag: "varint,51235,opt,name=nullable",
|
|
}
|
|
|
|
var E_Embed = &proto.ExtensionDesc{
|
|
ExtendedType: (*google_protobuf.FieldOptions)(nil),
|
|
ExtensionType: (*bool)(nil),
|
|
Field: 51236,
|
|
Name: "gogoproto.embed",
|
|
Tag: "varint,51236,opt,name=embed",
|
|
}
|
|
|
|
var E_Customtype = &proto.ExtensionDesc{
|
|
ExtendedType: (*google_protobuf.FieldOptions)(nil),
|
|
ExtensionType: (*string)(nil),
|
|
Field: 51237,
|
|
Name: "gogoproto.customtype",
|
|
Tag: "bytes,51237,opt,name=customtype",
|
|
}
|
|
|
|
func init() {
|
|
proto.RegisterExtension(E_Nullable)
|
|
proto.RegisterExtension(E_Embed)
|
|
proto.RegisterExtension(E_Customtype)
|
|
}
|