Bumping k8s dependencies to 1.13

This commit is contained in:
Cheng Xing
2018-11-16 14:08:25 -08:00
parent 305407125c
commit b4c0b68ec7
8002 changed files with 884099 additions and 276228 deletions

View File

@@ -1,25 +1,17 @@
// Code generated by protoc-gen-gogo. DO NOT EDIT.
// source: oneofembed.proto
/*
Package proto is a generated protocol buffer package.
It is generated from these files:
oneofembed.proto
It has these top-level messages:
Foo
Bar
*/
package proto
import proto1 "github.com/gogo/protobuf/proto"
import proto "github.com/gogo/protobuf/proto"
import fmt "fmt"
import math "math"
import _ "github.com/gogo/protobuf/gogoproto"
import bytes "bytes"
// Reference imports to suppress errors if they are not otherwise used.
var _ = proto1.Marshal
var _ = proto.Marshal
var _ = fmt.Errorf
var _ = math.Inf
@@ -27,28 +19,72 @@ 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 _ = proto1.GoGoProtoPackageIsVersion2 // please upgrade the proto package
const _ = proto.GoGoProtoPackageIsVersion2 // please upgrade the proto package
type Foo struct {
*Bar `protobuf:"bytes,1,opt,name=bar,embedded=bar" json:"bar,omitempty"`
*Bar `protobuf:"bytes,1,opt,name=bar,embedded=bar" json:"bar,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *Foo) Reset() { *m = Foo{} }
func (m *Foo) String() string { return proto1.CompactTextString(m) }
func (*Foo) ProtoMessage() {}
func (*Foo) Descriptor() ([]byte, []int) { return fileDescriptorOneofembed, []int{0} }
func (m *Foo) Reset() { *m = Foo{} }
func (m *Foo) String() string { return proto.CompactTextString(m) }
func (*Foo) ProtoMessage() {}
func (*Foo) Descriptor() ([]byte, []int) {
return fileDescriptor_oneofembed_d85d6690bc6cfd92, []int{0}
}
func (m *Foo) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_Foo.Unmarshal(m, b)
}
func (m *Foo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_Foo.Marshal(b, m, deterministic)
}
func (dst *Foo) XXX_Merge(src proto.Message) {
xxx_messageInfo_Foo.Merge(dst, src)
}
func (m *Foo) XXX_Size() int {
return xxx_messageInfo_Foo.Size(m)
}
func (m *Foo) XXX_DiscardUnknown() {
xxx_messageInfo_Foo.DiscardUnknown(m)
}
var xxx_messageInfo_Foo proto.InternalMessageInfo
type Bar struct {
// Types that are valid to be assigned to Pick:
// *Bar_A
// *Bar_B
Pick isBar_Pick `protobuf_oneof:"pick"`
Pick isBar_Pick `protobuf_oneof:"pick"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *Bar) Reset() { *m = Bar{} }
func (m *Bar) String() string { return proto1.CompactTextString(m) }
func (*Bar) ProtoMessage() {}
func (*Bar) Descriptor() ([]byte, []int) { return fileDescriptorOneofembed, []int{1} }
func (m *Bar) Reset() { *m = Bar{} }
func (m *Bar) String() string { return proto.CompactTextString(m) }
func (*Bar) ProtoMessage() {}
func (*Bar) Descriptor() ([]byte, []int) {
return fileDescriptor_oneofembed_d85d6690bc6cfd92, []int{1}
}
func (m *Bar) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_Bar.Unmarshal(m, b)
}
func (m *Bar) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_Bar.Marshal(b, m, deterministic)
}
func (dst *Bar) XXX_Merge(src proto.Message) {
xxx_messageInfo_Bar.Merge(dst, src)
}
func (m *Bar) XXX_Size() int {
return xxx_messageInfo_Bar.Size(m)
}
func (m *Bar) XXX_DiscardUnknown() {
xxx_messageInfo_Bar.DiscardUnknown(m)
}
var xxx_messageInfo_Bar proto.InternalMessageInfo
type isBar_Pick interface {
isBar_Pick()
@@ -87,14 +123,14 @@ func (m *Bar) GetB() bool {
}
// XXX_OneofFuncs is for the internal use of the proto package.
func (*Bar) XXX_OneofFuncs() (func(msg proto1.Message, b *proto1.Buffer) error, func(msg proto1.Message, tag, wire int, b *proto1.Buffer) (bool, error), func(msg proto1.Message) (n int), []interface{}) {
func (*Bar) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) {
return _Bar_OneofMarshaler, _Bar_OneofUnmarshaler, _Bar_OneofSizer, []interface{}{
(*Bar_A)(nil),
(*Bar_B)(nil),
}
}
func _Bar_OneofMarshaler(msg proto1.Message, b *proto1.Buffer) error {
func _Bar_OneofMarshaler(msg proto.Message, b *proto.Buffer) error {
m := msg.(*Bar)
// pick
switch x := m.Pick.(type) {
@@ -103,14 +139,14 @@ func _Bar_OneofMarshaler(msg proto1.Message, b *proto1.Buffer) error {
if x.A {
t = 1
}
_ = b.EncodeVarint(11<<3 | proto1.WireVarint)
_ = b.EncodeVarint(11<<3 | proto.WireVarint)
_ = b.EncodeVarint(t)
case *Bar_B:
t := uint64(0)
if x.B {
t = 1
}
_ = b.EncodeVarint(12<<3 | proto1.WireVarint)
_ = b.EncodeVarint(12<<3 | proto.WireVarint)
_ = b.EncodeVarint(t)
case nil:
default:
@@ -119,19 +155,19 @@ func _Bar_OneofMarshaler(msg proto1.Message, b *proto1.Buffer) error {
return nil
}
func _Bar_OneofUnmarshaler(msg proto1.Message, tag, wire int, b *proto1.Buffer) (bool, error) {
func _Bar_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) {
m := msg.(*Bar)
switch tag {
case 11: // pick.a
if wire != proto1.WireVarint {
return true, proto1.ErrInternalBadWireType
if wire != proto.WireVarint {
return true, proto.ErrInternalBadWireType
}
x, err := b.DecodeVarint()
m.Pick = &Bar_A{x != 0}
return true, err
case 12: // pick.b
if wire != proto1.WireVarint {
return true, proto1.ErrInternalBadWireType
if wire != proto.WireVarint {
return true, proto.ErrInternalBadWireType
}
x, err := b.DecodeVarint()
m.Pick = &Bar_B{x != 0}
@@ -141,15 +177,15 @@ func _Bar_OneofUnmarshaler(msg proto1.Message, tag, wire int, b *proto1.Buffer)
}
}
func _Bar_OneofSizer(msg proto1.Message) (n int) {
func _Bar_OneofSizer(msg proto.Message) (n int) {
m := msg.(*Bar)
// pick
switch x := m.Pick.(type) {
case *Bar_A:
n += proto1.SizeVarint(11<<3 | proto1.WireVarint)
n += 1 // tag and wire
n += 1
case *Bar_B:
n += proto1.SizeVarint(12<<3 | proto1.WireVarint)
n += 1 // tag and wire
n += 1
case nil:
default:
@@ -159,8 +195,8 @@ func _Bar_OneofSizer(msg proto1.Message) (n int) {
}
func init() {
proto1.RegisterType((*Foo)(nil), "proto.Foo")
proto1.RegisterType((*Bar)(nil), "proto.Bar")
proto.RegisterType((*Foo)(nil), "proto.Foo")
proto.RegisterType((*Bar)(nil), "proto.Bar")
}
func (this *Foo) Equal(that interface{}) bool {
if that == nil {
@@ -184,6 +220,9 @@ func (this *Foo) Equal(that interface{}) bool {
if !this.Bar.Equal(that1.Bar) {
return false
}
if !bytes.Equal(this.XXX_unrecognized, that1.XXX_unrecognized) {
return false
}
return true
}
func (this *Bar) Equal(that interface{}) bool {
@@ -214,6 +253,9 @@ func (this *Bar) Equal(that interface{}) bool {
} else if !this.Pick.Equal(that1.Pick) {
return false
}
if !bytes.Equal(this.XXX_unrecognized, that1.XXX_unrecognized) {
return false
}
return true
}
func (this *Bar_A) Equal(that interface{}) bool {
@@ -270,6 +312,7 @@ func NewPopulatedFoo(r randyOneofembed, easy bool) *Foo {
this.Bar = NewPopulatedBar(r, easy)
}
if !easy && r.Intn(10) != 0 {
this.XXX_unrecognized = randUnrecognizedOneofembed(r, 2)
}
return this
}
@@ -284,6 +327,7 @@ func NewPopulatedBar(r randyOneofembed, easy bool) *Bar {
this.Pick = NewPopulatedBar_B(r, easy)
}
if !easy && r.Intn(10) != 0 {
this.XXX_unrecognized = randUnrecognizedOneofembed(r, 13)
}
return this
}
@@ -372,9 +416,9 @@ func encodeVarintPopulateOneofembed(dAtA []byte, v uint64) []byte {
return dAtA
}
func init() { proto1.RegisterFile("oneofembed.proto", fileDescriptorOneofembed) }
func init() { proto.RegisterFile("oneofembed.proto", fileDescriptor_oneofembed_d85d6690bc6cfd92) }
var fileDescriptorOneofembed = []byte{
var fileDescriptor_oneofembed_d85d6690bc6cfd92 = []byte{
// 171 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x12, 0xc8, 0xcf, 0x4b, 0xcd,
0x4f, 0x4b, 0xcd, 0x4d, 0x4a, 0x4d, 0xd1, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0x62, 0x05, 0x53,