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

File diff suppressed because it is too large Load Diff

View File

@@ -3,17 +3,25 @@
package functions
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 (
fmt "fmt"
proto "github.com/golang/protobuf/proto"
any "github.com/golang/protobuf/ptypes/any"
_ "google.golang.org/genproto/googleapis/api/annotations"
math "math"
)
// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marshal
var _ = fmt.Errorf
var _ = math.Inf
// This is a compile-time assertion to ensure that this generated file
// 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 _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
// A type of an operation.
type OperationType int32
@@ -34,6 +42,7 @@ var OperationType_name = map[int32]string{
2: "UPDATE_FUNCTION",
3: "DELETE_FUNCTION",
}
var OperationType_value = map[string]int32{
"OPERATION_UNSPECIFIED": 0,
"CREATE_FUNCTION": 1,
@@ -44,23 +53,49 @@ var OperationType_value = map[string]int32{
func (x OperationType) String() string {
return proto.EnumName(OperationType_name, int32(x))
}
func (OperationType) EnumDescriptor() ([]byte, []int) { return fileDescriptor1, []int{0} }
func (OperationType) EnumDescriptor() ([]byte, []int) {
return fileDescriptor_25e43fb62395b1f8, []int{0}
}
// Metadata describing an [Operation][google.longrunning.Operation]
type OperationMetadataV1Beta2 struct {
// Target of the operation - for example
// projects/project-1/locations/region-1/functions/function-1
Target string `protobuf:"bytes,1,opt,name=target" json:"target,omitempty"`
Target string `protobuf:"bytes,1,opt,name=target,proto3" json:"target,omitempty"`
// Type of operation.
Type OperationType `protobuf:"varint,2,opt,name=type,enum=google.cloud.functions.v1beta2.OperationType" json:"type,omitempty"`
Type OperationType `protobuf:"varint,2,opt,name=type,proto3,enum=google.cloud.functions.v1beta2.OperationType" json:"type,omitempty"`
// The original request that started the operation.
Request *google_protobuf1.Any `protobuf:"bytes,3,opt,name=request" json:"request,omitempty"`
Request *any.Any `protobuf:"bytes,3,opt,name=request,proto3" json:"request,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *OperationMetadataV1Beta2) Reset() { *m = OperationMetadataV1Beta2{} }
func (m *OperationMetadataV1Beta2) String() string { return proto.CompactTextString(m) }
func (*OperationMetadataV1Beta2) ProtoMessage() {}
func (*OperationMetadataV1Beta2) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{0} }
func (m *OperationMetadataV1Beta2) Reset() { *m = OperationMetadataV1Beta2{} }
func (m *OperationMetadataV1Beta2) String() string { return proto.CompactTextString(m) }
func (*OperationMetadataV1Beta2) ProtoMessage() {}
func (*OperationMetadataV1Beta2) Descriptor() ([]byte, []int) {
return fileDescriptor_25e43fb62395b1f8, []int{0}
}
func (m *OperationMetadataV1Beta2) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_OperationMetadataV1Beta2.Unmarshal(m, b)
}
func (m *OperationMetadataV1Beta2) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_OperationMetadataV1Beta2.Marshal(b, m, deterministic)
}
func (m *OperationMetadataV1Beta2) XXX_Merge(src proto.Message) {
xxx_messageInfo_OperationMetadataV1Beta2.Merge(m, src)
}
func (m *OperationMetadataV1Beta2) XXX_Size() int {
return xxx_messageInfo_OperationMetadataV1Beta2.Size(m)
}
func (m *OperationMetadataV1Beta2) XXX_DiscardUnknown() {
xxx_messageInfo_OperationMetadataV1Beta2.DiscardUnknown(m)
}
var xxx_messageInfo_OperationMetadataV1Beta2 proto.InternalMessageInfo
func (m *OperationMetadataV1Beta2) GetTarget() string {
if m != nil {
@@ -76,7 +111,7 @@ func (m *OperationMetadataV1Beta2) GetType() OperationType {
return OperationType_OPERATION_UNSPECIFIED
}
func (m *OperationMetadataV1Beta2) GetRequest() *google_protobuf1.Any {
func (m *OperationMetadataV1Beta2) GetRequest() *any.Any {
if m != nil {
return m.Request
}
@@ -84,13 +119,15 @@ func (m *OperationMetadataV1Beta2) GetRequest() *google_protobuf1.Any {
}
func init() {
proto.RegisterType((*OperationMetadataV1Beta2)(nil), "google.cloud.functions.v1beta2.OperationMetadataV1Beta2")
proto.RegisterEnum("google.cloud.functions.v1beta2.OperationType", OperationType_name, OperationType_value)
proto.RegisterType((*OperationMetadataV1Beta2)(nil), "google.cloud.functions.v1beta2.OperationMetadataV1Beta2")
}
func init() { proto.RegisterFile("google/cloud/functions/v1beta2/operations.proto", fileDescriptor1) }
func init() {
proto.RegisterFile("google/cloud/functions/v1beta2/operations.proto", fileDescriptor_25e43fb62395b1f8)
}
var fileDescriptor1 = []byte{
var fileDescriptor_25e43fb62395b1f8 = []byte{
// 333 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x91, 0x4f, 0x4f, 0xf2, 0x30,
0x1c, 0xc7, 0x9f, 0xc2, 0x13, 0x8c, 0x35, 0x2a, 0x99, 0x7f, 0x32, 0x88, 0x31, 0x84, 0x13, 0x31,