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,29 +1,17 @@
// Code generated by protoc-gen-go. DO NOT EDIT.
// source: google/watcher/v1/watch.proto
/*
Package watcher is a generated protocol buffer package.
It is generated from these files:
google/watcher/v1/watch.proto
It has these top-level messages:
Request
ChangeBatch
Change
*/
package watcher
import proto "github.com/golang/protobuf/proto"
import fmt "fmt"
import math "math"
import _ "google.golang.org/genproto/googleapis/api/annotations"
import google_protobuf1 "github.com/golang/protobuf/ptypes/any"
import _ "github.com/golang/protobuf/ptypes/empty"
import (
context "golang.org/x/net/context"
context "context"
fmt "fmt"
proto "github.com/golang/protobuf/proto"
any "github.com/golang/protobuf/ptypes/any"
_ "github.com/golang/protobuf/ptypes/empty"
_ "google.golang.org/genproto/googleapis/api/annotations"
grpc "google.golang.org/grpc"
math "math"
)
// Reference imports to suppress errors if they are not otherwise used.
@@ -61,6 +49,7 @@ var Change_State_name = map[int32]string{
2: "INITIAL_STATE_SKIPPED",
3: "ERROR",
}
var Change_State_value = map[string]int32{
"EXISTS": 0,
"DOES_NOT_EXIST": 1,
@@ -71,7 +60,10 @@ var Change_State_value = map[string]int32{
func (x Change_State) String() string {
return proto.EnumName(Change_State_name, int32(x))
}
func (Change_State) EnumDescriptor() ([]byte, []int) { return fileDescriptor0, []int{2, 0} }
func (Change_State) EnumDescriptor() ([]byte, []int) {
return fileDescriptor_fbde036e07af626b, []int{2, 0}
}
// The message used by the client to register interest in an entity.
type Request struct {
@@ -99,7 +91,7 @@ type Request struct {
// contains a special character, it must be %-encoded. We recommend that
// clients and servers use their runtime's URL library to produce and consume
// target values.
Target string `protobuf:"bytes,1,opt,name=target" json:"target,omitempty"`
Target string `protobuf:"bytes,1,opt,name=target,proto3" json:"target,omitempty"`
// The `resume_marker` specifies how much of the existing underlying state is
// delivered to the client when the watch request is received by the
// system. The client can set this marker in one of the following ways to get
@@ -129,13 +121,36 @@ type Request struct {
// An implementation MUST support an unspecified parameter and the
// empty string "" marker (initial state fetching) and the "now" marker.
// It need not support resuming from a specific point.
ResumeMarker []byte `protobuf:"bytes,2,opt,name=resume_marker,json=resumeMarker,proto3" json:"resume_marker,omitempty"`
ResumeMarker []byte `protobuf:"bytes,2,opt,name=resume_marker,json=resumeMarker,proto3" json:"resume_marker,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *Request) Reset() { *m = Request{} }
func (m *Request) String() string { return proto.CompactTextString(m) }
func (*Request) ProtoMessage() {}
func (*Request) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{0} }
func (m *Request) Reset() { *m = Request{} }
func (m *Request) String() string { return proto.CompactTextString(m) }
func (*Request) ProtoMessage() {}
func (*Request) Descriptor() ([]byte, []int) {
return fileDescriptor_fbde036e07af626b, []int{0}
}
func (m *Request) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_Request.Unmarshal(m, b)
}
func (m *Request) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_Request.Marshal(b, m, deterministic)
}
func (m *Request) XXX_Merge(src proto.Message) {
xxx_messageInfo_Request.Merge(m, src)
}
func (m *Request) XXX_Size() int {
return xxx_messageInfo_Request.Size(m)
}
func (m *Request) XXX_DiscardUnknown() {
xxx_messageInfo_Request.DiscardUnknown(m)
}
var xxx_messageInfo_Request proto.InternalMessageInfo
func (m *Request) GetTarget() string {
if m != nil {
@@ -154,13 +169,36 @@ func (m *Request) GetResumeMarker() []byte {
// A batch of Change messages.
type ChangeBatch struct {
// A list of Change messages.
Changes []*Change `protobuf:"bytes,1,rep,name=changes" json:"changes,omitempty"`
Changes []*Change `protobuf:"bytes,1,rep,name=changes,proto3" json:"changes,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *ChangeBatch) Reset() { *m = ChangeBatch{} }
func (m *ChangeBatch) String() string { return proto.CompactTextString(m) }
func (*ChangeBatch) ProtoMessage() {}
func (*ChangeBatch) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{1} }
func (m *ChangeBatch) Reset() { *m = ChangeBatch{} }
func (m *ChangeBatch) String() string { return proto.CompactTextString(m) }
func (*ChangeBatch) ProtoMessage() {}
func (*ChangeBatch) Descriptor() ([]byte, []int) {
return fileDescriptor_fbde036e07af626b, []int{1}
}
func (m *ChangeBatch) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ChangeBatch.Unmarshal(m, b)
}
func (m *ChangeBatch) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ChangeBatch.Marshal(b, m, deterministic)
}
func (m *ChangeBatch) XXX_Merge(src proto.Message) {
xxx_messageInfo_ChangeBatch.Merge(m, src)
}
func (m *ChangeBatch) XXX_Size() int {
return xxx_messageInfo_ChangeBatch.Size(m)
}
func (m *ChangeBatch) XXX_DiscardUnknown() {
xxx_messageInfo_ChangeBatch.DiscardUnknown(m)
}
var xxx_messageInfo_ChangeBatch proto.InternalMessageInfo
func (m *ChangeBatch) GetChanges() []*Change {
if m != nil {
@@ -174,13 +212,13 @@ type Change struct {
// Name of the element, interpreted relative to the entity's actual
// name. "" refers to the entity itself. The element name is a valid
// UTF-8 string.
Element string `protobuf:"bytes,1,opt,name=element" json:"element,omitempty"`
Element string `protobuf:"bytes,1,opt,name=element,proto3" json:"element,omitempty"`
// The state of the `element`.
State Change_State `protobuf:"varint,2,opt,name=state,enum=google.watcher.v1.Change_State" json:"state,omitempty"`
State Change_State `protobuf:"varint,2,opt,name=state,proto3,enum=google.watcher.v1.Change_State" json:"state,omitempty"`
// The actual change data. This field is present only when `state() == EXISTS`
// or `state() == ERROR`. Please see [google.protobuf.Any][google.protobuf.Any] about how to use
// the Any type.
Data *google_protobuf1.Any `protobuf:"bytes,6,opt,name=data" json:"data,omitempty"`
Data *any.Any `protobuf:"bytes,6,opt,name=data,proto3" json:"data,omitempty"`
// If present, provides a compact representation of all the messages that have
// been received by the caller for the given entity, e.g., it could be a
// sequence number or a multi-part timestamp/version vector. This marker can
@@ -189,13 +227,36 @@ type Change struct {
ResumeMarker []byte `protobuf:"bytes,4,opt,name=resume_marker,json=resumeMarker,proto3" json:"resume_marker,omitempty"`
// If true, this Change is followed by more Changes that are in the same group
// as this Change.
Continued bool `protobuf:"varint,5,opt,name=continued" json:"continued,omitempty"`
Continued bool `protobuf:"varint,5,opt,name=continued,proto3" json:"continued,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *Change) Reset() { *m = Change{} }
func (m *Change) String() string { return proto.CompactTextString(m) }
func (*Change) ProtoMessage() {}
func (*Change) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{2} }
func (m *Change) Reset() { *m = Change{} }
func (m *Change) String() string { return proto.CompactTextString(m) }
func (*Change) ProtoMessage() {}
func (*Change) Descriptor() ([]byte, []int) {
return fileDescriptor_fbde036e07af626b, []int{2}
}
func (m *Change) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_Change.Unmarshal(m, b)
}
func (m *Change) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_Change.Marshal(b, m, deterministic)
}
func (m *Change) XXX_Merge(src proto.Message) {
xxx_messageInfo_Change.Merge(m, src)
}
func (m *Change) XXX_Size() int {
return xxx_messageInfo_Change.Size(m)
}
func (m *Change) XXX_DiscardUnknown() {
xxx_messageInfo_Change.DiscardUnknown(m)
}
var xxx_messageInfo_Change proto.InternalMessageInfo
func (m *Change) GetElement() string {
if m != nil {
@@ -211,7 +272,7 @@ func (m *Change) GetState() Change_State {
return Change_EXISTS
}
func (m *Change) GetData() *google_protobuf1.Any {
func (m *Change) GetData() *any.Any {
if m != nil {
return m.Data
}
@@ -233,10 +294,45 @@ func (m *Change) GetContinued() bool {
}
func init() {
proto.RegisterEnum("google.watcher.v1.Change_State", Change_State_name, Change_State_value)
proto.RegisterType((*Request)(nil), "google.watcher.v1.Request")
proto.RegisterType((*ChangeBatch)(nil), "google.watcher.v1.ChangeBatch")
proto.RegisterType((*Change)(nil), "google.watcher.v1.Change")
proto.RegisterEnum("google.watcher.v1.Change_State", Change_State_name, Change_State_value)
}
func init() { proto.RegisterFile("google/watcher/v1/watch.proto", fileDescriptor_fbde036e07af626b) }
var fileDescriptor_fbde036e07af626b = []byte{
// 449 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x74, 0x52, 0xdd, 0x6e, 0xd3, 0x30,
0x14, 0xc6, 0xdd, 0x92, 0xd2, 0xd3, 0x31, 0x75, 0x16, 0x43, 0x69, 0x19, 0x10, 0x85, 0x9b, 0x5c,
0x25, 0xac, 0x13, 0x12, 0x12, 0x57, 0x2d, 0x0b, 0x52, 0x04, 0x5b, 0x2b, 0x27, 0x12, 0x13, 0x37,
0x91, 0x97, 0x99, 0xac, 0xa2, 0xb1, 0x4b, 0xe2, 0x0e, 0xed, 0x96, 0x57, 0x40, 0x3c, 0x19, 0xaf,
0xc0, 0x83, 0xa0, 0xda, 0x0e, 0x20, 0xb2, 0xde, 0x9d, 0xf3, 0xfd, 0xd8, 0xe7, 0x3b, 0x36, 0x3c,
0x29, 0x84, 0x28, 0x96, 0x2c, 0xfc, 0x4a, 0x65, 0x7e, 0xcd, 0xaa, 0xf0, 0xe6, 0x58, 0x97, 0xc1,
0xaa, 0x12, 0x52, 0xe0, 0x03, 0x4d, 0x07, 0x86, 0x0e, 0x6e, 0x8e, 0x47, 0x47, 0xc6, 0x41, 0x57,
0x8b, 0x90, 0x72, 0x2e, 0x24, 0x95, 0x0b, 0xc1, 0x6b, 0x6d, 0x18, 0x0d, 0x0d, 0xab, 0xba, 0xcb,
0xf5, 0xa7, 0x90, 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4a, 0xb2, 0xf3, 0x59, 0x9a, 0x29,
0x70, 0x80, 0xf0, 0x10, 0x0e, 0xe3, 0xf3, 0x38, 0x8d, 0x27, 0xef, 0xb3, 0x24, 0x9d, 0xa4, 0x51,
0x96, 0xbc, 0x8b, 0xe7, 0xf3, 0xe8, 0x74, 0xd0, 0xc1, 0x3d, 0xb0, 0x22, 0x42, 0x66, 0x64, 0xb0,
0x33, 0xce, 0xa1, 0xfb, 0x41, 0xa7, 0xc3, 0x17, 0x60, 0xa9, 0x12, 0x8f, 0xee, 0xc8, 0x6d, 0x1e,
0x72, 0xf4, 0x74, 0xeb, 0x4e, 0xd4, 0xe3, 0x78, 0x07, 0xdf, 0x7e, 0xfe, 0xfa, 0xde, 0xe9, 0xe3,
0xde, 0x9f, 0x5f, 0xf7, 0x02, 0x4d, 0x33, 0x38, 0xcc, 0x45, 0xd9, 0x76, 0x4e, 0x41, 0x5d, 0x38,
0xdf, 0x2c, 0x6a, 0x8e, 0x3e, 0xbe, 0x32, 0x82, 0x42, 0x2c, 0x29, 0x2f, 0x02, 0x51, 0x15, 0x61,
0xc1, 0xb8, 0x5a, 0x63, 0xa8, 0x29, 0xba, 0x5a, 0xd4, 0xff, 0x7c, 0xeb, 0xd7, 0xa6, 0xbc, 0xb4,
0x95, 0xe8, 0xe4, 0x77, 0x00, 0x00, 0x00, 0xff, 0xff, 0x48, 0x0a, 0xba, 0x6c, 0xfa, 0x02, 0x00,
0x00,
}
// Reference imports to suppress errors if they are not otherwise used.
@@ -247,8 +343,9 @@ var _ grpc.ClientConn
// is compatible with the grpc package it is being compiled against.
const _ = grpc.SupportPackageIsVersion4
// Client API for Watcher service
// WatcherClient is the client API for Watcher service.
//
// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
type WatcherClient interface {
// Start a streaming RPC to get watch information from the server.
Watch(ctx context.Context, in *Request, opts ...grpc.CallOption) (Watcher_WatchClient, error)
@@ -263,7 +360,7 @@ func NewWatcherClient(cc *grpc.ClientConn) WatcherClient {
}
func (c *watcherClient) Watch(ctx context.Context, in *Request, opts ...grpc.CallOption) (Watcher_WatchClient, error) {
stream, err := grpc.NewClientStream(ctx, &_Watcher_serviceDesc.Streams[0], c.cc, "/google.watcher.v1.Watcher/Watch", opts...)
stream, err := c.cc.NewStream(ctx, &_Watcher_serviceDesc.Streams[0], "/google.watcher.v1.Watcher/Watch", opts...)
if err != nil {
return nil, err
}
@@ -294,8 +391,7 @@ func (x *watcherWatchClient) Recv() (*ChangeBatch, error) {
return m, nil
}
// Server API for Watcher service
// WatcherServer is the server API for Watcher service.
type WatcherServer interface {
// Start a streaming RPC to get watch information from the server.
Watch(*Request, Watcher_WatchServer) error
@@ -339,38 +435,3 @@ var _Watcher_serviceDesc = grpc.ServiceDesc{
},
Metadata: "google/watcher/v1/watch.proto",
}
func init() { proto.RegisterFile("google/watcher/v1/watch.proto", fileDescriptor0) }
var fileDescriptor0 = []byte{
// 449 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x74, 0x52, 0xdd, 0x6e, 0xd3, 0x30,
0x14, 0xc6, 0xdd, 0x92, 0xd2, 0xd3, 0x31, 0x75, 0x16, 0x43, 0x69, 0x19, 0x10, 0x85, 0x9b, 0x5c,
0x25, 0xac, 0x13, 0x12, 0x12, 0x57, 0x2d, 0x0b, 0x52, 0x04, 0x5b, 0x2b, 0x27, 0x12, 0x13, 0x37,
0x91, 0x97, 0x99, 0xac, 0xa2, 0xb1, 0x4b, 0xe2, 0x0e, 0xed, 0x96, 0x57, 0x40, 0x3c, 0x19, 0xaf,
0xc0, 0x83, 0xa0, 0xda, 0x0e, 0x20, 0xb2, 0xde, 0x9d, 0xf3, 0xfd, 0xd8, 0xe7, 0x3b, 0x36, 0x3c,
0x29, 0x84, 0x28, 0x96, 0x2c, 0xfc, 0x4a, 0x65, 0x7e, 0xcd, 0xaa, 0xf0,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