Bumping k8s dependencies to 1.13
This commit is contained in:
70
vendor/github.com/gogo/protobuf/test/issue261/issue261.pb.go
generated
vendored
70
vendor/github.com/gogo/protobuf/test/issue261/issue261.pb.go
generated
vendored
@@ -1,15 +1,6 @@
|
||||
// Code generated by protoc-gen-gogo. DO NOT EDIT.
|
||||
// source: issue261.proto
|
||||
|
||||
/*
|
||||
Package issue261 is a generated protocol buffer package.
|
||||
|
||||
It is generated from these files:
|
||||
issue261.proto
|
||||
|
||||
It has these top-level messages:
|
||||
MapStdTypes
|
||||
*/
|
||||
package issue261
|
||||
|
||||
import proto "github.com/gogo/protobuf/proto"
|
||||
@@ -22,9 +13,9 @@ import time "time"
|
||||
|
||||
import strings "strings"
|
||||
import reflect "reflect"
|
||||
import sortkeys "github.com/gogo/protobuf/sortkeys"
|
||||
import github_com_gogo_protobuf_sortkeys "github.com/gogo/protobuf/sortkeys"
|
||||
|
||||
import types "github.com/gogo/protobuf/types"
|
||||
import github_com_gogo_protobuf_types "github.com/gogo/protobuf/types"
|
||||
|
||||
import io "io"
|
||||
|
||||
@@ -41,12 +32,42 @@ var _ = time.Kitchen
|
||||
const _ = proto.GoGoProtoPackageIsVersion2 // please upgrade the proto package
|
||||
|
||||
type MapStdTypes struct {
|
||||
NullableDuration map[int32]*time.Duration `protobuf:"bytes,3,rep,name=nullableDuration,stdduration" json:"nullableDuration,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value"`
|
||||
NullableDuration map[int32]*time.Duration `protobuf:"bytes,3,rep,name=nullableDuration,stdduration" json:"nullableDuration,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *MapStdTypes) Reset() { *m = MapStdTypes{} }
|
||||
func (*MapStdTypes) ProtoMessage() {}
|
||||
func (*MapStdTypes) Descriptor() ([]byte, []int) { return fileDescriptorIssue261, []int{0} }
|
||||
func (m *MapStdTypes) Reset() { *m = MapStdTypes{} }
|
||||
func (*MapStdTypes) ProtoMessage() {}
|
||||
func (*MapStdTypes) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_issue261_ea5bab07e532a045, []int{0}
|
||||
}
|
||||
func (m *MapStdTypes) XXX_Unmarshal(b []byte) error {
|
||||
return m.Unmarshal(b)
|
||||
}
|
||||
func (m *MapStdTypes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
if deterministic {
|
||||
return xxx_messageInfo_MapStdTypes.Marshal(b, m, deterministic)
|
||||
} else {
|
||||
b = b[:cap(b)]
|
||||
n, err := m.MarshalTo(b)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return b[:n], nil
|
||||
}
|
||||
}
|
||||
func (dst *MapStdTypes) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_MapStdTypes.Merge(dst, src)
|
||||
}
|
||||
func (m *MapStdTypes) XXX_Size() int {
|
||||
return m.Size()
|
||||
}
|
||||
func (m *MapStdTypes) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_MapStdTypes.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_MapStdTypes proto.InternalMessageInfo
|
||||
|
||||
func (m *MapStdTypes) GetNullableDuration() map[int32]*time.Duration {
|
||||
if m != nil {
|
||||
@@ -57,6 +78,7 @@ func (m *MapStdTypes) GetNullableDuration() map[int32]*time.Duration {
|
||||
|
||||
func init() {
|
||||
proto.RegisterType((*MapStdTypes)(nil), "issue261.MapStdTypes")
|
||||
proto.RegisterMapType((map[int32]*time.Duration)(nil), "issue261.MapStdTypes.NullableDurationEntry")
|
||||
}
|
||||
func (this *MapStdTypes) Equal(that interface{}) bool {
|
||||
if that == nil {
|
||||
@@ -97,7 +119,7 @@ func (this *MapStdTypes) GoString() string {
|
||||
for k := range this.NullableDuration {
|
||||
keysForNullableDuration = append(keysForNullableDuration, k)
|
||||
}
|
||||
sortkeys.Int32s(keysForNullableDuration)
|
||||
github_com_gogo_protobuf_sortkeys.Int32s(keysForNullableDuration)
|
||||
mapStringForNullableDuration := "map[int32]*time.Duration{"
|
||||
for _, k := range keysForNullableDuration {
|
||||
mapStringForNullableDuration += fmt.Sprintf("%#v: %#v,", k, this.NullableDuration[k])
|
||||
@@ -139,7 +161,7 @@ func (m *MapStdTypes) MarshalTo(dAtA []byte) (int, error) {
|
||||
v := m.NullableDuration[k]
|
||||
msgSize := 0
|
||||
if v != nil {
|
||||
msgSize = types.SizeOfStdDuration(*v)
|
||||
msgSize = github_com_gogo_protobuf_types.SizeOfStdDuration(*v)
|
||||
msgSize += 1 + sovIssue261(uint64(msgSize))
|
||||
}
|
||||
mapSize := 1 + sovIssue261(uint64(k)) + msgSize
|
||||
@@ -150,8 +172,8 @@ func (m *MapStdTypes) MarshalTo(dAtA []byte) (int, error) {
|
||||
if v != nil {
|
||||
dAtA[i] = 0x12
|
||||
i++
|
||||
i = encodeVarintIssue261(dAtA, i, uint64(types.SizeOfStdDuration(*v)))
|
||||
n1, err := types.StdDurationMarshalTo(*v, dAtA[i:])
|
||||
i = encodeVarintIssue261(dAtA, i, uint64(github_com_gogo_protobuf_types.SizeOfStdDuration(*v)))
|
||||
n1, err := github_com_gogo_protobuf_types.StdDurationMarshalTo(*v, dAtA[i:])
|
||||
if err != nil {
|
||||
return 0, err
|
||||
}
|
||||
@@ -180,7 +202,7 @@ func (m *MapStdTypes) Size() (n int) {
|
||||
_ = v
|
||||
l = 0
|
||||
if v != nil {
|
||||
l = types.SizeOfStdDuration(*v)
|
||||
l = github_com_gogo_protobuf_types.SizeOfStdDuration(*v)
|
||||
l += 1 + sovIssue261(uint64(l))
|
||||
}
|
||||
mapEntrySize := 1 + sovIssue261(uint64(k)) + l
|
||||
@@ -211,7 +233,7 @@ func (this *MapStdTypes) String() string {
|
||||
for k := range this.NullableDuration {
|
||||
keysForNullableDuration = append(keysForNullableDuration, k)
|
||||
}
|
||||
sortkeys.Int32s(keysForNullableDuration)
|
||||
github_com_gogo_protobuf_sortkeys.Int32s(keysForNullableDuration)
|
||||
mapStringForNullableDuration := "map[int32]*time.Duration{"
|
||||
for _, k := range keysForNullableDuration {
|
||||
mapStringForNullableDuration += fmt.Sprintf("%v: %v,", k, this.NullableDuration[k])
|
||||
@@ -350,7 +372,7 @@ func (m *MapStdTypes) Unmarshal(dAtA []byte) error {
|
||||
if postmsgIndex > l {
|
||||
return io.ErrUnexpectedEOF
|
||||
}
|
||||
if err := types.StdDurationUnmarshal(mapvalue, dAtA[iNdEx:postmsgIndex]); err != nil {
|
||||
if err := github_com_gogo_protobuf_types.StdDurationUnmarshal(mapvalue, dAtA[iNdEx:postmsgIndex]); err != nil {
|
||||
return err
|
||||
}
|
||||
iNdEx = postmsgIndex
|
||||
@@ -497,9 +519,9 @@ var (
|
||||
ErrIntOverflowIssue261 = fmt.Errorf("proto: integer overflow")
|
||||
)
|
||||
|
||||
func init() { proto.RegisterFile("issue261.proto", fileDescriptorIssue261) }
|
||||
func init() { proto.RegisterFile("issue261.proto", fileDescriptor_issue261_ea5bab07e532a045) }
|
||||
|
||||
var fileDescriptorIssue261 = []byte{
|
||||
var fileDescriptor_issue261_ea5bab07e532a045 = []byte{
|
||||
// 266 bytes of a gzipped FileDescriptorProto
|
||||
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0xe2, 0xcb, 0x2c, 0x2e, 0x2e,
|
||||
0x4d, 0x35, 0x32, 0x33, 0xd4, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0xe2, 0x80, 0xf1, 0xa5, 0x74,
|
||||
|
||||
Reference in New Issue
Block a user