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,46 +1,17 @@
// Code generated by protoc-gen-go. DO NOT EDIT.
// source: google/cloud/runtimeconfig/v1beta1/resources.proto
/*
Package runtimeconfig is a generated protocol buffer package.
It is generated from these files:
google/cloud/runtimeconfig/v1beta1/resources.proto
google/cloud/runtimeconfig/v1beta1/runtimeconfig.proto
It has these top-level messages:
RuntimeConfig
Variable
EndCondition
Waiter
ListConfigsRequest
ListConfigsResponse
GetConfigRequest
CreateConfigRequest
UpdateConfigRequest
DeleteConfigRequest
ListVariablesRequest
ListVariablesResponse
WatchVariableRequest
GetVariableRequest
CreateVariableRequest
UpdateVariableRequest
DeleteVariableRequest
ListWaitersRequest
ListWaitersResponse
GetWaiterRequest
CreateWaiterRequest
DeleteWaiterRequest
*/
package runtimeconfig
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/duration"
import google_protobuf2 "github.com/golang/protobuf/ptypes/timestamp"
import google_rpc "google.golang.org/genproto/googleapis/rpc/status"
import (
fmt "fmt"
proto "github.com/golang/protobuf/proto"
duration "github.com/golang/protobuf/ptypes/duration"
timestamp "github.com/golang/protobuf/ptypes/timestamp"
_ "google.golang.org/genproto/googleapis/api/annotations"
status "google.golang.org/genproto/googleapis/rpc/status"
math "math"
)
// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marshal
@@ -72,6 +43,7 @@ var VariableState_name = map[int32]string{
1: "UPDATED",
2: "DELETED",
}
var VariableState_value = map[string]int32{
"VARIABLE_STATE_UNSPECIFIED": 0,
"UPDATED": 1,
@@ -81,7 +53,10 @@ var VariableState_value = map[string]int32{
func (x VariableState) String() string {
return proto.EnumName(VariableState_name, int32(x))
}
func (VariableState) EnumDescriptor() ([]byte, []int) { return fileDescriptor0, []int{0} }
func (VariableState) EnumDescriptor() ([]byte, []int) {
return fileDescriptor_7913f3704a8d250c, []int{0}
}
// A RuntimeConfig resource is the primary resource in the Cloud RuntimeConfig
// service. A RuntimeConfig resource consists of metadata and a hierarchy of
@@ -98,15 +73,38 @@ type RuntimeConfig struct {
// You pick the RuntimeConfig resource name, but the server will validate that
// the name adheres to this format. After you create the resource, you cannot
// change the resource's name.
Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// An optional description of the RuntimeConfig object.
Description string `protobuf:"bytes,2,opt,name=description" json:"description,omitempty"`
Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *RuntimeConfig) Reset() { *m = RuntimeConfig{} }
func (m *RuntimeConfig) String() string { return proto.CompactTextString(m) }
func (*RuntimeConfig) ProtoMessage() {}
func (*RuntimeConfig) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{0} }
func (m *RuntimeConfig) Reset() { *m = RuntimeConfig{} }
func (m *RuntimeConfig) String() string { return proto.CompactTextString(m) }
func (*RuntimeConfig) ProtoMessage() {}
func (*RuntimeConfig) Descriptor() ([]byte, []int) {
return fileDescriptor_7913f3704a8d250c, []int{0}
}
func (m *RuntimeConfig) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_RuntimeConfig.Unmarshal(m, b)
}
func (m *RuntimeConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_RuntimeConfig.Marshal(b, m, deterministic)
}
func (m *RuntimeConfig) XXX_Merge(src proto.Message) {
xxx_messageInfo_RuntimeConfig.Merge(m, src)
}
func (m *RuntimeConfig) XXX_Size() int {
return xxx_messageInfo_RuntimeConfig.Size(m)
}
func (m *RuntimeConfig) XXX_DiscardUnknown() {
xxx_messageInfo_RuntimeConfig.DiscardUnknown(m)
}
var xxx_messageInfo_RuntimeConfig proto.InternalMessageInfo
func (m *RuntimeConfig) GetName() string {
if m != nil {
@@ -144,8 +142,8 @@ type Variable struct {
// The length of a `[VARIABLE_NAME]` must be less than 256 bytes.
//
// Once you create a variable, you cannot change the variable name.
Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
// The the value of the variable. It can be either a binary or a string
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// The value of the variable. It can be either a binary or a string
// value. You must specify one of either `value` or `text`. Specifying both
// will cause the server to return an error.
//
@@ -154,17 +152,47 @@ type Variable struct {
// *Variable_Text
Contents isVariable_Contents `protobuf_oneof:"contents"`
// [Output Only] The time of the last variable update.
UpdateTime *google_protobuf2.Timestamp `protobuf:"bytes,3,opt,name=update_time,json=updateTime" json:"update_time,omitempty"`
UpdateTime *timestamp.Timestamp `protobuf:"bytes,3,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
// [Ouput only] The current state of the variable. The variable state indicates
// the outcome of the `variables().watch` call and is visible through the
// `get` and `list` calls.
State VariableState `protobuf:"varint,4,opt,name=state,enum=google.cloud.runtimeconfig.v1beta1.VariableState" json:"state,omitempty"`
State VariableState `protobuf:"varint,4,opt,name=state,proto3,enum=google.cloud.runtimeconfig.v1beta1.VariableState" json:"state,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *Variable) Reset() { *m = Variable{} }
func (m *Variable) String() string { return proto.CompactTextString(m) }
func (*Variable) ProtoMessage() {}
func (*Variable) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{1} }
func (m *Variable) Reset() { *m = Variable{} }
func (m *Variable) String() string { return proto.CompactTextString(m) }
func (*Variable) ProtoMessage() {}
func (*Variable) Descriptor() ([]byte, []int) {
return fileDescriptor_7913f3704a8d250c, []int{1}
}
func (m *Variable) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_Variable.Unmarshal(m, b)
}
func (m *Variable) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_Variable.Marshal(b, m, deterministic)
}
func (m *Variable) XXX_Merge(src proto.Message) {
xxx_messageInfo_Variable.Merge(m, src)
}
func (m *Variable) XXX_Size() int {
return xxx_messageInfo_Variable.Size(m)
}
func (m *Variable) XXX_DiscardUnknown() {
xxx_messageInfo_Variable.DiscardUnknown(m)
}
var xxx_messageInfo_Variable proto.InternalMessageInfo
func (m *Variable) GetName() string {
if m != nil {
return m.Name
}
return ""
}
type isVariable_Contents interface {
isVariable_Contents()
@@ -173,12 +201,14 @@ type isVariable_Contents interface {
type Variable_Value struct {
Value []byte `protobuf:"bytes,2,opt,name=value,proto3,oneof"`
}
type Variable_Text struct {
Text string `protobuf:"bytes,5,opt,name=text,oneof"`
Text string `protobuf:"bytes,5,opt,name=text,proto3,oneof"`
}
func (*Variable_Value) isVariable_Contents() {}
func (*Variable_Text) isVariable_Contents() {}
func (*Variable_Text) isVariable_Contents() {}
func (m *Variable) GetContents() isVariable_Contents {
if m != nil {
@@ -187,13 +217,6 @@ func (m *Variable) GetContents() isVariable_Contents {
return nil
}
func (m *Variable) GetName() string {
if m != nil {
return m.Name
}
return ""
}
func (m *Variable) GetValue() []byte {
if x, ok := m.GetContents().(*Variable_Value); ok {
return x.Value
@@ -208,7 +231,7 @@ func (m *Variable) GetText() string {
return ""
}
func (m *Variable) GetUpdateTime() *google_protobuf2.Timestamp {
func (m *Variable) GetUpdateTime() *timestamp.Timestamp {
if m != nil {
return m.UpdateTime
}
@@ -274,11 +297,11 @@ func _Variable_OneofSizer(msg proto.Message) (n int) {
// contents
switch x := m.Contents.(type) {
case *Variable_Value:
n += proto.SizeVarint(2<<3 | proto.WireBytes)
n += 1 // tag and wire
n += proto.SizeVarint(uint64(len(x.Value)))
n += len(x.Value)
case *Variable_Text:
n += proto.SizeVarint(5<<3 | proto.WireBytes)
n += 1 // tag and wire
n += proto.SizeVarint(uint64(len(x.Text)))
n += len(x.Text)
case nil:
@@ -295,20 +318,43 @@ type EndCondition struct {
//
// Types that are valid to be assigned to Condition:
// *EndCondition_Cardinality_
Condition isEndCondition_Condition `protobuf_oneof:"condition"`
Condition isEndCondition_Condition `protobuf_oneof:"condition"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *EndCondition) Reset() { *m = EndCondition{} }
func (m *EndCondition) String() string { return proto.CompactTextString(m) }
func (*EndCondition) ProtoMessage() {}
func (*EndCondition) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{2} }
func (m *EndCondition) Reset() { *m = EndCondition{} }
func (m *EndCondition) String() string { return proto.CompactTextString(m) }
func (*EndCondition) ProtoMessage() {}
func (*EndCondition) Descriptor() ([]byte, []int) {
return fileDescriptor_7913f3704a8d250c, []int{2}
}
func (m *EndCondition) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_EndCondition.Unmarshal(m, b)
}
func (m *EndCondition) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_EndCondition.Marshal(b, m, deterministic)
}
func (m *EndCondition) XXX_Merge(src proto.Message) {
xxx_messageInfo_EndCondition.Merge(m, src)
}
func (m *EndCondition) XXX_Size() int {
return xxx_messageInfo_EndCondition.Size(m)
}
func (m *EndCondition) XXX_DiscardUnknown() {
xxx_messageInfo_EndCondition.DiscardUnknown(m)
}
var xxx_messageInfo_EndCondition proto.InternalMessageInfo
type isEndCondition_Condition interface {
isEndCondition_Condition()
}
type EndCondition_Cardinality_ struct {
Cardinality *EndCondition_Cardinality `protobuf:"bytes,1,opt,name=cardinality,oneof"`
Cardinality *EndCondition_Cardinality `protobuf:"bytes,1,opt,name=cardinality,proto3,oneof"`
}
func (*EndCondition_Cardinality_) isEndCondition_Condition() {}
@@ -372,7 +418,7 @@ func _EndCondition_OneofSizer(msg proto.Message) (n int) {
switch x := m.Condition.(type) {
case *EndCondition_Cardinality_:
s := proto.Size(x.Cardinality)
n += proto.SizeVarint(1<<3 | proto.WireBytes)
n += 1 // tag and wire
n += proto.SizeVarint(uint64(s))
n += s
case nil:
@@ -398,16 +444,39 @@ func _EndCondition_OneofSizer(msg proto.Message) (n int) {
// path prefix are counted.
type EndCondition_Cardinality struct {
// The root of the variable subtree to monitor. For example, `/foo`.
Path string `protobuf:"bytes,1,opt,name=path" json:"path,omitempty"`
Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`
// The number variables under the `path` that must exist to meet this
// condition. Defaults to 1 if not specified.
Number int32 `protobuf:"varint,2,opt,name=number" json:"number,omitempty"`
Number int32 `protobuf:"varint,2,opt,name=number,proto3" json:"number,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *EndCondition_Cardinality) Reset() { *m = EndCondition_Cardinality{} }
func (m *EndCondition_Cardinality) String() string { return proto.CompactTextString(m) }
func (*EndCondition_Cardinality) ProtoMessage() {}
func (*EndCondition_Cardinality) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{2, 0} }
func (m *EndCondition_Cardinality) Reset() { *m = EndCondition_Cardinality{} }
func (m *EndCondition_Cardinality) String() string { return proto.CompactTextString(m) }
func (*EndCondition_Cardinality) ProtoMessage() {}
func (*EndCondition_Cardinality) Descriptor() ([]byte, []int) {
return fileDescriptor_7913f3704a8d250c, []int{2, 0}
}
func (m *EndCondition_Cardinality) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_EndCondition_Cardinality.Unmarshal(m, b)
}
func (m *EndCondition_Cardinality) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_EndCondition_Cardinality.Marshal(b, m, deterministic)
}
func (m *EndCondition_Cardinality) XXX_Merge(src proto.Message) {
xxx_messageInfo_EndCondition_Cardinality.Merge(m, src)
}
func (m *EndCondition_Cardinality) XXX_Size() int {
return xxx_messageInfo_EndCondition_Cardinality.Size(m)
}
func (m *EndCondition_Cardinality) XXX_DiscardUnknown() {
xxx_messageInfo_EndCondition_Cardinality.DiscardUnknown(m)
}
var xxx_messageInfo_EndCondition_Cardinality proto.InternalMessageInfo
func (m *EndCondition_Cardinality) GetPath() string {
if m != nil {
@@ -449,42 +518,65 @@ type Waiter struct {
// of `[WAITER_NAME]` must be less than 64 bytes.
//
// After you create a Waiter resource, you cannot change the resource name.
Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// [Required] Specifies the timeout of the waiter in seconds, beginning from
// the instant that `waiters().create` method is called. If this time elapses
// before the success or failure conditions are met, the waiter fails and sets
// the `error` code to `DEADLINE_EXCEEDED`.
Timeout *google_protobuf1.Duration `protobuf:"bytes,2,opt,name=timeout" json:"timeout,omitempty"`
Timeout *duration.Duration `protobuf:"bytes,2,opt,name=timeout,proto3" json:"timeout,omitempty"`
// [Optional] The failure condition of this waiter. If this condition is met,
// `done` will be set to `true` and the `error` code will be set to `ABORTED`.
// The failure condition takes precedence over the success condition. If both
// conditions are met, a failure will be indicated. This value is optional; if
// no failure condition is set, the only failure scenario will be a timeout.
Failure *EndCondition `protobuf:"bytes,3,opt,name=failure" json:"failure,omitempty"`
Failure *EndCondition `protobuf:"bytes,3,opt,name=failure,proto3" json:"failure,omitempty"`
// [Required] The success condition. If this condition is met, `done` will be
// set to `true` and the `error` value will remain unset. The failure condition
// takes precedence over the success condition. If both conditions are met, a
// failure will be indicated.
Success *EndCondition `protobuf:"bytes,4,opt,name=success" json:"success,omitempty"`
Success *EndCondition `protobuf:"bytes,4,opt,name=success,proto3" json:"success,omitempty"`
// [Output Only] The instant at which this Waiter resource was created. Adding
// the value of `timeout` to this instant yields the timeout deadline for the
// waiter.
CreateTime *google_protobuf2.Timestamp `protobuf:"bytes,5,opt,name=create_time,json=createTime" json:"create_time,omitempty"`
CreateTime *timestamp.Timestamp `protobuf:"bytes,5,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
// [Output Only] If the value is `false`, it means the waiter is still waiting
// for one of its conditions to be met.
//
// If true, the waiter has finished. If the waiter finished due to a timeout
// or failure, `error` will be set.
Done bool `protobuf:"varint,6,opt,name=done" json:"done,omitempty"`
Done bool `protobuf:"varint,6,opt,name=done,proto3" json:"done,omitempty"`
// [Output Only] If the waiter ended due to a failure or timeout, this value
// will be set.
Error *google_rpc.Status `protobuf:"bytes,7,opt,name=error" json:"error,omitempty"`
Error *status.Status `protobuf:"bytes,7,opt,name=error,proto3" json:"error,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *Waiter) Reset() { *m = Waiter{} }
func (m *Waiter) String() string { return proto.CompactTextString(m) }
func (*Waiter) ProtoMessage() {}
func (*Waiter) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{3} }
func (m *Waiter) Reset() { *m = Waiter{} }
func (m *Waiter) String() string { return proto.CompactTextString(m) }
func (*Waiter) ProtoMessage() {}
func (*Waiter) Descriptor() ([]byte, []int) {
return fileDescriptor_7913f3704a8d250c, []int{3}
}
func (m *Waiter) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_Waiter.Unmarshal(m, b)
}
func (m *Waiter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_Waiter.Marshal(b, m, deterministic)
}
func (m *Waiter) XXX_Merge(src proto.Message) {
xxx_messageInfo_Waiter.Merge(m, src)
}
func (m *Waiter) XXX_Size() int {
return xxx_messageInfo_Waiter.Size(m)
}
func (m *Waiter) XXX_DiscardUnknown() {
xxx_messageInfo_Waiter.DiscardUnknown(m)
}
var xxx_messageInfo_Waiter proto.InternalMessageInfo
func (m *Waiter) GetName() string {
if m != nil {
@@ -493,7 +585,7 @@ func (m *Waiter) GetName() string {
return ""
}
func (m *Waiter) GetTimeout() *google_protobuf1.Duration {
func (m *Waiter) GetTimeout() *duration.Duration {
if m != nil {
return m.Timeout
}
@@ -514,7 +606,7 @@ func (m *Waiter) GetSuccess() *EndCondition {
return nil
}
func (m *Waiter) GetCreateTime() *google_protobuf2.Timestamp {
func (m *Waiter) GetCreateTime() *timestamp.Timestamp {
if m != nil {
return m.CreateTime
}
@@ -528,7 +620,7 @@ func (m *Waiter) GetDone() bool {
return false
}
func (m *Waiter) GetError() *google_rpc.Status {
func (m *Waiter) GetError() *status.Status {
if m != nil {
return m.Error
}
@@ -536,17 +628,19 @@ func (m *Waiter) GetError() *google_rpc.Status {
}
func init() {
proto.RegisterEnum("google.cloud.runtimeconfig.v1beta1.VariableState", VariableState_name, VariableState_value)
proto.RegisterType((*RuntimeConfig)(nil), "google.cloud.runtimeconfig.v1beta1.RuntimeConfig")
proto.RegisterType((*Variable)(nil), "google.cloud.runtimeconfig.v1beta1.Variable")
proto.RegisterType((*EndCondition)(nil), "google.cloud.runtimeconfig.v1beta1.EndCondition")
proto.RegisterType((*EndCondition_Cardinality)(nil), "google.cloud.runtimeconfig.v1beta1.EndCondition.Cardinality")
proto.RegisterType((*Waiter)(nil), "google.cloud.runtimeconfig.v1beta1.Waiter")
proto.RegisterEnum("google.cloud.runtimeconfig.v1beta1.VariableState", VariableState_name, VariableState_value)
}
func init() { proto.RegisterFile("google/cloud/runtimeconfig/v1beta1/resources.proto", fileDescriptor0) }
func init() {
proto.RegisterFile("google/cloud/runtimeconfig/v1beta1/resources.proto", fileDescriptor_7913f3704a8d250c)
}
var fileDescriptor0 = []byte{
var fileDescriptor_7913f3704a8d250c = []byte{
// 628 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x94, 0xdd, 0x6e, 0xd3, 0x30,
0x14, 0xc7, 0x9b, 0xd2, 0x8f, 0xed, 0x64, 0x43, 0x93, 0x85, 0x46, 0xa8, 0xd0, 0xa8, 0x7a, 0x81,