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,22 +1,13 @@
// Code generated by protoc-gen-gogo. DO NOT EDIT.
// source: events.proto
/*
Package events is a generated protocol buffer package.
It is generated from these files:
events.proto
It has these top-level messages:
Subtype
*/
package events
import proto "github.com/gogo/protobuf/proto"
import fmt "fmt"
import math "math"
import issue312 "github.com/gogo/protobuf/test/issue312"
import _ "github.com/gogo/protobuf/gogoproto"
import issue312 "github.com/gogo/protobuf/test/issue312"
import bytes "bytes"
@@ -35,14 +26,35 @@ var _ = math.Inf
const _ = proto.GoGoProtoPackageIsVersion2 // please upgrade the proto package
type Subtype struct {
State *issue312.TaskState `protobuf:"varint,4,opt,name=state,enum=issue312.TaskState" json:"state,omitempty"`
XXX_unrecognized []byte `json:"-"`
State *issue312.TaskState `protobuf:"varint,4,opt,name=state,enum=issue312.TaskState" json:"state,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *Subtype) Reset() { *m = Subtype{} }
func (m *Subtype) String() string { return proto.CompactTextString(m) }
func (*Subtype) ProtoMessage() {}
func (*Subtype) Descriptor() ([]byte, []int) { return fileDescriptorEvents, []int{0} }
func (m *Subtype) Reset() { *m = Subtype{} }
func (m *Subtype) String() string { return proto.CompactTextString(m) }
func (*Subtype) ProtoMessage() {}
func (*Subtype) Descriptor() ([]byte, []int) {
return fileDescriptor_events_4681b5f19350f6a9, []int{0}
}
func (m *Subtype) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_Subtype.Unmarshal(m, b)
}
func (m *Subtype) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_Subtype.Marshal(b, m, deterministic)
}
func (dst *Subtype) XXX_Merge(src proto.Message) {
xxx_messageInfo_Subtype.Merge(dst, src)
}
func (m *Subtype) XXX_Size() int {
return xxx_messageInfo_Subtype.Size(m)
}
func (m *Subtype) XXX_DiscardUnknown() {
xxx_messageInfo_Subtype.DiscardUnknown(m)
}
var xxx_messageInfo_Subtype proto.InternalMessageInfo
func (m *Subtype) GetState() issue312.TaskState {
if m != nil && m.State != nil {
@@ -195,9 +207,9 @@ func encodeVarintPopulateEvents(dAtA []byte, v uint64) []byte {
return dAtA
}
func init() { proto.RegisterFile("events.proto", fileDescriptorEvents) }
func init() { proto.RegisterFile("events.proto", fileDescriptor_events_4681b5f19350f6a9) }
var fileDescriptorEvents = []byte{
var fileDescriptor_events_4681b5f19350f6a9 = []byte{
// 162 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0xe2, 0x49, 0x2d, 0x4b, 0xcd,
0x2b, 0x29, 0xd6, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0xe2, 0xcf, 0x2c, 0x2e, 0x2e, 0x4d, 0x35,

View File

@@ -1,27 +1,19 @@
// Code generated by protoc-gen-gogo. DO NOT EDIT.
// source: events.proto
/*
Package events is a generated protocol buffer package.
It is generated from these files:
events.proto
It has these top-level messages:
Subtype
*/
package events
import testing "testing"
import rand "math/rand"
import math_rand "math/rand"
import time "time"
import proto "github.com/gogo/protobuf/proto"
import jsonpb "github.com/gogo/protobuf/jsonpb"
import github_com_gogo_protobuf_proto "github.com/gogo/protobuf/proto"
import github_com_gogo_protobuf_jsonpb "github.com/gogo/protobuf/jsonpb"
import fmt "fmt"
import parser "go/parser"
import go_parser "go/parser"
import proto "github.com/gogo/protobuf/proto"
import math "math"
import _ "github.com/gogo/protobuf/test/issue312"
import _ "github.com/gogo/protobuf/gogoproto"
import _ "github.com/gogo/protobuf/test/issue312"
// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marshal
@@ -30,14 +22,14 @@ var _ = math.Inf
func TestSubtypeProto(t *testing.T) {
seed := time.Now().UnixNano()
popr := rand.New(rand.NewSource(seed))
popr := math_rand.New(math_rand.NewSource(seed))
p := NewPopulatedSubtype(popr, false)
dAtA, err := proto.Marshal(p)
dAtA, err := github_com_gogo_protobuf_proto.Marshal(p)
if err != nil {
t.Fatalf("seed = %d, err = %v", seed, err)
}
msg := &Subtype{}
if err := proto.Unmarshal(dAtA, msg); err != nil {
if err := github_com_gogo_protobuf_proto.Unmarshal(dAtA, msg); err != nil {
t.Fatalf("seed = %d, err = %v", seed, err)
}
littlefuzz := make([]byte, len(dAtA))
@@ -55,21 +47,21 @@ func TestSubtypeProto(t *testing.T) {
littlefuzz = append(littlefuzz, byte(popr.Intn(256)))
}
// shouldn't panic
_ = proto.Unmarshal(littlefuzz, msg)
_ = github_com_gogo_protobuf_proto.Unmarshal(littlefuzz, msg)
}
}
func TestSubtypeJSON(t *testing.T) {
seed := time.Now().UnixNano()
popr := rand.New(rand.NewSource(seed))
popr := math_rand.New(math_rand.NewSource(seed))
p := NewPopulatedSubtype(popr, true)
marshaler := jsonpb.Marshaler{}
marshaler := github_com_gogo_protobuf_jsonpb.Marshaler{}
jsondata, err := marshaler.MarshalToString(p)
if err != nil {
t.Fatalf("seed = %d, err = %v", seed, err)
}
msg := &Subtype{}
err = jsonpb.UnmarshalString(jsondata, msg)
err = github_com_gogo_protobuf_jsonpb.UnmarshalString(jsondata, msg)
if err != nil {
t.Fatalf("seed = %d, err = %v", seed, err)
}
@@ -79,11 +71,11 @@ func TestSubtypeJSON(t *testing.T) {
}
func TestSubtypeProtoText(t *testing.T) {
seed := time.Now().UnixNano()
popr := rand.New(rand.NewSource(seed))
popr := math_rand.New(math_rand.NewSource(seed))
p := NewPopulatedSubtype(popr, true)
dAtA := proto.MarshalTextString(p)
dAtA := github_com_gogo_protobuf_proto.MarshalTextString(p)
msg := &Subtype{}
if err := proto.UnmarshalText(dAtA, msg); err != nil {
if err := github_com_gogo_protobuf_proto.UnmarshalText(dAtA, msg); err != nil {
t.Fatalf("seed = %d, err = %v", seed, err)
}
if !p.Equal(msg) {
@@ -93,11 +85,11 @@ func TestSubtypeProtoText(t *testing.T) {
func TestSubtypeProtoCompactText(t *testing.T) {
seed := time.Now().UnixNano()
popr := rand.New(rand.NewSource(seed))
popr := math_rand.New(math_rand.NewSource(seed))
p := NewPopulatedSubtype(popr, true)
dAtA := proto.CompactTextString(p)
dAtA := github_com_gogo_protobuf_proto.CompactTextString(p)
msg := &Subtype{}
if err := proto.UnmarshalText(dAtA, msg); err != nil {
if err := github_com_gogo_protobuf_proto.UnmarshalText(dAtA, msg); err != nil {
t.Fatalf("seed = %d, err = %v", seed, err)
}
if !p.Equal(msg) {
@@ -106,14 +98,14 @@ func TestSubtypeProtoCompactText(t *testing.T) {
}
func TestSubtypeGoString(t *testing.T) {
popr := rand.New(rand.NewSource(time.Now().UnixNano()))
popr := math_rand.New(math_rand.NewSource(time.Now().UnixNano()))
p := NewPopulatedSubtype(popr, false)
s1 := p.GoString()
s2 := fmt.Sprintf("%#v", p)
if s1 != s2 {
t.Fatalf("GoString want %v got %v", s1, s2)
}
_, err := parser.ParseExpr(s1)
_, err := go_parser.ParseExpr(s1)
if err != nil {
t.Fatal(err)
}