vendor update for CSI 0.3.0

This commit is contained in:
gman
2018-07-18 16:47:22 +02:00
parent 6f484f92fc
commit 8ea659f0d5
6810 changed files with 438061 additions and 193861 deletions

View File

@ -1,25 +1,14 @@
// 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
package watcher // import "google.golang.org/genproto/googleapis/watcher/v1"
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 any "github.com/golang/protobuf/ptypes/any"
import _ "github.com/golang/protobuf/ptypes/empty"
import _ "google.golang.org/genproto/googleapis/api/annotations"
import (
context "golang.org/x/net/context"
@ -71,7 +60,9 @@ 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_watch_40ce6762a23e7042, []int{2, 0}
}
// The message used by the client to register interest in an entity.
type Request struct {
@ -99,7 +90,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 +120,35 @@ 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_watch_40ce6762a23e7042, []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 (dst *Request) XXX_Merge(src proto.Message) {
xxx_messageInfo_Request.Merge(dst, 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 +167,35 @@ 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_watch_40ce6762a23e7042, []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 (dst *ChangeBatch) XXX_Merge(src proto.Message) {
xxx_messageInfo_ChangeBatch.Merge(dst, 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 +209,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 +224,35 @@ 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_watch_40ce6762a23e7042, []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 (dst *Change) XXX_Merge(src proto.Message) {
xxx_messageInfo_Change.Merge(dst, 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 +268,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
}
@ -247,8 +304,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 +321,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 +352,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
@ -340,9 +397,11 @@ var _Watcher_serviceDesc = grpc.ServiceDesc{
Metadata: "google/watcher/v1/watch.proto",
}
func init() { proto.RegisterFile("google/watcher/v1/watch.proto", fileDescriptor0) }
func init() {
proto.RegisterFile("google/watcher/v1/watch.proto", fileDescriptor_watch_40ce6762a23e7042)
}
var fileDescriptor0 = []byte{
var fileDescriptor_watch_40ce6762a23e7042 = []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,