2017-02-01 00:45:59 +00:00
|
|
|
/*
|
|
|
|
Copyright 2017 The Kubernetes Authors.
|
|
|
|
|
|
|
|
Licensed under the Apache License, Version 2.0 (the "License");
|
|
|
|
you may not use this file except in compliance with the License.
|
|
|
|
You may obtain a copy of the License at
|
|
|
|
|
|
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
|
|
|
|
Unless required by applicable law or agreed to in writing, software
|
|
|
|
distributed under the License is distributed on an "AS IS" BASIS,
|
|
|
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
|
|
See the License for the specific language governing permissions and
|
|
|
|
limitations under the License.
|
|
|
|
*/
|
|
|
|
|
|
|
|
// Code generated by protoc-gen-gogo.
|
|
|
|
// source: k8s.io/kubernetes/vendor/k8s.io/apimachinery/pkg/apis/meta/v1/generated.proto
|
|
|
|
// DO NOT EDIT!
|
|
|
|
|
|
|
|
/*
|
|
|
|
Package v1 is a generated protocol buffer package.
|
|
|
|
|
|
|
|
It is generated from these files:
|
|
|
|
k8s.io/kubernetes/vendor/k8s.io/apimachinery/pkg/apis/meta/v1/generated.proto
|
|
|
|
|
|
|
|
It has these top-level messages:
|
|
|
|
APIGroup
|
|
|
|
APIGroupList
|
|
|
|
APIResource
|
|
|
|
APIResourceList
|
|
|
|
APIVersions
|
|
|
|
DeleteOptions
|
|
|
|
Duration
|
|
|
|
ExportOptions
|
|
|
|
GetOptions
|
|
|
|
GroupKind
|
|
|
|
GroupResource
|
|
|
|
GroupVersion
|
|
|
|
GroupVersionForDiscovery
|
|
|
|
GroupVersionKind
|
|
|
|
GroupVersionResource
|
2017-08-04 11:13:19 +00:00
|
|
|
Initializer
|
|
|
|
Initializers
|
2017-02-01 00:45:59 +00:00
|
|
|
LabelSelector
|
|
|
|
LabelSelectorRequirement
|
2017-09-26 14:23:09 +00:00
|
|
|
List
|
2017-02-01 00:45:59 +00:00
|
|
|
ListMeta
|
|
|
|
ListOptions
|
2017-08-04 11:13:19 +00:00
|
|
|
MicroTime
|
2017-02-01 00:45:59 +00:00
|
|
|
ObjectMeta
|
|
|
|
OwnerReference
|
|
|
|
Preconditions
|
|
|
|
RootPaths
|
|
|
|
ServerAddressByClientCIDR
|
|
|
|
Status
|
|
|
|
StatusCause
|
|
|
|
StatusDetails
|
|
|
|
Time
|
|
|
|
Timestamp
|
|
|
|
TypeMeta
|
|
|
|
Verbs
|
|
|
|
WatchEvent
|
|
|
|
*/
|
|
|
|
package v1
|
|
|
|
|
|
|
|
import proto "github.com/gogo/protobuf/proto"
|
|
|
|
import fmt "fmt"
|
|
|
|
import math "math"
|
|
|
|
|
2017-09-26 14:23:09 +00:00
|
|
|
import k8s_io_apimachinery_pkg_runtime "k8s.io/apimachinery/pkg/runtime"
|
|
|
|
|
2017-02-01 00:45:59 +00:00
|
|
|
import time "time"
|
|
|
|
import k8s_io_apimachinery_pkg_types "k8s.io/apimachinery/pkg/types"
|
|
|
|
|
2017-08-04 11:13:19 +00:00
|
|
|
import github_com_gogo_protobuf_sortkeys "github.com/gogo/protobuf/sortkeys"
|
|
|
|
|
2017-02-01 00:45:59 +00:00
|
|
|
import strings "strings"
|
|
|
|
import reflect "reflect"
|
|
|
|
|
|
|
|
import io "io"
|
|
|
|
|
|
|
|
// Reference imports to suppress errors if they are not otherwise used.
|
|
|
|
var _ = proto.Marshal
|
|
|
|
var _ = fmt.Errorf
|
|
|
|
var _ = math.Inf
|
2017-08-04 11:13:19 +00:00
|
|
|
var _ = time.Kitchen
|
2017-02-01 00:45:59 +00:00
|
|
|
|
|
|
|
// This is a compile-time assertion to ensure that this generated file
|
|
|
|
// is compatible with the proto package it is being compiled against.
|
2017-08-04 11:13:19 +00:00
|
|
|
// A compilation error at this line likely means your copy of the
|
|
|
|
// proto package needs to be updated.
|
|
|
|
const _ = proto.GoGoProtoPackageIsVersion2 // please upgrade the proto package
|
2017-02-01 00:45:59 +00:00
|
|
|
|
|
|
|
func (m *APIGroup) Reset() { *m = APIGroup{} }
|
|
|
|
func (*APIGroup) ProtoMessage() {}
|
|
|
|
func (*APIGroup) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{0} }
|
|
|
|
|
|
|
|
func (m *APIGroupList) Reset() { *m = APIGroupList{} }
|
|
|
|
func (*APIGroupList) ProtoMessage() {}
|
|
|
|
func (*APIGroupList) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{1} }
|
|
|
|
|
|
|
|
func (m *APIResource) Reset() { *m = APIResource{} }
|
|
|
|
func (*APIResource) ProtoMessage() {}
|
|
|
|
func (*APIResource) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{2} }
|
|
|
|
|
|
|
|
func (m *APIResourceList) Reset() { *m = APIResourceList{} }
|
|
|
|
func (*APIResourceList) ProtoMessage() {}
|
|
|
|
func (*APIResourceList) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{3} }
|
|
|
|
|
|
|
|
func (m *APIVersions) Reset() { *m = APIVersions{} }
|
|
|
|
func (*APIVersions) ProtoMessage() {}
|
|
|
|
func (*APIVersions) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{4} }
|
|
|
|
|
|
|
|
func (m *DeleteOptions) Reset() { *m = DeleteOptions{} }
|
|
|
|
func (*DeleteOptions) ProtoMessage() {}
|
|
|
|
func (*DeleteOptions) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{5} }
|
|
|
|
|
|
|
|
func (m *Duration) Reset() { *m = Duration{} }
|
|
|
|
func (*Duration) ProtoMessage() {}
|
|
|
|
func (*Duration) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{6} }
|
|
|
|
|
|
|
|
func (m *ExportOptions) Reset() { *m = ExportOptions{} }
|
|
|
|
func (*ExportOptions) ProtoMessage() {}
|
|
|
|
func (*ExportOptions) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{7} }
|
|
|
|
|
|
|
|
func (m *GetOptions) Reset() { *m = GetOptions{} }
|
|
|
|
func (*GetOptions) ProtoMessage() {}
|
|
|
|
func (*GetOptions) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{8} }
|
|
|
|
|
|
|
|
func (m *GroupKind) Reset() { *m = GroupKind{} }
|
|
|
|
func (*GroupKind) ProtoMessage() {}
|
|
|
|
func (*GroupKind) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{9} }
|
|
|
|
|
|
|
|
func (m *GroupResource) Reset() { *m = GroupResource{} }
|
|
|
|
func (*GroupResource) ProtoMessage() {}
|
|
|
|
func (*GroupResource) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{10} }
|
|
|
|
|
|
|
|
func (m *GroupVersion) Reset() { *m = GroupVersion{} }
|
|
|
|
func (*GroupVersion) ProtoMessage() {}
|
|
|
|
func (*GroupVersion) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{11} }
|
|
|
|
|
|
|
|
func (m *GroupVersionForDiscovery) Reset() { *m = GroupVersionForDiscovery{} }
|
|
|
|
func (*GroupVersionForDiscovery) ProtoMessage() {}
|
|
|
|
func (*GroupVersionForDiscovery) Descriptor() ([]byte, []int) {
|
|
|
|
return fileDescriptorGenerated, []int{12}
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *GroupVersionKind) Reset() { *m = GroupVersionKind{} }
|
|
|
|
func (*GroupVersionKind) ProtoMessage() {}
|
|
|
|
func (*GroupVersionKind) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{13} }
|
|
|
|
|
|
|
|
func (m *GroupVersionResource) Reset() { *m = GroupVersionResource{} }
|
|
|
|
func (*GroupVersionResource) ProtoMessage() {}
|
|
|
|
func (*GroupVersionResource) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{14} }
|
|
|
|
|
2017-08-04 11:13:19 +00:00
|
|
|
func (m *Initializer) Reset() { *m = Initializer{} }
|
|
|
|
func (*Initializer) ProtoMessage() {}
|
|
|
|
func (*Initializer) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{15} }
|
|
|
|
|
|
|
|
func (m *Initializers) Reset() { *m = Initializers{} }
|
|
|
|
func (*Initializers) ProtoMessage() {}
|
|
|
|
func (*Initializers) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{16} }
|
|
|
|
|
2017-02-01 00:45:59 +00:00
|
|
|
func (m *LabelSelector) Reset() { *m = LabelSelector{} }
|
|
|
|
func (*LabelSelector) ProtoMessage() {}
|
2017-08-04 11:13:19 +00:00
|
|
|
func (*LabelSelector) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{17} }
|
2017-02-01 00:45:59 +00:00
|
|
|
|
|
|
|
func (m *LabelSelectorRequirement) Reset() { *m = LabelSelectorRequirement{} }
|
|
|
|
func (*LabelSelectorRequirement) ProtoMessage() {}
|
|
|
|
func (*LabelSelectorRequirement) Descriptor() ([]byte, []int) {
|
2017-08-04 11:13:19 +00:00
|
|
|
return fileDescriptorGenerated, []int{18}
|
2017-02-01 00:45:59 +00:00
|
|
|
}
|
|
|
|
|
2017-09-26 14:23:09 +00:00
|
|
|
func (m *List) Reset() { *m = List{} }
|
|
|
|
func (*List) ProtoMessage() {}
|
|
|
|
func (*List) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{19} }
|
|
|
|
|
2017-02-01 00:45:59 +00:00
|
|
|
func (m *ListMeta) Reset() { *m = ListMeta{} }
|
|
|
|
func (*ListMeta) ProtoMessage() {}
|
2017-09-26 14:23:09 +00:00
|
|
|
func (*ListMeta) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{20} }
|
2017-02-01 00:45:59 +00:00
|
|
|
|
|
|
|
func (m *ListOptions) Reset() { *m = ListOptions{} }
|
|
|
|
func (*ListOptions) ProtoMessage() {}
|
2017-09-26 14:23:09 +00:00
|
|
|
func (*ListOptions) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{21} }
|
2017-08-04 11:13:19 +00:00
|
|
|
|
|
|
|
func (m *MicroTime) Reset() { *m = MicroTime{} }
|
|
|
|
func (*MicroTime) ProtoMessage() {}
|
2017-09-26 14:23:09 +00:00
|
|
|
func (*MicroTime) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{22} }
|
2017-02-01 00:45:59 +00:00
|
|
|
|
|
|
|
func (m *ObjectMeta) Reset() { *m = ObjectMeta{} }
|
|
|
|
func (*ObjectMeta) ProtoMessage() {}
|
2017-09-26 14:23:09 +00:00
|
|
|
func (*ObjectMeta) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{23} }
|
2017-02-01 00:45:59 +00:00
|
|
|
|
|
|
|
func (m *OwnerReference) Reset() { *m = OwnerReference{} }
|
|
|
|
func (*OwnerReference) ProtoMessage() {}
|
2017-09-26 14:23:09 +00:00
|
|
|
func (*OwnerReference) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{24} }
|
2017-02-01 00:45:59 +00:00
|
|
|
|
|
|
|
func (m *Preconditions) Reset() { *m = Preconditions{} }
|
|
|
|
func (*Preconditions) ProtoMessage() {}
|
2017-09-26 14:23:09 +00:00
|
|
|
func (*Preconditions) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{25} }
|
2017-02-01 00:45:59 +00:00
|
|
|
|
|
|
|
func (m *RootPaths) Reset() { *m = RootPaths{} }
|
|
|
|
func (*RootPaths) ProtoMessage() {}
|
2017-09-26 14:23:09 +00:00
|
|
|
func (*RootPaths) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{26} }
|
2017-02-01 00:45:59 +00:00
|
|
|
|
|
|
|
func (m *ServerAddressByClientCIDR) Reset() { *m = ServerAddressByClientCIDR{} }
|
|
|
|
func (*ServerAddressByClientCIDR) ProtoMessage() {}
|
|
|
|
func (*ServerAddressByClientCIDR) Descriptor() ([]byte, []int) {
|
2017-09-26 14:23:09 +00:00
|
|
|
return fileDescriptorGenerated, []int{27}
|
2017-02-01 00:45:59 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
func (m *Status) Reset() { *m = Status{} }
|
|
|
|
func (*Status) ProtoMessage() {}
|
2017-09-26 14:23:09 +00:00
|
|
|
func (*Status) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{28} }
|
2017-02-01 00:45:59 +00:00
|
|
|
|
|
|
|
func (m *StatusCause) Reset() { *m = StatusCause{} }
|
|
|
|
func (*StatusCause) ProtoMessage() {}
|
2017-09-26 14:23:09 +00:00
|
|
|
func (*StatusCause) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{29} }
|
2017-02-01 00:45:59 +00:00
|
|
|
|
|
|
|
func (m *StatusDetails) Reset() { *m = StatusDetails{} }
|
|
|
|
func (*StatusDetails) ProtoMessage() {}
|
2017-09-26 14:23:09 +00:00
|
|
|
func (*StatusDetails) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{30} }
|
2017-02-01 00:45:59 +00:00
|
|
|
|
|
|
|
func (m *Time) Reset() { *m = Time{} }
|
|
|
|
func (*Time) ProtoMessage() {}
|
2017-09-26 14:23:09 +00:00
|
|
|
func (*Time) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{31} }
|
2017-02-01 00:45:59 +00:00
|
|
|
|
|
|
|
func (m *Timestamp) Reset() { *m = Timestamp{} }
|
|
|
|
func (*Timestamp) ProtoMessage() {}
|
2017-09-26 14:23:09 +00:00
|
|
|
func (*Timestamp) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{32} }
|
2017-02-01 00:45:59 +00:00
|
|
|
|
|
|
|
func (m *TypeMeta) Reset() { *m = TypeMeta{} }
|
|
|
|
func (*TypeMeta) ProtoMessage() {}
|
2017-09-26 14:23:09 +00:00
|
|
|
func (*TypeMeta) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{33} }
|
2017-02-01 00:45:59 +00:00
|
|
|
|
|
|
|
func (m *Verbs) Reset() { *m = Verbs{} }
|
|
|
|
func (*Verbs) ProtoMessage() {}
|
2017-09-26 14:23:09 +00:00
|
|
|
func (*Verbs) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{34} }
|
2017-02-01 00:45:59 +00:00
|
|
|
|
|
|
|
func (m *WatchEvent) Reset() { *m = WatchEvent{} }
|
|
|
|
func (*WatchEvent) ProtoMessage() {}
|
2017-09-26 14:23:09 +00:00
|
|
|
func (*WatchEvent) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{35} }
|
2017-02-01 00:45:59 +00:00
|
|
|
|
|
|
|
func init() {
|
|
|
|
proto.RegisterType((*APIGroup)(nil), "k8s.io.apimachinery.pkg.apis.meta.v1.APIGroup")
|
|
|
|
proto.RegisterType((*APIGroupList)(nil), "k8s.io.apimachinery.pkg.apis.meta.v1.APIGroupList")
|
|
|
|
proto.RegisterType((*APIResource)(nil), "k8s.io.apimachinery.pkg.apis.meta.v1.APIResource")
|
|
|
|
proto.RegisterType((*APIResourceList)(nil), "k8s.io.apimachinery.pkg.apis.meta.v1.APIResourceList")
|
|
|
|
proto.RegisterType((*APIVersions)(nil), "k8s.io.apimachinery.pkg.apis.meta.v1.APIVersions")
|
|
|
|
proto.RegisterType((*DeleteOptions)(nil), "k8s.io.apimachinery.pkg.apis.meta.v1.DeleteOptions")
|
|
|
|
proto.RegisterType((*Duration)(nil), "k8s.io.apimachinery.pkg.apis.meta.v1.Duration")
|
|
|
|
proto.RegisterType((*ExportOptions)(nil), "k8s.io.apimachinery.pkg.apis.meta.v1.ExportOptions")
|
|
|
|
proto.RegisterType((*GetOptions)(nil), "k8s.io.apimachinery.pkg.apis.meta.v1.GetOptions")
|
|
|
|
proto.RegisterType((*GroupKind)(nil), "k8s.io.apimachinery.pkg.apis.meta.v1.GroupKind")
|
|
|
|
proto.RegisterType((*GroupResource)(nil), "k8s.io.apimachinery.pkg.apis.meta.v1.GroupResource")
|
|
|
|
proto.RegisterType((*GroupVersion)(nil), "k8s.io.apimachinery.pkg.apis.meta.v1.GroupVersion")
|
|
|
|
proto.RegisterType((*GroupVersionForDiscovery)(nil), "k8s.io.apimachinery.pkg.apis.meta.v1.GroupVersionForDiscovery")
|
|
|
|
proto.RegisterType((*GroupVersionKind)(nil), "k8s.io.apimachinery.pkg.apis.meta.v1.GroupVersionKind")
|
|
|
|
proto.RegisterType((*GroupVersionResource)(nil), "k8s.io.apimachinery.pkg.apis.meta.v1.GroupVersionResource")
|
2017-08-04 11:13:19 +00:00
|
|
|
proto.RegisterType((*Initializer)(nil), "k8s.io.apimachinery.pkg.apis.meta.v1.Initializer")
|
|
|
|
proto.RegisterType((*Initializers)(nil), "k8s.io.apimachinery.pkg.apis.meta.v1.Initializers")
|
2017-02-01 00:45:59 +00:00
|
|
|
proto.RegisterType((*LabelSelector)(nil), "k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelector")
|
|
|
|
proto.RegisterType((*LabelSelectorRequirement)(nil), "k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelectorRequirement")
|
2017-09-26 14:23:09 +00:00
|
|
|
proto.RegisterType((*List)(nil), "k8s.io.apimachinery.pkg.apis.meta.v1.List")
|
2017-02-01 00:45:59 +00:00
|
|
|
proto.RegisterType((*ListMeta)(nil), "k8s.io.apimachinery.pkg.apis.meta.v1.ListMeta")
|
|
|
|
proto.RegisterType((*ListOptions)(nil), "k8s.io.apimachinery.pkg.apis.meta.v1.ListOptions")
|
2017-08-04 11:13:19 +00:00
|
|
|
proto.RegisterType((*MicroTime)(nil), "k8s.io.apimachinery.pkg.apis.meta.v1.MicroTime")
|
2017-02-01 00:45:59 +00:00
|
|
|
proto.RegisterType((*ObjectMeta)(nil), "k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta")
|
|
|
|
proto.RegisterType((*OwnerReference)(nil), "k8s.io.apimachinery.pkg.apis.meta.v1.OwnerReference")
|
|
|
|
proto.RegisterType((*Preconditions)(nil), "k8s.io.apimachinery.pkg.apis.meta.v1.Preconditions")
|
|
|
|
proto.RegisterType((*RootPaths)(nil), "k8s.io.apimachinery.pkg.apis.meta.v1.RootPaths")
|
|
|
|
proto.RegisterType((*ServerAddressByClientCIDR)(nil), "k8s.io.apimachinery.pkg.apis.meta.v1.ServerAddressByClientCIDR")
|
|
|
|
proto.RegisterType((*Status)(nil), "k8s.io.apimachinery.pkg.apis.meta.v1.Status")
|
|
|
|
proto.RegisterType((*StatusCause)(nil), "k8s.io.apimachinery.pkg.apis.meta.v1.StatusCause")
|
|
|
|
proto.RegisterType((*StatusDetails)(nil), "k8s.io.apimachinery.pkg.apis.meta.v1.StatusDetails")
|
|
|
|
proto.RegisterType((*Time)(nil), "k8s.io.apimachinery.pkg.apis.meta.v1.Time")
|
|
|
|
proto.RegisterType((*Timestamp)(nil), "k8s.io.apimachinery.pkg.apis.meta.v1.Timestamp")
|
|
|
|
proto.RegisterType((*TypeMeta)(nil), "k8s.io.apimachinery.pkg.apis.meta.v1.TypeMeta")
|
|
|
|
proto.RegisterType((*Verbs)(nil), "k8s.io.apimachinery.pkg.apis.meta.v1.Verbs")
|
|
|
|
proto.RegisterType((*WatchEvent)(nil), "k8s.io.apimachinery.pkg.apis.meta.v1.WatchEvent")
|
|
|
|
}
|
2017-08-04 11:13:19 +00:00
|
|
|
func (m *APIGroup) Marshal() (dAtA []byte, err error) {
|
2017-02-01 00:45:59 +00:00
|
|
|
size := m.Size()
|
2017-08-04 11:13:19 +00:00
|
|
|
dAtA = make([]byte, size)
|
|
|
|
n, err := m.MarshalTo(dAtA)
|
2017-02-01 00:45:59 +00:00
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
2017-08-04 11:13:19 +00:00
|
|
|
return dAtA[:n], nil
|
2017-02-01 00:45:59 +00:00
|
|
|
}
|
|
|
|
|
2017-08-04 11:13:19 +00:00
|
|
|
func (m *APIGroup) MarshalTo(dAtA []byte) (int, error) {
|
2017-02-01 00:45:59 +00:00
|
|
|
var i int
|
|
|
|
_ = i
|
|
|
|
var l int
|
|
|
|
_ = l
|
2017-08-04 11:13:19 +00:00
|
|
|
dAtA[i] = 0xa
|
2017-02-01 00:45:59 +00:00
|
|
|
i++
|
2017-08-04 11:13:19 +00:00
|
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Name)))
|
|
|
|
i += copy(dAtA[i:], m.Name)
|
2017-02-01 00:45:59 +00:00
|
|
|
if len(m.Versions) > 0 {
|
|
|
|
for _, msg := range m.Versions {
|
2017-08-04 11:13:19 +00:00
|
|
|
dAtA[i] = 0x12
|
2017-02-01 00:45:59 +00:00
|
|
|
i++
|
2017-08-04 11:13:19 +00:00
|
|
|
i = encodeVarintGenerated(dAtA, i, uint64(msg.Size()))
|
|
|
|
n, err := msg.MarshalTo(dAtA[i:])
|
2017-02-01 00:45:59 +00:00
|
|
|
if err != nil {
|
|
|
|
return 0, err
|
|
|
|
}
|
|
|
|
i += n
|
|
|
|
}
|
|
|
|
}
|
2017-08-04 11:13:19 +00:00
|
|
|
dAtA[i] = 0x1a
|
2017-02-01 00:45:59 +00:00
|
|
|
i++
|
2017-08-04 11:13:19 +00:00
|
|
|
i = encodeVarintGenerated(dAtA, i, uint64(m.PreferredVersion.Size()))
|
|
|
|
n1, err := m.PreferredVersion.MarshalTo(dAtA[i:])
|
2017-02-01 00:45:59 +00:00
|
|
|
if err != nil {
|
|
|
|
return 0, err
|
|
|
|
}
|
|
|
|
i += n1
|
|
|
|
if len(m.ServerAddressByClientCIDRs) > 0 {
|
|
|
|
for _, msg := range m.ServerAddressByClientCIDRs {
|
2017-08-04 11:13:19 +00:00
|
|
|
dAtA[i] = 0x22
|
2017-02-01 00:45:59 +00:00
|
|
|
i++
|
2017-08-04 11:13:19 +00:00
|
|
|
i = encodeVarintGenerated(dAtA, i, uint64(msg.Size()))
|
|
|
|
n, err := msg.MarshalTo(dAtA[i:])
|
2017-02-01 00:45:59 +00:00
|
|
|
if err != nil {
|
|
|
|
return 0, err
|
|
|
|
}
|
|
|
|
i += n
|
|
|
|
}
|
|
|
|
}
|
|
|
|
return i, nil
|
|
|
|
}
|
|
|
|
|
2017-08-04 11:13:19 +00:00
|
|
|
func (m *APIGroupList) Marshal() (dAtA []byte, err error) {
|
2017-02-01 00:45:59 +00:00
|
|
|
size := m.Size()
|
2017-08-04 11:13:19 +00:00
|
|
|
dAtA = make([]byte, size)
|
|
|
|
n, err := m.MarshalTo(dAtA)
|
2017-02-01 00:45:59 +00:00
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
2017-08-04 11:13:19 +00:00
|
|
|
return dAtA[:n], nil
|
2017-02-01 00:45:59 +00:00
|
|
|
}
|
|
|
|
|
2017-08-04 11:13:19 +00:00
|
|
|
func (m *APIGroupList) MarshalTo(dAtA []byte) (int, error) {
|
2017-02-01 00:45:59 +00:00
|
|
|
var i int
|
|
|
|
_ = i
|
|
|
|
var l int
|
|
|
|
_ = l
|
|
|
|
if len(m.Groups) > 0 {
|
|
|
|
for _, msg := range m.Groups {
|
2017-08-04 11:13:19 +00:00
|
|
|
dAtA[i] = 0xa
|
2017-02-01 00:45:59 +00:00
|
|
|
i++
|
2017-08-04 11:13:19 +00:00
|
|
|
i = encodeVarintGenerated(dAtA, i, uint64(msg.Size()))
|
|
|
|
n, err := msg.MarshalTo(dAtA[i:])
|
2017-02-01 00:45:59 +00:00
|
|
|
if err != nil {
|
|
|
|
return 0, err
|
|
|
|
}
|
|
|
|
i += n
|
|
|
|
}
|
|
|
|
}
|
|
|
|
return i, nil
|
|
|
|
}
|
|
|
|
|
2017-08-04 11:13:19 +00:00
|
|
|
func (m *APIResource) Marshal() (dAtA []byte, err error) {
|
2017-02-01 00:45:59 +00:00
|
|
|
size := m.Size()
|
2017-08-04 11:13:19 +00:00
|
|
|
dAtA = make([]byte, size)
|
|
|
|
n, err := m.MarshalTo(dAtA)
|
2017-02-01 00:45:59 +00:00
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
2017-08-04 11:13:19 +00:00
|
|
|
return dAtA[:n], nil
|
2017-02-01 00:45:59 +00:00
|
|
|
}
|
|
|
|
|
2017-08-04 11:13:19 +00:00
|
|
|
func (m *APIResource) MarshalTo(dAtA []byte) (int, error) {
|
2017-02-01 00:45:59 +00:00
|
|
|
var i int
|
|
|
|
_ = i
|
|
|
|
var l int
|
|
|
|
_ = l
|
2017-08-04 11:13:19 +00:00
|
|
|
dAtA[i] = 0xa
|
2017-02-01 00:45:59 +00:00
|
|
|
i++
|
2017-08-04 11:13:19 +00:00
|
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Name)))
|
|
|
|
i += copy(dAtA[i:], m.Name)
|
|
|
|
dAtA[i] = 0x10
|
2017-02-01 00:45:59 +00:00
|
|
|
i++
|
|
|
|
if m.Namespaced {
|
2017-08-04 11:13:19 +00:00
|
|
|
dAtA[i] = 1
|
2017-02-01 00:45:59 +00:00
|
|
|
} else {
|
2017-08-04 11:13:19 +00:00
|
|
|
dAtA[i] = 0
|
2017-02-01 00:45:59 +00:00
|
|
|
}
|
|
|
|
i++
|
2017-08-04 11:13:19 +00:00
|
|
|
dAtA[i] = 0x1a
|
2017-02-01 00:45:59 +00:00
|
|
|
i++
|
2017-08-04 11:13:19 +00:00
|
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Kind)))
|
|
|
|
i += copy(dAtA[i:], m.Kind)
|
2017-02-01 00:45:59 +00:00
|
|
|
if m.Verbs != nil {
|
2017-08-04 11:13:19 +00:00
|
|
|
dAtA[i] = 0x22
|
2017-02-01 00:45:59 +00:00
|
|
|
i++
|
2017-08-04 11:13:19 +00:00
|
|
|
i = encodeVarintGenerated(dAtA, i, uint64(m.Verbs.Size()))
|
|
|
|
n2, err := m.Verbs.MarshalTo(dAtA[i:])
|
2017-02-01 00:45:59 +00:00
|
|
|
if err != nil {
|
|
|
|
return 0, err
|
|
|
|
}
|
|
|
|
i += n2
|
|
|
|
}
|
|
|
|
if len(m.ShortNames) > 0 {
|
|
|
|
for _, s := range m.ShortNames {
|
2017-08-04 11:13:19 +00:00
|
|
|
dAtA[i] = 0x2a
|
|
|
|
i++
|
|
|
|
l = len(s)
|
|
|
|
for l >= 1<<7 {
|
|
|
|
dAtA[i] = uint8(uint64(l)&0x7f | 0x80)
|
|
|
|
l >>= 7
|
|
|
|
i++
|
|
|
|
}
|
|
|
|
dAtA[i] = uint8(l)
|
|
|
|
i++
|
|
|
|
i += copy(dAtA[i:], s)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
dAtA[i] = 0x32
|
|
|
|
i++
|
|
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.SingularName)))
|
|
|
|
i += copy(dAtA[i:], m.SingularName)
|
|
|
|
if len(m.Categories) > 0 {
|
|
|
|
for _, s := range m.Categories {
|
|
|
|
dAtA[i] = 0x3a
|
2017-02-01 00:45:59 +00:00
|
|
|
i++
|
|
|
|
l = len(s)
|
|
|
|
for l >= 1<<7 {
|
2017-08-04 11:13:19 +00:00
|
|
|
dAtA[i] = uint8(uint64(l)&0x7f | 0x80)
|
2017-02-01 00:45:59 +00:00
|
|
|
l >>= 7
|
|
|
|
i++
|
|
|
|
}
|
2017-08-04 11:13:19 +00:00
|
|
|
dAtA[i] = uint8(l)
|
2017-02-01 00:45:59 +00:00
|
|
|
i++
|
2017-08-04 11:13:19 +00:00
|
|
|
i += copy(dAtA[i:], s)
|
2017-02-01 00:45:59 +00:00
|
|
|
}
|
|
|
|
}
|
2017-09-26 14:23:09 +00:00
|
|
|
dAtA[i] = 0x42
|
|
|
|
i++
|
|
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Group)))
|
|
|
|
i += copy(dAtA[i:], m.Group)
|
|
|
|
dAtA[i] = 0x4a
|
|
|
|
i++
|
|
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Version)))
|
|
|
|
i += copy(dAtA[i:], m.Version)
|
2017-02-01 00:45:59 +00:00
|
|
|
return i, nil
|
|
|
|
}
|
|
|
|
|
2017-08-04 11:13:19 +00:00
|
|
|
func (m *APIResourceList) Marshal() (dAtA []byte, err error) {
|
2017-02-01 00:45:59 +00:00
|
|
|
size := m.Size()
|
2017-08-04 11:13:19 +00:00
|
|
|
dAtA = make([]byte, size)
|
|
|
|
n, err := m.MarshalTo(dAtA)
|
2017-02-01 00:45:59 +00:00
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
2017-08-04 11:13:19 +00:00
|
|
|
return dAtA[:n], nil
|
2017-02-01 00:45:59 +00:00
|
|
|
}
|
|
|
|
|
2017-08-04 11:13:19 +00:00
|
|
|
func (m *APIResourceList) MarshalTo(dAtA []byte) (int, error) {
|
2017-02-01 00:45:59 +00:00
|
|
|
var i int
|
|
|
|
_ = i
|
|
|
|
var l int
|
|
|
|
_ = l
|
2017-08-04 11:13:19 +00:00
|
|
|
dAtA[i] = 0xa
|
2017-02-01 00:45:59 +00:00
|
|
|
i++
|
2017-08-04 11:13:19 +00:00
|
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.GroupVersion)))
|
|
|
|
i += copy(dAtA[i:], m.GroupVersion)
|
2017-02-01 00:45:59 +00:00
|
|
|
if len(m.APIResources) > 0 {
|
|
|
|
for _, msg := range m.APIResources {
|
2017-08-04 11:13:19 +00:00
|
|
|
dAtA[i] = 0x12
|
2017-02-01 00:45:59 +00:00
|
|
|
i++
|
2017-08-04 11:13:19 +00:00
|
|
|
i = encodeVarintGenerated(dAtA, i, uint64(msg.Size()))
|
|
|
|
n, err := msg.MarshalTo(dAtA[i:])
|
2017-02-01 00:45:59 +00:00
|
|
|
if err != nil {
|
|
|
|
return 0, err
|
|
|
|
}
|
|
|
|
i += n
|
|
|
|
}
|
|
|
|
}
|
|
|
|
return i, nil
|
|
|
|
}
|
|
|
|
|
2017-08-04 11:13:19 +00:00
|
|
|
func (m *APIVersions) Marshal() (dAtA []byte, err error) {
|
2017-02-01 00:45:59 +00:00
|
|
|
size := m.Size()
|
2017-08-04 11:13:19 +00:00
|
|
|
dAtA = make([]byte, size)
|
|
|
|
n, err := m.MarshalTo(dAtA)
|
2017-02-01 00:45:59 +00:00
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
2017-08-04 11:13:19 +00:00
|
|
|
return dAtA[:n], nil
|
2017-02-01 00:45:59 +00:00
|
|
|
}
|
|
|
|
|
2017-08-04 11:13:19 +00:00
|
|
|
func (m *APIVersions) MarshalTo(dAtA []byte) (int, error) {
|
2017-02-01 00:45:59 +00:00
|
|
|
var i int
|
|
|
|
_ = i
|
|
|
|
var l int
|
|
|
|
_ = l
|
|
|
|
if len(m.Versions) > 0 {
|
|
|
|
for _, s := range m.Versions {
|
2017-08-04 11:13:19 +00:00
|
|
|
dAtA[i] = 0xa
|
2017-02-01 00:45:59 +00:00
|
|
|
i++
|
|
|
|
l = len(s)
|
|
|
|
for l >= 1<<7 {
|
2017-08-04 11:13:19 +00:00
|
|
|
dAtA[i] = uint8(uint64(l)&0x7f | 0x80)
|
2017-02-01 00:45:59 +00:00
|
|
|
l >>= 7
|
|
|
|
i++
|
|
|
|
}
|
2017-08-04 11:13:19 +00:00
|
|
|
dAtA[i] = uint8(l)
|
2017-02-01 00:45:59 +00:00
|
|
|
i++
|
2017-08-04 11:13:19 +00:00
|
|
|
i += copy(dAtA[i:], s)
|
2017-02-01 00:45:59 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
if len(m.ServerAddressByClientCIDRs) > 0 {
|
|
|
|
for _, msg := range m.ServerAddressByClientCIDRs {
|
2017-08-04 11:13:19 +00:00
|
|
|
dAtA[i] = 0x12
|
2017-02-01 00:45:59 +00:00
|
|
|
i++
|
2017-08-04 11:13:19 +00:00
|
|
|
i = encodeVarintGenerated(dAtA, i, uint64(msg.Size()))
|
|
|
|
n, err := msg.MarshalTo(dAtA[i:])
|
2017-02-01 00:45:59 +00:00
|
|
|
if err != nil {
|
|
|
|
return 0, err
|
|
|
|
}
|
|
|
|
i += n
|
|
|
|
}
|
|
|
|
}
|
|
|
|
return i, nil
|
|
|
|
}
|
|
|
|
|
2017-08-04 11:13:19 +00:00
|
|
|
func (m *DeleteOptions) Marshal() (dAtA []byte, err error) {
|
2017-02-01 00:45:59 +00:00
|
|
|
size := m.Size()
|
2017-08-04 11:13:19 +00:00
|
|
|
dAtA = make([]byte, size)
|
|
|
|
n, err := m.MarshalTo(dAtA)
|
2017-02-01 00:45:59 +00:00
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
2017-08-04 11:13:19 +00:00
|
|
|
return dAtA[:n], nil
|
2017-02-01 00:45:59 +00:00
|
|
|
}
|
|
|
|
|
2017-08-04 11:13:19 +00:00
|
|
|
func (m *DeleteOptions) MarshalTo(dAtA []byte) (int, error) {
|
2017-02-01 00:45:59 +00:00
|
|
|
var i int
|
|
|
|
_ = i
|
|
|
|
var l int
|
|
|
|
_ = l
|
|
|
|
if m.GracePeriodSeconds != nil {
|
2017-08-04 11:13:19 +00:00
|
|
|
dAtA[i] = 0x8
|
2017-02-01 00:45:59 +00:00
|
|
|
i++
|
2017-08-04 11:13:19 +00:00
|
|
|
i = encodeVarintGenerated(dAtA, i, uint64(*m.GracePeriodSeconds))
|
2017-02-01 00:45:59 +00:00
|
|
|
}
|
|
|
|
if m.Preconditions != nil {
|
2017-08-04 11:13:19 +00:00
|
|
|
dAtA[i] = 0x12
|
2017-02-01 00:45:59 +00:00
|
|
|
i++
|
2017-08-04 11:13:19 +00:00
|
|
|
i = encodeVarintGenerated(dAtA, i, uint64(m.Preconditions.Size()))
|
|
|
|
n3, err := m.Preconditions.MarshalTo(dAtA[i:])
|
2017-02-01 00:45:59 +00:00
|
|
|
if err != nil {
|
|
|
|
return 0, err
|
|
|
|
}
|
|
|
|
i += n3
|
|
|
|
}
|
|
|
|
if m.OrphanDependents != nil {
|
2017-08-04 11:13:19 +00:00
|
|
|
dAtA[i] = 0x18
|
2017-02-01 00:45:59 +00:00
|
|
|
i++
|
|
|
|
if *m.OrphanDependents {
|
2017-08-04 11:13:19 +00:00
|
|
|
dAtA[i] = 1
|
2017-02-01 00:45:59 +00:00
|
|
|
} else {
|
2017-08-04 11:13:19 +00:00
|
|
|
dAtA[i] = 0
|
2017-02-01 00:45:59 +00:00
|
|
|
}
|
|
|
|
i++
|
|
|
|
}
|
2017-06-06 07:19:04 +00:00
|
|
|
if m.PropagationPolicy != nil {
|
2017-08-04 11:13:19 +00:00
|
|
|
dAtA[i] = 0x22
|
2017-06-06 07:19:04 +00:00
|
|
|
i++
|
2017-08-04 11:13:19 +00:00
|
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(*m.PropagationPolicy)))
|
|
|
|
i += copy(dAtA[i:], *m.PropagationPolicy)
|
2017-06-06 07:19:04 +00:00
|
|
|
}
|
2017-02-01 00:45:59 +00:00
|
|
|
return i, nil
|
|
|
|
}
|
|
|
|
|
2017-08-04 11:13:19 +00:00
|
|
|
func (m *Duration) Marshal() (dAtA []byte, err error) {
|
2017-02-01 00:45:59 +00:00
|
|
|
size := m.Size()
|
2017-08-04 11:13:19 +00:00
|
|
|
dAtA = make([]byte, size)
|
|
|
|
n, err := m.MarshalTo(dAtA)
|
2017-02-01 00:45:59 +00:00
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
2017-08-04 11:13:19 +00:00
|
|
|
return dAtA[:n], nil
|
2017-02-01 00:45:59 +00:00
|
|
|
}
|
|
|
|
|
2017-08-04 11:13:19 +00:00
|
|
|
func (m *Duration) MarshalTo(dAtA []byte) (int, error) {
|
2017-02-01 00:45:59 +00:00
|
|
|
var i int
|
|
|
|
_ = i
|
|
|
|
var l int
|
|
|
|
_ = l
|
2017-08-04 11:13:19 +00:00
|
|
|
dAtA[i] = 0x8
|
2017-02-01 00:45:59 +00:00
|
|
|
i++
|
2017-08-04 11:13:19 +00:00
|
|
|
i = encodeVarintGenerated(dAtA, i, uint64(m.Duration))
|
2017-02-01 00:45:59 +00:00
|
|
|
return i, nil
|
|
|
|
}
|
|
|
|
|
2017-08-04 11:13:19 +00:00
|
|
|
func (m *ExportOptions) Marshal() (dAtA []byte, err error) {
|
2017-02-01 00:45:59 +00:00
|
|
|
size := m.Size()
|
2017-08-04 11:13:19 +00:00
|
|
|
dAtA = make([]byte, size)
|
|
|
|
n, err := m.MarshalTo(dAtA)
|
2017-02-01 00:45:59 +00:00
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
2017-08-04 11:13:19 +00:00
|
|
|
return dAtA[:n], nil
|
2017-02-01 00:45:59 +00:00
|
|
|
}
|
|
|
|
|
2017-08-04 11:13:19 +00:00
|
|
|
func (m *ExportOptions) MarshalTo(dAtA []byte) (int, error) {
|
2017-02-01 00:45:59 +00:00
|
|
|
var i int
|
|
|
|
_ = i
|
|
|
|
var l int
|
|
|
|
_ = l
|
2017-08-04 11:13:19 +00:00
|
|
|
dAtA[i] = 0x8
|
2017-02-01 00:45:59 +00:00
|
|
|
i++
|
|
|
|
if m.Export {
|
2017-08-04 11:13:19 +00:00
|
|
|
dAtA[i] = 1
|
2017-02-01 00:45:59 +00:00
|
|
|
} else {
|
2017-08-04 11:13:19 +00:00
|
|
|
dAtA[i] = 0
|
2017-02-01 00:45:59 +00:00
|
|
|
}
|
|
|
|
i++
|
2017-08-04 11:13:19 +00:00
|
|
|
dAtA[i] = 0x10
|
2017-02-01 00:45:59 +00:00
|
|
|
i++
|
|
|
|
if m.Exact {
|
2017-08-04 11:13:19 +00:00
|
|
|
dAtA[i] = 1
|
2017-02-01 00:45:59 +00:00
|
|
|
} else {
|
2017-08-04 11:13:19 +00:00
|
|
|
dAtA[i] = 0
|
2017-02-01 00:45:59 +00:00
|
|
|
}
|
|
|
|
i++
|
|
|
|
return i, nil
|
|
|
|
}
|
|
|
|
|
2017-08-04 11:13:19 +00:00
|
|
|
func (m *GetOptions) Marshal() (dAtA []byte, err error) {
|
2017-02-01 00:45:59 +00:00
|
|
|
size := m.Size()
|
2017-08-04 11:13:19 +00:00
|
|
|
dAtA = make([]byte, size)
|
|
|
|
n, err := m.MarshalTo(dAtA)
|
2017-02-01 00:45:59 +00:00
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
2017-08-04 11:13:19 +00:00
|
|
|
return dAtA[:n], nil
|
2017-02-01 00:45:59 +00:00
|
|
|
}
|
|
|
|
|
2017-08-04 11:13:19 +00:00
|
|
|
func (m *GetOptions) MarshalTo(dAtA []byte) (int, error) {
|
2017-02-01 00:45:59 +00:00
|
|
|
var i int
|
|
|
|
_ = i
|
|
|
|
var l int
|
|
|
|
_ = l
|
2017-08-04 11:13:19 +00:00
|
|
|
dAtA[i] = 0xa
|
|
|
|
i++
|
|
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.ResourceVersion)))
|
|
|
|
i += copy(dAtA[i:], m.ResourceVersion)
|
|
|
|
dAtA[i] = 0x10
|
|
|
|
i++
|
|
|
|
if m.IncludeUninitialized {
|
|
|
|
dAtA[i] = 1
|
|
|
|
} else {
|
|
|
|
dAtA[i] = 0
|
|
|
|
}
|
2017-02-01 00:45:59 +00:00
|
|
|
i++
|
|
|
|
return i, nil
|
|
|
|
}
|
|
|
|
|
2017-08-04 11:13:19 +00:00
|
|
|
func (m *GroupKind) Marshal() (dAtA []byte, err error) {
|
2017-02-01 00:45:59 +00:00
|
|
|
size := m.Size()
|
2017-08-04 11:13:19 +00:00
|
|
|
dAtA = make([]byte, size)
|
|
|
|
n, err := m.MarshalTo(dAtA)
|
2017-02-01 00:45:59 +00:00
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
2017-08-04 11:13:19 +00:00
|
|
|
return dAtA[:n], nil
|
2017-02-01 00:45:59 +00:00
|
|
|
}
|
|
|
|
|
2017-08-04 11:13:19 +00:00
|
|
|
func (m *GroupKind) MarshalTo(dAtA []byte) (int, error) {
|
2017-02-01 00:45:59 +00:00
|
|
|
var i int
|
|
|
|
_ = i
|
|
|
|
var l int
|
|
|
|
_ = l
|
2017-08-04 11:13:19 +00:00
|
|
|
dAtA[i] = 0xa
|
2017-02-01 00:45:59 +00:00
|
|
|
i++
|
2017-08-04 11:13:19 +00:00
|
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Group)))
|
|
|
|
i += copy(dAtA[i:], m.Group)
|
|
|
|
dAtA[i] = 0x12
|
2017-02-01 00:45:59 +00:00
|
|
|
i++
|
2017-08-04 11:13:19 +00:00
|
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Kind)))
|
|
|
|
i += copy(dAtA[i:], m.Kind)
|
2017-02-01 00:45:59 +00:00
|
|
|
return i, nil
|
|
|
|
}
|
|
|
|
|
2017-08-04 11:13:19 +00:00
|
|
|
func (m *GroupResource) Marshal() (dAtA []byte, err error) {
|
2017-02-01 00:45:59 +00:00
|
|
|
size := m.Size()
|
2017-08-04 11:13:19 +00:00
|
|
|
dAtA = make([]byte, size)
|
|
|
|
n, err := m.MarshalTo(dAtA)
|
2017-02-01 00:45:59 +00:00
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
2017-08-04 11:13:19 +00:00
|
|
|
return dAtA[:n], nil
|
2017-02-01 00:45:59 +00:00
|
|
|
}
|
|
|
|
|
2017-08-04 11:13:19 +00:00
|
|
|
func (m *GroupResource) MarshalTo(dAtA []byte) (int, error) {
|
2017-02-01 00:45:59 +00:00
|
|
|
var i int
|
|
|
|
_ = i
|
|
|
|
var l int
|
|
|
|
_ = l
|
2017-08-04 11:13:19 +00:00
|
|
|
dAtA[i] = 0xa
|
2017-02-01 00:45:59 +00:00
|
|
|
i++
|
2017-08-04 11:13:19 +00:00
|
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Group)))
|
|
|
|
i += copy(dAtA[i:], m.Group)
|
|
|
|
dAtA[i] = 0x12
|
2017-02-01 00:45:59 +00:00
|
|
|
i++
|
2017-08-04 11:13:19 +00:00
|
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Resource)))
|
|
|
|
i += copy(dAtA[i:], m.Resource)
|
2017-02-01 00:45:59 +00:00
|
|
|
return i, nil
|
|
|
|
}
|
|
|
|
|
2017-08-04 11:13:19 +00:00
|
|
|
func (m *GroupVersion) Marshal() (dAtA []byte, err error) {
|
2017-02-01 00:45:59 +00:00
|
|
|
size := m.Size()
|
2017-08-04 11:13:19 +00:00
|
|
|
dAtA = make([]byte, size)
|
|
|
|
n, err := m.MarshalTo(dAtA)
|
2017-02-01 00:45:59 +00:00
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
2017-08-04 11:13:19 +00:00
|
|
|
return dAtA[:n], nil
|
2017-02-01 00:45:59 +00:00
|
|
|
}
|
|
|
|
|
2017-08-04 11:13:19 +00:00
|
|
|
func (m *GroupVersion) MarshalTo(dAtA []byte) (int, error) {
|
2017-02-01 00:45:59 +00:00
|
|
|
var i int
|
|
|
|
_ = i
|
|
|
|
var l int
|
|
|
|
_ = l
|
2017-08-04 11:13:19 +00:00
|
|
|
dAtA[i] = 0xa
|
2017-02-01 00:45:59 +00:00
|
|
|
i++
|
2017-08-04 11:13:19 +00:00
|
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Group)))
|
|
|
|
i += copy(dAtA[i:], m.Group)
|
|
|
|
dAtA[i] = 0x12
|
2017-02-01 00:45:59 +00:00
|
|
|
i++
|
2017-08-04 11:13:19 +00:00
|
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Version)))
|
|
|
|
i += copy(dAtA[i:], m.Version)
|
2017-02-01 00:45:59 +00:00
|
|
|
return i, nil
|
|
|
|
}
|
|
|
|
|
2017-08-04 11:13:19 +00:00
|
|
|
func (m *GroupVersionForDiscovery) Marshal() (dAtA []byte, err error) {
|
2017-02-01 00:45:59 +00:00
|
|
|
size := m.Size()
|
2017-08-04 11:13:19 +00:00
|
|
|
dAtA = make([]byte, size)
|
|
|
|
n, err := m.MarshalTo(dAtA)
|
2017-02-01 00:45:59 +00:00
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
2017-08-04 11:13:19 +00:00
|
|
|
return dAtA[:n], nil
|
2017-02-01 00:45:59 +00:00
|
|
|
}
|
|
|
|
|
2017-08-04 11:13:19 +00:00
|
|
|
func (m *GroupVersionForDiscovery) MarshalTo(dAtA []byte) (int, error) {
|
2017-02-01 00:45:59 +00:00
|
|
|
var i int
|
|
|
|
_ = i
|
|
|
|
var l int
|
|
|
|
_ = l
|
2017-08-04 11:13:19 +00:00
|
|
|
dAtA[i] = 0xa
|
2017-02-01 00:45:59 +00:00
|
|
|
i++
|
2017-08-04 11:13:19 +00:00
|
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.GroupVersion)))
|
|
|
|
i += copy(dAtA[i:], m.GroupVersion)
|
|
|
|
dAtA[i] = 0x12
|
2017-02-01 00:45:59 +00:00
|
|
|
i++
|
2017-08-04 11:13:19 +00:00
|
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Version)))
|
|
|
|
i += copy(dAtA[i:], m.Version)
|
2017-02-01 00:45:59 +00:00
|
|
|
return i, nil
|
|
|
|
}
|
|
|
|
|
2017-08-04 11:13:19 +00:00
|
|
|
func (m *GroupVersionKind) Marshal() (dAtA []byte, err error) {
|
2017-02-01 00:45:59 +00:00
|
|
|
size := m.Size()
|
2017-08-04 11:13:19 +00:00
|
|
|
dAtA = make([]byte, size)
|
|
|
|
n, err := m.MarshalTo(dAtA)
|
2017-02-01 00:45:59 +00:00
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
2017-08-04 11:13:19 +00:00
|
|
|
return dAtA[:n], nil
|
2017-02-01 00:45:59 +00:00
|
|
|
}
|
|
|
|
|
2017-08-04 11:13:19 +00:00
|
|
|
func (m *GroupVersionKind) MarshalTo(dAtA []byte) (int, error) {
|
2017-02-01 00:45:59 +00:00
|
|
|
var i int
|
|
|
|
_ = i
|
|
|
|
var l int
|
|
|
|
_ = l
|
2017-08-04 11:13:19 +00:00
|
|
|
dAtA[i] = 0xa
|
2017-02-01 00:45:59 +00:00
|
|
|
i++
|
2017-08-04 11:13:19 +00:00
|
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Group)))
|
|
|
|
i += copy(dAtA[i:], m.Group)
|
|
|
|
dAtA[i] = 0x12
|
2017-02-01 00:45:59 +00:00
|
|
|
i++
|
2017-08-04 11:13:19 +00:00
|
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Version)))
|
|
|
|
i += copy(dAtA[i:], m.Version)
|
|
|
|
dAtA[i] = 0x1a
|
2017-02-01 00:45:59 +00:00
|
|
|
i++
|
2017-08-04 11:13:19 +00:00
|
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Kind)))
|
|
|
|
i += copy(dAtA[i:], m.Kind)
|
2017-02-01 00:45:59 +00:00
|
|
|
return i, nil
|
|
|
|
}
|
|
|
|
|
2017-08-04 11:13:19 +00:00
|
|
|
func (m *GroupVersionResource) Marshal() (dAtA []byte, err error) {
|
2017-02-01 00:45:59 +00:00
|
|
|
size := m.Size()
|
2017-08-04 11:13:19 +00:00
|
|
|
dAtA = make([]byte, size)
|
|
|
|
n, err := m.MarshalTo(dAtA)
|
2017-02-01 00:45:59 +00:00
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
2017-08-04 11:13:19 +00:00
|
|
|
return dAtA[:n], nil
|
2017-02-01 00:45:59 +00:00
|
|
|
}
|
|
|
|
|
2017-08-04 11:13:19 +00:00
|
|
|
func (m *GroupVersionResource) MarshalTo(dAtA []byte) (int, error) {
|
2017-02-01 00:45:59 +00:00
|
|
|
var i int
|
|
|
|
_ = i
|
|
|
|
var l int
|
|
|
|
_ = l
|
2017-08-04 11:13:19 +00:00
|
|
|
dAtA[i] = 0xa
|
2017-02-01 00:45:59 +00:00
|
|
|
i++
|
2017-08-04 11:13:19 +00:00
|
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Group)))
|
|
|
|
i += copy(dAtA[i:], m.Group)
|
|
|
|
dAtA[i] = 0x12
|
2017-02-01 00:45:59 +00:00
|
|
|
i++
|
2017-08-04 11:13:19 +00:00
|
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Version)))
|
|
|
|
i += copy(dAtA[i:], m.Version)
|
|
|
|
dAtA[i] = 0x1a
|
|
|
|
i++
|
|
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Resource)))
|
|
|
|
i += copy(dAtA[i:], m.Resource)
|
|
|
|
return i, nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *Initializer) Marshal() (dAtA []byte, err error) {
|
|
|
|
size := m.Size()
|
|
|
|
dAtA = make([]byte, size)
|
|
|
|
n, err := m.MarshalTo(dAtA)
|
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
return dAtA[:n], nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *Initializer) MarshalTo(dAtA []byte) (int, error) {
|
|
|
|
var i int
|
|
|
|
_ = i
|
|
|
|
var l int
|
|
|
|
_ = l
|
|
|
|
dAtA[i] = 0xa
|
2017-02-01 00:45:59 +00:00
|
|
|
i++
|
2017-08-04 11:13:19 +00:00
|
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Name)))
|
|
|
|
i += copy(dAtA[i:], m.Name)
|
|
|
|
return i, nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *Initializers) Marshal() (dAtA []byte, err error) {
|
|
|
|
size := m.Size()
|
|
|
|
dAtA = make([]byte, size)
|
|
|
|
n, err := m.MarshalTo(dAtA)
|
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
return dAtA[:n], nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *Initializers) MarshalTo(dAtA []byte) (int, error) {
|
|
|
|
var i int
|
|
|
|
_ = i
|
|
|
|
var l int
|
|
|
|
_ = l
|
|
|
|
if len(m.Pending) > 0 {
|
|
|
|
for _, msg := range m.Pending {
|
|
|
|
dAtA[i] = 0xa
|
|
|
|
i++
|
|
|
|
i = encodeVarintGenerated(dAtA, i, uint64(msg.Size()))
|
|
|
|
n, err := msg.MarshalTo(dAtA[i:])
|
|
|
|
if err != nil {
|
|
|
|
return 0, err
|
|
|
|
}
|
|
|
|
i += n
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if m.Result != nil {
|
|
|
|
dAtA[i] = 0x12
|
|
|
|
i++
|
|
|
|
i = encodeVarintGenerated(dAtA, i, uint64(m.Result.Size()))
|
|
|
|
n4, err := m.Result.MarshalTo(dAtA[i:])
|
|
|
|
if err != nil {
|
|
|
|
return 0, err
|
|
|
|
}
|
|
|
|
i += n4
|
|
|
|
}
|
2017-02-01 00:45:59 +00:00
|
|
|
return i, nil
|
|
|
|
}
|
|
|
|
|
2017-08-04 11:13:19 +00:00
|
|
|
func (m *LabelSelector) Marshal() (dAtA []byte, err error) {
|
2017-02-01 00:45:59 +00:00
|
|
|
size := m.Size()
|
2017-08-04 11:13:19 +00:00
|
|
|
dAtA = make([]byte, size)
|
|
|
|
n, err := m.MarshalTo(dAtA)
|
2017-02-01 00:45:59 +00:00
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
2017-08-04 11:13:19 +00:00
|
|
|
return dAtA[:n], nil
|
2017-02-01 00:45:59 +00:00
|
|
|
}
|
|
|
|
|
2017-08-04 11:13:19 +00:00
|
|
|
func (m *LabelSelector) MarshalTo(dAtA []byte) (int, error) {
|
2017-02-01 00:45:59 +00:00
|
|
|
var i int
|
|
|
|
_ = i
|
|
|
|
var l int
|
|
|
|
_ = l
|
|
|
|
if len(m.MatchLabels) > 0 {
|
2017-08-04 11:13:19 +00:00
|
|
|
keysForMatchLabels := make([]string, 0, len(m.MatchLabels))
|
2017-02-01 00:45:59 +00:00
|
|
|
for k := range m.MatchLabels {
|
2017-08-04 11:13:19 +00:00
|
|
|
keysForMatchLabels = append(keysForMatchLabels, string(k))
|
|
|
|
}
|
|
|
|
github_com_gogo_protobuf_sortkeys.Strings(keysForMatchLabels)
|
|
|
|
for _, k := range keysForMatchLabels {
|
|
|
|
dAtA[i] = 0xa
|
2017-02-01 00:45:59 +00:00
|
|
|
i++
|
2017-08-04 11:13:19 +00:00
|
|
|
v := m.MatchLabels[string(k)]
|
2017-02-01 00:45:59 +00:00
|
|
|
mapSize := 1 + len(k) + sovGenerated(uint64(len(k))) + 1 + len(v) + sovGenerated(uint64(len(v)))
|
2017-08-04 11:13:19 +00:00
|
|
|
i = encodeVarintGenerated(dAtA, i, uint64(mapSize))
|
|
|
|
dAtA[i] = 0xa
|
2017-02-01 00:45:59 +00:00
|
|
|
i++
|
2017-08-04 11:13:19 +00:00
|
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(k)))
|
|
|
|
i += copy(dAtA[i:], k)
|
|
|
|
dAtA[i] = 0x12
|
2017-02-01 00:45:59 +00:00
|
|
|
i++
|
2017-08-04 11:13:19 +00:00
|
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(v)))
|
|
|
|
i += copy(dAtA[i:], v)
|
2017-02-01 00:45:59 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
if len(m.MatchExpressions) > 0 {
|
|
|
|
for _, msg := range m.MatchExpressions {
|
2017-08-04 11:13:19 +00:00
|
|
|
dAtA[i] = 0x12
|
2017-02-01 00:45:59 +00:00
|
|
|
i++
|
2017-08-04 11:13:19 +00:00
|
|
|
i = encodeVarintGenerated(dAtA, i, uint64(msg.Size()))
|
|
|
|
n, err := msg.MarshalTo(dAtA[i:])
|
2017-02-01 00:45:59 +00:00
|
|
|
if err != nil {
|
|
|
|
return 0, err
|
|
|
|
}
|
|
|
|
i += n
|
|
|
|
}
|
|
|
|
}
|
|
|
|
return i, nil
|
|
|
|
}
|
|
|
|
|
2017-08-04 11:13:19 +00:00
|
|
|
func (m *LabelSelectorRequirement) Marshal() (dAtA []byte, err error) {
|
2017-02-01 00:45:59 +00:00
|
|
|
size := m.Size()
|
2017-08-04 11:13:19 +00:00
|
|
|
dAtA = make([]byte, size)
|
|
|
|
n, err := m.MarshalTo(dAtA)
|
2017-02-01 00:45:59 +00:00
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
2017-08-04 11:13:19 +00:00
|
|
|
return dAtA[:n], nil
|
2017-02-01 00:45:59 +00:00
|
|
|
}
|
|
|
|
|
2017-08-04 11:13:19 +00:00
|
|
|
func (m *LabelSelectorRequirement) MarshalTo(dAtA []byte) (int, error) {
|
2017-02-01 00:45:59 +00:00
|
|
|
var i int
|
|
|
|
_ = i
|
|
|
|
var l int
|
|
|
|
_ = l
|
2017-08-04 11:13:19 +00:00
|
|
|
dAtA[i] = 0xa
|
2017-02-01 00:45:59 +00:00
|
|
|
i++
|
2017-08-04 11:13:19 +00:00
|
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Key)))
|
|
|
|
i += copy(dAtA[i:], m.Key)
|
|
|
|
dAtA[i] = 0x12
|
2017-02-01 00:45:59 +00:00
|
|
|
i++
|
2017-08-04 11:13:19 +00:00
|
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Operator)))
|
|
|
|
i += copy(dAtA[i:], m.Operator)
|
2017-02-01 00:45:59 +00:00
|
|
|
if len(m.Values) > 0 {
|
|
|
|
for _, s := range m.Values {
|
2017-08-04 11:13:19 +00:00
|
|
|
dAtA[i] = 0x1a
|
2017-02-01 00:45:59 +00:00
|
|
|
i++
|
|
|
|
l = len(s)
|
|
|
|
for l >= 1<<7 {
|
2017-08-04 11:13:19 +00:00
|
|
|
dAtA[i] = uint8(uint64(l)&0x7f | 0x80)
|
2017-02-01 00:45:59 +00:00
|
|
|
l >>= 7
|
|
|
|
i++
|
|
|
|
}
|
2017-08-04 11:13:19 +00:00
|
|
|
dAtA[i] = uint8(l)
|
2017-02-01 00:45:59 +00:00
|
|
|
i++
|
2017-08-04 11:13:19 +00:00
|
|
|
i += copy(dAtA[i:], s)
|
2017-02-01 00:45:59 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
return i, nil
|
|
|
|
}
|
|
|
|
|
2017-09-26 14:23:09 +00:00
|
|
|
func (m *List) Marshal() (dAtA []byte, err error) {
|
|
|
|
size := m.Size()
|
|
|
|
dAtA = make([]byte, size)
|
|
|
|
n, err := m.MarshalTo(dAtA)
|
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
return dAtA[:n], nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *List) MarshalTo(dAtA []byte) (int, error) {
|
|
|
|
var i int
|
|
|
|
_ = i
|
|
|
|
var l int
|
|
|
|
_ = l
|
|
|
|
dAtA[i] = 0xa
|
|
|
|
i++
|
|
|
|
i = encodeVarintGenerated(dAtA, i, uint64(m.ListMeta.Size()))
|
|
|
|
n5, err := m.ListMeta.MarshalTo(dAtA[i:])
|
|
|
|
if err != nil {
|
|
|
|
return 0, err
|
|
|
|
}
|
|
|
|
i += n5
|
|
|
|
if len(m.Items) > 0 {
|
|
|
|
for _, msg := range m.Items {
|
|
|
|
dAtA[i] = 0x12
|
|
|
|
i++
|
|
|
|
i = encodeVarintGenerated(dAtA, i, uint64(msg.Size()))
|
|
|
|
n, err := msg.MarshalTo(dAtA[i:])
|
|
|
|
if err != nil {
|
|
|
|
return 0, err
|
|
|
|
}
|
|
|
|
i += n
|
|
|
|
}
|
|
|
|
}
|
|
|
|
return i, nil
|
|
|
|
}
|
|
|
|
|
2017-08-04 11:13:19 +00:00
|
|
|
func (m *ListMeta) Marshal() (dAtA []byte, err error) {
|
2017-02-01 00:45:59 +00:00
|
|
|
size := m.Size()
|
2017-08-04 11:13:19 +00:00
|
|
|
dAtA = make([]byte, size)
|
|
|
|
n, err := m.MarshalTo(dAtA)
|
2017-02-01 00:45:59 +00:00
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
2017-08-04 11:13:19 +00:00
|
|
|
return dAtA[:n], nil
|
2017-02-01 00:45:59 +00:00
|
|
|
}
|
|
|
|
|
2017-08-04 11:13:19 +00:00
|
|
|
func (m *ListMeta) MarshalTo(dAtA []byte) (int, error) {
|
2017-02-01 00:45:59 +00:00
|
|
|
var i int
|
|
|
|
_ = i
|
|
|
|
var l int
|
|
|
|
_ = l
|
2017-08-04 11:13:19 +00:00
|
|
|
dAtA[i] = 0xa
|
2017-02-01 00:45:59 +00:00
|
|
|
i++
|
2017-08-04 11:13:19 +00:00
|
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.SelfLink)))
|
|
|
|
i += copy(dAtA[i:], m.SelfLink)
|
|
|
|
dAtA[i] = 0x12
|
2017-02-01 00:45:59 +00:00
|
|
|
i++
|
2017-08-04 11:13:19 +00:00
|
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.ResourceVersion)))
|
|
|
|
i += copy(dAtA[i:], m.ResourceVersion)
|
2017-09-26 14:23:09 +00:00
|
|
|
dAtA[i] = 0x1a
|
|
|
|
i++
|
|
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Continue)))
|
|
|
|
i += copy(dAtA[i:], m.Continue)
|
2017-02-01 00:45:59 +00:00
|
|
|
return i, nil
|
|
|
|
}
|
|
|
|
|
2017-08-04 11:13:19 +00:00
|
|
|
func (m *ListOptions) Marshal() (dAtA []byte, err error) {
|
2017-02-01 00:45:59 +00:00
|
|
|
size := m.Size()
|
2017-08-04 11:13:19 +00:00
|
|
|
dAtA = make([]byte, size)
|
|
|
|
n, err := m.MarshalTo(dAtA)
|
2017-02-01 00:45:59 +00:00
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
2017-08-04 11:13:19 +00:00
|
|
|
return dAtA[:n], nil
|
2017-02-01 00:45:59 +00:00
|
|
|
}
|
|
|
|
|
2017-08-04 11:13:19 +00:00
|
|
|
func (m *ListOptions) MarshalTo(dAtA []byte) (int, error) {
|
2017-02-01 00:45:59 +00:00
|
|
|
var i int
|
|
|
|
_ = i
|
|
|
|
var l int
|
|
|
|
_ = l
|
2017-08-04 11:13:19 +00:00
|
|
|
dAtA[i] = 0xa
|
2017-02-01 00:45:59 +00:00
|
|
|
i++
|
2017-08-04 11:13:19 +00:00
|
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.LabelSelector)))
|
|
|
|
i += copy(dAtA[i:], m.LabelSelector)
|
|
|
|
dAtA[i] = 0x12
|
2017-02-01 00:45:59 +00:00
|
|
|
i++
|
2017-08-04 11:13:19 +00:00
|
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.FieldSelector)))
|
|
|
|
i += copy(dAtA[i:], m.FieldSelector)
|
|
|
|
dAtA[i] = 0x18
|
2017-02-01 00:45:59 +00:00
|
|
|
i++
|
|
|
|
if m.Watch {
|
2017-08-04 11:13:19 +00:00
|
|
|
dAtA[i] = 1
|
2017-02-01 00:45:59 +00:00
|
|
|
} else {
|
2017-08-04 11:13:19 +00:00
|
|
|
dAtA[i] = 0
|
2017-02-01 00:45:59 +00:00
|
|
|
}
|
|
|
|
i++
|
2017-08-04 11:13:19 +00:00
|
|
|
dAtA[i] = 0x22
|
2017-02-01 00:45:59 +00:00
|
|
|
i++
|
2017-08-04 11:13:19 +00:00
|
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.ResourceVersion)))
|
|
|
|
i += copy(dAtA[i:], m.ResourceVersion)
|
2017-02-01 00:45:59 +00:00
|
|
|
if m.TimeoutSeconds != nil {
|
2017-08-04 11:13:19 +00:00
|
|
|
dAtA[i] = 0x28
|
2017-02-01 00:45:59 +00:00
|
|
|
i++
|
2017-08-04 11:13:19 +00:00
|
|
|
i = encodeVarintGenerated(dAtA, i, uint64(*m.TimeoutSeconds))
|
2017-02-01 00:45:59 +00:00
|
|
|
}
|
2017-08-04 11:13:19 +00:00
|
|
|
dAtA[i] = 0x30
|
|
|
|
i++
|
|
|
|
if m.IncludeUninitialized {
|
|
|
|
dAtA[i] = 1
|
|
|
|
} else {
|
|
|
|
dAtA[i] = 0
|
|
|
|
}
|
|
|
|
i++
|
2017-09-26 14:23:09 +00:00
|
|
|
dAtA[i] = 0x38
|
|
|
|
i++
|
|
|
|
i = encodeVarintGenerated(dAtA, i, uint64(m.Limit))
|
|
|
|
dAtA[i] = 0x42
|
|
|
|
i++
|
|
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Continue)))
|
|
|
|
i += copy(dAtA[i:], m.Continue)
|
2017-02-01 00:45:59 +00:00
|
|
|
return i, nil
|
|
|
|
}
|
|
|
|
|
2017-08-04 11:13:19 +00:00
|
|
|
func (m *ObjectMeta) Marshal() (dAtA []byte, err error) {
|
2017-02-01 00:45:59 +00:00
|
|
|
size := m.Size()
|
2017-08-04 11:13:19 +00:00
|
|
|
dAtA = make([]byte, size)
|
|
|
|
n, err := m.MarshalTo(dAtA)
|
2017-02-01 00:45:59 +00:00
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
2017-08-04 11:13:19 +00:00
|
|
|
return dAtA[:n], nil
|
2017-02-01 00:45:59 +00:00
|
|
|
}
|
|
|
|
|
2017-08-04 11:13:19 +00:00
|
|
|
func (m *ObjectMeta) MarshalTo(dAtA []byte) (int, error) {
|
2017-02-01 00:45:59 +00:00
|
|
|
var i int
|
|
|
|
_ = i
|
|
|
|
var l int
|
|
|
|
_ = l
|
2017-08-04 11:13:19 +00:00
|
|
|
dAtA[i] = 0xa
|
2017-02-01 00:45:59 +00:00
|
|
|
i++
|
2017-08-04 11:13:19 +00:00
|
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Name)))
|
|
|
|
i += copy(dAtA[i:], m.Name)
|
|
|
|
dAtA[i] = 0x12
|
2017-02-01 00:45:59 +00:00
|
|
|
i++
|
2017-08-04 11:13:19 +00:00
|
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.GenerateName)))
|
|
|
|
i += copy(dAtA[i:], m.GenerateName)
|
|
|
|
dAtA[i] = 0x1a
|
2017-02-01 00:45:59 +00:00
|
|
|
i++
|
2017-08-04 11:13:19 +00:00
|
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Namespace)))
|
|
|
|
i += copy(dAtA[i:], m.Namespace)
|
|
|
|
dAtA[i] = 0x22
|
2017-02-01 00:45:59 +00:00
|
|
|
i++
|
2017-08-04 11:13:19 +00:00
|
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.SelfLink)))
|
|
|
|
i += copy(dAtA[i:], m.SelfLink)
|
|
|
|
dAtA[i] = 0x2a
|
2017-02-01 00:45:59 +00:00
|
|
|
i++
|
2017-08-04 11:13:19 +00:00
|
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.UID)))
|
|
|
|
i += copy(dAtA[i:], m.UID)
|
|
|
|
dAtA[i] = 0x32
|
2017-02-01 00:45:59 +00:00
|
|
|
i++
|
2017-08-04 11:13:19 +00:00
|
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.ResourceVersion)))
|
|
|
|
i += copy(dAtA[i:], m.ResourceVersion)
|
|
|
|
dAtA[i] = 0x38
|
2017-02-01 00:45:59 +00:00
|
|
|
i++
|
2017-08-04 11:13:19 +00:00
|
|
|
i = encodeVarintGenerated(dAtA, i, uint64(m.Generation))
|
|
|
|
dAtA[i] = 0x42
|
2017-02-01 00:45:59 +00:00
|
|
|
i++
|
2017-08-04 11:13:19 +00:00
|
|
|
i = encodeVarintGenerated(dAtA, i, uint64(m.CreationTimestamp.Size()))
|
2017-09-26 14:23:09 +00:00
|
|
|
n6, err := m.CreationTimestamp.MarshalTo(dAtA[i:])
|
2017-02-01 00:45:59 +00:00
|
|
|
if err != nil {
|
|
|
|
return 0, err
|
|
|
|
}
|
2017-09-26 14:23:09 +00:00
|
|
|
i += n6
|
2017-02-01 00:45:59 +00:00
|
|
|
if m.DeletionTimestamp != nil {
|
2017-08-04 11:13:19 +00:00
|
|
|
dAtA[i] = 0x4a
|
2017-02-01 00:45:59 +00:00
|
|
|
i++
|
2017-08-04 11:13:19 +00:00
|
|
|
i = encodeVarintGenerated(dAtA, i, uint64(m.DeletionTimestamp.Size()))
|
2017-09-26 14:23:09 +00:00
|
|
|
n7, err := m.DeletionTimestamp.MarshalTo(dAtA[i:])
|
2017-02-01 00:45:59 +00:00
|
|
|
if err != nil {
|
|
|
|
return 0, err
|
|
|
|
}
|
2017-09-26 14:23:09 +00:00
|
|
|
i += n7
|
2017-02-01 00:45:59 +00:00
|
|
|
}
|
|
|
|
if m.DeletionGracePeriodSeconds != nil {
|
2017-08-04 11:13:19 +00:00
|
|
|
dAtA[i] = 0x50
|
2017-02-01 00:45:59 +00:00
|
|
|
i++
|
2017-08-04 11:13:19 +00:00
|
|
|
i = encodeVarintGenerated(dAtA, i, uint64(*m.DeletionGracePeriodSeconds))
|
2017-02-01 00:45:59 +00:00
|
|
|
}
|
|
|
|
if len(m.Labels) > 0 {
|
2017-08-04 11:13:19 +00:00
|
|
|
keysForLabels := make([]string, 0, len(m.Labels))
|
2017-02-01 00:45:59 +00:00
|
|
|
for k := range m.Labels {
|
2017-08-04 11:13:19 +00:00
|
|
|
keysForLabels = append(keysForLabels, string(k))
|
|
|
|
}
|
|
|
|
github_com_gogo_protobuf_sortkeys.Strings(keysForLabels)
|
|
|
|
for _, k := range keysForLabels {
|
|
|
|
dAtA[i] = 0x5a
|
2017-02-01 00:45:59 +00:00
|
|
|
i++
|
2017-08-04 11:13:19 +00:00
|
|
|
v := m.Labels[string(k)]
|
2017-02-01 00:45:59 +00:00
|
|
|
mapSize := 1 + len(k) + sovGenerated(uint64(len(k))) + 1 + len(v) + sovGenerated(uint64(len(v)))
|
2017-08-04 11:13:19 +00:00
|
|
|
i = encodeVarintGenerated(dAtA, i, uint64(mapSize))
|
|
|
|
dAtA[i] = 0xa
|
2017-02-01 00:45:59 +00:00
|
|
|
i++
|
2017-08-04 11:13:19 +00:00
|
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(k)))
|
|
|
|
i += copy(dAtA[i:], k)
|
|
|
|
dAtA[i] = 0x12
|
2017-02-01 00:45:59 +00:00
|
|
|
i++
|
2017-08-04 11:13:19 +00:00
|
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(v)))
|
|
|
|
i += copy(dAtA[i:], v)
|
2017-02-01 00:45:59 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
if len(m.Annotations) > 0 {
|
2017-08-04 11:13:19 +00:00
|
|
|
keysForAnnotations := make([]string, 0, len(m.Annotations))
|
2017-02-01 00:45:59 +00:00
|
|
|
for k := range m.Annotations {
|
2017-08-04 11:13:19 +00:00
|
|
|
keysForAnnotations = append(keysForAnnotations, string(k))
|
|
|
|
}
|
|
|
|
github_com_gogo_protobuf_sortkeys.Strings(keysForAnnotations)
|
|
|
|
for _, k := range keysForAnnotations {
|
|
|
|
dAtA[i] = 0x62
|
2017-02-01 00:45:59 +00:00
|
|
|
i++
|
2017-08-04 11:13:19 +00:00
|
|
|
v := m.Annotations[string(k)]
|
2017-02-01 00:45:59 +00:00
|
|
|
mapSize := 1 + len(k) + sovGenerated(uint64(len(k))) + 1 + len(v) + sovGenerated(uint64(len(v)))
|
2017-08-04 11:13:19 +00:00
|
|
|
i = encodeVarintGenerated(dAtA, i, uint64(mapSize))
|
|
|
|
dAtA[i] = 0xa
|
2017-02-01 00:45:59 +00:00
|
|
|
i++
|
2017-08-04 11:13:19 +00:00
|
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(k)))
|
|
|
|
i += copy(dAtA[i:], k)
|
|
|
|
dAtA[i] = 0x12
|
2017-02-01 00:45:59 +00:00
|
|
|
i++
|
2017-08-04 11:13:19 +00:00
|
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(v)))
|
|
|
|
i += copy(dAtA[i:], v)
|
2017-02-01 00:45:59 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
if len(m.OwnerReferences) > 0 {
|
|
|
|
for _, msg := range m.OwnerReferences {
|
2017-08-04 11:13:19 +00:00
|
|
|
dAtA[i] = 0x6a
|
2017-02-01 00:45:59 +00:00
|
|
|
i++
|
2017-08-04 11:13:19 +00:00
|
|
|
i = encodeVarintGenerated(dAtA, i, uint64(msg.Size()))
|
|
|
|
n, err := msg.MarshalTo(dAtA[i:])
|
2017-02-01 00:45:59 +00:00
|
|
|
if err != nil {
|
|
|
|
return 0, err
|
|
|
|
}
|
|
|
|
i += n
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if len(m.Finalizers) > 0 {
|
|
|
|
for _, s := range m.Finalizers {
|
2017-08-04 11:13:19 +00:00
|
|
|
dAtA[i] = 0x72
|
2017-02-01 00:45:59 +00:00
|
|
|
i++
|
|
|
|
l = len(s)
|
|
|
|
for l >= 1<<7 {
|
2017-08-04 11:13:19 +00:00
|
|
|
dAtA[i] = uint8(uint64(l)&0x7f | 0x80)
|
2017-02-01 00:45:59 +00:00
|
|
|
l >>= 7
|
|
|
|
i++
|
|
|
|
}
|
2017-08-04 11:13:19 +00:00
|
|
|
dAtA[i] = uint8(l)
|
2017-02-01 00:45:59 +00:00
|
|
|
i++
|
2017-08-04 11:13:19 +00:00
|
|
|
i += copy(dAtA[i:], s)
|
2017-02-01 00:45:59 +00:00
|
|
|
}
|
|
|
|
}
|
2017-08-04 11:13:19 +00:00
|
|
|
dAtA[i] = 0x7a
|
2017-02-01 00:45:59 +00:00
|
|
|
i++
|
2017-08-04 11:13:19 +00:00
|
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.ClusterName)))
|
|
|
|
i += copy(dAtA[i:], m.ClusterName)
|
|
|
|
if m.Initializers != nil {
|
|
|
|
dAtA[i] = 0x82
|
|
|
|
i++
|
|
|
|
dAtA[i] = 0x1
|
|
|
|
i++
|
|
|
|
i = encodeVarintGenerated(dAtA, i, uint64(m.Initializers.Size()))
|
2017-09-26 14:23:09 +00:00
|
|
|
n8, err := m.Initializers.MarshalTo(dAtA[i:])
|
2017-08-04 11:13:19 +00:00
|
|
|
if err != nil {
|
|
|
|
return 0, err
|
|
|
|
}
|
2017-09-26 14:23:09 +00:00
|
|
|
i += n8
|
2017-08-04 11:13:19 +00:00
|
|
|
}
|
2017-02-01 00:45:59 +00:00
|
|
|
return i, nil
|
|
|
|
}
|
|
|
|
|
2017-08-04 11:13:19 +00:00
|
|
|
func (m *OwnerReference) Marshal() (dAtA []byte, err error) {
|
2017-02-01 00:45:59 +00:00
|
|
|
size := m.Size()
|
2017-08-04 11:13:19 +00:00
|
|
|
dAtA = make([]byte, size)
|
|
|
|
n, err := m.MarshalTo(dAtA)
|
2017-02-01 00:45:59 +00:00
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
2017-08-04 11:13:19 +00:00
|
|
|
return dAtA[:n], nil
|
2017-02-01 00:45:59 +00:00
|
|
|
}
|
|
|
|
|
2017-08-04 11:13:19 +00:00
|
|
|
func (m *OwnerReference) MarshalTo(dAtA []byte) (int, error) {
|
2017-02-01 00:45:59 +00:00
|
|
|
var i int
|
|
|
|
_ = i
|
|
|
|
var l int
|
|
|
|
_ = l
|
2017-08-04 11:13:19 +00:00
|
|
|
dAtA[i] = 0xa
|
2017-02-01 00:45:59 +00:00
|
|
|
i++
|
2017-08-04 11:13:19 +00:00
|
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Kind)))
|
|
|
|
i += copy(dAtA[i:], m.Kind)
|
|
|
|
dAtA[i] = 0x1a
|
2017-02-01 00:45:59 +00:00
|
|
|
i++
|
2017-08-04 11:13:19 +00:00
|
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Name)))
|
|
|
|
i += copy(dAtA[i:], m.Name)
|
|
|
|
dAtA[i] = 0x22
|
2017-02-01 00:45:59 +00:00
|
|
|
i++
|
2017-08-04 11:13:19 +00:00
|
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.UID)))
|
|
|
|
i += copy(dAtA[i:], m.UID)
|
|
|
|
dAtA[i] = 0x2a
|
2017-02-01 00:45:59 +00:00
|
|
|
i++
|
2017-08-04 11:13:19 +00:00
|
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.APIVersion)))
|
|
|
|
i += copy(dAtA[i:], m.APIVersion)
|
2017-02-01 00:45:59 +00:00
|
|
|
if m.Controller != nil {
|
2017-08-04 11:13:19 +00:00
|
|
|
dAtA[i] = 0x30
|
2017-02-01 00:45:59 +00:00
|
|
|
i++
|
|
|
|
if *m.Controller {
|
2017-08-04 11:13:19 +00:00
|
|
|
dAtA[i] = 1
|
2017-02-01 00:45:59 +00:00
|
|
|
} else {
|
2017-08-04 11:13:19 +00:00
|
|
|
dAtA[i] = 0
|
2017-02-01 00:45:59 +00:00
|
|
|
}
|
|
|
|
i++
|
|
|
|
}
|
2017-06-06 07:19:04 +00:00
|
|
|
if m.BlockOwnerDeletion != nil {
|
2017-08-04 11:13:19 +00:00
|
|
|
dAtA[i] = 0x38
|
2017-06-06 07:19:04 +00:00
|
|
|
i++
|
|
|
|
if *m.BlockOwnerDeletion {
|
2017-08-04 11:13:19 +00:00
|
|
|
dAtA[i] = 1
|
2017-06-06 07:19:04 +00:00
|
|
|
} else {
|
2017-08-04 11:13:19 +00:00
|
|
|
dAtA[i] = 0
|
2017-06-06 07:19:04 +00:00
|
|
|
}
|
|
|
|
i++
|
|
|
|
}
|
2017-02-01 00:45:59 +00:00
|
|
|
return i, nil
|
|
|
|
}
|
|
|
|
|
2017-08-04 11:13:19 +00:00
|
|
|
func (m *Preconditions) Marshal() (dAtA []byte, err error) {
|
2017-02-01 00:45:59 +00:00
|
|
|
size := m.Size()
|
2017-08-04 11:13:19 +00:00
|
|
|
dAtA = make([]byte, size)
|
|
|
|
n, err := m.MarshalTo(dAtA)
|
2017-02-01 00:45:59 +00:00
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
2017-08-04 11:13:19 +00:00
|
|
|
return dAtA[:n], nil
|
2017-02-01 00:45:59 +00:00
|
|
|
}
|
|
|
|
|
2017-08-04 11:13:19 +00:00
|
|
|
func (m *Preconditions) MarshalTo(dAtA []byte) (int, error) {
|
2017-02-01 00:45:59 +00:00
|
|
|
var i int
|
|
|
|
_ = i
|
|
|
|
var l int
|
|
|
|
_ = l
|
|
|
|
if m.UID != nil {
|
2017-08-04 11:13:19 +00:00
|
|
|
dAtA[i] = 0xa
|
2017-02-01 00:45:59 +00:00
|
|
|
i++
|
2017-08-04 11:13:19 +00:00
|
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(*m.UID)))
|
|
|
|
i += copy(dAtA[i:], *m.UID)
|
2017-02-01 00:45:59 +00:00
|
|
|
}
|
|
|
|
return i, nil
|
|
|
|
}
|
|
|
|
|
2017-08-04 11:13:19 +00:00
|
|
|
func (m *RootPaths) Marshal() (dAtA []byte, err error) {
|
2017-02-01 00:45:59 +00:00
|
|
|
size := m.Size()
|
2017-08-04 11:13:19 +00:00
|
|
|
dAtA = make([]byte, size)
|
|
|
|
n, err := m.MarshalTo(dAtA)
|
2017-02-01 00:45:59 +00:00
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
2017-08-04 11:13:19 +00:00
|
|
|
return dAtA[:n], nil
|
2017-02-01 00:45:59 +00:00
|
|
|
}
|
|
|
|
|
2017-08-04 11:13:19 +00:00
|
|
|
func (m *RootPaths) MarshalTo(dAtA []byte) (int, error) {
|
2017-02-01 00:45:59 +00:00
|
|
|
var i int
|
|
|
|
_ = i
|
|
|
|
var l int
|
|
|
|
_ = l
|
|
|
|
if len(m.Paths) > 0 {
|
|
|
|
for _, s := range m.Paths {
|
2017-08-04 11:13:19 +00:00
|
|
|
dAtA[i] = 0xa
|
2017-02-01 00:45:59 +00:00
|
|
|
i++
|
|
|
|
l = len(s)
|
|
|
|
for l >= 1<<7 {
|
2017-08-04 11:13:19 +00:00
|
|
|
dAtA[i] = uint8(uint64(l)&0x7f | 0x80)
|
2017-02-01 00:45:59 +00:00
|
|
|
l >>= 7
|
|
|
|
i++
|
|
|
|
}
|
2017-08-04 11:13:19 +00:00
|
|
|
dAtA[i] = uint8(l)
|
2017-02-01 00:45:59 +00:00
|
|
|
i++
|
2017-08-04 11:13:19 +00:00
|
|
|
i += copy(dAtA[i:], s)
|
2017-02-01 00:45:59 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
return i, nil
|
|
|
|
}
|
|
|
|
|
2017-08-04 11:13:19 +00:00
|
|
|
func (m *ServerAddressByClientCIDR) Marshal() (dAtA []byte, err error) {
|
2017-02-01 00:45:59 +00:00
|
|
|
size := m.Size()
|
2017-08-04 11:13:19 +00:00
|
|
|
dAtA = make([]byte, size)
|
|
|
|
n, err := m.MarshalTo(dAtA)
|
2017-02-01 00:45:59 +00:00
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
2017-08-04 11:13:19 +00:00
|
|
|
return dAtA[:n], nil
|
2017-02-01 00:45:59 +00:00
|
|
|
}
|
|
|
|
|
2017-08-04 11:13:19 +00:00
|
|
|
func (m *ServerAddressByClientCIDR) MarshalTo(dAtA []byte) (int, error) {
|
2017-02-01 00:45:59 +00:00
|
|
|
var i int
|
|
|
|
_ = i
|
|
|
|
var l int
|
|
|
|
_ = l
|
2017-08-04 11:13:19 +00:00
|
|
|
dAtA[i] = 0xa
|
2017-02-01 00:45:59 +00:00
|
|
|
i++
|
2017-08-04 11:13:19 +00:00
|
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.ClientCIDR)))
|
|
|
|
i += copy(dAtA[i:], m.ClientCIDR)
|
|
|
|
dAtA[i] = 0x12
|
2017-02-01 00:45:59 +00:00
|
|
|
i++
|
2017-08-04 11:13:19 +00:00
|
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.ServerAddress)))
|
|
|
|
i += copy(dAtA[i:], m.ServerAddress)
|
2017-02-01 00:45:59 +00:00
|
|
|
return i, nil
|
|
|
|
}
|
|
|
|
|
2017-08-04 11:13:19 +00:00
|
|
|
func (m *Status) Marshal() (dAtA []byte, err error) {
|
2017-02-01 00:45:59 +00:00
|
|
|
size := m.Size()
|
2017-08-04 11:13:19 +00:00
|
|
|
dAtA = make([]byte, size)
|
|
|
|
n, err := m.MarshalTo(dAtA)
|
2017-02-01 00:45:59 +00:00
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
2017-08-04 11:13:19 +00:00
|
|
|
return dAtA[:n], nil
|
2017-02-01 00:45:59 +00:00
|
|
|
}
|
|
|
|
|
2017-08-04 11:13:19 +00:00
|
|
|
func (m *Status) MarshalTo(dAtA []byte) (int, error) {
|
2017-02-01 00:45:59 +00:00
|
|
|
var i int
|
|
|
|
_ = i
|
|
|
|
var l int
|
|
|
|
_ = l
|
2017-08-04 11:13:19 +00:00
|
|
|
dAtA[i] = 0xa
|
2017-02-01 00:45:59 +00:00
|
|
|
i++
|
2017-08-04 11:13:19 +00:00
|
|
|
i = encodeVarintGenerated(dAtA, i, uint64(m.ListMeta.Size()))
|
2017-09-26 14:23:09 +00:00
|
|
|
n9, err := m.ListMeta.MarshalTo(dAtA[i:])
|
2017-02-01 00:45:59 +00:00
|
|
|
if err != nil {
|
|
|
|
return 0, err
|
|
|
|
}
|
2017-09-26 14:23:09 +00:00
|
|
|
i += n9
|
2017-08-04 11:13:19 +00:00
|
|
|
dAtA[i] = 0x12
|
2017-02-01 00:45:59 +00:00
|
|
|
i++
|
2017-08-04 11:13:19 +00:00
|
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Status)))
|
|
|
|
i += copy(dAtA[i:], m.Status)
|
|
|
|
dAtA[i] = 0x1a
|
2017-02-01 00:45:59 +00:00
|
|
|
i++
|
2017-08-04 11:13:19 +00:00
|
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Message)))
|
|
|
|
i += copy(dAtA[i:], m.Message)
|
|
|
|
dAtA[i] = 0x22
|
2017-02-01 00:45:59 +00:00
|
|
|
i++
|
2017-08-04 11:13:19 +00:00
|
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Reason)))
|
|
|
|
i += copy(dAtA[i:], m.Reason)
|
2017-02-01 00:45:59 +00:00
|
|
|
if m.Details != nil {
|
2017-08-04 11:13:19 +00:00
|
|
|
dAtA[i] = 0x2a
|
2017-02-01 00:45:59 +00:00
|
|
|
i++
|
2017-08-04 11:13:19 +00:00
|
|
|
i = encodeVarintGenerated(dAtA, i, uint64(m.Details.Size()))
|
2017-09-26 14:23:09 +00:00
|
|
|
n10, err := m.Details.MarshalTo(dAtA[i:])
|
2017-02-01 00:45:59 +00:00
|
|
|
if err != nil {
|
|
|
|
return 0, err
|
|
|
|
}
|
2017-09-26 14:23:09 +00:00
|
|
|
i += n10
|
2017-02-01 00:45:59 +00:00
|
|
|
}
|
2017-08-04 11:13:19 +00:00
|
|
|
dAtA[i] = 0x30
|
2017-02-01 00:45:59 +00:00
|
|
|
i++
|
2017-08-04 11:13:19 +00:00
|
|
|
i = encodeVarintGenerated(dAtA, i, uint64(m.Code))
|
2017-02-01 00:45:59 +00:00
|
|
|
return i, nil
|
|
|
|
}
|
|
|
|
|
2017-08-04 11:13:19 +00:00
|
|
|
func (m *StatusCause) Marshal() (dAtA []byte, err error) {
|
2017-02-01 00:45:59 +00:00
|
|
|
size := m.Size()
|
2017-08-04 11:13:19 +00:00
|
|
|
dAtA = make([]byte, size)
|
|
|
|
n, err := m.MarshalTo(dAtA)
|
2017-02-01 00:45:59 +00:00
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
2017-08-04 11:13:19 +00:00
|
|
|
return dAtA[:n], nil
|
2017-02-01 00:45:59 +00:00
|
|
|
}
|
|
|
|
|
2017-08-04 11:13:19 +00:00
|
|
|
func (m *StatusCause) MarshalTo(dAtA []byte) (int, error) {
|
2017-02-01 00:45:59 +00:00
|
|
|
var i int
|
|
|
|
_ = i
|
|
|
|
var l int
|
|
|
|
_ = l
|
2017-08-04 11:13:19 +00:00
|
|
|
dAtA[i] = 0xa
|
2017-02-01 00:45:59 +00:00
|
|
|
i++
|
2017-08-04 11:13:19 +00:00
|
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Type)))
|
|
|
|
i += copy(dAtA[i:], m.Type)
|
|
|
|
dAtA[i] = 0x12
|
2017-02-01 00:45:59 +00:00
|
|
|
i++
|
2017-08-04 11:13:19 +00:00
|
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Message)))
|
|
|
|
i += copy(dAtA[i:], m.Message)
|
|
|
|
dAtA[i] = 0x1a
|
2017-02-01 00:45:59 +00:00
|
|
|
i++
|
2017-08-04 11:13:19 +00:00
|
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Field)))
|
|
|
|
i += copy(dAtA[i:], m.Field)
|
2017-02-01 00:45:59 +00:00
|
|
|
return i, nil
|
|
|
|
}
|
|
|
|
|
2017-08-04 11:13:19 +00:00
|
|
|
func (m *StatusDetails) Marshal() (dAtA []byte, err error) {
|
2017-02-01 00:45:59 +00:00
|
|
|
size := m.Size()
|
2017-08-04 11:13:19 +00:00
|
|
|
dAtA = make([]byte, size)
|
|
|
|
n, err := m.MarshalTo(dAtA)
|
2017-02-01 00:45:59 +00:00
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
2017-08-04 11:13:19 +00:00
|
|
|
return dAtA[:n], nil
|
2017-02-01 00:45:59 +00:00
|
|
|
}
|
|
|
|
|
2017-08-04 11:13:19 +00:00
|
|
|
func (m *StatusDetails) MarshalTo(dAtA []byte) (int, error) {
|
2017-02-01 00:45:59 +00:00
|
|
|
var i int
|
|
|
|
_ = i
|
|
|
|
var l int
|
|
|
|
_ = l
|
2017-08-04 11:13:19 +00:00
|
|
|
dAtA[i] = 0xa
|
2017-02-01 00:45:59 +00:00
|
|
|
i++
|
2017-08-04 11:13:19 +00:00
|
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Name)))
|
|
|
|
i += copy(dAtA[i:], m.Name)
|
|
|
|
dAtA[i] = 0x12
|
2017-02-01 00:45:59 +00:00
|
|
|
i++
|
2017-08-04 11:13:19 +00:00
|
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Group)))
|
|
|
|
i += copy(dAtA[i:], m.Group)
|
|
|
|
dAtA[i] = 0x1a
|
2017-02-01 00:45:59 +00:00
|
|
|
i++
|
2017-08-04 11:13:19 +00:00
|
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Kind)))
|
|
|
|
i += copy(dAtA[i:], m.Kind)
|
2017-02-01 00:45:59 +00:00
|
|
|
if len(m.Causes) > 0 {
|
|
|
|
for _, msg := range m.Causes {
|
2017-08-04 11:13:19 +00:00
|
|
|
dAtA[i] = 0x22
|
2017-02-01 00:45:59 +00:00
|
|
|
i++
|
2017-08-04 11:13:19 +00:00
|
|
|
i = encodeVarintGenerated(dAtA, i, uint64(msg.Size()))
|
|
|
|
n, err := msg.MarshalTo(dAtA[i:])
|
2017-02-01 00:45:59 +00:00
|
|
|
if err != nil {
|
|
|
|
return 0, err
|
|
|
|
}
|
|
|
|
i += n
|
|
|
|
}
|
|
|
|
}
|
2017-08-04 11:13:19 +00:00
|
|
|
dAtA[i] = 0x28
|
|
|
|
i++
|
|
|
|
i = encodeVarintGenerated(dAtA, i, uint64(m.RetryAfterSeconds))
|
|
|
|
dAtA[i] = 0x32
|
2017-02-01 00:45:59 +00:00
|
|
|
i++
|
2017-08-04 11:13:19 +00:00
|
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.UID)))
|
|
|
|
i += copy(dAtA[i:], m.UID)
|
2017-02-01 00:45:59 +00:00
|
|
|
return i, nil
|
|
|
|
}
|
|
|
|
|
2017-08-04 11:13:19 +00:00
|
|
|
func (m *Timestamp) Marshal() (dAtA []byte, err error) {
|
2017-02-01 00:45:59 +00:00
|
|
|
size := m.Size()
|
2017-08-04 11:13:19 +00:00
|
|
|
dAtA = make([]byte, size)
|
|
|
|
n, err := m.MarshalTo(dAtA)
|
2017-02-01 00:45:59 +00:00
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
2017-08-04 11:13:19 +00:00
|
|
|
return dAtA[:n], nil
|
2017-02-01 00:45:59 +00:00
|
|
|
}
|
|
|
|
|
2017-08-04 11:13:19 +00:00
|
|
|
func (m *Timestamp) MarshalTo(dAtA []byte) (int, error) {
|
2017-02-01 00:45:59 +00:00
|
|
|
var i int
|
|
|
|
_ = i
|
|
|
|
var l int
|
|
|
|
_ = l
|
2017-08-04 11:13:19 +00:00
|
|
|
dAtA[i] = 0x8
|
2017-02-01 00:45:59 +00:00
|
|
|
i++
|
2017-08-04 11:13:19 +00:00
|
|
|
i = encodeVarintGenerated(dAtA, i, uint64(m.Seconds))
|
|
|
|
dAtA[i] = 0x10
|
2017-02-01 00:45:59 +00:00
|
|
|
i++
|
2017-08-04 11:13:19 +00:00
|
|
|
i = encodeVarintGenerated(dAtA, i, uint64(m.Nanos))
|
2017-02-01 00:45:59 +00:00
|
|
|
return i, nil
|
|
|
|
}
|
|
|
|
|
2017-08-04 11:13:19 +00:00
|
|
|
func (m *TypeMeta) Marshal() (dAtA []byte, err error) {
|
2017-02-01 00:45:59 +00:00
|
|
|
size := m.Size()
|
2017-08-04 11:13:19 +00:00
|
|
|
dAtA = make([]byte, size)
|
|
|
|
n, err := m.MarshalTo(dAtA)
|
2017-02-01 00:45:59 +00:00
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
2017-08-04 11:13:19 +00:00
|
|
|
return dAtA[:n], nil
|
2017-02-01 00:45:59 +00:00
|
|
|
}
|
|
|
|
|
2017-08-04 11:13:19 +00:00
|
|
|
func (m *TypeMeta) MarshalTo(dAtA []byte) (int, error) {
|
2017-02-01 00:45:59 +00:00
|
|
|
var i int
|
|
|
|
_ = i
|
|
|
|
var l int
|
|
|
|
_ = l
|
2017-08-04 11:13:19 +00:00
|
|
|
dAtA[i] = 0xa
|
2017-02-01 00:45:59 +00:00
|
|
|
i++
|
2017-08-04 11:13:19 +00:00
|
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Kind)))
|
|
|
|
i += copy(dAtA[i:], m.Kind)
|
|
|
|
dAtA[i] = 0x12
|
2017-02-01 00:45:59 +00:00
|
|
|
i++
|
2017-08-04 11:13:19 +00:00
|
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.APIVersion)))
|
|
|
|
i += copy(dAtA[i:], m.APIVersion)
|
2017-02-01 00:45:59 +00:00
|
|
|
return i, nil
|
|
|
|
}
|
|
|
|
|
2017-08-04 11:13:19 +00:00
|
|
|
func (m Verbs) Marshal() (dAtA []byte, err error) {
|
2017-02-01 00:45:59 +00:00
|
|
|
size := m.Size()
|
2017-08-04 11:13:19 +00:00
|
|
|
dAtA = make([]byte, size)
|
|
|
|
n, err := m.MarshalTo(dAtA)
|
2017-02-01 00:45:59 +00:00
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
2017-08-04 11:13:19 +00:00
|
|
|
return dAtA[:n], nil
|
2017-02-01 00:45:59 +00:00
|
|
|
}
|
|
|
|
|
2017-08-04 11:13:19 +00:00
|
|
|
func (m Verbs) MarshalTo(dAtA []byte) (int, error) {
|
2017-02-01 00:45:59 +00:00
|
|
|
var i int
|
|
|
|
_ = i
|
|
|
|
var l int
|
|
|
|
_ = l
|
|
|
|
if len(m) > 0 {
|
|
|
|
for _, s := range m {
|
2017-08-04 11:13:19 +00:00
|
|
|
dAtA[i] = 0xa
|
2017-02-01 00:45:59 +00:00
|
|
|
i++
|
|
|
|
l = len(s)
|
|
|
|
for l >= 1<<7 {
|
2017-08-04 11:13:19 +00:00
|
|
|
dAtA[i] = uint8(uint64(l)&0x7f | 0x80)
|
2017-02-01 00:45:59 +00:00
|
|
|
l >>= 7
|
|
|
|
i++
|
|
|
|
}
|
2017-08-04 11:13:19 +00:00
|
|
|
dAtA[i] = uint8(l)
|
2017-02-01 00:45:59 +00:00
|
|
|
i++
|
2017-08-04 11:13:19 +00:00
|
|
|
i += copy(dAtA[i:], s)
|
2017-02-01 00:45:59 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
return i, nil
|
|
|
|
}
|
|
|
|
|
2017-08-04 11:13:19 +00:00
|
|
|
func (m *WatchEvent) Marshal() (dAtA []byte, err error) {
|
2017-02-01 00:45:59 +00:00
|
|
|
size := m.Size()
|
2017-08-04 11:13:19 +00:00
|
|
|
dAtA = make([]byte, size)
|
|
|
|
n, err := m.MarshalTo(dAtA)
|
2017-02-01 00:45:59 +00:00
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
2017-08-04 11:13:19 +00:00
|
|
|
return dAtA[:n], nil
|
2017-02-01 00:45:59 +00:00
|
|
|
}
|
|
|
|
|
2017-08-04 11:13:19 +00:00
|
|
|
func (m *WatchEvent) MarshalTo(dAtA []byte) (int, error) {
|
2017-02-01 00:45:59 +00:00
|
|
|
var i int
|
|
|
|
_ = i
|
|
|
|
var l int
|
|
|
|
_ = l
|
2017-08-04 11:13:19 +00:00
|
|
|
dAtA[i] = 0xa
|
2017-02-01 00:45:59 +00:00
|
|
|
i++
|
2017-08-04 11:13:19 +00:00
|
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Type)))
|
|
|
|
i += copy(dAtA[i:], m.Type)
|
|
|
|
dAtA[i] = 0x12
|
2017-02-01 00:45:59 +00:00
|
|
|
i++
|
2017-08-04 11:13:19 +00:00
|
|
|
i = encodeVarintGenerated(dAtA, i, uint64(m.Object.Size()))
|
2017-09-26 14:23:09 +00:00
|
|
|
n11, err := m.Object.MarshalTo(dAtA[i:])
|
2017-02-01 00:45:59 +00:00
|
|
|
if err != nil {
|
|
|
|
return 0, err
|
|
|
|
}
|
2017-09-26 14:23:09 +00:00
|
|
|
i += n11
|
2017-02-01 00:45:59 +00:00
|
|
|
return i, nil
|
|
|
|
}
|
|
|
|
|
2017-08-04 11:13:19 +00:00
|
|
|
func encodeFixed64Generated(dAtA []byte, offset int, v uint64) int {
|
|
|
|
dAtA[offset] = uint8(v)
|
|
|
|
dAtA[offset+1] = uint8(v >> 8)
|
|
|
|
dAtA[offset+2] = uint8(v >> 16)
|
|
|
|
dAtA[offset+3] = uint8(v >> 24)
|
|
|
|
dAtA[offset+4] = uint8(v >> 32)
|
|
|
|
dAtA[offset+5] = uint8(v >> 40)
|
|
|
|
dAtA[offset+6] = uint8(v >> 48)
|
|
|
|
dAtA[offset+7] = uint8(v >> 56)
|
2017-02-01 00:45:59 +00:00
|
|
|
return offset + 8
|
|
|
|
}
|
2017-08-04 11:13:19 +00:00
|
|
|
func encodeFixed32Generated(dAtA []byte, offset int, v uint32) int {
|
|
|
|
dAtA[offset] = uint8(v)
|
|
|
|
dAtA[offset+1] = uint8(v >> 8)
|
|
|
|
dAtA[offset+2] = uint8(v >> 16)
|
|
|
|
dAtA[offset+3] = uint8(v >> 24)
|
2017-02-01 00:45:59 +00:00
|
|
|
return offset + 4
|
|
|
|
}
|
2017-08-04 11:13:19 +00:00
|
|
|
func encodeVarintGenerated(dAtA []byte, offset int, v uint64) int {
|
2017-02-01 00:45:59 +00:00
|
|
|
for v >= 1<<7 {
|
2017-08-04 11:13:19 +00:00
|
|
|
dAtA[offset] = uint8(v&0x7f | 0x80)
|
2017-02-01 00:45:59 +00:00
|
|
|
v >>= 7
|
|
|
|
offset++
|
|
|
|
}
|
2017-08-04 11:13:19 +00:00
|
|
|
dAtA[offset] = uint8(v)
|
2017-02-01 00:45:59 +00:00
|
|
|
return offset + 1
|
|
|
|
}
|
|
|
|
func (m *APIGroup) Size() (n int) {
|
|
|
|
var l int
|
|
|
|
_ = l
|
|
|
|
l = len(m.Name)
|
|
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
|
|
if len(m.Versions) > 0 {
|
|
|
|
for _, e := range m.Versions {
|
|
|
|
l = e.Size()
|
|
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
|
|
}
|
|
|
|
}
|
|
|
|
l = m.PreferredVersion.Size()
|
|
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
|
|
if len(m.ServerAddressByClientCIDRs) > 0 {
|
|
|
|
for _, e := range m.ServerAddressByClientCIDRs {
|
|
|
|
l = e.Size()
|
|
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
|
|
}
|
|
|
|
}
|
|
|
|
return n
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *APIGroupList) Size() (n int) {
|
|
|
|
var l int
|
|
|
|
_ = l
|
|
|
|
if len(m.Groups) > 0 {
|
|
|
|
for _, e := range m.Groups {
|
|
|
|
l = e.Size()
|
|
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
|
|
}
|
|
|
|
}
|
|
|
|
return n
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *APIResource) Size() (n int) {
|
|
|
|
var l int
|
|
|
|
_ = l
|
|
|
|
l = len(m.Name)
|
|
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
|
|
n += 2
|
|
|
|
l = len(m.Kind)
|
|
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
|
|
if m.Verbs != nil {
|
|
|
|
l = m.Verbs.Size()
|
|
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
|
|
}
|
|
|
|
if len(m.ShortNames) > 0 {
|
|
|
|
for _, s := range m.ShortNames {
|
|
|
|
l = len(s)
|
|
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
|
|
}
|
|
|
|
}
|
2017-08-04 11:13:19 +00:00
|
|
|
l = len(m.SingularName)
|
|
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
|
|
if len(m.Categories) > 0 {
|
|
|
|
for _, s := range m.Categories {
|
|
|
|
l = len(s)
|
|
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
|
|
}
|
|
|
|
}
|
2017-09-26 14:23:09 +00:00
|
|
|
l = len(m.Group)
|
|
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
|
|
l = len(m.Version)
|
|
|
|
n += 1 + l + sovGenerated(uint64(l))
|
2017-02-01 00:45:59 +00:00
|
|
|
return n
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *APIResourceList) Size() (n int) {
|
|
|
|
var l int
|
|
|
|
_ = l
|
|
|
|
l = len(m.GroupVersion)
|
|
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
|
|
if len(m.APIResources) > 0 {
|
|
|
|
for _, e := range m.APIResources {
|
|
|
|
l = e.Size()
|
|
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
|
|
}
|
|
|
|
}
|
|
|
|
return n
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *APIVersions) Size() (n int) {
|
|
|
|
var l int
|
|
|
|
_ = l
|
|
|
|
if len(m.Versions) > 0 {
|
|
|
|
for _, s := range m.Versions {
|
|
|
|
l = len(s)
|
|
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if len(m.ServerAddressByClientCIDRs) > 0 {
|
|
|
|
for _, e := range m.ServerAddressByClientCIDRs {
|
|
|
|
l = e.Size()
|
|
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
|
|
}
|
|
|
|
}
|
|
|
|
return n
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *DeleteOptions) Size() (n int) {
|
|
|
|
var l int
|
|
|
|
_ = l
|
|
|
|
if m.GracePeriodSeconds != nil {
|
|
|
|
n += 1 + sovGenerated(uint64(*m.GracePeriodSeconds))
|
|
|
|
}
|
|
|
|
if m.Preconditions != nil {
|
|
|
|
l = m.Preconditions.Size()
|
|
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
|
|
}
|
|
|
|
if m.OrphanDependents != nil {
|
|
|
|
n += 2
|
|
|
|
}
|
2017-06-06 07:19:04 +00:00
|
|
|
if m.PropagationPolicy != nil {
|
|
|
|
l = len(*m.PropagationPolicy)
|
|
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
|
|
}
|
2017-02-01 00:45:59 +00:00
|
|
|
return n
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *Duration) Size() (n int) {
|
|
|
|
var l int
|
|
|
|
_ = l
|
|
|
|
n += 1 + sovGenerated(uint64(m.Duration))
|
|
|
|
return n
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *ExportOptions) Size() (n int) {
|
|
|
|
var l int
|
|
|
|
_ = l
|
|
|
|
n += 2
|
|
|
|
n += 2
|
|
|
|
return n
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *GetOptions) Size() (n int) {
|
|
|
|
var l int
|
|
|
|
_ = l
|
|
|
|
l = len(m.ResourceVersion)
|
|
|
|
n += 1 + l + sovGenerated(uint64(l))
|
2017-08-04 11:13:19 +00:00
|
|
|
n += 2
|
2017-02-01 00:45:59 +00:00
|
|
|
return n
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *GroupKind) Size() (n int) {
|
|
|
|
var l int
|
|
|
|
_ = l
|
|
|
|
l = len(m.Group)
|
|
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
|
|
l = len(m.Kind)
|
|
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
|
|
return n
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *GroupResource) Size() (n int) {
|
|
|
|
var l int
|
|
|
|
_ = l
|
|
|
|
l = len(m.Group)
|
|
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
|
|
l = len(m.Resource)
|
|
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
|
|
return n
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *GroupVersion) Size() (n int) {
|
|
|
|
var l int
|
|
|
|
_ = l
|
|
|
|
l = len(m.Group)
|
|
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
|
|
l = len(m.Version)
|
|
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
|
|
return n
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *GroupVersionForDiscovery) Size() (n int) {
|
|
|
|
var l int
|
|
|
|
_ = l
|
|
|
|
l = len(m.GroupVersion)
|
|
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
|
|
l = len(m.Version)
|
|
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
|
|
return n
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *GroupVersionKind) Size() (n int) {
|
|
|
|
var l int
|
|
|
|
_ = l
|
|
|
|
l = len(m.Group)
|
|
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
|
|
l = len(m.Version)
|
|
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
|
|
l = len(m.Kind)
|
|
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
|
|
return n
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *GroupVersionResource) Size() (n int) {
|
|
|
|
var l int
|
|
|
|
_ = l
|
|
|
|
l = len(m.Group)
|
|
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
|
|
l = len(m.Version)
|
|
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
|
|
l = len(m.Resource)
|
|
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
|
|
return n
|
|
|
|
}
|
|
|
|
|
2017-08-04 11:13:19 +00:00
|
|
|
func (m *Initializer) Size() (n int) {
|
|
|
|
var l int
|
|
|
|
_ = l
|
|
|
|
l = len(m.Name)
|
|
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
|
|
return n
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *Initializers) Size() (n int) {
|
|
|
|
var l int
|
|
|
|
_ = l
|
|
|
|
if len(m.Pending) > 0 {
|
|
|
|
for _, e := range m.Pending {
|
|
|
|
l = e.Size()
|
|
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if m.Result != nil {
|
|
|
|
l = m.Result.Size()
|
|
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
|
|
}
|
|
|
|
return n
|
|
|
|
}
|
|
|
|
|
2017-02-01 00:45:59 +00:00
|
|
|
func (m *LabelSelector) Size() (n int) {
|
|
|
|
var l int
|
|
|
|
_ = l
|
|
|
|
if len(m.MatchLabels) > 0 {
|
|
|
|
for k, v := range m.MatchLabels {
|
|
|
|
_ = k
|
|
|
|
_ = v
|
|
|
|
mapEntrySize := 1 + len(k) + sovGenerated(uint64(len(k))) + 1 + len(v) + sovGenerated(uint64(len(v)))
|
|
|
|
n += mapEntrySize + 1 + sovGenerated(uint64(mapEntrySize))
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if len(m.MatchExpressions) > 0 {
|
|
|
|
for _, e := range m.MatchExpressions {
|
|
|
|
l = e.Size()
|
|
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
|
|
}
|
|
|
|
}
|
|
|
|
return n
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *LabelSelectorRequirement) Size() (n int) {
|
|
|
|
var l int
|
|
|
|
_ = l
|
|
|
|
l = len(m.Key)
|
|
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
|
|
l = len(m.Operator)
|
|
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
|
|
if len(m.Values) > 0 {
|
|
|
|
for _, s := range m.Values {
|
|
|
|
l = len(s)
|
|
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
|
|
}
|
|
|
|
}
|
|
|
|
return n
|
|
|
|
}
|
|
|
|
|
2017-09-26 14:23:09 +00:00
|
|
|
func (m *List) Size() (n int) {
|
|
|
|
var l int
|
|
|
|
_ = l
|
|
|
|
l = m.ListMeta.Size()
|
|
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
|
|
if len(m.Items) > 0 {
|
|
|
|
for _, e := range m.Items {
|
|
|
|
l = e.Size()
|
|
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
|
|
}
|
|
|
|
}
|
|
|
|
return n
|
|
|
|
}
|
|
|
|
|
2017-02-01 00:45:59 +00:00
|
|
|
func (m *ListMeta) Size() (n int) {
|
|
|
|
var l int
|
|
|
|
_ = l
|
|
|
|
l = len(m.SelfLink)
|
|
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
|
|
l = len(m.ResourceVersion)
|
|
|
|
n += 1 + l + sovGenerated(uint64(l))
|
2017-09-26 14:23:09 +00:00
|
|
|
l = len(m.Continue)
|
|
|
|
n += 1 + l + sovGenerated(uint64(l))
|
2017-02-01 00:45:59 +00:00
|
|
|
return n
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *ListOptions) Size() (n int) {
|
|
|
|
var l int
|
|
|
|
_ = l
|
|
|
|
l = len(m.LabelSelector)
|
|
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
|
|
l = len(m.FieldSelector)
|
|
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
|
|
n += 2
|
|
|
|
l = len(m.ResourceVersion)
|
|
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
|
|
if m.TimeoutSeconds != nil {
|
|
|
|
n += 1 + sovGenerated(uint64(*m.TimeoutSeconds))
|
|
|
|
}
|
2017-08-04 11:13:19 +00:00
|
|
|
n += 2
|
2017-09-26 14:23:09 +00:00
|
|
|
n += 1 + sovGenerated(uint64(m.Limit))
|
|
|
|
l = len(m.Continue)
|
|
|
|
n += 1 + l + sovGenerated(uint64(l))
|
2017-02-01 00:45:59 +00:00
|
|
|
return n
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *ObjectMeta) Size() (n int) {
|
|
|
|
var l int
|
|
|
|
_ = l
|
|
|
|
l = len(m.Name)
|
|
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
|
|
l = len(m.GenerateName)
|
|
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
|
|
l = len(m.Namespace)
|
|
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
|
|
l = len(m.SelfLink)
|
|
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
|
|
l = len(m.UID)
|
|
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
|
|
l = len(m.ResourceVersion)
|
|
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
|
|
n += 1 + sovGenerated(uint64(m.Generation))
|
|
|
|
l = m.CreationTimestamp.Size()
|
|
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
|
|
if m.DeletionTimestamp != nil {
|
|
|
|
l = m.DeletionTimestamp.Size()
|
|
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
|
|
}
|
|
|
|
if m.DeletionGracePeriodSeconds != nil {
|
|
|
|
n += 1 + sovGenerated(uint64(*m.DeletionGracePeriodSeconds))
|
|
|
|
}
|
|
|
|
if len(m.Labels) > 0 {
|
|
|
|
for k, v := range m.Labels {
|
|
|
|
_ = k
|
|
|
|
_ = v
|
|
|
|
mapEntrySize := 1 + len(k) + sovGenerated(uint64(len(k))) + 1 + len(v) + sovGenerated(uint64(len(v)))
|
|
|
|
n += mapEntrySize + 1 + sovGenerated(uint64(mapEntrySize))
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if len(m.Annotations) > 0 {
|
|
|
|
for k, v := range m.Annotations {
|
|
|
|
_ = k
|
|
|
|
_ = v
|
|
|
|
mapEntrySize := 1 + len(k) + sovGenerated(uint64(len(k))) + 1 + len(v) + sovGenerated(uint64(len(v)))
|
|
|
|
n += mapEntrySize + 1 + sovGenerated(uint64(mapEntrySize))
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if len(m.OwnerReferences) > 0 {
|
|
|
|
for _, e := range m.OwnerReferences {
|
|
|
|
l = e.Size()
|
|
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if len(m.Finalizers) > 0 {
|
|
|
|
for _, s := range m.Finalizers {
|
|
|
|
l = len(s)
|
|
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
|
|
}
|
|
|
|
}
|
|
|
|
l = len(m.ClusterName)
|
|
|
|
n += 1 + l + sovGenerated(uint64(l))
|
2017-08-04 11:13:19 +00:00
|
|
|
if m.Initializers != nil {
|
|
|
|
l = m.Initializers.Size()
|
|
|
|
n += 2 + l + sovGenerated(uint64(l))
|
|
|
|
}
|
2017-02-01 00:45:59 +00:00
|
|
|
return n
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *OwnerReference) Size() (n int) {
|
|
|
|
var l int
|
|
|
|
_ = l
|
|
|
|
l = len(m.Kind)
|
|
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
|
|
l = len(m.Name)
|
|
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
|
|
l = len(m.UID)
|
|
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
|
|
l = len(m.APIVersion)
|
|
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
|
|
if m.Controller != nil {
|
|
|
|
n += 2
|
|
|
|
}
|
2017-06-06 07:19:04 +00:00
|
|
|
if m.BlockOwnerDeletion != nil {
|
|
|
|
n += 2
|
|
|
|
}
|
2017-02-01 00:45:59 +00:00
|
|
|
return n
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *Preconditions) Size() (n int) {
|
|
|
|
var l int
|
|
|
|
_ = l
|
|
|
|
if m.UID != nil {
|
|
|
|
l = len(*m.UID)
|
|
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
|
|
}
|
|
|
|
return n
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *RootPaths) Size() (n int) {
|
|
|
|
var l int
|
|
|
|
_ = l
|
|
|
|
if len(m.Paths) > 0 {
|
|
|
|
for _, s := range m.Paths {
|
|
|
|
l = len(s)
|
|
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
|
|
}
|
|
|
|
}
|
|
|
|
return n
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *ServerAddressByClientCIDR) Size() (n int) {
|
|
|
|
var l int
|
|
|
|
_ = l
|
|
|
|
l = len(m.ClientCIDR)
|
|
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
|
|
l = len(m.ServerAddress)
|
|
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
|
|
return n
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *Status) Size() (n int) {
|
|
|
|
var l int
|
|
|
|
_ = l
|
|
|
|
l = m.ListMeta.Size()
|
|
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
|
|
l = len(m.Status)
|
|
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
|
|
l = len(m.Message)
|
|
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
|
|
l = len(m.Reason)
|
|
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
|
|
if m.Details != nil {
|
|
|
|
l = m.Details.Size()
|
|
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
|
|
}
|
|
|
|
n += 1 + sovGenerated(uint64(m.Code))
|
|
|
|
return n
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *StatusCause) Size() (n int) {
|
|
|
|
var l int
|
|
|
|
_ = l
|
|
|
|
l = len(m.Type)
|
|
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
|
|
l = len(m.Message)
|
|
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
|
|
l = len(m.Field)
|
|
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
|
|
return n
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *StatusDetails) Size() (n int) {
|
|
|
|
var l int
|
|
|
|
_ = l
|
|
|
|
l = len(m.Name)
|
|
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
|
|
l = len(m.Group)
|
|
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
|
|
l = len(m.Kind)
|
|
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
|
|
if len(m.Causes) > 0 {
|
|
|
|
for _, e := range m.Causes {
|
|
|
|
l = e.Size()
|
|
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
|
|
}
|
|
|
|
}
|
|
|
|
n += 1 + sovGenerated(uint64(m.RetryAfterSeconds))
|
2017-08-04 11:13:19 +00:00
|
|
|
l = len(m.UID)
|
|
|
|
n += 1 + l + sovGenerated(uint64(l))
|
2017-02-01 00:45:59 +00:00
|
|
|
return n
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *Timestamp) Size() (n int) {
|
|
|
|
var l int
|
|
|
|
_ = l
|
|
|
|
n += 1 + sovGenerated(uint64(m.Seconds))
|
|
|
|
n += 1 + sovGenerated(uint64(m.Nanos))
|
|
|
|
return n
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *TypeMeta) Size() (n int) {
|
|
|
|
var l int
|
|
|
|
_ = l
|
|
|
|
l = len(m.Kind)
|
|
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
|
|
l = len(m.APIVersion)
|
|
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
|
|
return n
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m Verbs) Size() (n int) {
|
|
|
|
var l int
|
|
|
|
_ = l
|
|
|
|
if len(m) > 0 {
|
|
|
|
for _, s := range m {
|
|
|
|
l = len(s)
|
|
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
|
|
}
|
|
|
|
}
|
|
|
|
return n
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *WatchEvent) Size() (n int) {
|
|
|
|
var l int
|
|
|
|
_ = l
|
|
|
|
l = len(m.Type)
|
|
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
|
|
l = m.Object.Size()
|
|
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
|
|
return n
|
|
|
|
}
|
|
|
|
|
|
|
|
func sovGenerated(x uint64) (n int) {
|
|
|
|
for {
|
|
|
|
n++
|
|
|
|
x >>= 7
|
|
|
|
if x == 0 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
return n
|
|
|
|
}
|
|
|
|
func sozGenerated(x uint64) (n int) {
|
|
|
|
return sovGenerated(uint64((x << 1) ^ uint64((int64(x) >> 63))))
|
|
|
|
}
|
|
|
|
func (this *APIGroup) String() string {
|
|
|
|
if this == nil {
|
|
|
|
return "nil"
|
|
|
|
}
|
|
|
|
s := strings.Join([]string{`&APIGroup{`,
|
|
|
|
`Name:` + fmt.Sprintf("%v", this.Name) + `,`,
|
|
|
|
`Versions:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Versions), "GroupVersionForDiscovery", "GroupVersionForDiscovery", 1), `&`, ``, 1) + `,`,
|
|
|
|
`PreferredVersion:` + strings.Replace(strings.Replace(this.PreferredVersion.String(), "GroupVersionForDiscovery", "GroupVersionForDiscovery", 1), `&`, ``, 1) + `,`,
|
|
|
|
`ServerAddressByClientCIDRs:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.ServerAddressByClientCIDRs), "ServerAddressByClientCIDR", "ServerAddressByClientCIDR", 1), `&`, ``, 1) + `,`,
|
|
|
|
`}`,
|
|
|
|
}, "")
|
|
|
|
return s
|
|
|
|
}
|
|
|
|
func (this *APIGroupList) String() string {
|
|
|
|
if this == nil {
|
|
|
|
return "nil"
|
|
|
|
}
|
|
|
|
s := strings.Join([]string{`&APIGroupList{`,
|
|
|
|
`Groups:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Groups), "APIGroup", "APIGroup", 1), `&`, ``, 1) + `,`,
|
|
|
|
`}`,
|
|
|
|
}, "")
|
|
|
|
return s
|
|
|
|
}
|
|
|
|
func (this *APIResource) String() string {
|
|
|
|
if this == nil {
|
|
|
|
return "nil"
|
|
|
|
}
|
|
|
|
s := strings.Join([]string{`&APIResource{`,
|
|
|
|
`Name:` + fmt.Sprintf("%v", this.Name) + `,`,
|
|
|
|
`Namespaced:` + fmt.Sprintf("%v", this.Namespaced) + `,`,
|
|
|
|
`Kind:` + fmt.Sprintf("%v", this.Kind) + `,`,
|
|
|
|
`Verbs:` + strings.Replace(fmt.Sprintf("%v", this.Verbs), "Verbs", "Verbs", 1) + `,`,
|
|
|
|
`ShortNames:` + fmt.Sprintf("%v", this.ShortNames) + `,`,
|
2017-08-04 11:13:19 +00:00
|
|
|
`SingularName:` + fmt.Sprintf("%v", this.SingularName) + `,`,
|
|
|
|
`Categories:` + fmt.Sprintf("%v", this.Categories) + `,`,
|
2017-09-26 14:23:09 +00:00
|
|
|
`Group:` + fmt.Sprintf("%v", this.Group) + `,`,
|
|
|
|
`Version:` + fmt.Sprintf("%v", this.Version) + `,`,
|
2017-02-01 00:45:59 +00:00
|
|
|
`}`,
|
|
|
|
}, "")
|
|
|
|
return s
|
|
|
|
}
|
|
|
|
func (this *APIResourceList) String() string {
|
|
|
|
if this == nil {
|
|
|
|
return "nil"
|
|
|
|
}
|
|
|
|
s := strings.Join([]string{`&APIResourceList{`,
|
|
|
|
`GroupVersion:` + fmt.Sprintf("%v", this.GroupVersion) + `,`,
|
|
|
|
`APIResources:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.APIResources), "APIResource", "APIResource", 1), `&`, ``, 1) + `,`,
|
|
|
|
`}`,
|
|
|
|
}, "")
|
|
|
|
return s
|
|
|
|
}
|
|
|
|
func (this *DeleteOptions) String() string {
|
|
|
|
if this == nil {
|
|
|
|
return "nil"
|
|
|
|
}
|
|
|
|
s := strings.Join([]string{`&DeleteOptions{`,
|
|
|
|
`GracePeriodSeconds:` + valueToStringGenerated(this.GracePeriodSeconds) + `,`,
|
|
|
|
`Preconditions:` + strings.Replace(fmt.Sprintf("%v", this.Preconditions), "Preconditions", "Preconditions", 1) + `,`,
|
|
|
|
`OrphanDependents:` + valueToStringGenerated(this.OrphanDependents) + `,`,
|
2017-06-06 07:19:04 +00:00
|
|
|
`PropagationPolicy:` + valueToStringGenerated(this.PropagationPolicy) + `,`,
|
2017-02-01 00:45:59 +00:00
|
|
|
`}`,
|
|
|
|
}, "")
|
|
|
|
return s
|
|
|
|
}
|
|
|
|
func (this *Duration) String() string {
|
|
|
|
if this == nil {
|
|
|
|
return "nil"
|
|
|
|
}
|
|
|
|
s := strings.Join([]string{`&Duration{`,
|
|
|
|
`Duration:` + fmt.Sprintf("%v", this.Duration) + `,`,
|
|
|
|
`}`,
|
|
|
|
}, "")
|
|
|
|
return s
|
|
|
|
}
|
|
|
|
func (this *ExportOptions) String() string {
|
|
|
|
if this == nil {
|
|
|
|
return "nil"
|
|
|
|
}
|
|
|
|
s := strings.Join([]string{`&ExportOptions{`,
|
|
|
|
`Export:` + fmt.Sprintf("%v", this.Export) + `,`,
|
|
|
|
`Exact:` + fmt.Sprintf("%v", this.Exact) + `,`,
|
|
|
|
`}`,
|
|
|
|
}, "")
|
|
|
|
return s
|
|
|
|
}
|
|
|
|
func (this *GetOptions) String() string {
|
|
|
|
if this == nil {
|
|
|
|
return "nil"
|
|
|
|
}
|
|
|
|
s := strings.Join([]string{`&GetOptions{`,
|
|
|
|
`ResourceVersion:` + fmt.Sprintf("%v", this.ResourceVersion) + `,`,
|
2017-08-04 11:13:19 +00:00
|
|
|
`IncludeUninitialized:` + fmt.Sprintf("%v", this.IncludeUninitialized) + `,`,
|
2017-02-01 00:45:59 +00:00
|
|
|
`}`,
|
|
|
|
}, "")
|
|
|
|
return s
|
|
|
|
}
|
|
|
|
func (this *GroupVersionForDiscovery) String() string {
|
|
|
|
if this == nil {
|
|
|
|
return "nil"
|
|
|
|
}
|
|
|
|
s := strings.Join([]string{`&GroupVersionForDiscovery{`,
|
|
|
|
`GroupVersion:` + fmt.Sprintf("%v", this.GroupVersion) + `,`,
|
|
|
|
`Version:` + fmt.Sprintf("%v", this.Version) + `,`,
|
|
|
|
`}`,
|
|
|
|
}, "")
|
|
|
|
return s
|
|
|
|
}
|
2017-08-04 11:13:19 +00:00
|
|
|
func (this *Initializer) String() string {
|
|
|
|
if this == nil {
|
|
|
|
return "nil"
|
|
|
|
}
|
|
|
|
s := strings.Join([]string{`&Initializer{`,
|
|
|
|
`Name:` + fmt.Sprintf("%v", this.Name) + `,`,
|
|
|
|
`}`,
|
|
|
|
}, "")
|
|
|
|
return s
|
|
|
|
}
|
|
|
|
func (this *Initializers) String() string {
|
|
|
|
if this == nil {
|
|
|
|
return "nil"
|
|
|
|
}
|
|
|
|
s := strings.Join([]string{`&Initializers{`,
|
|
|
|
`Pending:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Pending), "Initializer", "Initializer", 1), `&`, ``, 1) + `,`,
|
|
|
|
`Result:` + strings.Replace(fmt.Sprintf("%v", this.Result), "Status", "Status", 1) + `,`,
|
|
|
|
`}`,
|
|
|
|
}, "")
|
|
|
|
return s
|
|
|
|
}
|
2017-02-01 00:45:59 +00:00
|
|
|
func (this *LabelSelector) String() string {
|
|
|
|
if this == nil {
|
|
|
|
return "nil"
|
|
|
|
}
|
|
|
|
keysForMatchLabels := make([]string, 0, len(this.MatchLabels))
|
|
|
|
for k := range this.MatchLabels {
|
|
|
|
keysForMatchLabels = append(keysForMatchLabels, k)
|
|
|
|
}
|
|
|
|
github_com_gogo_protobuf_sortkeys.Strings(keysForMatchLabels)
|
|
|
|
mapStringForMatchLabels := "map[string]string{"
|
|
|
|
for _, k := range keysForMatchLabels {
|
|
|
|
mapStringForMatchLabels += fmt.Sprintf("%v: %v,", k, this.MatchLabels[k])
|
|
|
|
}
|
|
|
|
mapStringForMatchLabels += "}"
|
|
|
|
s := strings.Join([]string{`&LabelSelector{`,
|
|
|
|
`MatchLabels:` + mapStringForMatchLabels + `,`,
|
|
|
|
`MatchExpressions:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.MatchExpressions), "LabelSelectorRequirement", "LabelSelectorRequirement", 1), `&`, ``, 1) + `,`,
|
|
|
|
`}`,
|
|
|
|
}, "")
|
|
|
|
return s
|
|
|
|
}
|
|
|
|
func (this *LabelSelectorRequirement) String() string {
|
|
|
|
if this == nil {
|
|
|
|
return "nil"
|
|
|
|
}
|
|
|
|
s := strings.Join([]string{`&LabelSelectorRequirement{`,
|
|
|
|
`Key:` + fmt.Sprintf("%v", this.Key) + `,`,
|
|
|
|
`Operator:` + fmt.Sprintf("%v", this.Operator) + `,`,
|
|
|
|
`Values:` + fmt.Sprintf("%v", this.Values) + `,`,
|
|
|
|
`}`,
|
|
|
|
}, "")
|
|
|
|
return s
|
|
|
|
}
|
2017-09-26 14:23:09 +00:00
|
|
|
func (this *List) String() string {
|
|
|
|
if this == nil {
|
|
|
|
return "nil"
|
|
|
|
}
|
|
|
|
s := strings.Join([]string{`&List{`,
|
|
|
|
`ListMeta:` + strings.Replace(strings.Replace(this.ListMeta.String(), "ListMeta", "ListMeta", 1), `&`, ``, 1) + `,`,
|
|
|
|
`Items:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Items), "RawExtension", "k8s_io_apimachinery_pkg_runtime.RawExtension", 1), `&`, ``, 1) + `,`,
|
|
|
|
`}`,
|
|
|
|
}, "")
|
|
|
|
return s
|
|
|
|
}
|
2017-02-01 00:45:59 +00:00
|
|
|
func (this *ListMeta) String() string {
|
|
|
|
if this == nil {
|
|
|
|
return "nil"
|
|
|
|
}
|
|
|
|
s := strings.Join([]string{`&ListMeta{`,
|
|
|
|
`SelfLink:` + fmt.Sprintf("%v", this.SelfLink) + `,`,
|
|
|
|
`ResourceVersion:` + fmt.Sprintf("%v", this.ResourceVersion) + `,`,
|
2017-09-26 14:23:09 +00:00
|
|
|
`Continue:` + fmt.Sprintf("%v", this.Continue) + `,`,
|
2017-02-01 00:45:59 +00:00
|
|
|
`}`,
|
|
|
|
}, "")
|
|
|
|
return s
|
|
|
|
}
|
|
|
|
func (this *ListOptions) String() string {
|
|
|
|
if this == nil {
|
|
|
|
return "nil"
|
|
|
|
}
|
|
|
|
s := strings.Join([]string{`&ListOptions{`,
|
|
|
|
`LabelSelector:` + fmt.Sprintf("%v", this.LabelSelector) + `,`,
|
|
|
|
`FieldSelector:` + fmt.Sprintf("%v", this.FieldSelector) + `,`,
|
|
|
|
`Watch:` + fmt.Sprintf("%v", this.Watch) + `,`,
|
|
|
|
`ResourceVersion:` + fmt.Sprintf("%v", this.ResourceVersion) + `,`,
|
|
|
|
`TimeoutSeconds:` + valueToStringGenerated(this.TimeoutSeconds) + `,`,
|
2017-08-04 11:13:19 +00:00
|
|
|
`IncludeUninitialized:` + fmt.Sprintf("%v", this.IncludeUninitialized) + `,`,
|
2017-09-26 14:23:09 +00:00
|
|
|
`Limit:` + fmt.Sprintf("%v", this.Limit) + `,`,
|
|
|
|
`Continue:` + fmt.Sprintf("%v", this.Continue) + `,`,
|
2017-02-01 00:45:59 +00:00
|
|
|
`}`,
|
|
|
|
}, "")
|
|
|
|
return s
|
|
|
|
}
|
|
|
|
func (this *ObjectMeta) String() string {
|
|
|
|
if this == nil {
|
|
|
|
return "nil"
|
|
|
|
}
|
|
|
|
keysForLabels := make([]string, 0, len(this.Labels))
|
|
|
|
for k := range this.Labels {
|
|
|
|
keysForLabels = append(keysForLabels, k)
|
|
|
|
}
|
|
|
|
github_com_gogo_protobuf_sortkeys.Strings(keysForLabels)
|
|
|
|
mapStringForLabels := "map[string]string{"
|
|
|
|
for _, k := range keysForLabels {
|
|
|
|
mapStringForLabels += fmt.Sprintf("%v: %v,", k, this.Labels[k])
|
|
|
|
}
|
|
|
|
mapStringForLabels += "}"
|
|
|
|
keysForAnnotations := make([]string, 0, len(this.Annotations))
|
|
|
|
for k := range this.Annotations {
|
|
|
|
keysForAnnotations = append(keysForAnnotations, k)
|
|
|
|
}
|
|
|
|
github_com_gogo_protobuf_sortkeys.Strings(keysForAnnotations)
|
|
|
|
mapStringForAnnotations := "map[string]string{"
|
|
|
|
for _, k := range keysForAnnotations {
|
|
|
|
mapStringForAnnotations += fmt.Sprintf("%v: %v,", k, this.Annotations[k])
|
|
|
|
}
|
|
|
|
mapStringForAnnotations += "}"
|
|
|
|
s := strings.Join([]string{`&ObjectMeta{`,
|
|
|
|
`Name:` + fmt.Sprintf("%v", this.Name) + `,`,
|
|
|
|
`GenerateName:` + fmt.Sprintf("%v", this.GenerateName) + `,`,
|
|
|
|
`Namespace:` + fmt.Sprintf("%v", this.Namespace) + `,`,
|
|
|
|
`SelfLink:` + fmt.Sprintf("%v", this.SelfLink) + `,`,
|
|
|
|
`UID:` + fmt.Sprintf("%v", this.UID) + `,`,
|
|
|
|
`ResourceVersion:` + fmt.Sprintf("%v", this.ResourceVersion) + `,`,
|
|
|
|
`Generation:` + fmt.Sprintf("%v", this.Generation) + `,`,
|
|
|
|
`CreationTimestamp:` + strings.Replace(strings.Replace(this.CreationTimestamp.String(), "Time", "Time", 1), `&`, ``, 1) + `,`,
|
|
|
|
`DeletionTimestamp:` + strings.Replace(fmt.Sprintf("%v", this.DeletionTimestamp), "Time", "Time", 1) + `,`,
|
|
|
|
`DeletionGracePeriodSeconds:` + valueToStringGenerated(this.DeletionGracePeriodSeconds) + `,`,
|
|
|
|
`Labels:` + mapStringForLabels + `,`,
|
|
|
|
`Annotations:` + mapStringForAnnotations + `,`,
|
|
|
|
`OwnerReferences:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.OwnerReferences), "OwnerReference", "OwnerReference", 1), `&`, ``, 1) + `,`,
|
|
|
|
`Finalizers:` + fmt.Sprintf("%v", this.Finalizers) + `,`,
|
|
|
|
`ClusterName:` + fmt.Sprintf("%v", this.ClusterName) + `,`,
|
2017-08-04 11:13:19 +00:00
|
|
|
`Initializers:` + strings.Replace(fmt.Sprintf("%v", this.Initializers), "Initializers", "Initializers", 1) + `,`,
|
2017-02-01 00:45:59 +00:00
|
|
|
`}`,
|
|
|
|
}, "")
|
|
|
|
return s
|
|
|
|
}
|
|
|
|
func (this *OwnerReference) String() string {
|
|
|
|
if this == nil {
|
|
|
|
return "nil"
|
|
|
|
}
|
|
|
|
s := strings.Join([]string{`&OwnerReference{`,
|
|
|
|
`Kind:` + fmt.Sprintf("%v", this.Kind) + `,`,
|
|
|
|
`Name:` + fmt.Sprintf("%v", this.Name) + `,`,
|
|
|
|
`UID:` + fmt.Sprintf("%v", this.UID) + `,`,
|
|
|
|
`APIVersion:` + fmt.Sprintf("%v", this.APIVersion) + `,`,
|
|
|
|
`Controller:` + valueToStringGenerated(this.Controller) + `,`,
|
2017-06-06 07:19:04 +00:00
|
|
|
`BlockOwnerDeletion:` + valueToStringGenerated(this.BlockOwnerDeletion) + `,`,
|
2017-02-01 00:45:59 +00:00
|
|
|
`}`,
|
|
|
|
}, "")
|
|
|
|
return s
|
|
|
|
}
|
|
|
|
func (this *Preconditions) String() string {
|
|
|
|
if this == nil {
|
|
|
|
return "nil"
|
|
|
|
}
|
|
|
|
s := strings.Join([]string{`&Preconditions{`,
|
|
|
|
`UID:` + valueToStringGenerated(this.UID) + `,`,
|
|
|
|
`}`,
|
|
|
|
}, "")
|
|
|
|
return s
|
|
|
|
}
|
|
|
|
func (this *RootPaths) String() string {
|
|
|
|
if this == nil {
|
|
|
|
return "nil"
|
|
|
|
}
|
|
|
|
s := strings.Join([]string{`&RootPaths{`,
|
|
|
|
`Paths:` + fmt.Sprintf("%v", this.Paths) + `,`,
|
|
|
|
`}`,
|
|
|
|
}, "")
|
|
|
|
return s
|
|
|
|
}
|
|
|
|
func (this *ServerAddressByClientCIDR) String() string {
|
|
|
|
if this == nil {
|
|
|
|
return "nil"
|
|
|
|
}
|
|
|
|
s := strings.Join([]string{`&ServerAddressByClientCIDR{`,
|
|
|
|
`ClientCIDR:` + fmt.Sprintf("%v", this.ClientCIDR) + `,`,
|
|
|
|
`ServerAddress:` + fmt.Sprintf("%v", this.ServerAddress) + `,`,
|
|
|
|
`}`,
|
|
|
|
}, "")
|
|
|
|
return s
|
|
|
|
}
|
|
|
|
func (this *Status) String() string {
|
|
|
|
if this == nil {
|
|
|
|
return "nil"
|
|
|
|
}
|
|
|
|
s := strings.Join([]string{`&Status{`,
|
|
|
|
`ListMeta:` + strings.Replace(strings.Replace(this.ListMeta.String(), "ListMeta", "ListMeta", 1), `&`, ``, 1) + `,`,
|
|
|
|
`Status:` + fmt.Sprintf("%v", this.Status) + `,`,
|
|
|
|
`Message:` + fmt.Sprintf("%v", this.Message) + `,`,
|
|
|
|
`Reason:` + fmt.Sprintf("%v", this.Reason) + `,`,
|
|
|
|
`Details:` + strings.Replace(fmt.Sprintf("%v", this.Details), "StatusDetails", "StatusDetails", 1) + `,`,
|
|
|
|
`Code:` + fmt.Sprintf("%v", this.Code) + `,`,
|
|
|
|
`}`,
|
|
|
|
}, "")
|
|
|
|
return s
|
|
|
|
}
|
|
|
|
func (this *StatusCause) String() string {
|
|
|
|
if this == nil {
|
|
|
|
return "nil"
|
|
|
|
}
|
|
|
|
s := strings.Join([]string{`&StatusCause{`,
|
|
|
|
`Type:` + fmt.Sprintf("%v", this.Type) + `,`,
|
|
|
|
`Message:` + fmt.Sprintf("%v", this.Message) + `,`,
|
|
|
|
`Field:` + fmt.Sprintf("%v", this.Field) + `,`,
|
|
|
|
`}`,
|
|
|
|
}, "")
|
|
|
|
return s
|
|
|
|
}
|
|
|
|
func (this *StatusDetails) String() string {
|
|
|
|
if this == nil {
|
|
|
|
return "nil"
|
|
|
|
}
|
|
|
|
s := strings.Join([]string{`&StatusDetails{`,
|
|
|
|
`Name:` + fmt.Sprintf("%v", this.Name) + `,`,
|
|
|
|
`Group:` + fmt.Sprintf("%v", this.Group) + `,`,
|
|
|
|
`Kind:` + fmt.Sprintf("%v", this.Kind) + `,`,
|
|
|
|
`Causes:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Causes), "StatusCause", "StatusCause", 1), `&`, ``, 1) + `,`,
|
|
|
|
`RetryAfterSeconds:` + fmt.Sprintf("%v", this.RetryAfterSeconds) + `,`,
|
2017-08-04 11:13:19 +00:00
|
|
|
`UID:` + fmt.Sprintf("%v", this.UID) + `,`,
|
2017-02-01 00:45:59 +00:00
|
|
|
`}`,
|
|
|
|
}, "")
|
|
|
|
return s
|
|
|
|
}
|
|
|
|
func (this *Timestamp) String() string {
|
|
|
|
if this == nil {
|
|
|
|
return "nil"
|
|
|
|
}
|
|
|
|
s := strings.Join([]string{`&Timestamp{`,
|
|
|
|
`Seconds:` + fmt.Sprintf("%v", this.Seconds) + `,`,
|
|
|
|
`Nanos:` + fmt.Sprintf("%v", this.Nanos) + `,`,
|
|
|
|
`}`,
|
|
|
|
}, "")
|
|
|
|
return s
|
|
|
|
}
|
|
|
|
func (this *TypeMeta) String() string {
|
|
|
|
if this == nil {
|
|
|
|
return "nil"
|
|
|
|
}
|
|
|
|
s := strings.Join([]string{`&TypeMeta{`,
|
|
|
|
`Kind:` + fmt.Sprintf("%v", this.Kind) + `,`,
|
|
|
|
`APIVersion:` + fmt.Sprintf("%v", this.APIVersion) + `,`,
|
|
|
|
`}`,
|
|
|
|
}, "")
|
|
|
|
return s
|
|
|
|
}
|
|
|
|
func (this *WatchEvent) String() string {
|
|
|
|
if this == nil {
|
|
|
|
return "nil"
|
|
|
|
}
|
|
|
|
s := strings.Join([]string{`&WatchEvent{`,
|
|
|
|
`Type:` + fmt.Sprintf("%v", this.Type) + `,`,
|
|
|
|
`Object:` + strings.Replace(strings.Replace(this.Object.String(), "RawExtension", "k8s_io_apimachinery_pkg_runtime.RawExtension", 1), `&`, ``, 1) + `,`,
|
|
|
|
`}`,
|
|
|
|
}, "")
|
|
|
|
return s
|
|
|
|
}
|
|
|
|
func valueToStringGenerated(v interface{}) string {
|
|
|
|
rv := reflect.ValueOf(v)
|
|
|
|
if rv.IsNil() {
|
|
|
|
return "nil"
|
|
|
|
}
|
|
|
|
pv := reflect.Indirect(rv).Interface()
|
|
|
|
return fmt.Sprintf("*%v", pv)
|
|
|
|
}
|
2017-08-04 11:13:19 +00:00
|
|
|
func (m *APIGroup) Unmarshal(dAtA []byte) error {
|
|
|
|
l := len(dAtA)
|
2017-02-01 00:45:59 +00:00
|
|
|
iNdEx := 0
|
|
|
|
for iNdEx < l {
|
|
|
|
preIndex := iNdEx
|
|
|
|
var wire uint64
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowGenerated
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2017-08-04 11:13:19 +00:00
|
|
|
b := dAtA[iNdEx]
|
2017-02-01 00:45:59 +00:00
|
|
|
iNdEx++
|
|
|
|
wire |= (uint64(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
fieldNum := int32(wire >> 3)
|
|
|
|
wireType := int(wire & 0x7)
|
|
|
|
if wireType == 4 {
|
|
|
|
return fmt.Errorf("proto: APIGroup: wiretype end group for non-group")
|
|
|
|
}
|
|
|
|
if fieldNum <= 0 {
|
|
|
|
return fmt.Errorf("proto: APIGroup: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
|
|
}
|
|
|
|
switch fieldNum {
|
|
|
|
case 1:
|
|
|
|
if wireType != 2 {
|
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType)
|
|
|
|
}
|
|
|
|
var stringLen uint64
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowGenerated
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2017-08-04 11:13:19 +00:00
|
|
|
b := dAtA[iNdEx]
|
2017-02-01 00:45:59 +00:00
|
|
|
iNdEx++
|
|
|
|
stringLen |= (uint64(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
intStringLen := int(stringLen)
|
|
|
|
if intStringLen < 0 {
|
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
|
|
|
postIndex := iNdEx + intStringLen
|
|
|
|
if postIndex > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2017-08-04 11:13:19 +00:00
|
|
|
m.Name = string(dAtA[iNdEx:postIndex])
|
2017-02-01 00:45:59 +00:00
|
|
|
iNdEx = postIndex
|
|
|
|
case 2:
|
|
|
|
if wireType != 2 {
|
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Versions", wireType)
|
|
|
|
}
|
|
|
|
var msglen int
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowGenerated
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2017-08-04 11:13:19 +00:00
|
|
|
b := dAtA[iNdEx]
|
2017-02-01 00:45:59 +00:00
|
|
|
iNdEx++
|
|
|
|
msglen |= (int(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if msglen < 0 {
|
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
|
|
|
postIndex := iNdEx + msglen
|
|
|
|
if postIndex > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
m.Versions = append(m.Versions, GroupVersionForDiscovery{})
|
2017-08-04 11:13:19 +00:00
|
|
|
if err := m.Versions[len(m.Versions)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
2017-02-01 00:45:59 +00:00
|
|
|
return err
|
|
|
|
}
|
|
|
|
iNdEx = postIndex
|
|
|
|
case 3:
|
|
|
|
if wireType != 2 {
|
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field PreferredVersion", wireType)
|
|
|
|
}
|
|
|
|
var msglen int
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowGenerated
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2017-08-04 11:13:19 +00:00
|
|
|
b := dAtA[iNdEx]
|
2017-02-01 00:45:59 +00:00
|
|
|
iNdEx++
|
|
|
|
msglen |= (int(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if msglen < 0 {
|
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
|
|
|
postIndex := iNdEx + msglen
|
|
|
|
if postIndex > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2017-08-04 11:13:19 +00:00
|
|
|
if err := m.PreferredVersion.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
2017-02-01 00:45:59 +00:00
|
|
|
return err
|
|
|
|
}
|
|
|
|
iNdEx = postIndex
|
|
|
|
case 4:
|
|
|
|
if wireType != 2 {
|
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field ServerAddressByClientCIDRs", wireType)
|
|
|
|
}
|
|
|
|
var msglen int
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowGenerated
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2017-08-04 11:13:19 +00:00
|
|
|
b := dAtA[iNdEx]
|
2017-02-01 00:45:59 +00:00
|
|
|
iNdEx++
|
|
|
|
msglen |= (int(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if msglen < 0 {
|
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
|
|
|
postIndex := iNdEx + msglen
|
|
|
|
if postIndex > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
m.ServerAddressByClientCIDRs = append(m.ServerAddressByClientCIDRs, ServerAddressByClientCIDR{})
|
2017-08-04 11:13:19 +00:00
|
|
|
if err := m.ServerAddressByClientCIDRs[len(m.ServerAddressByClientCIDRs)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
2017-02-01 00:45:59 +00:00
|
|
|
return err
|
|
|
|
}
|
|
|
|
iNdEx = postIndex
|
|
|
|
default:
|
|
|
|
iNdEx = preIndex
|
2017-08-04 11:13:19 +00:00
|
|
|
skippy, err := skipGenerated(dAtA[iNdEx:])
|
2017-02-01 00:45:59 +00:00
|
|
|
if err != nil {
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
if skippy < 0 {
|
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
|
|
|
if (iNdEx + skippy) > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
iNdEx += skippy
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
if iNdEx > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
2017-08-04 11:13:19 +00:00
|
|
|
func (m *APIGroupList) Unmarshal(dAtA []byte) error {
|
|
|
|
l := len(dAtA)
|
2017-02-01 00:45:59 +00:00
|
|
|
iNdEx := 0
|
|
|
|
for iNdEx < l {
|
|
|
|
preIndex := iNdEx
|
|
|
|
var wire uint64
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowGenerated
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2017-08-04 11:13:19 +00:00
|
|
|
b := dAtA[iNdEx]
|
2017-02-01 00:45:59 +00:00
|
|
|
iNdEx++
|
|
|
|
wire |= (uint64(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
fieldNum := int32(wire >> 3)
|
|
|
|
wireType := int(wire & 0x7)
|
|
|
|
if wireType == 4 {
|
|
|
|
return fmt.Errorf("proto: APIGroupList: wiretype end group for non-group")
|
|
|
|
}
|
|
|
|
if fieldNum <= 0 {
|
|
|
|
return fmt.Errorf("proto: APIGroupList: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
|
|
}
|
|
|
|
switch fieldNum {
|
|
|
|
case 1:
|
|
|
|
if wireType != 2 {
|
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Groups", wireType)
|
|
|
|
}
|
|
|
|
var msglen int
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowGenerated
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2017-08-04 11:13:19 +00:00
|
|
|
b := dAtA[iNdEx]
|
2017-02-01 00:45:59 +00:00
|
|
|
iNdEx++
|
|
|
|
msglen |= (int(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if msglen < 0 {
|
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
|
|
|
postIndex := iNdEx + msglen
|
|
|
|
if postIndex > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
m.Groups = append(m.Groups, APIGroup{})
|
2017-08-04 11:13:19 +00:00
|
|
|
if err := m.Groups[len(m.Groups)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
2017-02-01 00:45:59 +00:00
|
|
|
return err
|
|
|
|
}
|
|
|
|
iNdEx = postIndex
|
|
|
|
default:
|
|
|
|
iNdEx = preIndex
|
2017-08-04 11:13:19 +00:00
|
|
|
skippy, err := skipGenerated(dAtA[iNdEx:])
|
2017-02-01 00:45:59 +00:00
|
|
|
if err != nil {
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
if skippy < 0 {
|
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
|
|
|
if (iNdEx + skippy) > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
iNdEx += skippy
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
if iNdEx > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
2017-08-04 11:13:19 +00:00
|
|
|
func (m *APIResource) Unmarshal(dAtA []byte) error {
|
|
|
|
l := len(dAtA)
|
2017-02-01 00:45:59 +00:00
|
|
|
iNdEx := 0
|
|
|
|
for iNdEx < l {
|
|
|
|
preIndex := iNdEx
|
|
|
|
var wire uint64
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowGenerated
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2017-08-04 11:13:19 +00:00
|
|
|
b := dAtA[iNdEx]
|
2017-02-01 00:45:59 +00:00
|
|
|
iNdEx++
|
|
|
|
wire |= (uint64(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
fieldNum := int32(wire >> 3)
|
|
|
|
wireType := int(wire & 0x7)
|
|
|
|
if wireType == 4 {
|
|
|
|
return fmt.Errorf("proto: APIResource: wiretype end group for non-group")
|
|
|
|
}
|
|
|
|
if fieldNum <= 0 {
|
|
|
|
return fmt.Errorf("proto: APIResource: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
|
|
}
|
|
|
|
switch fieldNum {
|
|
|
|
case 1:
|
|
|
|
if wireType != 2 {
|
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType)
|
|
|
|
}
|
|
|
|
var stringLen uint64
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowGenerated
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2017-08-04 11:13:19 +00:00
|
|
|
b := dAtA[iNdEx]
|
2017-02-01 00:45:59 +00:00
|
|
|
iNdEx++
|
|
|
|
stringLen |= (uint64(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
intStringLen := int(stringLen)
|
|
|
|
if intStringLen < 0 {
|
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
|
|
|
postIndex := iNdEx + intStringLen
|
|
|
|
if postIndex > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2017-08-04 11:13:19 +00:00
|
|
|
m.Name = string(dAtA[iNdEx:postIndex])
|
2017-02-01 00:45:59 +00:00
|
|
|
iNdEx = postIndex
|
|
|
|
case 2:
|
|
|
|
if wireType != 0 {
|
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Namespaced", wireType)
|
|
|
|
}
|
|
|
|
var v int
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowGenerated
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2017-08-04 11:13:19 +00:00
|
|
|
b := dAtA[iNdEx]
|
2017-02-01 00:45:59 +00:00
|
|
|
iNdEx++
|
|
|
|
v |= (int(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
m.Namespaced = bool(v != 0)
|
|
|
|
case 3:
|
|
|
|
if wireType != 2 {
|
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Kind", wireType)
|
|
|
|
}
|
|
|
|
var stringLen uint64
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowGenerated
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2017-08-04 11:13:19 +00:00
|
|
|
b := dAtA[iNdEx]
|
2017-02-01 00:45:59 +00:00
|
|
|
iNdEx++
|
|
|
|
stringLen |= (uint64(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
intStringLen := int(stringLen)
|
|
|
|
if intStringLen < 0 {
|
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
|
|
|
postIndex := iNdEx + intStringLen
|
|
|
|
if postIndex > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2017-08-04 11:13:19 +00:00
|
|
|
m.Kind = string(dAtA[iNdEx:postIndex])
|
2017-02-01 00:45:59 +00:00
|
|
|
iNdEx = postIndex
|
|
|
|
case 4:
|
|
|
|
if wireType != 2 {
|
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Verbs", wireType)
|
|
|
|
}
|
|
|
|
var msglen int
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowGenerated
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2017-08-04 11:13:19 +00:00
|
|
|
b := dAtA[iNdEx]
|
2017-02-01 00:45:59 +00:00
|
|
|
iNdEx++
|
|
|
|
msglen |= (int(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if msglen < 0 {
|
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
|
|
|
postIndex := iNdEx + msglen
|
|
|
|
if postIndex > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
if m.Verbs == nil {
|
|
|
|
m.Verbs = Verbs{}
|
|
|
|
}
|
2017-08-04 11:13:19 +00:00
|
|
|
if err := m.Verbs.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
2017-02-01 00:45:59 +00:00
|
|
|
return err
|
|
|
|
}
|
|
|
|
iNdEx = postIndex
|
|
|
|
case 5:
|
|
|
|
if wireType != 2 {
|
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field ShortNames", wireType)
|
|
|
|
}
|
|
|
|
var stringLen uint64
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowGenerated
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2017-08-04 11:13:19 +00:00
|
|
|
b := dAtA[iNdEx]
|
|
|
|
iNdEx++
|
|
|
|
stringLen |= (uint64(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
intStringLen := int(stringLen)
|
|
|
|
if intStringLen < 0 {
|
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
|
|
|
postIndex := iNdEx + intStringLen
|
|
|
|
if postIndex > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
m.ShortNames = append(m.ShortNames, string(dAtA[iNdEx:postIndex]))
|
|
|
|
iNdEx = postIndex
|
|
|
|
case 6:
|
|
|
|
if wireType != 2 {
|
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field SingularName", wireType)
|
|
|
|
}
|
|
|
|
var stringLen uint64
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowGenerated
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
b := dAtA[iNdEx]
|
|
|
|
iNdEx++
|
|
|
|
stringLen |= (uint64(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
intStringLen := int(stringLen)
|
|
|
|
if intStringLen < 0 {
|
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
|
|
|
postIndex := iNdEx + intStringLen
|
|
|
|
if postIndex > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
m.SingularName = string(dAtA[iNdEx:postIndex])
|
|
|
|
iNdEx = postIndex
|
|
|
|
case 7:
|
|
|
|
if wireType != 2 {
|
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Categories", wireType)
|
|
|
|
}
|
|
|
|
var stringLen uint64
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowGenerated
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
b := dAtA[iNdEx]
|
2017-02-01 00:45:59 +00:00
|
|
|
iNdEx++
|
|
|
|
stringLen |= (uint64(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
intStringLen := int(stringLen)
|
|
|
|
if intStringLen < 0 {
|
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
|
|
|
postIndex := iNdEx + intStringLen
|
|
|
|
if postIndex > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2017-08-04 11:13:19 +00:00
|
|
|
m.Categories = append(m.Categories, string(dAtA[iNdEx:postIndex]))
|
2017-02-01 00:45:59 +00:00
|
|
|
iNdEx = postIndex
|
2017-09-26 14:23:09 +00:00
|
|
|
case 8:
|
|
|
|
if wireType != 2 {
|
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Group", wireType)
|
|
|
|
}
|
|
|
|
var stringLen uint64
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowGenerated
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
b := dAtA[iNdEx]
|
|
|
|
iNdEx++
|
|
|
|
stringLen |= (uint64(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
intStringLen := int(stringLen)
|
|
|
|
if intStringLen < 0 {
|
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
|
|
|
postIndex := iNdEx + intStringLen
|
|
|
|
if postIndex > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
m.Group = string(dAtA[iNdEx:postIndex])
|
|
|
|
iNdEx = postIndex
|
|
|
|
case 9:
|
|
|
|
if wireType != 2 {
|
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Version", wireType)
|
|
|
|
}
|
|
|
|
var stringLen uint64
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowGenerated
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
b := dAtA[iNdEx]
|
|
|
|
iNdEx++
|
|
|
|
stringLen |= (uint64(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
intStringLen := int(stringLen)
|
|
|
|
if intStringLen < 0 {
|
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
|
|
|
postIndex := iNdEx + intStringLen
|
|
|
|
if postIndex > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
m.Version = string(dAtA[iNdEx:postIndex])
|
|
|
|
iNdEx = postIndex
|
2017-02-01 00:45:59 +00:00
|
|
|
default:
|
|
|
|
iNdEx = preIndex
|
2017-08-04 11:13:19 +00:00
|
|
|
skippy, err := skipGenerated(dAtA[iNdEx:])
|
2017-02-01 00:45:59 +00:00
|
|
|
if err != nil {
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
if skippy < 0 {
|
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
|
|
|
if (iNdEx + skippy) > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
iNdEx += skippy
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
if iNdEx > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
2017-08-04 11:13:19 +00:00
|
|
|
func (m *APIResourceList) Unmarshal(dAtA []byte) error {
|
|
|
|
l := len(dAtA)
|
2017-02-01 00:45:59 +00:00
|
|
|
iNdEx := 0
|
|
|
|
for iNdEx < l {
|
|
|
|
preIndex := iNdEx
|
|
|
|
var wire uint64
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowGenerated
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2017-08-04 11:13:19 +00:00
|
|
|
b := dAtA[iNdEx]
|
2017-02-01 00:45:59 +00:00
|
|
|
iNdEx++
|
|
|
|
wire |= (uint64(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
fieldNum := int32(wire >> 3)
|
|
|
|
wireType := int(wire & 0x7)
|
|
|
|
if wireType == 4 {
|
|
|
|
return fmt.Errorf("proto: APIResourceList: wiretype end group for non-group")
|
|
|
|
}
|
|
|
|
if fieldNum <= 0 {
|
|
|
|
return fmt.Errorf("proto: APIResourceList: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
|
|
}
|
|
|
|
switch fieldNum {
|
|
|
|
case 1:
|
|
|
|
if wireType != 2 {
|
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field GroupVersion", wireType)
|
|
|
|
}
|
|
|
|
var stringLen uint64
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowGenerated
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2017-08-04 11:13:19 +00:00
|
|
|
b := dAtA[iNdEx]
|
2017-02-01 00:45:59 +00:00
|
|
|
iNdEx++
|
|
|
|
stringLen |= (uint64(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
intStringLen := int(stringLen)
|
|
|
|
if intStringLen < 0 {
|
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
|
|
|
postIndex := iNdEx + intStringLen
|
|
|
|
if postIndex > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2017-08-04 11:13:19 +00:00
|
|
|
m.GroupVersion = string(dAtA[iNdEx:postIndex])
|
2017-02-01 00:45:59 +00:00
|
|
|
iNdEx = postIndex
|
|
|
|
case 2:
|
|
|
|
if wireType != 2 {
|
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field APIResources", wireType)
|
|
|
|
}
|
|
|
|
var msglen int
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowGenerated
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2017-08-04 11:13:19 +00:00
|
|
|
b := dAtA[iNdEx]
|
2017-02-01 00:45:59 +00:00
|
|
|
iNdEx++
|
|
|
|
msglen |= (int(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if msglen < 0 {
|
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
|
|
|
postIndex := iNdEx + msglen
|
|
|
|
if postIndex > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
m.APIResources = append(m.APIResources, APIResource{})
|
2017-08-04 11:13:19 +00:00
|
|
|
if err := m.APIResources[len(m.APIResources)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
2017-02-01 00:45:59 +00:00
|
|
|
return err
|
|
|
|
}
|
|
|
|
iNdEx = postIndex
|
|
|
|
default:
|
|
|
|
iNdEx = preIndex
|
2017-08-04 11:13:19 +00:00
|
|
|
skippy, err := skipGenerated(dAtA[iNdEx:])
|
2017-02-01 00:45:59 +00:00
|
|
|
if err != nil {
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
if skippy < 0 {
|
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
|
|
|
if (iNdEx + skippy) > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
iNdEx += skippy
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
if iNdEx > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
2017-08-04 11:13:19 +00:00
|
|
|
func (m *APIVersions) Unmarshal(dAtA []byte) error {
|
|
|
|
l := len(dAtA)
|
2017-02-01 00:45:59 +00:00
|
|
|
iNdEx := 0
|
|
|
|
for iNdEx < l {
|
|
|
|
preIndex := iNdEx
|
|
|
|
var wire uint64
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowGenerated
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2017-08-04 11:13:19 +00:00
|
|
|
b := dAtA[iNdEx]
|
2017-02-01 00:45:59 +00:00
|
|
|
iNdEx++
|
|
|
|
wire |= (uint64(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
fieldNum := int32(wire >> 3)
|
|
|
|
wireType := int(wire & 0x7)
|
|
|
|
if wireType == 4 {
|
|
|
|
return fmt.Errorf("proto: APIVersions: wiretype end group for non-group")
|
|
|
|
}
|
|
|
|
if fieldNum <= 0 {
|
|
|
|
return fmt.Errorf("proto: APIVersions: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
|
|
}
|
|
|
|
switch fieldNum {
|
|
|
|
case 1:
|
|
|
|
if wireType != 2 {
|
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Versions", wireType)
|
|
|
|
}
|
|
|
|
var stringLen uint64
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowGenerated
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2017-08-04 11:13:19 +00:00
|
|
|
b := dAtA[iNdEx]
|
2017-02-01 00:45:59 +00:00
|
|
|
iNdEx++
|
|
|
|
stringLen |= (uint64(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
intStringLen := int(stringLen)
|
|
|
|
if intStringLen < 0 {
|
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
|
|
|
postIndex := iNdEx + intStringLen
|
|
|
|
if postIndex > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2017-08-04 11:13:19 +00:00
|
|
|
m.Versions = append(m.Versions, string(dAtA[iNdEx:postIndex]))
|
2017-02-01 00:45:59 +00:00
|
|
|
iNdEx = postIndex
|
|
|
|
case 2:
|
|
|
|
if wireType != 2 {
|
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field ServerAddressByClientCIDRs", wireType)
|
|
|
|
}
|
|
|
|
var msglen int
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowGenerated
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2017-08-04 11:13:19 +00:00
|
|
|
b := dAtA[iNdEx]
|
2017-02-01 00:45:59 +00:00
|
|
|
iNdEx++
|
|
|
|
msglen |= (int(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if msglen < 0 {
|
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
|
|
|
postIndex := iNdEx + msglen
|
|
|
|
if postIndex > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
m.ServerAddressByClientCIDRs = append(m.ServerAddressByClientCIDRs, ServerAddressByClientCIDR{})
|
2017-08-04 11:13:19 +00:00
|
|
|
if err := m.ServerAddressByClientCIDRs[len(m.ServerAddressByClientCIDRs)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
2017-02-01 00:45:59 +00:00
|
|
|
return err
|
|
|
|
}
|
|
|
|
iNdEx = postIndex
|
|
|
|
default:
|
|
|
|
iNdEx = preIndex
|
2017-08-04 11:13:19 +00:00
|
|
|
skippy, err := skipGenerated(dAtA[iNdEx:])
|
2017-02-01 00:45:59 +00:00
|
|
|
if err != nil {
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
if skippy < 0 {
|
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
|
|
|
if (iNdEx + skippy) > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
iNdEx += skippy
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
if iNdEx > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
2017-08-04 11:13:19 +00:00
|
|
|
func (m *DeleteOptions) Unmarshal(dAtA []byte) error {
|
|
|
|
l := len(dAtA)
|
2017-02-01 00:45:59 +00:00
|
|
|
iNdEx := 0
|
|
|
|
for iNdEx < l {
|
|
|
|
preIndex := iNdEx
|
|
|
|
var wire uint64
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowGenerated
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2017-08-04 11:13:19 +00:00
|
|
|
b := dAtA[iNdEx]
|
2017-02-01 00:45:59 +00:00
|
|
|
iNdEx++
|
|
|
|
wire |= (uint64(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
fieldNum := int32(wire >> 3)
|
|
|
|
wireType := int(wire & 0x7)
|
|
|
|
if wireType == 4 {
|
|
|
|
return fmt.Errorf("proto: DeleteOptions: wiretype end group for non-group")
|
|
|
|
}
|
|
|
|
if fieldNum <= 0 {
|
|
|
|
return fmt.Errorf("proto: DeleteOptions: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
|
|
}
|
|
|
|
switch fieldNum {
|
|
|
|
case 1:
|
|
|
|
if wireType != 0 {
|
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field GracePeriodSeconds", wireType)
|
|
|
|
}
|
|
|
|
var v int64
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowGenerated
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2017-08-04 11:13:19 +00:00
|
|
|
b := dAtA[iNdEx]
|
2017-02-01 00:45:59 +00:00
|
|
|
iNdEx++
|
|
|
|
v |= (int64(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
m.GracePeriodSeconds = &v
|
|
|
|
case 2:
|
|
|
|
if wireType != 2 {
|
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Preconditions", wireType)
|
|
|
|
}
|
|
|
|
var msglen int
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowGenerated
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2017-08-04 11:13:19 +00:00
|
|
|
b := dAtA[iNdEx]
|
2017-02-01 00:45:59 +00:00
|
|
|
iNdEx++
|
|
|
|
msglen |= (int(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if msglen < 0 {
|
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
|
|
|
postIndex := iNdEx + msglen
|
|
|
|
if postIndex > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
if m.Preconditions == nil {
|
|
|
|
m.Preconditions = &Preconditions{}
|
|
|
|
}
|
2017-08-04 11:13:19 +00:00
|
|
|
if err := m.Preconditions.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
2017-02-01 00:45:59 +00:00
|
|
|
return err
|
|
|
|
}
|
|
|
|
iNdEx = postIndex
|
|
|
|
case 3:
|
|
|
|
if wireType != 0 {
|
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field OrphanDependents", wireType)
|
|
|
|
}
|
|
|
|
var v int
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowGenerated
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2017-08-04 11:13:19 +00:00
|
|
|
b := dAtA[iNdEx]
|
2017-02-01 00:45:59 +00:00
|
|
|
iNdEx++
|
|
|
|
v |= (int(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
b := bool(v != 0)
|
|
|
|
m.OrphanDependents = &b
|
2017-06-06 07:19:04 +00:00
|
|
|
case 4:
|
|
|
|
if wireType != 2 {
|
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field PropagationPolicy", wireType)
|
|
|
|
}
|
|
|
|
var stringLen uint64
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowGenerated
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2017-08-04 11:13:19 +00:00
|
|
|
b := dAtA[iNdEx]
|
2017-06-06 07:19:04 +00:00
|
|
|
iNdEx++
|
|
|
|
stringLen |= (uint64(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
intStringLen := int(stringLen)
|
|
|
|
if intStringLen < 0 {
|
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
|
|
|
postIndex := iNdEx + intStringLen
|
|
|
|
if postIndex > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2017-08-04 11:13:19 +00:00
|
|
|
s := DeletionPropagation(dAtA[iNdEx:postIndex])
|
2017-06-06 07:19:04 +00:00
|
|
|
m.PropagationPolicy = &s
|
|
|
|
iNdEx = postIndex
|
2017-02-01 00:45:59 +00:00
|
|
|
default:
|
|
|
|
iNdEx = preIndex
|
2017-08-04 11:13:19 +00:00
|
|
|
skippy, err := skipGenerated(dAtA[iNdEx:])
|
2017-02-01 00:45:59 +00:00
|
|
|
if err != nil {
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
if skippy < 0 {
|
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
|
|
|
if (iNdEx + skippy) > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
iNdEx += skippy
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
if iNdEx > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
2017-08-04 11:13:19 +00:00
|
|
|
func (m *Duration) Unmarshal(dAtA []byte) error {
|
|
|
|
l := len(dAtA)
|
2017-02-01 00:45:59 +00:00
|
|
|
iNdEx := 0
|
|
|
|
for iNdEx < l {
|
|
|
|
preIndex := iNdEx
|
|
|
|
var wire uint64
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowGenerated
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2017-08-04 11:13:19 +00:00
|
|
|
b := dAtA[iNdEx]
|
2017-02-01 00:45:59 +00:00
|
|
|
iNdEx++
|
|
|
|
wire |= (uint64(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
fieldNum := int32(wire >> 3)
|
|
|
|
wireType := int(wire & 0x7)
|
|
|
|
if wireType == 4 {
|
|
|
|
return fmt.Errorf("proto: Duration: wiretype end group for non-group")
|
|
|
|
}
|
|
|
|
if fieldNum <= 0 {
|
|
|
|
return fmt.Errorf("proto: Duration: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
|
|
}
|
|
|
|
switch fieldNum {
|
|
|
|
case 1:
|
|
|
|
if wireType != 0 {
|
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Duration", wireType)
|
|
|
|
}
|
|
|
|
m.Duration = 0
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowGenerated
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2017-08-04 11:13:19 +00:00
|
|
|
b := dAtA[iNdEx]
|
2017-02-01 00:45:59 +00:00
|
|
|
iNdEx++
|
|
|
|
m.Duration |= (time.Duration(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
default:
|
|
|
|
iNdEx = preIndex
|
2017-08-04 11:13:19 +00:00
|
|
|
skippy, err := skipGenerated(dAtA[iNdEx:])
|
2017-02-01 00:45:59 +00:00
|
|
|
if err != nil {
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
if skippy < 0 {
|
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
|
|
|
if (iNdEx + skippy) > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
iNdEx += skippy
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
if iNdEx > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
2017-08-04 11:13:19 +00:00
|
|
|
func (m *ExportOptions) Unmarshal(dAtA []byte) error {
|
|
|
|
l := len(dAtA)
|
2017-02-01 00:45:59 +00:00
|
|
|
iNdEx := 0
|
|
|
|
for iNdEx < l {
|
|
|
|
preIndex := iNdEx
|
|
|
|
var wire uint64
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowGenerated
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2017-08-04 11:13:19 +00:00
|
|
|
b := dAtA[iNdEx]
|
2017-02-01 00:45:59 +00:00
|
|
|
iNdEx++
|
|
|
|
wire |= (uint64(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
fieldNum := int32(wire >> 3)
|
|
|
|
wireType := int(wire & 0x7)
|
|
|
|
if wireType == 4 {
|
|
|
|
return fmt.Errorf("proto: ExportOptions: wiretype end group for non-group")
|
|
|
|
}
|
|
|
|
if fieldNum <= 0 {
|
|
|
|
return fmt.Errorf("proto: ExportOptions: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
|
|
}
|
|
|
|
switch fieldNum {
|
|
|
|
case 1:
|
|
|
|
if wireType != 0 {
|
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Export", wireType)
|
|
|
|
}
|
|
|
|
var v int
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowGenerated
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2017-08-04 11:13:19 +00:00
|
|
|
b := dAtA[iNdEx]
|
2017-02-01 00:45:59 +00:00
|
|
|
iNdEx++
|
|
|
|
v |= (int(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
m.Export = bool(v != 0)
|
|
|
|
case 2:
|
|
|
|
if wireType != 0 {
|
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Exact", wireType)
|
|
|
|
}
|
|
|
|
var v int
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowGenerated
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2017-08-04 11:13:19 +00:00
|
|
|
b := dAtA[iNdEx]
|
2017-02-01 00:45:59 +00:00
|
|
|
iNdEx++
|
|
|
|
v |= (int(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
m.Exact = bool(v != 0)
|
|
|
|
default:
|
|
|
|
iNdEx = preIndex
|
2017-08-04 11:13:19 +00:00
|
|
|
skippy, err := skipGenerated(dAtA[iNdEx:])
|
2017-02-01 00:45:59 +00:00
|
|
|
if err != nil {
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
if skippy < 0 {
|
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
|
|
|
if (iNdEx + skippy) > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
iNdEx += skippy
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
if iNdEx > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
2017-08-04 11:13:19 +00:00
|
|
|
func (m *GetOptions) Unmarshal(dAtA []byte) error {
|
|
|
|
l := len(dAtA)
|
2017-02-01 00:45:59 +00:00
|
|
|
iNdEx := 0
|
|
|
|
for iNdEx < l {
|
|
|
|
preIndex := iNdEx
|
|
|
|
var wire uint64
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowGenerated
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2017-08-04 11:13:19 +00:00
|
|
|
b := dAtA[iNdEx]
|
2017-02-01 00:45:59 +00:00
|
|
|
iNdEx++
|
|
|
|
wire |= (uint64(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
fieldNum := int32(wire >> 3)
|
|
|
|
wireType := int(wire & 0x7)
|
|
|
|
if wireType == 4 {
|
|
|
|
return fmt.Errorf("proto: GetOptions: wiretype end group for non-group")
|
|
|
|
}
|
|
|
|
if fieldNum <= 0 {
|
|
|
|
return fmt.Errorf("proto: GetOptions: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
|
|
}
|
|
|
|
switch fieldNum {
|
|
|
|
case 1:
|
|
|
|
if wireType != 2 {
|
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field ResourceVersion", wireType)
|
|
|
|
}
|
|
|
|
var stringLen uint64
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowGenerated
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2017-08-04 11:13:19 +00:00
|
|
|
b := dAtA[iNdEx]
|
2017-02-01 00:45:59 +00:00
|
|
|
iNdEx++
|
|
|
|
stringLen |= (uint64(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
intStringLen := int(stringLen)
|
|
|
|
if intStringLen < 0 {
|
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
|
|
|
postIndex := iNdEx + intStringLen
|
|
|
|
if postIndex > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2017-08-04 11:13:19 +00:00
|
|
|
m.ResourceVersion = string(dAtA[iNdEx:postIndex])
|
2017-02-01 00:45:59 +00:00
|
|
|
iNdEx = postIndex
|
2017-08-04 11:13:19 +00:00
|
|
|
case 2:
|
|
|
|
if wireType != 0 {
|
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field IncludeUninitialized", wireType)
|
|
|
|
}
|
|
|
|
var v int
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowGenerated
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
b := dAtA[iNdEx]
|
|
|
|
iNdEx++
|
|
|
|
v |= (int(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
m.IncludeUninitialized = bool(v != 0)
|
2017-02-01 00:45:59 +00:00
|
|
|
default:
|
|
|
|
iNdEx = preIndex
|
2017-08-04 11:13:19 +00:00
|
|
|
skippy, err := skipGenerated(dAtA[iNdEx:])
|
2017-02-01 00:45:59 +00:00
|
|
|
if err != nil {
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
if skippy < 0 {
|
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
|
|
|
if (iNdEx + skippy) > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
iNdEx += skippy
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
if iNdEx > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
2017-08-04 11:13:19 +00:00
|
|
|
func (m *GroupKind) Unmarshal(dAtA []byte) error {
|
|
|
|
l := len(dAtA)
|
2017-02-01 00:45:59 +00:00
|
|
|
iNdEx := 0
|
|
|
|
for iNdEx < l {
|
|
|
|
preIndex := iNdEx
|
|
|
|
var wire uint64
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowGenerated
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2017-08-04 11:13:19 +00:00
|
|
|
b := dAtA[iNdEx]
|
2017-02-01 00:45:59 +00:00
|
|
|
iNdEx++
|
|
|
|
wire |= (uint64(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
fieldNum := int32(wire >> 3)
|
|
|
|
wireType := int(wire & 0x7)
|
|
|
|
if wireType == 4 {
|
|
|
|
return fmt.Errorf("proto: GroupKind: wiretype end group for non-group")
|
|
|
|
}
|
|
|
|
if fieldNum <= 0 {
|
|
|
|
return fmt.Errorf("proto: GroupKind: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
|
|
}
|
|
|
|
switch fieldNum {
|
|
|
|
case 1:
|
|
|
|
if wireType != 2 {
|
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Group", wireType)
|
|
|
|
}
|
|
|
|
var stringLen uint64
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowGenerated
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2017-08-04 11:13:19 +00:00
|
|
|
b := dAtA[iNdEx]
|
2017-02-01 00:45:59 +00:00
|
|
|
iNdEx++
|
|
|
|
stringLen |= (uint64(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
intStringLen := int(stringLen)
|
|
|
|
if intStringLen < 0 {
|
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
|
|
|
postIndex := iNdEx + intStringLen
|
|
|
|
if postIndex > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2017-08-04 11:13:19 +00:00
|
|
|
m.Group = string(dAtA[iNdEx:postIndex])
|
2017-02-01 00:45:59 +00:00
|
|
|
iNdEx = postIndex
|
|
|
|
case 2:
|
|
|
|
if wireType != 2 {
|
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Kind", wireType)
|
|
|
|
}
|
|
|
|
var stringLen uint64
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowGenerated
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2017-08-04 11:13:19 +00:00
|
|
|
b := dAtA[iNdEx]
|
2017-02-01 00:45:59 +00:00
|
|
|
iNdEx++
|
|
|
|
stringLen |= (uint64(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
intStringLen := int(stringLen)
|
|
|
|
if intStringLen < 0 {
|
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
|
|
|
postIndex := iNdEx + intStringLen
|
|
|
|
if postIndex > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2017-08-04 11:13:19 +00:00
|
|
|
m.Kind = string(dAtA[iNdEx:postIndex])
|
2017-02-01 00:45:59 +00:00
|
|
|
iNdEx = postIndex
|
|
|
|
default:
|
|
|
|
iNdEx = preIndex
|
2017-08-04 11:13:19 +00:00
|
|
|
skippy, err := skipGenerated(dAtA[iNdEx:])
|
2017-02-01 00:45:59 +00:00
|
|
|
if err != nil {
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
if skippy < 0 {
|
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
|
|
|
if (iNdEx + skippy) > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
iNdEx += skippy
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
if iNdEx > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
2017-08-04 11:13:19 +00:00
|
|
|
func (m *GroupResource) Unmarshal(dAtA []byte) error {
|
|
|
|
l := len(dAtA)
|
2017-02-01 00:45:59 +00:00
|
|
|
iNdEx := 0
|
|
|
|
for iNdEx < l {
|
|
|
|
preIndex := iNdEx
|
|
|
|
var wire uint64
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowGenerated
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2017-08-04 11:13:19 +00:00
|
|
|
b := dAtA[iNdEx]
|
2017-02-01 00:45:59 +00:00
|
|
|
iNdEx++
|
|
|
|
wire |= (uint64(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
fieldNum := int32(wire >> 3)
|
|
|
|
wireType := int(wire & 0x7)
|
|
|
|
if wireType == 4 {
|
|
|
|
return fmt.Errorf("proto: GroupResource: wiretype end group for non-group")
|
|
|
|
}
|
|
|
|
if fieldNum <= 0 {
|
|
|
|
return fmt.Errorf("proto: GroupResource: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
|
|
}
|
|
|
|
switch fieldNum {
|
|
|
|
case 1:
|
|
|
|
if wireType != 2 {
|
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Group", wireType)
|
|
|
|
}
|
|
|
|
var stringLen uint64
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowGenerated
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2017-08-04 11:13:19 +00:00
|
|
|
b := dAtA[iNdEx]
|
2017-02-01 00:45:59 +00:00
|
|
|
iNdEx++
|
|
|
|
stringLen |= (uint64(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
intStringLen := int(stringLen)
|
|
|
|
if intStringLen < 0 {
|
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
|
|
|
postIndex := iNdEx + intStringLen
|
|
|
|
if postIndex > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2017-08-04 11:13:19 +00:00
|
|
|
m.Group = string(dAtA[iNdEx:postIndex])
|
2017-02-01 00:45:59 +00:00
|
|
|
iNdEx = postIndex
|
|
|
|
case 2:
|
|
|
|
if wireType != 2 {
|
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Resource", wireType)
|
|
|
|
}
|
|
|
|
var stringLen uint64
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowGenerated
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2017-08-04 11:13:19 +00:00
|
|
|
b := dAtA[iNdEx]
|
2017-02-01 00:45:59 +00:00
|
|
|
iNdEx++
|
|
|
|
stringLen |= (uint64(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
intStringLen := int(stringLen)
|
|
|
|
if intStringLen < 0 {
|
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
|
|
|
postIndex := iNdEx + intStringLen
|
|
|
|
if postIndex > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2017-08-04 11:13:19 +00:00
|
|
|
m.Resource = string(dAtA[iNdEx:postIndex])
|
2017-02-01 00:45:59 +00:00
|
|
|
iNdEx = postIndex
|
|
|
|
default:
|
|
|
|
iNdEx = preIndex
|
2017-08-04 11:13:19 +00:00
|
|
|
skippy, err := skipGenerated(dAtA[iNdEx:])
|
2017-02-01 00:45:59 +00:00
|
|
|
if err != nil {
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
if skippy < 0 {
|
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
|
|
|
if (iNdEx + skippy) > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
iNdEx += skippy
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
if iNdEx > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
2017-08-04 11:13:19 +00:00
|
|
|
func (m *GroupVersion) Unmarshal(dAtA []byte) error {
|
|
|
|
l := len(dAtA)
|
2017-02-01 00:45:59 +00:00
|
|
|
iNdEx := 0
|
|
|
|
for iNdEx < l {
|
|
|
|
preIndex := iNdEx
|
|
|
|
var wire uint64
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowGenerated
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2017-08-04 11:13:19 +00:00
|
|
|
b := dAtA[iNdEx]
|
2017-02-01 00:45:59 +00:00
|
|
|
iNdEx++
|
|
|
|
wire |= (uint64(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
fieldNum := int32(wire >> 3)
|
|
|
|
wireType := int(wire & 0x7)
|
|
|
|
if wireType == 4 {
|
|
|
|
return fmt.Errorf("proto: GroupVersion: wiretype end group for non-group")
|
|
|
|
}
|
|
|
|
if fieldNum <= 0 {
|
|
|
|
return fmt.Errorf("proto: GroupVersion: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
|
|
}
|
|
|
|
switch fieldNum {
|
|
|
|
case 1:
|
|
|
|
if wireType != 2 {
|
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Group", wireType)
|
|
|
|
}
|
|
|
|
var stringLen uint64
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowGenerated
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2017-08-04 11:13:19 +00:00
|
|
|
b := dAtA[iNdEx]
|
2017-02-01 00:45:59 +00:00
|
|
|
iNdEx++
|
|
|
|
stringLen |= (uint64(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
intStringLen := int(stringLen)
|
|
|
|
if intStringLen < 0 {
|
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
|
|
|
postIndex := iNdEx + intStringLen
|
|
|
|
if postIndex > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2017-08-04 11:13:19 +00:00
|
|
|
m.Group = string(dAtA[iNdEx:postIndex])
|
2017-02-01 00:45:59 +00:00
|
|
|
iNdEx = postIndex
|
|
|
|
case 2:
|
|
|
|
if wireType != 2 {
|
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Version", wireType)
|
|
|
|
}
|
|
|
|
var stringLen uint64
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowGenerated
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2017-08-04 11:13:19 +00:00
|
|
|
b := dAtA[iNdEx]
|
2017-02-01 00:45:59 +00:00
|
|
|
iNdEx++
|
|
|
|
stringLen |= (uint64(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
intStringLen := int(stringLen)
|
|
|
|
if intStringLen < 0 {
|
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
|
|
|
postIndex := iNdEx + intStringLen
|
|
|
|
if postIndex > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2017-08-04 11:13:19 +00:00
|
|
|
m.Version = string(dAtA[iNdEx:postIndex])
|
2017-02-01 00:45:59 +00:00
|
|
|
iNdEx = postIndex
|
|
|
|
default:
|
|
|
|
iNdEx = preIndex
|
2017-08-04 11:13:19 +00:00
|
|
|
skippy, err := skipGenerated(dAtA[iNdEx:])
|
2017-02-01 00:45:59 +00:00
|
|
|
if err != nil {
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
if skippy < 0 {
|
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
|
|
|
if (iNdEx + skippy) > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
iNdEx += skippy
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
if iNdEx > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
2017-08-04 11:13:19 +00:00
|
|
|
func (m *GroupVersionForDiscovery) Unmarshal(dAtA []byte) error {
|
|
|
|
l := len(dAtA)
|
2017-02-01 00:45:59 +00:00
|
|
|
iNdEx := 0
|
|
|
|
for iNdEx < l {
|
|
|
|
preIndex := iNdEx
|
|
|
|
var wire uint64
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowGenerated
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2017-08-04 11:13:19 +00:00
|
|
|
b := dAtA[iNdEx]
|
2017-02-01 00:45:59 +00:00
|
|
|
iNdEx++
|
|
|
|
wire |= (uint64(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
fieldNum := int32(wire >> 3)
|
|
|
|
wireType := int(wire & 0x7)
|
|
|
|
if wireType == 4 {
|
|
|
|
return fmt.Errorf("proto: GroupVersionForDiscovery: wiretype end group for non-group")
|
|
|
|
}
|
|
|
|
if fieldNum <= 0 {
|
|
|
|
return fmt.Errorf("proto: GroupVersionForDiscovery: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
|
|
}
|
|
|
|
switch fieldNum {
|
|
|
|
case 1:
|
|
|
|
if wireType != 2 {
|
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field GroupVersion", wireType)
|
|
|
|
}
|
|
|
|
var stringLen uint64
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowGenerated
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2017-08-04 11:13:19 +00:00
|
|
|
b := dAtA[iNdEx]
|
2017-02-01 00:45:59 +00:00
|
|
|
iNdEx++
|
|
|
|
stringLen |= (uint64(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
intStringLen := int(stringLen)
|
|
|
|
if intStringLen < 0 {
|
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
|
|
|
postIndex := iNdEx + intStringLen
|
|
|
|
if postIndex > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2017-08-04 11:13:19 +00:00
|
|
|
m.GroupVersion = string(dAtA[iNdEx:postIndex])
|
2017-02-01 00:45:59 +00:00
|
|
|
iNdEx = postIndex
|
|
|
|
case 2:
|
|
|
|
if wireType != 2 {
|
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Version", wireType)
|
|
|
|
}
|
|
|
|
var stringLen uint64
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowGenerated
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2017-08-04 11:13:19 +00:00
|
|
|
b := dAtA[iNdEx]
|
2017-02-01 00:45:59 +00:00
|
|
|
iNdEx++
|
|
|
|
stringLen |= (uint64(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
intStringLen := int(stringLen)
|
|
|
|
if intStringLen < 0 {
|
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
|
|
|
postIndex := iNdEx + intStringLen
|
|
|
|
if postIndex > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2017-08-04 11:13:19 +00:00
|
|
|
m.Version = string(dAtA[iNdEx:postIndex])
|
2017-02-01 00:45:59 +00:00
|
|
|
iNdEx = postIndex
|
|
|
|
default:
|
|
|
|
iNdEx = preIndex
|
2017-08-04 11:13:19 +00:00
|
|
|
skippy, err := skipGenerated(dAtA[iNdEx:])
|
2017-02-01 00:45:59 +00:00
|
|
|
if err != nil {
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
if skippy < 0 {
|
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
|
|
|
if (iNdEx + skippy) > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
iNdEx += skippy
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
if iNdEx > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
2017-08-04 11:13:19 +00:00
|
|
|
func (m *GroupVersionKind) Unmarshal(dAtA []byte) error {
|
|
|
|
l := len(dAtA)
|
2017-02-01 00:45:59 +00:00
|
|
|
iNdEx := 0
|
|
|
|
for iNdEx < l {
|
|
|
|
preIndex := iNdEx
|
|
|
|
var wire uint64
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowGenerated
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2017-08-04 11:13:19 +00:00
|
|
|
b := dAtA[iNdEx]
|
2017-02-01 00:45:59 +00:00
|
|
|
iNdEx++
|
|
|
|
wire |= (uint64(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
fieldNum := int32(wire >> 3)
|
|
|
|
wireType := int(wire & 0x7)
|
|
|
|
if wireType == 4 {
|
|
|
|
return fmt.Errorf("proto: GroupVersionKind: wiretype end group for non-group")
|
|
|
|
}
|
|
|
|
if fieldNum <= 0 {
|
|
|
|
return fmt.Errorf("proto: GroupVersionKind: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
|
|
}
|
|
|
|
switch fieldNum {
|
|
|
|
case 1:
|
|
|
|
if wireType != 2 {
|
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Group", wireType)
|
|
|
|
}
|
|
|
|
var stringLen uint64
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowGenerated
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2017-08-04 11:13:19 +00:00
|
|
|
b := dAtA[iNdEx]
|
2017-02-01 00:45:59 +00:00
|
|
|
iNdEx++
|
|
|
|
stringLen |= (uint64(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
intStringLen := int(stringLen)
|
|
|
|
if intStringLen < 0 {
|
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
|
|
|
postIndex := iNdEx + intStringLen
|
|
|
|
if postIndex > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2017-08-04 11:13:19 +00:00
|
|
|
m.Group = string(dAtA[iNdEx:postIndex])
|
2017-02-01 00:45:59 +00:00
|
|
|
iNdEx = postIndex
|
|
|
|
case 2:
|
|
|
|
if wireType != 2 {
|
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Version", wireType)
|
|
|
|
}
|
|
|
|
var stringLen uint64
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowGenerated
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2017-08-04 11:13:19 +00:00
|
|
|
b := dAtA[iNdEx]
|
2017-02-01 00:45:59 +00:00
|
|
|
iNdEx++
|
|
|
|
stringLen |= (uint64(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
intStringLen := int(stringLen)
|
|
|
|
if intStringLen < 0 {
|
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
|
|
|
postIndex := iNdEx + intStringLen
|
|
|
|
if postIndex > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2017-08-04 11:13:19 +00:00
|
|
|
m.Version = string(dAtA[iNdEx:postIndex])
|
2017-02-01 00:45:59 +00:00
|
|
|
iNdEx = postIndex
|
|
|
|
case 3:
|
|
|
|
if wireType != 2 {
|
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Kind", wireType)
|
|
|
|
}
|
|
|
|
var stringLen uint64
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowGenerated
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2017-08-04 11:13:19 +00:00
|
|
|
b := dAtA[iNdEx]
|
2017-02-01 00:45:59 +00:00
|
|
|
iNdEx++
|
|
|
|
stringLen |= (uint64(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
intStringLen := int(stringLen)
|
|
|
|
if intStringLen < 0 {
|
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
|
|
|
postIndex := iNdEx + intStringLen
|
|
|
|
if postIndex > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2017-08-04 11:13:19 +00:00
|
|
|
m.Kind = string(dAtA[iNdEx:postIndex])
|
2017-02-01 00:45:59 +00:00
|
|
|
iNdEx = postIndex
|
|
|
|
default:
|
|
|
|
iNdEx = preIndex
|
2017-08-04 11:13:19 +00:00
|
|
|
skippy, err := skipGenerated(dAtA[iNdEx:])
|
2017-02-01 00:45:59 +00:00
|
|
|
if err != nil {
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
if skippy < 0 {
|
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
|
|
|
if (iNdEx + skippy) > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
iNdEx += skippy
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
if iNdEx > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
2017-08-04 11:13:19 +00:00
|
|
|
func (m *GroupVersionResource) Unmarshal(dAtA []byte) error {
|
|
|
|
l := len(dAtA)
|
2017-02-01 00:45:59 +00:00
|
|
|
iNdEx := 0
|
|
|
|
for iNdEx < l {
|
|
|
|
preIndex := iNdEx
|
|
|
|
var wire uint64
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowGenerated
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2017-08-04 11:13:19 +00:00
|
|
|
b := dAtA[iNdEx]
|
2017-02-01 00:45:59 +00:00
|
|
|
iNdEx++
|
|
|
|
wire |= (uint64(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
fieldNum := int32(wire >> 3)
|
|
|
|
wireType := int(wire & 0x7)
|
|
|
|
if wireType == 4 {
|
|
|
|
return fmt.Errorf("proto: GroupVersionResource: wiretype end group for non-group")
|
|
|
|
}
|
|
|
|
if fieldNum <= 0 {
|
|
|
|
return fmt.Errorf("proto: GroupVersionResource: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
|
|
}
|
|
|
|
switch fieldNum {
|
|
|
|
case 1:
|
|
|
|
if wireType != 2 {
|
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Group", wireType)
|
|
|
|
}
|
|
|
|
var stringLen uint64
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowGenerated
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2017-08-04 11:13:19 +00:00
|
|
|
b := dAtA[iNdEx]
|
2017-02-01 00:45:59 +00:00
|
|
|
iNdEx++
|
|
|
|
stringLen |= (uint64(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
intStringLen := int(stringLen)
|
|
|
|
if intStringLen < 0 {
|
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
|
|
|
postIndex := iNdEx + intStringLen
|
|
|
|
if postIndex > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2017-08-04 11:13:19 +00:00
|
|
|
m.Group = string(dAtA[iNdEx:postIndex])
|
2017-02-01 00:45:59 +00:00
|
|
|
iNdEx = postIndex
|
|
|
|
case 2:
|
|
|
|
if wireType != 2 {
|
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Version", wireType)
|
|
|
|
}
|
|
|
|
var stringLen uint64
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowGenerated
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2017-08-04 11:13:19 +00:00
|
|
|
b := dAtA[iNdEx]
|
2017-02-01 00:45:59 +00:00
|
|
|
iNdEx++
|
|
|
|
stringLen |= (uint64(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
intStringLen := int(stringLen)
|
|
|
|
if intStringLen < 0 {
|
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
|
|
|
postIndex := iNdEx + intStringLen
|
|
|
|
if postIndex > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2017-08-04 11:13:19 +00:00
|
|
|
m.Version = string(dAtA[iNdEx:postIndex])
|
2017-02-01 00:45:59 +00:00
|
|
|
iNdEx = postIndex
|
|
|
|
case 3:
|
|
|
|
if wireType != 2 {
|
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Resource", wireType)
|
|
|
|
}
|
|
|
|
var stringLen uint64
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowGenerated
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2017-08-04 11:13:19 +00:00
|
|
|
b := dAtA[iNdEx]
|
2017-02-01 00:45:59 +00:00
|
|
|
iNdEx++
|
|
|
|
stringLen |= (uint64(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
intStringLen := int(stringLen)
|
|
|
|
if intStringLen < 0 {
|
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
|
|
|
postIndex := iNdEx + intStringLen
|
|
|
|
if postIndex > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2017-08-04 11:13:19 +00:00
|
|
|
m.Resource = string(dAtA[iNdEx:postIndex])
|
2017-02-01 00:45:59 +00:00
|
|
|
iNdEx = postIndex
|
|
|
|
default:
|
|
|
|
iNdEx = preIndex
|
2017-08-04 11:13:19 +00:00
|
|
|
skippy, err := skipGenerated(dAtA[iNdEx:])
|
2017-02-01 00:45:59 +00:00
|
|
|
if err != nil {
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
if skippy < 0 {
|
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
|
|
|
if (iNdEx + skippy) > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
iNdEx += skippy
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
if iNdEx > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
2017-08-04 11:13:19 +00:00
|
|
|
func (m *Initializer) Unmarshal(dAtA []byte) error {
|
|
|
|
l := len(dAtA)
|
2017-02-01 00:45:59 +00:00
|
|
|
iNdEx := 0
|
|
|
|
for iNdEx < l {
|
|
|
|
preIndex := iNdEx
|
|
|
|
var wire uint64
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowGenerated
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2017-08-04 11:13:19 +00:00
|
|
|
b := dAtA[iNdEx]
|
2017-02-01 00:45:59 +00:00
|
|
|
iNdEx++
|
|
|
|
wire |= (uint64(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
fieldNum := int32(wire >> 3)
|
|
|
|
wireType := int(wire & 0x7)
|
|
|
|
if wireType == 4 {
|
2017-08-04 11:13:19 +00:00
|
|
|
return fmt.Errorf("proto: Initializer: wiretype end group for non-group")
|
2017-02-01 00:45:59 +00:00
|
|
|
}
|
|
|
|
if fieldNum <= 0 {
|
2017-08-04 11:13:19 +00:00
|
|
|
return fmt.Errorf("proto: Initializer: illegal tag %d (wire type %d)", fieldNum, wire)
|
2017-02-01 00:45:59 +00:00
|
|
|
}
|
|
|
|
switch fieldNum {
|
|
|
|
case 1:
|
|
|
|
if wireType != 2 {
|
2017-08-04 11:13:19 +00:00
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType)
|
2017-02-01 00:45:59 +00:00
|
|
|
}
|
2017-08-04 11:13:19 +00:00
|
|
|
var stringLen uint64
|
2017-02-01 00:45:59 +00:00
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowGenerated
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2017-08-04 11:13:19 +00:00
|
|
|
b := dAtA[iNdEx]
|
2017-02-01 00:45:59 +00:00
|
|
|
iNdEx++
|
2017-08-04 11:13:19 +00:00
|
|
|
stringLen |= (uint64(b) & 0x7F) << shift
|
2017-02-01 00:45:59 +00:00
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
2017-08-04 11:13:19 +00:00
|
|
|
intStringLen := int(stringLen)
|
|
|
|
if intStringLen < 0 {
|
2017-02-01 00:45:59 +00:00
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
2017-08-04 11:13:19 +00:00
|
|
|
postIndex := iNdEx + intStringLen
|
2017-02-01 00:45:59 +00:00
|
|
|
if postIndex > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2017-08-04 11:13:19 +00:00
|
|
|
m.Name = string(dAtA[iNdEx:postIndex])
|
|
|
|
iNdEx = postIndex
|
|
|
|
default:
|
|
|
|
iNdEx = preIndex
|
|
|
|
skippy, err := skipGenerated(dAtA[iNdEx:])
|
|
|
|
if err != nil {
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
if skippy < 0 {
|
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
|
|
|
if (iNdEx + skippy) > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
iNdEx += skippy
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
if iNdEx > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
func (m *Initializers) Unmarshal(dAtA []byte) error {
|
|
|
|
l := len(dAtA)
|
|
|
|
iNdEx := 0
|
|
|
|
for iNdEx < l {
|
|
|
|
preIndex := iNdEx
|
|
|
|
var wire uint64
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowGenerated
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
b := dAtA[iNdEx]
|
|
|
|
iNdEx++
|
|
|
|
wire |= (uint64(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
fieldNum := int32(wire >> 3)
|
|
|
|
wireType := int(wire & 0x7)
|
|
|
|
if wireType == 4 {
|
|
|
|
return fmt.Errorf("proto: Initializers: wiretype end group for non-group")
|
|
|
|
}
|
|
|
|
if fieldNum <= 0 {
|
|
|
|
return fmt.Errorf("proto: Initializers: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
|
|
}
|
|
|
|
switch fieldNum {
|
|
|
|
case 1:
|
|
|
|
if wireType != 2 {
|
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Pending", wireType)
|
|
|
|
}
|
|
|
|
var msglen int
|
2017-02-01 00:45:59 +00:00
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowGenerated
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2017-08-04 11:13:19 +00:00
|
|
|
b := dAtA[iNdEx]
|
2017-02-01 00:45:59 +00:00
|
|
|
iNdEx++
|
2017-08-04 11:13:19 +00:00
|
|
|
msglen |= (int(b) & 0x7F) << shift
|
2017-02-01 00:45:59 +00:00
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
2017-08-04 11:13:19 +00:00
|
|
|
if msglen < 0 {
|
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
|
|
|
postIndex := iNdEx + msglen
|
|
|
|
if postIndex > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
m.Pending = append(m.Pending, Initializer{})
|
|
|
|
if err := m.Pending[len(m.Pending)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
iNdEx = postIndex
|
|
|
|
case 2:
|
|
|
|
if wireType != 2 {
|
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Result", wireType)
|
|
|
|
}
|
|
|
|
var msglen int
|
2017-02-01 00:45:59 +00:00
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowGenerated
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2017-08-04 11:13:19 +00:00
|
|
|
b := dAtA[iNdEx]
|
2017-02-01 00:45:59 +00:00
|
|
|
iNdEx++
|
2017-08-04 11:13:19 +00:00
|
|
|
msglen |= (int(b) & 0x7F) << shift
|
2017-02-01 00:45:59 +00:00
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
2017-08-04 11:13:19 +00:00
|
|
|
if msglen < 0 {
|
2017-02-01 00:45:59 +00:00
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
2017-08-04 11:13:19 +00:00
|
|
|
postIndex := iNdEx + msglen
|
|
|
|
if postIndex > l {
|
2017-02-01 00:45:59 +00:00
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2017-08-04 11:13:19 +00:00
|
|
|
if m.Result == nil {
|
|
|
|
m.Result = &Status{}
|
|
|
|
}
|
|
|
|
if err := m.Result.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
iNdEx = postIndex
|
|
|
|
default:
|
|
|
|
iNdEx = preIndex
|
|
|
|
skippy, err := skipGenerated(dAtA[iNdEx:])
|
|
|
|
if err != nil {
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
if skippy < 0 {
|
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
|
|
|
if (iNdEx + skippy) > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
iNdEx += skippy
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
if iNdEx > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
func (m *LabelSelector) Unmarshal(dAtA []byte) error {
|
|
|
|
l := len(dAtA)
|
|
|
|
iNdEx := 0
|
|
|
|
for iNdEx < l {
|
|
|
|
preIndex := iNdEx
|
|
|
|
var wire uint64
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowGenerated
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
b := dAtA[iNdEx]
|
|
|
|
iNdEx++
|
|
|
|
wire |= (uint64(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
fieldNum := int32(wire >> 3)
|
|
|
|
wireType := int(wire & 0x7)
|
|
|
|
if wireType == 4 {
|
|
|
|
return fmt.Errorf("proto: LabelSelector: wiretype end group for non-group")
|
|
|
|
}
|
|
|
|
if fieldNum <= 0 {
|
|
|
|
return fmt.Errorf("proto: LabelSelector: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
|
|
}
|
|
|
|
switch fieldNum {
|
|
|
|
case 1:
|
|
|
|
if wireType != 2 {
|
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field MatchLabels", wireType)
|
|
|
|
}
|
|
|
|
var msglen int
|
2017-02-01 00:45:59 +00:00
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowGenerated
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2017-08-04 11:13:19 +00:00
|
|
|
b := dAtA[iNdEx]
|
2017-02-01 00:45:59 +00:00
|
|
|
iNdEx++
|
2017-08-04 11:13:19 +00:00
|
|
|
msglen |= (int(b) & 0x7F) << shift
|
2017-02-01 00:45:59 +00:00
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
2017-08-04 11:13:19 +00:00
|
|
|
if msglen < 0 {
|
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
|
|
|
postIndex := iNdEx + msglen
|
|
|
|
if postIndex > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
var keykey uint64
|
2017-02-01 00:45:59 +00:00
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowGenerated
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2017-08-04 11:13:19 +00:00
|
|
|
b := dAtA[iNdEx]
|
2017-02-01 00:45:59 +00:00
|
|
|
iNdEx++
|
2017-08-04 11:13:19 +00:00
|
|
|
keykey |= (uint64(b) & 0x7F) << shift
|
2017-02-01 00:45:59 +00:00
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
2017-08-04 11:13:19 +00:00
|
|
|
var stringLenmapkey uint64
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowGenerated
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
b := dAtA[iNdEx]
|
|
|
|
iNdEx++
|
|
|
|
stringLenmapkey |= (uint64(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
intStringLenmapkey := int(stringLenmapkey)
|
|
|
|
if intStringLenmapkey < 0 {
|
2017-02-01 00:45:59 +00:00
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
2017-08-04 11:13:19 +00:00
|
|
|
postStringIndexmapkey := iNdEx + intStringLenmapkey
|
|
|
|
if postStringIndexmapkey > l {
|
2017-02-01 00:45:59 +00:00
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2017-08-04 11:13:19 +00:00
|
|
|
mapkey := string(dAtA[iNdEx:postStringIndexmapkey])
|
|
|
|
iNdEx = postStringIndexmapkey
|
2017-02-01 00:45:59 +00:00
|
|
|
if m.MatchLabels == nil {
|
|
|
|
m.MatchLabels = make(map[string]string)
|
|
|
|
}
|
2017-08-04 11:13:19 +00:00
|
|
|
if iNdEx < postIndex {
|
|
|
|
var valuekey uint64
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowGenerated
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
b := dAtA[iNdEx]
|
|
|
|
iNdEx++
|
|
|
|
valuekey |= (uint64(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
var stringLenmapvalue uint64
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowGenerated
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
b := dAtA[iNdEx]
|
|
|
|
iNdEx++
|
|
|
|
stringLenmapvalue |= (uint64(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
intStringLenmapvalue := int(stringLenmapvalue)
|
|
|
|
if intStringLenmapvalue < 0 {
|
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
|
|
|
postStringIndexmapvalue := iNdEx + intStringLenmapvalue
|
|
|
|
if postStringIndexmapvalue > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
mapvalue := string(dAtA[iNdEx:postStringIndexmapvalue])
|
|
|
|
iNdEx = postStringIndexmapvalue
|
|
|
|
m.MatchLabels[mapkey] = mapvalue
|
|
|
|
} else {
|
|
|
|
var mapvalue string
|
|
|
|
m.MatchLabels[mapkey] = mapvalue
|
|
|
|
}
|
2017-02-01 00:45:59 +00:00
|
|
|
iNdEx = postIndex
|
|
|
|
case 2:
|
|
|
|
if wireType != 2 {
|
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field MatchExpressions", wireType)
|
|
|
|
}
|
|
|
|
var msglen int
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowGenerated
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2017-08-04 11:13:19 +00:00
|
|
|
b := dAtA[iNdEx]
|
2017-02-01 00:45:59 +00:00
|
|
|
iNdEx++
|
|
|
|
msglen |= (int(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if msglen < 0 {
|
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
|
|
|
postIndex := iNdEx + msglen
|
|
|
|
if postIndex > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
m.MatchExpressions = append(m.MatchExpressions, LabelSelectorRequirement{})
|
2017-08-04 11:13:19 +00:00
|
|
|
if err := m.MatchExpressions[len(m.MatchExpressions)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
2017-02-01 00:45:59 +00:00
|
|
|
return err
|
|
|
|
}
|
|
|
|
iNdEx = postIndex
|
|
|
|
default:
|
|
|
|
iNdEx = preIndex
|
2017-08-04 11:13:19 +00:00
|
|
|
skippy, err := skipGenerated(dAtA[iNdEx:])
|
2017-02-01 00:45:59 +00:00
|
|
|
if err != nil {
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
if skippy < 0 {
|
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
|
|
|
if (iNdEx + skippy) > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
iNdEx += skippy
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
if iNdEx > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
2017-08-04 11:13:19 +00:00
|
|
|
func (m *LabelSelectorRequirement) Unmarshal(dAtA []byte) error {
|
|
|
|
l := len(dAtA)
|
2017-02-01 00:45:59 +00:00
|
|
|
iNdEx := 0
|
|
|
|
for iNdEx < l {
|
|
|
|
preIndex := iNdEx
|
|
|
|
var wire uint64
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowGenerated
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2017-08-04 11:13:19 +00:00
|
|
|
b := dAtA[iNdEx]
|
2017-02-01 00:45:59 +00:00
|
|
|
iNdEx++
|
|
|
|
wire |= (uint64(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
fieldNum := int32(wire >> 3)
|
|
|
|
wireType := int(wire & 0x7)
|
|
|
|
if wireType == 4 {
|
|
|
|
return fmt.Errorf("proto: LabelSelectorRequirement: wiretype end group for non-group")
|
|
|
|
}
|
|
|
|
if fieldNum <= 0 {
|
|
|
|
return fmt.Errorf("proto: LabelSelectorRequirement: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
|
|
}
|
|
|
|
switch fieldNum {
|
|
|
|
case 1:
|
|
|
|
if wireType != 2 {
|
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Key", wireType)
|
|
|
|
}
|
|
|
|
var stringLen uint64
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowGenerated
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2017-08-04 11:13:19 +00:00
|
|
|
b := dAtA[iNdEx]
|
2017-02-01 00:45:59 +00:00
|
|
|
iNdEx++
|
|
|
|
stringLen |= (uint64(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
intStringLen := int(stringLen)
|
|
|
|
if intStringLen < 0 {
|
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
|
|
|
postIndex := iNdEx + intStringLen
|
|
|
|
if postIndex > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2017-08-04 11:13:19 +00:00
|
|
|
m.Key = string(dAtA[iNdEx:postIndex])
|
2017-02-01 00:45:59 +00:00
|
|
|
iNdEx = postIndex
|
|
|
|
case 2:
|
|
|
|
if wireType != 2 {
|
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Operator", wireType)
|
|
|
|
}
|
|
|
|
var stringLen uint64
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowGenerated
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2017-08-04 11:13:19 +00:00
|
|
|
b := dAtA[iNdEx]
|
2017-02-01 00:45:59 +00:00
|
|
|
iNdEx++
|
|
|
|
stringLen |= (uint64(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
intStringLen := int(stringLen)
|
|
|
|
if intStringLen < 0 {
|
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
|
|
|
postIndex := iNdEx + intStringLen
|
|
|
|
if postIndex > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2017-08-04 11:13:19 +00:00
|
|
|
m.Operator = LabelSelectorOperator(dAtA[iNdEx:postIndex])
|
2017-02-01 00:45:59 +00:00
|
|
|
iNdEx = postIndex
|
|
|
|
case 3:
|
|
|
|
if wireType != 2 {
|
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Values", wireType)
|
|
|
|
}
|
|
|
|
var stringLen uint64
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowGenerated
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2017-08-04 11:13:19 +00:00
|
|
|
b := dAtA[iNdEx]
|
2017-02-01 00:45:59 +00:00
|
|
|
iNdEx++
|
|
|
|
stringLen |= (uint64(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
intStringLen := int(stringLen)
|
|
|
|
if intStringLen < 0 {
|
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
|
|
|
postIndex := iNdEx + intStringLen
|
|
|
|
if postIndex > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2017-08-04 11:13:19 +00:00
|
|
|
m.Values = append(m.Values, string(dAtA[iNdEx:postIndex]))
|
2017-02-01 00:45:59 +00:00
|
|
|
iNdEx = postIndex
|
|
|
|
default:
|
|
|
|
iNdEx = preIndex
|
2017-08-04 11:13:19 +00:00
|
|
|
skippy, err := skipGenerated(dAtA[iNdEx:])
|
2017-02-01 00:45:59 +00:00
|
|
|
if err != nil {
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
if skippy < 0 {
|
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
|
|
|
if (iNdEx + skippy) > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
iNdEx += skippy
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
if iNdEx > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
2017-09-26 14:23:09 +00:00
|
|
|
func (m *List) Unmarshal(dAtA []byte) error {
|
|
|
|
l := len(dAtA)
|
|
|
|
iNdEx := 0
|
|
|
|
for iNdEx < l {
|
|
|
|
preIndex := iNdEx
|
|
|
|
var wire uint64
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowGenerated
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
b := dAtA[iNdEx]
|
|
|
|
iNdEx++
|
|
|
|
wire |= (uint64(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
fieldNum := int32(wire >> 3)
|
|
|
|
wireType := int(wire & 0x7)
|
|
|
|
if wireType == 4 {
|
|
|
|
return fmt.Errorf("proto: List: wiretype end group for non-group")
|
|
|
|
}
|
|
|
|
if fieldNum <= 0 {
|
|
|
|
return fmt.Errorf("proto: List: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
|
|
}
|
|
|
|
switch fieldNum {
|
|
|
|
case 1:
|
|
|
|
if wireType != 2 {
|
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field ListMeta", wireType)
|
|
|
|
}
|
|
|
|
var msglen int
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowGenerated
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
b := dAtA[iNdEx]
|
|
|
|
iNdEx++
|
|
|
|
msglen |= (int(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if msglen < 0 {
|
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
|
|
|
postIndex := iNdEx + msglen
|
|
|
|
if postIndex > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
if err := m.ListMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
iNdEx = postIndex
|
|
|
|
case 2:
|
|
|
|
if wireType != 2 {
|
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Items", wireType)
|
|
|
|
}
|
|
|
|
var msglen int
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowGenerated
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
b := dAtA[iNdEx]
|
|
|
|
iNdEx++
|
|
|
|
msglen |= (int(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if msglen < 0 {
|
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
|
|
|
postIndex := iNdEx + msglen
|
|
|
|
if postIndex > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
m.Items = append(m.Items, k8s_io_apimachinery_pkg_runtime.RawExtension{})
|
|
|
|
if err := m.Items[len(m.Items)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
iNdEx = postIndex
|
|
|
|
default:
|
|
|
|
iNdEx = preIndex
|
|
|
|
skippy, err := skipGenerated(dAtA[iNdEx:])
|
|
|
|
if err != nil {
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
if skippy < 0 {
|
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
|
|
|
if (iNdEx + skippy) > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
iNdEx += skippy
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
if iNdEx > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
2017-08-04 11:13:19 +00:00
|
|
|
func (m *ListMeta) Unmarshal(dAtA []byte) error {
|
|
|
|
l := len(dAtA)
|
2017-02-01 00:45:59 +00:00
|
|
|
iNdEx := 0
|
|
|
|
for iNdEx < l {
|
|
|
|
preIndex := iNdEx
|
|
|
|
var wire uint64
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowGenerated
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2017-08-04 11:13:19 +00:00
|
|
|
b := dAtA[iNdEx]
|
2017-02-01 00:45:59 +00:00
|
|
|
iNdEx++
|
|
|
|
wire |= (uint64(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
fieldNum := int32(wire >> 3)
|
|
|
|
wireType := int(wire & 0x7)
|
|
|
|
if wireType == 4 {
|
|
|
|
return fmt.Errorf("proto: ListMeta: wiretype end group for non-group")
|
|
|
|
}
|
|
|
|
if fieldNum <= 0 {
|
|
|
|
return fmt.Errorf("proto: ListMeta: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
|
|
}
|
|
|
|
switch fieldNum {
|
|
|
|
case 1:
|
|
|
|
if wireType != 2 {
|
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field SelfLink", wireType)
|
|
|
|
}
|
|
|
|
var stringLen uint64
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowGenerated
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2017-08-04 11:13:19 +00:00
|
|
|
b := dAtA[iNdEx]
|
2017-02-01 00:45:59 +00:00
|
|
|
iNdEx++
|
|
|
|
stringLen |= (uint64(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
intStringLen := int(stringLen)
|
|
|
|
if intStringLen < 0 {
|
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
|
|
|
postIndex := iNdEx + intStringLen
|
|
|
|
if postIndex > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2017-08-04 11:13:19 +00:00
|
|
|
m.SelfLink = string(dAtA[iNdEx:postIndex])
|
2017-02-01 00:45:59 +00:00
|
|
|
iNdEx = postIndex
|
|
|
|
case 2:
|
|
|
|
if wireType != 2 {
|
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field ResourceVersion", wireType)
|
|
|
|
}
|
|
|
|
var stringLen uint64
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowGenerated
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2017-08-04 11:13:19 +00:00
|
|
|
b := dAtA[iNdEx]
|
2017-02-01 00:45:59 +00:00
|
|
|
iNdEx++
|
|
|
|
stringLen |= (uint64(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
intStringLen := int(stringLen)
|
|
|
|
if intStringLen < 0 {
|
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
|
|
|
postIndex := iNdEx + intStringLen
|
|
|
|
if postIndex > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2017-08-04 11:13:19 +00:00
|
|
|
m.ResourceVersion = string(dAtA[iNdEx:postIndex])
|
2017-02-01 00:45:59 +00:00
|
|
|
iNdEx = postIndex
|
2017-09-26 14:23:09 +00:00
|
|
|
case 3:
|
|
|
|
if wireType != 2 {
|
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Continue", wireType)
|
|
|
|
}
|
|
|
|
var stringLen uint64
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowGenerated
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
b := dAtA[iNdEx]
|
|
|
|
iNdEx++
|
|
|
|
stringLen |= (uint64(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
intStringLen := int(stringLen)
|
|
|
|
if intStringLen < 0 {
|
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
|
|
|
postIndex := iNdEx + intStringLen
|
|
|
|
if postIndex > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
m.Continue = string(dAtA[iNdEx:postIndex])
|
|
|
|
iNdEx = postIndex
|
2017-02-01 00:45:59 +00:00
|
|
|
default:
|
|
|
|
iNdEx = preIndex
|
2017-08-04 11:13:19 +00:00
|
|
|
skippy, err := skipGenerated(dAtA[iNdEx:])
|
2017-02-01 00:45:59 +00:00
|
|
|
if err != nil {
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
if skippy < 0 {
|
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
|
|
|
if (iNdEx + skippy) > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
iNdEx += skippy
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
if iNdEx > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
2017-08-04 11:13:19 +00:00
|
|
|
func (m *ListOptions) Unmarshal(dAtA []byte) error {
|
|
|
|
l := len(dAtA)
|
2017-02-01 00:45:59 +00:00
|
|
|
iNdEx := 0
|
|
|
|
for iNdEx < l {
|
|
|
|
preIndex := iNdEx
|
|
|
|
var wire uint64
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowGenerated
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2017-08-04 11:13:19 +00:00
|
|
|
b := dAtA[iNdEx]
|
2017-02-01 00:45:59 +00:00
|
|
|
iNdEx++
|
|
|
|
wire |= (uint64(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
fieldNum := int32(wire >> 3)
|
|
|
|
wireType := int(wire & 0x7)
|
|
|
|
if wireType == 4 {
|
|
|
|
return fmt.Errorf("proto: ListOptions: wiretype end group for non-group")
|
|
|
|
}
|
|
|
|
if fieldNum <= 0 {
|
|
|
|
return fmt.Errorf("proto: ListOptions: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
|
|
}
|
|
|
|
switch fieldNum {
|
|
|
|
case 1:
|
|
|
|
if wireType != 2 {
|
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field LabelSelector", wireType)
|
|
|
|
}
|
|
|
|
var stringLen uint64
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowGenerated
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2017-08-04 11:13:19 +00:00
|
|
|
b := dAtA[iNdEx]
|
2017-02-01 00:45:59 +00:00
|
|
|
iNdEx++
|
|
|
|
stringLen |= (uint64(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
intStringLen := int(stringLen)
|
|
|
|
if intStringLen < 0 {
|
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
|
|
|
postIndex := iNdEx + intStringLen
|
|
|
|
if postIndex > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2017-08-04 11:13:19 +00:00
|
|
|
m.LabelSelector = string(dAtA[iNdEx:postIndex])
|
2017-02-01 00:45:59 +00:00
|
|
|
iNdEx = postIndex
|
|
|
|
case 2:
|
|
|
|
if wireType != 2 {
|
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field FieldSelector", wireType)
|
|
|
|
}
|
|
|
|
var stringLen uint64
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowGenerated
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2017-08-04 11:13:19 +00:00
|
|
|
b := dAtA[iNdEx]
|
2017-02-01 00:45:59 +00:00
|
|
|
iNdEx++
|
|
|
|
stringLen |= (uint64(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
intStringLen := int(stringLen)
|
|
|
|
if intStringLen < 0 {
|
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
|
|
|
postIndex := iNdEx + intStringLen
|
|
|
|
if postIndex > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2017-08-04 11:13:19 +00:00
|
|
|
m.FieldSelector = string(dAtA[iNdEx:postIndex])
|
2017-02-01 00:45:59 +00:00
|
|
|
iNdEx = postIndex
|
|
|
|
case 3:
|
|
|
|
if wireType != 0 {
|
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Watch", wireType)
|
|
|
|
}
|
|
|
|
var v int
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowGenerated
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2017-08-04 11:13:19 +00:00
|
|
|
b := dAtA[iNdEx]
|
2017-02-01 00:45:59 +00:00
|
|
|
iNdEx++
|
|
|
|
v |= (int(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
m.Watch = bool(v != 0)
|
|
|
|
case 4:
|
|
|
|
if wireType != 2 {
|
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field ResourceVersion", wireType)
|
|
|
|
}
|
|
|
|
var stringLen uint64
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowGenerated
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2017-08-04 11:13:19 +00:00
|
|
|
b := dAtA[iNdEx]
|
2017-02-01 00:45:59 +00:00
|
|
|
iNdEx++
|
|
|
|
stringLen |= (uint64(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
intStringLen := int(stringLen)
|
|
|
|
if intStringLen < 0 {
|
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
|
|
|
postIndex := iNdEx + intStringLen
|
|
|
|
if postIndex > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2017-08-04 11:13:19 +00:00
|
|
|
m.ResourceVersion = string(dAtA[iNdEx:postIndex])
|
2017-02-01 00:45:59 +00:00
|
|
|
iNdEx = postIndex
|
|
|
|
case 5:
|
|
|
|
if wireType != 0 {
|
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field TimeoutSeconds", wireType)
|
|
|
|
}
|
|
|
|
var v int64
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowGenerated
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2017-08-04 11:13:19 +00:00
|
|
|
b := dAtA[iNdEx]
|
2017-02-01 00:45:59 +00:00
|
|
|
iNdEx++
|
|
|
|
v |= (int64(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
m.TimeoutSeconds = &v
|
2017-08-04 11:13:19 +00:00
|
|
|
case 6:
|
|
|
|
if wireType != 0 {
|
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field IncludeUninitialized", wireType)
|
|
|
|
}
|
|
|
|
var v int
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowGenerated
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
b := dAtA[iNdEx]
|
|
|
|
iNdEx++
|
|
|
|
v |= (int(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
m.IncludeUninitialized = bool(v != 0)
|
2017-09-26 14:23:09 +00:00
|
|
|
case 7:
|
|
|
|
if wireType != 0 {
|
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Limit", wireType)
|
|
|
|
}
|
|
|
|
m.Limit = 0
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowGenerated
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
b := dAtA[iNdEx]
|
|
|
|
iNdEx++
|
|
|
|
m.Limit |= (int64(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
case 8:
|
|
|
|
if wireType != 2 {
|
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Continue", wireType)
|
|
|
|
}
|
|
|
|
var stringLen uint64
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowGenerated
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
b := dAtA[iNdEx]
|
|
|
|
iNdEx++
|
|
|
|
stringLen |= (uint64(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
intStringLen := int(stringLen)
|
|
|
|
if intStringLen < 0 {
|
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
|
|
|
postIndex := iNdEx + intStringLen
|
|
|
|
if postIndex > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
m.Continue = string(dAtA[iNdEx:postIndex])
|
|
|
|
iNdEx = postIndex
|
2017-02-01 00:45:59 +00:00
|
|
|
default:
|
|
|
|
iNdEx = preIndex
|
2017-08-04 11:13:19 +00:00
|
|
|
skippy, err := skipGenerated(dAtA[iNdEx:])
|
2017-02-01 00:45:59 +00:00
|
|
|
if err != nil {
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
if skippy < 0 {
|
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
|
|
|
if (iNdEx + skippy) > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
iNdEx += skippy
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
if iNdEx > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
2017-08-04 11:13:19 +00:00
|
|
|
func (m *ObjectMeta) Unmarshal(dAtA []byte) error {
|
|
|
|
l := len(dAtA)
|
2017-02-01 00:45:59 +00:00
|
|
|
iNdEx := 0
|
|
|
|
for iNdEx < l {
|
|
|
|
preIndex := iNdEx
|
|
|
|
var wire uint64
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowGenerated
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2017-08-04 11:13:19 +00:00
|
|
|
b := dAtA[iNdEx]
|
2017-02-01 00:45:59 +00:00
|
|
|
iNdEx++
|
|
|
|
wire |= (uint64(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
fieldNum := int32(wire >> 3)
|
|
|
|
wireType := int(wire & 0x7)
|
|
|
|
if wireType == 4 {
|
|
|
|
return fmt.Errorf("proto: ObjectMeta: wiretype end group for non-group")
|
|
|
|
}
|
|
|
|
if fieldNum <= 0 {
|
|
|
|
return fmt.Errorf("proto: ObjectMeta: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
|
|
}
|
|
|
|
switch fieldNum {
|
|
|
|
case 1:
|
|
|
|
if wireType != 2 {
|
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType)
|
|
|
|
}
|
|
|
|
var stringLen uint64
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowGenerated
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2017-08-04 11:13:19 +00:00
|
|
|
b := dAtA[iNdEx]
|
2017-02-01 00:45:59 +00:00
|
|
|
iNdEx++
|
|
|
|
stringLen |= (uint64(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
intStringLen := int(stringLen)
|
|
|
|
if intStringLen < 0 {
|
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
|
|
|
postIndex := iNdEx + intStringLen
|
|
|
|
if postIndex > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2017-08-04 11:13:19 +00:00
|
|
|
m.Name = string(dAtA[iNdEx:postIndex])
|
2017-02-01 00:45:59 +00:00
|
|
|
iNdEx = postIndex
|
|
|
|
case 2:
|
|
|
|
if wireType != 2 {
|
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field GenerateName", wireType)
|
|
|
|
}
|
|
|
|
var stringLen uint64
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowGenerated
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2017-08-04 11:13:19 +00:00
|
|
|
b := dAtA[iNdEx]
|
2017-02-01 00:45:59 +00:00
|
|
|
iNdEx++
|
|
|
|
stringLen |= (uint64(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
intStringLen := int(stringLen)
|
|
|
|
if intStringLen < 0 {
|
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
|
|
|
postIndex := iNdEx + intStringLen
|
|
|
|
if postIndex > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2017-08-04 11:13:19 +00:00
|
|
|
m.GenerateName = string(dAtA[iNdEx:postIndex])
|
2017-02-01 00:45:59 +00:00
|
|
|
iNdEx = postIndex
|
|
|
|
case 3:
|
|
|
|
if wireType != 2 {
|
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Namespace", wireType)
|
|
|
|
}
|
|
|
|
var stringLen uint64
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowGenerated
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2017-08-04 11:13:19 +00:00
|
|
|
b := dAtA[iNdEx]
|
2017-02-01 00:45:59 +00:00
|
|
|
iNdEx++
|
|
|
|
stringLen |= (uint64(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
intStringLen := int(stringLen)
|
|
|
|
if intStringLen < 0 {
|
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
|
|
|
postIndex := iNdEx + intStringLen
|
|
|
|
if postIndex > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2017-08-04 11:13:19 +00:00
|
|
|
m.Namespace = string(dAtA[iNdEx:postIndex])
|
2017-02-01 00:45:59 +00:00
|
|
|
iNdEx = postIndex
|
|
|
|
case 4:
|
|
|
|
if wireType != 2 {
|
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field SelfLink", wireType)
|
|
|
|
}
|
|
|
|
var stringLen uint64
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowGenerated
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2017-08-04 11:13:19 +00:00
|
|
|
b := dAtA[iNdEx]
|
2017-02-01 00:45:59 +00:00
|
|
|
iNdEx++
|
|
|
|
stringLen |= (uint64(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
intStringLen := int(stringLen)
|
|
|
|
if intStringLen < 0 {
|
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
|
|
|
postIndex := iNdEx + intStringLen
|
|
|
|
if postIndex > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2017-08-04 11:13:19 +00:00
|
|
|
m.SelfLink = string(dAtA[iNdEx:postIndex])
|
2017-02-01 00:45:59 +00:00
|
|
|
iNdEx = postIndex
|
|
|
|
case 5:
|
|
|
|
if wireType != 2 {
|
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field UID", wireType)
|
|
|
|
}
|
|
|
|
var stringLen uint64
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowGenerated
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2017-08-04 11:13:19 +00:00
|
|
|
b := dAtA[iNdEx]
|
2017-02-01 00:45:59 +00:00
|
|
|
iNdEx++
|
|
|
|
stringLen |= (uint64(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
intStringLen := int(stringLen)
|
|
|
|
if intStringLen < 0 {
|
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
|
|
|
postIndex := iNdEx + intStringLen
|
|
|
|
if postIndex > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2017-08-04 11:13:19 +00:00
|
|
|
m.UID = k8s_io_apimachinery_pkg_types.UID(dAtA[iNdEx:postIndex])
|
2017-02-01 00:45:59 +00:00
|
|
|
iNdEx = postIndex
|
|
|
|
case 6:
|
|
|
|
if wireType != 2 {
|
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field ResourceVersion", wireType)
|
|
|
|
}
|
|
|
|
var stringLen uint64
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowGenerated
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2017-08-04 11:13:19 +00:00
|
|
|
b := dAtA[iNdEx]
|
2017-02-01 00:45:59 +00:00
|
|
|
iNdEx++
|
|
|
|
stringLen |= (uint64(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
intStringLen := int(stringLen)
|
|
|
|
if intStringLen < 0 {
|
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
|
|
|
postIndex := iNdEx + intStringLen
|
|
|
|
if postIndex > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2017-08-04 11:13:19 +00:00
|
|
|
m.ResourceVersion = string(dAtA[iNdEx:postIndex])
|
2017-02-01 00:45:59 +00:00
|
|
|
iNdEx = postIndex
|
|
|
|
case 7:
|
|
|
|
if wireType != 0 {
|
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Generation", wireType)
|
|
|
|
}
|
|
|
|
m.Generation = 0
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowGenerated
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2017-08-04 11:13:19 +00:00
|
|
|
b := dAtA[iNdEx]
|
2017-02-01 00:45:59 +00:00
|
|
|
iNdEx++
|
|
|
|
m.Generation |= (int64(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
case 8:
|
|
|
|
if wireType != 2 {
|
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field CreationTimestamp", wireType)
|
|
|
|
}
|
|
|
|
var msglen int
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowGenerated
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2017-08-04 11:13:19 +00:00
|
|
|
b := dAtA[iNdEx]
|
2017-02-01 00:45:59 +00:00
|
|
|
iNdEx++
|
|
|
|
msglen |= (int(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if msglen < 0 {
|
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
|
|
|
postIndex := iNdEx + msglen
|
|
|
|
if postIndex > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2017-08-04 11:13:19 +00:00
|
|
|
if err := m.CreationTimestamp.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
2017-02-01 00:45:59 +00:00
|
|
|
return err
|
|
|
|
}
|
|
|
|
iNdEx = postIndex
|
|
|
|
case 9:
|
|
|
|
if wireType != 2 {
|
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field DeletionTimestamp", wireType)
|
|
|
|
}
|
|
|
|
var msglen int
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowGenerated
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2017-08-04 11:13:19 +00:00
|
|
|
b := dAtA[iNdEx]
|
2017-02-01 00:45:59 +00:00
|
|
|
iNdEx++
|
|
|
|
msglen |= (int(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if msglen < 0 {
|
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
|
|
|
postIndex := iNdEx + msglen
|
|
|
|
if postIndex > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
if m.DeletionTimestamp == nil {
|
|
|
|
m.DeletionTimestamp = &Time{}
|
|
|
|
}
|
2017-08-04 11:13:19 +00:00
|
|
|
if err := m.DeletionTimestamp.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
2017-02-01 00:45:59 +00:00
|
|
|
return err
|
|
|
|
}
|
|
|
|
iNdEx = postIndex
|
|
|
|
case 10:
|
|
|
|
if wireType != 0 {
|
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field DeletionGracePeriodSeconds", wireType)
|
|
|
|
}
|
|
|
|
var v int64
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowGenerated
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2017-08-04 11:13:19 +00:00
|
|
|
b := dAtA[iNdEx]
|
2017-02-01 00:45:59 +00:00
|
|
|
iNdEx++
|
|
|
|
v |= (int64(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
m.DeletionGracePeriodSeconds = &v
|
|
|
|
case 11:
|
|
|
|
if wireType != 2 {
|
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Labels", wireType)
|
|
|
|
}
|
|
|
|
var msglen int
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowGenerated
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2017-08-04 11:13:19 +00:00
|
|
|
b := dAtA[iNdEx]
|
2017-02-01 00:45:59 +00:00
|
|
|
iNdEx++
|
|
|
|
msglen |= (int(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if msglen < 0 {
|
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
|
|
|
postIndex := iNdEx + msglen
|
|
|
|
if postIndex > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
var keykey uint64
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowGenerated
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2017-08-04 11:13:19 +00:00
|
|
|
b := dAtA[iNdEx]
|
2017-02-01 00:45:59 +00:00
|
|
|
iNdEx++
|
|
|
|
keykey |= (uint64(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
var stringLenmapkey uint64
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowGenerated
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2017-08-04 11:13:19 +00:00
|
|
|
b := dAtA[iNdEx]
|
2017-02-01 00:45:59 +00:00
|
|
|
iNdEx++
|
|
|
|
stringLenmapkey |= (uint64(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
intStringLenmapkey := int(stringLenmapkey)
|
|
|
|
if intStringLenmapkey < 0 {
|
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
|
|
|
postStringIndexmapkey := iNdEx + intStringLenmapkey
|
|
|
|
if postStringIndexmapkey > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2017-08-04 11:13:19 +00:00
|
|
|
mapkey := string(dAtA[iNdEx:postStringIndexmapkey])
|
2017-02-01 00:45:59 +00:00
|
|
|
iNdEx = postStringIndexmapkey
|
2017-08-04 11:13:19 +00:00
|
|
|
if m.Labels == nil {
|
|
|
|
m.Labels = make(map[string]string)
|
|
|
|
}
|
|
|
|
if iNdEx < postIndex {
|
|
|
|
var valuekey uint64
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowGenerated
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
b := dAtA[iNdEx]
|
|
|
|
iNdEx++
|
|
|
|
valuekey |= (uint64(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
2017-02-01 00:45:59 +00:00
|
|
|
}
|
2017-08-04 11:13:19 +00:00
|
|
|
var stringLenmapvalue uint64
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowGenerated
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
b := dAtA[iNdEx]
|
|
|
|
iNdEx++
|
|
|
|
stringLenmapvalue |= (uint64(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
2017-02-01 00:45:59 +00:00
|
|
|
}
|
2017-08-04 11:13:19 +00:00
|
|
|
intStringLenmapvalue := int(stringLenmapvalue)
|
|
|
|
if intStringLenmapvalue < 0 {
|
|
|
|
return ErrInvalidLengthGenerated
|
2017-02-01 00:45:59 +00:00
|
|
|
}
|
2017-08-04 11:13:19 +00:00
|
|
|
postStringIndexmapvalue := iNdEx + intStringLenmapvalue
|
|
|
|
if postStringIndexmapvalue > l {
|
2017-02-01 00:45:59 +00:00
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2017-08-04 11:13:19 +00:00
|
|
|
mapvalue := string(dAtA[iNdEx:postStringIndexmapvalue])
|
|
|
|
iNdEx = postStringIndexmapvalue
|
|
|
|
m.Labels[mapkey] = mapvalue
|
|
|
|
} else {
|
|
|
|
var mapvalue string
|
|
|
|
m.Labels[mapkey] = mapvalue
|
2017-02-01 00:45:59 +00:00
|
|
|
}
|
|
|
|
iNdEx = postIndex
|
|
|
|
case 12:
|
|
|
|
if wireType != 2 {
|
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Annotations", wireType)
|
|
|
|
}
|
|
|
|
var msglen int
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowGenerated
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2017-08-04 11:13:19 +00:00
|
|
|
b := dAtA[iNdEx]
|
2017-02-01 00:45:59 +00:00
|
|
|
iNdEx++
|
|
|
|
msglen |= (int(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if msglen < 0 {
|
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
|
|
|
postIndex := iNdEx + msglen
|
|
|
|
if postIndex > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
var keykey uint64
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowGenerated
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2017-08-04 11:13:19 +00:00
|
|
|
b := dAtA[iNdEx]
|
2017-02-01 00:45:59 +00:00
|
|
|
iNdEx++
|
|
|
|
keykey |= (uint64(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
var stringLenmapkey uint64
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowGenerated
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2017-08-04 11:13:19 +00:00
|
|
|
b := dAtA[iNdEx]
|
2017-02-01 00:45:59 +00:00
|
|
|
iNdEx++
|
|
|
|
stringLenmapkey |= (uint64(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
intStringLenmapkey := int(stringLenmapkey)
|
|
|
|
if intStringLenmapkey < 0 {
|
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
|
|
|
postStringIndexmapkey := iNdEx + intStringLenmapkey
|
|
|
|
if postStringIndexmapkey > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2017-08-04 11:13:19 +00:00
|
|
|
mapkey := string(dAtA[iNdEx:postStringIndexmapkey])
|
2017-02-01 00:45:59 +00:00
|
|
|
iNdEx = postStringIndexmapkey
|
2017-08-04 11:13:19 +00:00
|
|
|
if m.Annotations == nil {
|
|
|
|
m.Annotations = make(map[string]string)
|
|
|
|
}
|
|
|
|
if iNdEx < postIndex {
|
|
|
|
var valuekey uint64
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowGenerated
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
b := dAtA[iNdEx]
|
|
|
|
iNdEx++
|
|
|
|
valuekey |= (uint64(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
2017-02-01 00:45:59 +00:00
|
|
|
}
|
2017-08-04 11:13:19 +00:00
|
|
|
var stringLenmapvalue uint64
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowGenerated
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
b := dAtA[iNdEx]
|
|
|
|
iNdEx++
|
|
|
|
stringLenmapvalue |= (uint64(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
2017-02-01 00:45:59 +00:00
|
|
|
}
|
2017-08-04 11:13:19 +00:00
|
|
|
intStringLenmapvalue := int(stringLenmapvalue)
|
|
|
|
if intStringLenmapvalue < 0 {
|
|
|
|
return ErrInvalidLengthGenerated
|
2017-02-01 00:45:59 +00:00
|
|
|
}
|
2017-08-04 11:13:19 +00:00
|
|
|
postStringIndexmapvalue := iNdEx + intStringLenmapvalue
|
|
|
|
if postStringIndexmapvalue > l {
|
2017-02-01 00:45:59 +00:00
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2017-08-04 11:13:19 +00:00
|
|
|
mapvalue := string(dAtA[iNdEx:postStringIndexmapvalue])
|
|
|
|
iNdEx = postStringIndexmapvalue
|
|
|
|
m.Annotations[mapkey] = mapvalue
|
|
|
|
} else {
|
|
|
|
var mapvalue string
|
|
|
|
m.Annotations[mapkey] = mapvalue
|
2017-02-01 00:45:59 +00:00
|
|
|
}
|
|
|
|
iNdEx = postIndex
|
|
|
|
case 13:
|
|
|
|
if wireType != 2 {
|
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field OwnerReferences", wireType)
|
|
|
|
}
|
|
|
|
var msglen int
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowGenerated
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2017-08-04 11:13:19 +00:00
|
|
|
b := dAtA[iNdEx]
|
2017-02-01 00:45:59 +00:00
|
|
|
iNdEx++
|
|
|
|
msglen |= (int(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if msglen < 0 {
|
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
|
|
|
postIndex := iNdEx + msglen
|
|
|
|
if postIndex > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
m.OwnerReferences = append(m.OwnerReferences, OwnerReference{})
|
2017-08-04 11:13:19 +00:00
|
|
|
if err := m.OwnerReferences[len(m.OwnerReferences)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
2017-02-01 00:45:59 +00:00
|
|
|
return err
|
|
|
|
}
|
|
|
|
iNdEx = postIndex
|
|
|
|
case 14:
|
|
|
|
if wireType != 2 {
|
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Finalizers", wireType)
|
|
|
|
}
|
|
|
|
var stringLen uint64
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowGenerated
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2017-08-04 11:13:19 +00:00
|
|
|
b := dAtA[iNdEx]
|
2017-02-01 00:45:59 +00:00
|
|
|
iNdEx++
|
|
|
|
stringLen |= (uint64(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
intStringLen := int(stringLen)
|
|
|
|
if intStringLen < 0 {
|
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
|
|
|
postIndex := iNdEx + intStringLen
|
|
|
|
if postIndex > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2017-08-04 11:13:19 +00:00
|
|
|
m.Finalizers = append(m.Finalizers, string(dAtA[iNdEx:postIndex]))
|
2017-02-01 00:45:59 +00:00
|
|
|
iNdEx = postIndex
|
|
|
|
case 15:
|
|
|
|
if wireType != 2 {
|
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field ClusterName", wireType)
|
|
|
|
}
|
|
|
|
var stringLen uint64
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowGenerated
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2017-08-04 11:13:19 +00:00
|
|
|
b := dAtA[iNdEx]
|
2017-02-01 00:45:59 +00:00
|
|
|
iNdEx++
|
|
|
|
stringLen |= (uint64(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
intStringLen := int(stringLen)
|
|
|
|
if intStringLen < 0 {
|
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
|
|
|
postIndex := iNdEx + intStringLen
|
|
|
|
if postIndex > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2017-08-04 11:13:19 +00:00
|
|
|
m.ClusterName = string(dAtA[iNdEx:postIndex])
|
|
|
|
iNdEx = postIndex
|
|
|
|
case 16:
|
|
|
|
if wireType != 2 {
|
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Initializers", wireType)
|
|
|
|
}
|
|
|
|
var msglen int
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowGenerated
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
b := dAtA[iNdEx]
|
|
|
|
iNdEx++
|
|
|
|
msglen |= (int(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if msglen < 0 {
|
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
|
|
|
postIndex := iNdEx + msglen
|
|
|
|
if postIndex > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
if m.Initializers == nil {
|
|
|
|
m.Initializers = &Initializers{}
|
|
|
|
}
|
|
|
|
if err := m.Initializers.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
|
|
return err
|
|
|
|
}
|
2017-02-01 00:45:59 +00:00
|
|
|
iNdEx = postIndex
|
|
|
|
default:
|
|
|
|
iNdEx = preIndex
|
2017-08-04 11:13:19 +00:00
|
|
|
skippy, err := skipGenerated(dAtA[iNdEx:])
|
2017-02-01 00:45:59 +00:00
|
|
|
if err != nil {
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
if skippy < 0 {
|
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
|
|
|
if (iNdEx + skippy) > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
iNdEx += skippy
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
if iNdEx > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
2017-08-04 11:13:19 +00:00
|
|
|
func (m *OwnerReference) Unmarshal(dAtA []byte) error {
|
|
|
|
l := len(dAtA)
|
2017-02-01 00:45:59 +00:00
|
|
|
iNdEx := 0
|
|
|
|
for iNdEx < l {
|
|
|
|
preIndex := iNdEx
|
|
|
|
var wire uint64
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowGenerated
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2017-08-04 11:13:19 +00:00
|
|
|
b := dAtA[iNdEx]
|
2017-02-01 00:45:59 +00:00
|
|
|
iNdEx++
|
|
|
|
wire |= (uint64(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
fieldNum := int32(wire >> 3)
|
|
|
|
wireType := int(wire & 0x7)
|
|
|
|
if wireType == 4 {
|
|
|
|
return fmt.Errorf("proto: OwnerReference: wiretype end group for non-group")
|
|
|
|
}
|
|
|
|
if fieldNum <= 0 {
|
|
|
|
return fmt.Errorf("proto: OwnerReference: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
|
|
}
|
|
|
|
switch fieldNum {
|
|
|
|
case 1:
|
|
|
|
if wireType != 2 {
|
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Kind", wireType)
|
|
|
|
}
|
|
|
|
var stringLen uint64
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowGenerated
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2017-08-04 11:13:19 +00:00
|
|
|
b := dAtA[iNdEx]
|
2017-02-01 00:45:59 +00:00
|
|
|
iNdEx++
|
|
|
|
stringLen |= (uint64(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
intStringLen := int(stringLen)
|
|
|
|
if intStringLen < 0 {
|
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
|
|
|
postIndex := iNdEx + intStringLen
|
|
|
|
if postIndex > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2017-08-04 11:13:19 +00:00
|
|
|
m.Kind = string(dAtA[iNdEx:postIndex])
|
2017-02-01 00:45:59 +00:00
|
|
|
iNdEx = postIndex
|
|
|
|
case 3:
|
|
|
|
if wireType != 2 {
|
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType)
|
|
|
|
}
|
|
|
|
var stringLen uint64
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowGenerated
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2017-08-04 11:13:19 +00:00
|
|
|
b := dAtA[iNdEx]
|
2017-02-01 00:45:59 +00:00
|
|
|
iNdEx++
|
|
|
|
stringLen |= (uint64(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
intStringLen := int(stringLen)
|
|
|
|
if intStringLen < 0 {
|
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
|
|
|
postIndex := iNdEx + intStringLen
|
|
|
|
if postIndex > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2017-08-04 11:13:19 +00:00
|
|
|
m.Name = string(dAtA[iNdEx:postIndex])
|
2017-02-01 00:45:59 +00:00
|
|
|
iNdEx = postIndex
|
|
|
|
case 4:
|
|
|
|
if wireType != 2 {
|
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field UID", wireType)
|
|
|
|
}
|
|
|
|
var stringLen uint64
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowGenerated
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2017-08-04 11:13:19 +00:00
|
|
|
b := dAtA[iNdEx]
|
2017-02-01 00:45:59 +00:00
|
|
|
iNdEx++
|
|
|
|
stringLen |= (uint64(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
intStringLen := int(stringLen)
|
|
|
|
if intStringLen < 0 {
|
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
|
|
|
postIndex := iNdEx + intStringLen
|
|
|
|
if postIndex > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2017-08-04 11:13:19 +00:00
|
|
|
m.UID = k8s_io_apimachinery_pkg_types.UID(dAtA[iNdEx:postIndex])
|
2017-02-01 00:45:59 +00:00
|
|
|
iNdEx = postIndex
|
|
|
|
case 5:
|
|
|
|
if wireType != 2 {
|
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field APIVersion", wireType)
|
|
|
|
}
|
|
|
|
var stringLen uint64
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowGenerated
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2017-08-04 11:13:19 +00:00
|
|
|
b := dAtA[iNdEx]
|
2017-02-01 00:45:59 +00:00
|
|
|
iNdEx++
|
|
|
|
stringLen |= (uint64(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
intStringLen := int(stringLen)
|
|
|
|
if intStringLen < 0 {
|
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
|
|
|
postIndex := iNdEx + intStringLen
|
|
|
|
if postIndex > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2017-08-04 11:13:19 +00:00
|
|
|
m.APIVersion = string(dAtA[iNdEx:postIndex])
|
2017-02-01 00:45:59 +00:00
|
|
|
iNdEx = postIndex
|
|
|
|
case 6:
|
|
|
|
if wireType != 0 {
|
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Controller", wireType)
|
|
|
|
}
|
|
|
|
var v int
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowGenerated
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2017-08-04 11:13:19 +00:00
|
|
|
b := dAtA[iNdEx]
|
2017-02-01 00:45:59 +00:00
|
|
|
iNdEx++
|
|
|
|
v |= (int(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
b := bool(v != 0)
|
|
|
|
m.Controller = &b
|
2017-06-06 07:19:04 +00:00
|
|
|
case 7:
|
|
|
|
if wireType != 0 {
|
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field BlockOwnerDeletion", wireType)
|
|
|
|
}
|
|
|
|
var v int
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowGenerated
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2017-08-04 11:13:19 +00:00
|
|
|
b := dAtA[iNdEx]
|
2017-06-06 07:19:04 +00:00
|
|
|
iNdEx++
|
|
|
|
v |= (int(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
b := bool(v != 0)
|
|
|
|
m.BlockOwnerDeletion = &b
|
2017-02-01 00:45:59 +00:00
|
|
|
default:
|
|
|
|
iNdEx = preIndex
|
2017-08-04 11:13:19 +00:00
|
|
|
skippy, err := skipGenerated(dAtA[iNdEx:])
|
2017-02-01 00:45:59 +00:00
|
|
|
if err != nil {
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
if skippy < 0 {
|
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
|
|
|
if (iNdEx + skippy) > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
iNdEx += skippy
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
if iNdEx > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
2017-08-04 11:13:19 +00:00
|
|
|
func (m *Preconditions) Unmarshal(dAtA []byte) error {
|
|
|
|
l := len(dAtA)
|
2017-02-01 00:45:59 +00:00
|
|
|
iNdEx := 0
|
|
|
|
for iNdEx < l {
|
|
|
|
preIndex := iNdEx
|
|
|
|
var wire uint64
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowGenerated
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2017-08-04 11:13:19 +00:00
|
|
|
b := dAtA[iNdEx]
|
2017-02-01 00:45:59 +00:00
|
|
|
iNdEx++
|
|
|
|
wire |= (uint64(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
fieldNum := int32(wire >> 3)
|
|
|
|
wireType := int(wire & 0x7)
|
|
|
|
if wireType == 4 {
|
|
|
|
return fmt.Errorf("proto: Preconditions: wiretype end group for non-group")
|
|
|
|
}
|
|
|
|
if fieldNum <= 0 {
|
|
|
|
return fmt.Errorf("proto: Preconditions: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
|
|
}
|
|
|
|
switch fieldNum {
|
|
|
|
case 1:
|
|
|
|
if wireType != 2 {
|
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field UID", wireType)
|
|
|
|
}
|
|
|
|
var stringLen uint64
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowGenerated
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2017-08-04 11:13:19 +00:00
|
|
|
b := dAtA[iNdEx]
|
2017-02-01 00:45:59 +00:00
|
|
|
iNdEx++
|
|
|
|
stringLen |= (uint64(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
intStringLen := int(stringLen)
|
|
|
|
if intStringLen < 0 {
|
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
|
|
|
postIndex := iNdEx + intStringLen
|
|
|
|
if postIndex > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2017-08-04 11:13:19 +00:00
|
|
|
s := k8s_io_apimachinery_pkg_types.UID(dAtA[iNdEx:postIndex])
|
2017-02-01 00:45:59 +00:00
|
|
|
m.UID = &s
|
|
|
|
iNdEx = postIndex
|
|
|
|
default:
|
|
|
|
iNdEx = preIndex
|
2017-08-04 11:13:19 +00:00
|
|
|
skippy, err := skipGenerated(dAtA[iNdEx:])
|
2017-02-01 00:45:59 +00:00
|
|
|
if err != nil {
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
if skippy < 0 {
|
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
|
|
|
if (iNdEx + skippy) > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
iNdEx += skippy
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
if iNdEx > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
2017-08-04 11:13:19 +00:00
|
|
|
func (m *RootPaths) Unmarshal(dAtA []byte) error {
|
|
|
|
l := len(dAtA)
|
2017-02-01 00:45:59 +00:00
|
|
|
iNdEx := 0
|
|
|
|
for iNdEx < l {
|
|
|
|
preIndex := iNdEx
|
|
|
|
var wire uint64
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowGenerated
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2017-08-04 11:13:19 +00:00
|
|
|
b := dAtA[iNdEx]
|
2017-02-01 00:45:59 +00:00
|
|
|
iNdEx++
|
|
|
|
wire |= (uint64(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
fieldNum := int32(wire >> 3)
|
|
|
|
wireType := int(wire & 0x7)
|
|
|
|
if wireType == 4 {
|
|
|
|
return fmt.Errorf("proto: RootPaths: wiretype end group for non-group")
|
|
|
|
}
|
|
|
|
if fieldNum <= 0 {
|
|
|
|
return fmt.Errorf("proto: RootPaths: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
|
|
}
|
|
|
|
switch fieldNum {
|
|
|
|
case 1:
|
|
|
|
if wireType != 2 {
|
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Paths", wireType)
|
|
|
|
}
|
|
|
|
var stringLen uint64
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowGenerated
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2017-08-04 11:13:19 +00:00
|
|
|
b := dAtA[iNdEx]
|
2017-02-01 00:45:59 +00:00
|
|
|
iNdEx++
|
|
|
|
stringLen |= (uint64(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
intStringLen := int(stringLen)
|
|
|
|
if intStringLen < 0 {
|
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
|
|
|
postIndex := iNdEx + intStringLen
|
|
|
|
if postIndex > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2017-08-04 11:13:19 +00:00
|
|
|
m.Paths = append(m.Paths, string(dAtA[iNdEx:postIndex]))
|
2017-02-01 00:45:59 +00:00
|
|
|
iNdEx = postIndex
|
|
|
|
default:
|
|
|
|
iNdEx = preIndex
|
2017-08-04 11:13:19 +00:00
|
|
|
skippy, err := skipGenerated(dAtA[iNdEx:])
|
2017-02-01 00:45:59 +00:00
|
|
|
if err != nil {
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
if skippy < 0 {
|
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
|
|
|
if (iNdEx + skippy) > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
iNdEx += skippy
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
if iNdEx > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
2017-08-04 11:13:19 +00:00
|
|
|
func (m *ServerAddressByClientCIDR) Unmarshal(dAtA []byte) error {
|
|
|
|
l := len(dAtA)
|
2017-02-01 00:45:59 +00:00
|
|
|
iNdEx := 0
|
|
|
|
for iNdEx < l {
|
|
|
|
preIndex := iNdEx
|
|
|
|
var wire uint64
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowGenerated
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2017-08-04 11:13:19 +00:00
|
|
|
b := dAtA[iNdEx]
|
2017-02-01 00:45:59 +00:00
|
|
|
iNdEx++
|
|
|
|
wire |= (uint64(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
fieldNum := int32(wire >> 3)
|
|
|
|
wireType := int(wire & 0x7)
|
|
|
|
if wireType == 4 {
|
|
|
|
return fmt.Errorf("proto: ServerAddressByClientCIDR: wiretype end group for non-group")
|
|
|
|
}
|
|
|
|
if fieldNum <= 0 {
|
|
|
|
return fmt.Errorf("proto: ServerAddressByClientCIDR: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
|
|
}
|
|
|
|
switch fieldNum {
|
|
|
|
case 1:
|
|
|
|
if wireType != 2 {
|
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field ClientCIDR", wireType)
|
|
|
|
}
|
|
|
|
var stringLen uint64
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowGenerated
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2017-08-04 11:13:19 +00:00
|
|
|
b := dAtA[iNdEx]
|
2017-02-01 00:45:59 +00:00
|
|
|
iNdEx++
|
|
|
|
stringLen |= (uint64(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
intStringLen := int(stringLen)
|
|
|
|
if intStringLen < 0 {
|
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
|
|
|
postIndex := iNdEx + intStringLen
|
|
|
|
if postIndex > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2017-08-04 11:13:19 +00:00
|
|
|
m.ClientCIDR = string(dAtA[iNdEx:postIndex])
|
2017-02-01 00:45:59 +00:00
|
|
|
iNdEx = postIndex
|
|
|
|
case 2:
|
|
|
|
if wireType != 2 {
|
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field ServerAddress", wireType)
|
|
|
|
}
|
|
|
|
var stringLen uint64
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowGenerated
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2017-08-04 11:13:19 +00:00
|
|
|
b := dAtA[iNdEx]
|
2017-02-01 00:45:59 +00:00
|
|
|
iNdEx++
|
|
|
|
stringLen |= (uint64(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
intStringLen := int(stringLen)
|
|
|
|
if intStringLen < 0 {
|
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
|
|
|
postIndex := iNdEx + intStringLen
|
|
|
|
if postIndex > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2017-08-04 11:13:19 +00:00
|
|
|
m.ServerAddress = string(dAtA[iNdEx:postIndex])
|
2017-02-01 00:45:59 +00:00
|
|
|
iNdEx = postIndex
|
|
|
|
default:
|
|
|
|
iNdEx = preIndex
|
2017-08-04 11:13:19 +00:00
|
|
|
skippy, err := skipGenerated(dAtA[iNdEx:])
|
2017-02-01 00:45:59 +00:00
|
|
|
if err != nil {
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
if skippy < 0 {
|
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
|
|
|
if (iNdEx + skippy) > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
iNdEx += skippy
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
if iNdEx > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
2017-08-04 11:13:19 +00:00
|
|
|
func (m *Status) Unmarshal(dAtA []byte) error {
|
|
|
|
l := len(dAtA)
|
2017-02-01 00:45:59 +00:00
|
|
|
iNdEx := 0
|
|
|
|
for iNdEx < l {
|
|
|
|
preIndex := iNdEx
|
|
|
|
var wire uint64
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowGenerated
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2017-08-04 11:13:19 +00:00
|
|
|
b := dAtA[iNdEx]
|
2017-02-01 00:45:59 +00:00
|
|
|
iNdEx++
|
|
|
|
wire |= (uint64(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
fieldNum := int32(wire >> 3)
|
|
|
|
wireType := int(wire & 0x7)
|
|
|
|
if wireType == 4 {
|
|
|
|
return fmt.Errorf("proto: Status: wiretype end group for non-group")
|
|
|
|
}
|
|
|
|
if fieldNum <= 0 {
|
|
|
|
return fmt.Errorf("proto: Status: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
|
|
}
|
|
|
|
switch fieldNum {
|
|
|
|
case 1:
|
|
|
|
if wireType != 2 {
|
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field ListMeta", wireType)
|
|
|
|
}
|
|
|
|
var msglen int
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowGenerated
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2017-08-04 11:13:19 +00:00
|
|
|
b := dAtA[iNdEx]
|
2017-02-01 00:45:59 +00:00
|
|
|
iNdEx++
|
|
|
|
msglen |= (int(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if msglen < 0 {
|
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
|
|
|
postIndex := iNdEx + msglen
|
|
|
|
if postIndex > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2017-08-04 11:13:19 +00:00
|
|
|
if err := m.ListMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
2017-02-01 00:45:59 +00:00
|
|
|
return err
|
|
|
|
}
|
|
|
|
iNdEx = postIndex
|
|
|
|
case 2:
|
|
|
|
if wireType != 2 {
|
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType)
|
|
|
|
}
|
|
|
|
var stringLen uint64
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowGenerated
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2017-08-04 11:13:19 +00:00
|
|
|
b := dAtA[iNdEx]
|
2017-02-01 00:45:59 +00:00
|
|
|
iNdEx++
|
|
|
|
stringLen |= (uint64(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
intStringLen := int(stringLen)
|
|
|
|
if intStringLen < 0 {
|
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
|
|
|
postIndex := iNdEx + intStringLen
|
|
|
|
if postIndex > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2017-08-04 11:13:19 +00:00
|
|
|
m.Status = string(dAtA[iNdEx:postIndex])
|
2017-02-01 00:45:59 +00:00
|
|
|
iNdEx = postIndex
|
|
|
|
case 3:
|
|
|
|
if wireType != 2 {
|
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Message", wireType)
|
|
|
|
}
|
|
|
|
var stringLen uint64
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowGenerated
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2017-08-04 11:13:19 +00:00
|
|
|
b := dAtA[iNdEx]
|
2017-02-01 00:45:59 +00:00
|
|
|
iNdEx++
|
|
|
|
stringLen |= (uint64(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
intStringLen := int(stringLen)
|
|
|
|
if intStringLen < 0 {
|
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
|
|
|
postIndex := iNdEx + intStringLen
|
|
|
|
if postIndex > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2017-08-04 11:13:19 +00:00
|
|
|
m.Message = string(dAtA[iNdEx:postIndex])
|
2017-02-01 00:45:59 +00:00
|
|
|
iNdEx = postIndex
|
|
|
|
case 4:
|
|
|
|
if wireType != 2 {
|
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Reason", wireType)
|
|
|
|
}
|
|
|
|
var stringLen uint64
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowGenerated
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2017-08-04 11:13:19 +00:00
|
|
|
b := dAtA[iNdEx]
|
2017-02-01 00:45:59 +00:00
|
|
|
iNdEx++
|
|
|
|
stringLen |= (uint64(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
intStringLen := int(stringLen)
|
|
|
|
if intStringLen < 0 {
|
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
|
|
|
postIndex := iNdEx + intStringLen
|
|
|
|
if postIndex > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2017-08-04 11:13:19 +00:00
|
|
|
m.Reason = StatusReason(dAtA[iNdEx:postIndex])
|
2017-02-01 00:45:59 +00:00
|
|
|
iNdEx = postIndex
|
|
|
|
case 5:
|
|
|
|
if wireType != 2 {
|
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Details", wireType)
|
|
|
|
}
|
|
|
|
var msglen int
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowGenerated
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2017-08-04 11:13:19 +00:00
|
|
|
b := dAtA[iNdEx]
|
2017-02-01 00:45:59 +00:00
|
|
|
iNdEx++
|
|
|
|
msglen |= (int(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if msglen < 0 {
|
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
|
|
|
postIndex := iNdEx + msglen
|
|
|
|
if postIndex > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
if m.Details == nil {
|
|
|
|
m.Details = &StatusDetails{}
|
|
|
|
}
|
2017-08-04 11:13:19 +00:00
|
|
|
if err := m.Details.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
2017-02-01 00:45:59 +00:00
|
|
|
return err
|
|
|
|
}
|
|
|
|
iNdEx = postIndex
|
|
|
|
case 6:
|
|
|
|
if wireType != 0 {
|
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Code", wireType)
|
|
|
|
}
|
|
|
|
m.Code = 0
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowGenerated
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2017-08-04 11:13:19 +00:00
|
|
|
b := dAtA[iNdEx]
|
2017-02-01 00:45:59 +00:00
|
|
|
iNdEx++
|
|
|
|
m.Code |= (int32(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
default:
|
|
|
|
iNdEx = preIndex
|
2017-08-04 11:13:19 +00:00
|
|
|
skippy, err := skipGenerated(dAtA[iNdEx:])
|
2017-02-01 00:45:59 +00:00
|
|
|
if err != nil {
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
if skippy < 0 {
|
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
|
|
|
if (iNdEx + skippy) > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
iNdEx += skippy
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
if iNdEx > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
2017-08-04 11:13:19 +00:00
|
|
|
func (m *StatusCause) Unmarshal(dAtA []byte) error {
|
|
|
|
l := len(dAtA)
|
2017-02-01 00:45:59 +00:00
|
|
|
iNdEx := 0
|
|
|
|
for iNdEx < l {
|
|
|
|
preIndex := iNdEx
|
|
|
|
var wire uint64
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowGenerated
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2017-08-04 11:13:19 +00:00
|
|
|
b := dAtA[iNdEx]
|
2017-02-01 00:45:59 +00:00
|
|
|
iNdEx++
|
|
|
|
wire |= (uint64(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
fieldNum := int32(wire >> 3)
|
|
|
|
wireType := int(wire & 0x7)
|
|
|
|
if wireType == 4 {
|
|
|
|
return fmt.Errorf("proto: StatusCause: wiretype end group for non-group")
|
|
|
|
}
|
|
|
|
if fieldNum <= 0 {
|
|
|
|
return fmt.Errorf("proto: StatusCause: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
|
|
}
|
|
|
|
switch fieldNum {
|
|
|
|
case 1:
|
|
|
|
if wireType != 2 {
|
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Type", wireType)
|
|
|
|
}
|
|
|
|
var stringLen uint64
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowGenerated
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2017-08-04 11:13:19 +00:00
|
|
|
b := dAtA[iNdEx]
|
2017-02-01 00:45:59 +00:00
|
|
|
iNdEx++
|
|
|
|
stringLen |= (uint64(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
intStringLen := int(stringLen)
|
|
|
|
if intStringLen < 0 {
|
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
|
|
|
postIndex := iNdEx + intStringLen
|
|
|
|
if postIndex > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2017-08-04 11:13:19 +00:00
|
|
|
m.Type = CauseType(dAtA[iNdEx:postIndex])
|
2017-02-01 00:45:59 +00:00
|
|
|
iNdEx = postIndex
|
|
|
|
case 2:
|
|
|
|
if wireType != 2 {
|
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Message", wireType)
|
|
|
|
}
|
|
|
|
var stringLen uint64
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowGenerated
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2017-08-04 11:13:19 +00:00
|
|
|
b := dAtA[iNdEx]
|
2017-02-01 00:45:59 +00:00
|
|
|
iNdEx++
|
|
|
|
stringLen |= (uint64(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
intStringLen := int(stringLen)
|
|
|
|
if intStringLen < 0 {
|
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
|
|
|
postIndex := iNdEx + intStringLen
|
|
|
|
if postIndex > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2017-08-04 11:13:19 +00:00
|
|
|
m.Message = string(dAtA[iNdEx:postIndex])
|
2017-02-01 00:45:59 +00:00
|
|
|
iNdEx = postIndex
|
|
|
|
case 3:
|
|
|
|
if wireType != 2 {
|
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Field", wireType)
|
|
|
|
}
|
|
|
|
var stringLen uint64
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowGenerated
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2017-08-04 11:13:19 +00:00
|
|
|
b := dAtA[iNdEx]
|
2017-02-01 00:45:59 +00:00
|
|
|
iNdEx++
|
|
|
|
stringLen |= (uint64(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
intStringLen := int(stringLen)
|
|
|
|
if intStringLen < 0 {
|
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
|
|
|
postIndex := iNdEx + intStringLen
|
|
|
|
if postIndex > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2017-08-04 11:13:19 +00:00
|
|
|
m.Field = string(dAtA[iNdEx:postIndex])
|
2017-02-01 00:45:59 +00:00
|
|
|
iNdEx = postIndex
|
|
|
|
default:
|
|
|
|
iNdEx = preIndex
|
2017-08-04 11:13:19 +00:00
|
|
|
skippy, err := skipGenerated(dAtA[iNdEx:])
|
2017-02-01 00:45:59 +00:00
|
|
|
if err != nil {
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
if skippy < 0 {
|
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
|
|
|
if (iNdEx + skippy) > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
iNdEx += skippy
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
if iNdEx > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
2017-08-04 11:13:19 +00:00
|
|
|
func (m *StatusDetails) Unmarshal(dAtA []byte) error {
|
|
|
|
l := len(dAtA)
|
2017-02-01 00:45:59 +00:00
|
|
|
iNdEx := 0
|
|
|
|
for iNdEx < l {
|
|
|
|
preIndex := iNdEx
|
|
|
|
var wire uint64
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowGenerated
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2017-08-04 11:13:19 +00:00
|
|
|
b := dAtA[iNdEx]
|
2017-02-01 00:45:59 +00:00
|
|
|
iNdEx++
|
|
|
|
wire |= (uint64(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
fieldNum := int32(wire >> 3)
|
|
|
|
wireType := int(wire & 0x7)
|
|
|
|
if wireType == 4 {
|
|
|
|
return fmt.Errorf("proto: StatusDetails: wiretype end group for non-group")
|
|
|
|
}
|
|
|
|
if fieldNum <= 0 {
|
|
|
|
return fmt.Errorf("proto: StatusDetails: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
|
|
}
|
|
|
|
switch fieldNum {
|
|
|
|
case 1:
|
|
|
|
if wireType != 2 {
|
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType)
|
|
|
|
}
|
|
|
|
var stringLen uint64
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowGenerated
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2017-08-04 11:13:19 +00:00
|
|
|
b := dAtA[iNdEx]
|
2017-02-01 00:45:59 +00:00
|
|
|
iNdEx++
|
|
|
|
stringLen |= (uint64(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
intStringLen := int(stringLen)
|
|
|
|
if intStringLen < 0 {
|
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
|
|
|
postIndex := iNdEx + intStringLen
|
|
|
|
if postIndex > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2017-08-04 11:13:19 +00:00
|
|
|
m.Name = string(dAtA[iNdEx:postIndex])
|
2017-02-01 00:45:59 +00:00
|
|
|
iNdEx = postIndex
|
|
|
|
case 2:
|
|
|
|
if wireType != 2 {
|
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Group", wireType)
|
|
|
|
}
|
|
|
|
var stringLen uint64
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowGenerated
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2017-08-04 11:13:19 +00:00
|
|
|
b := dAtA[iNdEx]
|
2017-02-01 00:45:59 +00:00
|
|
|
iNdEx++
|
|
|
|
stringLen |= (uint64(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
intStringLen := int(stringLen)
|
|
|
|
if intStringLen < 0 {
|
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
|
|
|
postIndex := iNdEx + intStringLen
|
|
|
|
if postIndex > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2017-08-04 11:13:19 +00:00
|
|
|
m.Group = string(dAtA[iNdEx:postIndex])
|
2017-02-01 00:45:59 +00:00
|
|
|
iNdEx = postIndex
|
|
|
|
case 3:
|
|
|
|
if wireType != 2 {
|
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Kind", wireType)
|
|
|
|
}
|
|
|
|
var stringLen uint64
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowGenerated
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2017-08-04 11:13:19 +00:00
|
|
|
b := dAtA[iNdEx]
|
2017-02-01 00:45:59 +00:00
|
|
|
iNdEx++
|
|
|
|
stringLen |= (uint64(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
intStringLen := int(stringLen)
|
|
|
|
if intStringLen < 0 {
|
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
|
|
|
postIndex := iNdEx + intStringLen
|
|
|
|
if postIndex > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2017-08-04 11:13:19 +00:00
|
|
|
m.Kind = string(dAtA[iNdEx:postIndex])
|
2017-02-01 00:45:59 +00:00
|
|
|
iNdEx = postIndex
|
|
|
|
case 4:
|
|
|
|
if wireType != 2 {
|
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Causes", wireType)
|
|
|
|
}
|
|
|
|
var msglen int
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowGenerated
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2017-08-04 11:13:19 +00:00
|
|
|
b := dAtA[iNdEx]
|
2017-02-01 00:45:59 +00:00
|
|
|
iNdEx++
|
|
|
|
msglen |= (int(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if msglen < 0 {
|
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
|
|
|
postIndex := iNdEx + msglen
|
|
|
|
if postIndex > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
m.Causes = append(m.Causes, StatusCause{})
|
2017-08-04 11:13:19 +00:00
|
|
|
if err := m.Causes[len(m.Causes)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
2017-02-01 00:45:59 +00:00
|
|
|
return err
|
|
|
|
}
|
|
|
|
iNdEx = postIndex
|
|
|
|
case 5:
|
|
|
|
if wireType != 0 {
|
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field RetryAfterSeconds", wireType)
|
|
|
|
}
|
|
|
|
m.RetryAfterSeconds = 0
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowGenerated
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2017-08-04 11:13:19 +00:00
|
|
|
b := dAtA[iNdEx]
|
2017-02-01 00:45:59 +00:00
|
|
|
iNdEx++
|
|
|
|
m.RetryAfterSeconds |= (int32(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
2017-08-04 11:13:19 +00:00
|
|
|
case 6:
|
|
|
|
if wireType != 2 {
|
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field UID", wireType)
|
|
|
|
}
|
|
|
|
var stringLen uint64
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowGenerated
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
b := dAtA[iNdEx]
|
|
|
|
iNdEx++
|
|
|
|
stringLen |= (uint64(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
intStringLen := int(stringLen)
|
|
|
|
if intStringLen < 0 {
|
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
|
|
|
postIndex := iNdEx + intStringLen
|
|
|
|
if postIndex > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
m.UID = k8s_io_apimachinery_pkg_types.UID(dAtA[iNdEx:postIndex])
|
|
|
|
iNdEx = postIndex
|
2017-02-01 00:45:59 +00:00
|
|
|
default:
|
|
|
|
iNdEx = preIndex
|
2017-08-04 11:13:19 +00:00
|
|
|
skippy, err := skipGenerated(dAtA[iNdEx:])
|
2017-02-01 00:45:59 +00:00
|
|
|
if err != nil {
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
if skippy < 0 {
|
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
|
|
|
if (iNdEx + skippy) > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
iNdEx += skippy
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
if iNdEx > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
2017-08-04 11:13:19 +00:00
|
|
|
func (m *Timestamp) Unmarshal(dAtA []byte) error {
|
|
|
|
l := len(dAtA)
|
2017-02-01 00:45:59 +00:00
|
|
|
iNdEx := 0
|
|
|
|
for iNdEx < l {
|
|
|
|
preIndex := iNdEx
|
|
|
|
var wire uint64
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowGenerated
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2017-08-04 11:13:19 +00:00
|
|
|
b := dAtA[iNdEx]
|
2017-02-01 00:45:59 +00:00
|
|
|
iNdEx++
|
|
|
|
wire |= (uint64(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
fieldNum := int32(wire >> 3)
|
|
|
|
wireType := int(wire & 0x7)
|
|
|
|
if wireType == 4 {
|
|
|
|
return fmt.Errorf("proto: Timestamp: wiretype end group for non-group")
|
|
|
|
}
|
|
|
|
if fieldNum <= 0 {
|
|
|
|
return fmt.Errorf("proto: Timestamp: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
|
|
}
|
|
|
|
switch fieldNum {
|
|
|
|
case 1:
|
|
|
|
if wireType != 0 {
|
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Seconds", wireType)
|
|
|
|
}
|
|
|
|
m.Seconds = 0
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowGenerated
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2017-08-04 11:13:19 +00:00
|
|
|
b := dAtA[iNdEx]
|
2017-02-01 00:45:59 +00:00
|
|
|
iNdEx++
|
|
|
|
m.Seconds |= (int64(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
case 2:
|
|
|
|
if wireType != 0 {
|
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Nanos", wireType)
|
|
|
|
}
|
|
|
|
m.Nanos = 0
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowGenerated
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2017-08-04 11:13:19 +00:00
|
|
|
b := dAtA[iNdEx]
|
2017-02-01 00:45:59 +00:00
|
|
|
iNdEx++
|
|
|
|
m.Nanos |= (int32(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
default:
|
|
|
|
iNdEx = preIndex
|
2017-08-04 11:13:19 +00:00
|
|
|
skippy, err := skipGenerated(dAtA[iNdEx:])
|
2017-02-01 00:45:59 +00:00
|
|
|
if err != nil {
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
if skippy < 0 {
|
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
|
|
|
if (iNdEx + skippy) > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
iNdEx += skippy
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
if iNdEx > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
2017-08-04 11:13:19 +00:00
|
|
|
func (m *TypeMeta) Unmarshal(dAtA []byte) error {
|
|
|
|
l := len(dAtA)
|
2017-02-01 00:45:59 +00:00
|
|
|
iNdEx := 0
|
|
|
|
for iNdEx < l {
|
|
|
|
preIndex := iNdEx
|
|
|
|
var wire uint64
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowGenerated
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2017-08-04 11:13:19 +00:00
|
|
|
b := dAtA[iNdEx]
|
2017-02-01 00:45:59 +00:00
|
|
|
iNdEx++
|
|
|
|
wire |= (uint64(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
fieldNum := int32(wire >> 3)
|
|
|
|
wireType := int(wire & 0x7)
|
|
|
|
if wireType == 4 {
|
|
|
|
return fmt.Errorf("proto: TypeMeta: wiretype end group for non-group")
|
|
|
|
}
|
|
|
|
if fieldNum <= 0 {
|
|
|
|
return fmt.Errorf("proto: TypeMeta: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
|
|
}
|
|
|
|
switch fieldNum {
|
|
|
|
case 1:
|
|
|
|
if wireType != 2 {
|
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Kind", wireType)
|
|
|
|
}
|
|
|
|
var stringLen uint64
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowGenerated
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2017-08-04 11:13:19 +00:00
|
|
|
b := dAtA[iNdEx]
|
2017-02-01 00:45:59 +00:00
|
|
|
iNdEx++
|
|
|
|
stringLen |= (uint64(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
intStringLen := int(stringLen)
|
|
|
|
if intStringLen < 0 {
|
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
|
|
|
postIndex := iNdEx + intStringLen
|
|
|
|
if postIndex > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2017-08-04 11:13:19 +00:00
|
|
|
m.Kind = string(dAtA[iNdEx:postIndex])
|
2017-02-01 00:45:59 +00:00
|
|
|
iNdEx = postIndex
|
|
|
|
case 2:
|
|
|
|
if wireType != 2 {
|
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field APIVersion", wireType)
|
|
|
|
}
|
|
|
|
var stringLen uint64
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowGenerated
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2017-08-04 11:13:19 +00:00
|
|
|
b := dAtA[iNdEx]
|
2017-02-01 00:45:59 +00:00
|
|
|
iNdEx++
|
|
|
|
stringLen |= (uint64(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
intStringLen := int(stringLen)
|
|
|
|
if intStringLen < 0 {
|
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
|
|
|
postIndex := iNdEx + intStringLen
|
|
|
|
if postIndex > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2017-08-04 11:13:19 +00:00
|
|
|
m.APIVersion = string(dAtA[iNdEx:postIndex])
|
2017-02-01 00:45:59 +00:00
|
|
|
iNdEx = postIndex
|
|
|
|
default:
|
|
|
|
iNdEx = preIndex
|
2017-08-04 11:13:19 +00:00
|
|
|
skippy, err := skipGenerated(dAtA[iNdEx:])
|
2017-02-01 00:45:59 +00:00
|
|
|
if err != nil {
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
if skippy < 0 {
|
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
|
|
|
if (iNdEx + skippy) > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
iNdEx += skippy
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
if iNdEx > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
2017-08-04 11:13:19 +00:00
|
|
|
func (m *Verbs) Unmarshal(dAtA []byte) error {
|
|
|
|
l := len(dAtA)
|
2017-02-01 00:45:59 +00:00
|
|
|
iNdEx := 0
|
|
|
|
for iNdEx < l {
|
|
|
|
preIndex := iNdEx
|
|
|
|
var wire uint64
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowGenerated
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2017-08-04 11:13:19 +00:00
|
|
|
b := dAtA[iNdEx]
|
2017-02-01 00:45:59 +00:00
|
|
|
iNdEx++
|
|
|
|
wire |= (uint64(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
fieldNum := int32(wire >> 3)
|
|
|
|
wireType := int(wire & 0x7)
|
|
|
|
if wireType == 4 {
|
|
|
|
return fmt.Errorf("proto: Verbs: wiretype end group for non-group")
|
|
|
|
}
|
|
|
|
if fieldNum <= 0 {
|
|
|
|
return fmt.Errorf("proto: Verbs: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
|
|
}
|
|
|
|
switch fieldNum {
|
|
|
|
case 1:
|
|
|
|
if wireType != 2 {
|
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Items", wireType)
|
|
|
|
}
|
|
|
|
var stringLen uint64
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowGenerated
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2017-08-04 11:13:19 +00:00
|
|
|
b := dAtA[iNdEx]
|
2017-02-01 00:45:59 +00:00
|
|
|
iNdEx++
|
|
|
|
stringLen |= (uint64(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
intStringLen := int(stringLen)
|
|
|
|
if intStringLen < 0 {
|
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
|
|
|
postIndex := iNdEx + intStringLen
|
|
|
|
if postIndex > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2017-08-04 11:13:19 +00:00
|
|
|
*m = append(*m, string(dAtA[iNdEx:postIndex]))
|
2017-02-01 00:45:59 +00:00
|
|
|
iNdEx = postIndex
|
|
|
|
default:
|
|
|
|
iNdEx = preIndex
|
2017-08-04 11:13:19 +00:00
|
|
|
skippy, err := skipGenerated(dAtA[iNdEx:])
|
2017-02-01 00:45:59 +00:00
|
|
|
if err != nil {
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
if skippy < 0 {
|
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
|
|
|
if (iNdEx + skippy) > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
iNdEx += skippy
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
if iNdEx > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
2017-08-04 11:13:19 +00:00
|
|
|
func (m *WatchEvent) Unmarshal(dAtA []byte) error {
|
|
|
|
l := len(dAtA)
|
2017-02-01 00:45:59 +00:00
|
|
|
iNdEx := 0
|
|
|
|
for iNdEx < l {
|
|
|
|
preIndex := iNdEx
|
|
|
|
var wire uint64
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowGenerated
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2017-08-04 11:13:19 +00:00
|
|
|
b := dAtA[iNdEx]
|
2017-02-01 00:45:59 +00:00
|
|
|
iNdEx++
|
|
|
|
wire |= (uint64(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
fieldNum := int32(wire >> 3)
|
|
|
|
wireType := int(wire & 0x7)
|
|
|
|
if wireType == 4 {
|
|
|
|
return fmt.Errorf("proto: WatchEvent: wiretype end group for non-group")
|
|
|
|
}
|
|
|
|
if fieldNum <= 0 {
|
|
|
|
return fmt.Errorf("proto: WatchEvent: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
|
|
}
|
|
|
|
switch fieldNum {
|
|
|
|
case 1:
|
|
|
|
if wireType != 2 {
|
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Type", wireType)
|
|
|
|
}
|
|
|
|
var stringLen uint64
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowGenerated
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2017-08-04 11:13:19 +00:00
|
|
|
b := dAtA[iNdEx]
|
2017-02-01 00:45:59 +00:00
|
|
|
iNdEx++
|
|
|
|
stringLen |= (uint64(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
intStringLen := int(stringLen)
|
|
|
|
if intStringLen < 0 {
|
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
|
|
|
postIndex := iNdEx + intStringLen
|
|
|
|
if postIndex > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2017-08-04 11:13:19 +00:00
|
|
|
m.Type = string(dAtA[iNdEx:postIndex])
|
2017-02-01 00:45:59 +00:00
|
|
|
iNdEx = postIndex
|
|
|
|
case 2:
|
|
|
|
if wireType != 2 {
|
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Object", wireType)
|
|
|
|
}
|
|
|
|
var msglen int
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowGenerated
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2017-08-04 11:13:19 +00:00
|
|
|
b := dAtA[iNdEx]
|
2017-02-01 00:45:59 +00:00
|
|
|
iNdEx++
|
|
|
|
msglen |= (int(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if msglen < 0 {
|
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
|
|
|
postIndex := iNdEx + msglen
|
|
|
|
if postIndex > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2017-08-04 11:13:19 +00:00
|
|
|
if err := m.Object.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
2017-02-01 00:45:59 +00:00
|
|
|
return err
|
|
|
|
}
|
|
|
|
iNdEx = postIndex
|
|
|
|
default:
|
|
|
|
iNdEx = preIndex
|
2017-08-04 11:13:19 +00:00
|
|
|
skippy, err := skipGenerated(dAtA[iNdEx:])
|
2017-02-01 00:45:59 +00:00
|
|
|
if err != nil {
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
if skippy < 0 {
|
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
|
|
|
if (iNdEx + skippy) > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
iNdEx += skippy
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
if iNdEx > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
2017-08-04 11:13:19 +00:00
|
|
|
func skipGenerated(dAtA []byte) (n int, err error) {
|
|
|
|
l := len(dAtA)
|
2017-02-01 00:45:59 +00:00
|
|
|
iNdEx := 0
|
|
|
|
for iNdEx < l {
|
|
|
|
var wire uint64
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return 0, ErrIntOverflowGenerated
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return 0, io.ErrUnexpectedEOF
|
|
|
|
}
|
2017-08-04 11:13:19 +00:00
|
|
|
b := dAtA[iNdEx]
|
2017-02-01 00:45:59 +00:00
|
|
|
iNdEx++
|
|
|
|
wire |= (uint64(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
wireType := int(wire & 0x7)
|
|
|
|
switch wireType {
|
|
|
|
case 0:
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return 0, ErrIntOverflowGenerated
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return 0, io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
iNdEx++
|
2017-08-04 11:13:19 +00:00
|
|
|
if dAtA[iNdEx-1] < 0x80 {
|
2017-02-01 00:45:59 +00:00
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
return iNdEx, nil
|
|
|
|
case 1:
|
|
|
|
iNdEx += 8
|
|
|
|
return iNdEx, nil
|
|
|
|
case 2:
|
|
|
|
var length int
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return 0, ErrIntOverflowGenerated
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return 0, io.ErrUnexpectedEOF
|
|
|
|
}
|
2017-08-04 11:13:19 +00:00
|
|
|
b := dAtA[iNdEx]
|
2017-02-01 00:45:59 +00:00
|
|
|
iNdEx++
|
|
|
|
length |= (int(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
iNdEx += length
|
|
|
|
if length < 0 {
|
|
|
|
return 0, ErrInvalidLengthGenerated
|
|
|
|
}
|
|
|
|
return iNdEx, nil
|
|
|
|
case 3:
|
|
|
|
for {
|
|
|
|
var innerWire uint64
|
|
|
|
var start int = iNdEx
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return 0, ErrIntOverflowGenerated
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return 0, io.ErrUnexpectedEOF
|
|
|
|
}
|
2017-08-04 11:13:19 +00:00
|
|
|
b := dAtA[iNdEx]
|
2017-02-01 00:45:59 +00:00
|
|
|
iNdEx++
|
|
|
|
innerWire |= (uint64(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
innerWireType := int(innerWire & 0x7)
|
|
|
|
if innerWireType == 4 {
|
|
|
|
break
|
|
|
|
}
|
2017-08-04 11:13:19 +00:00
|
|
|
next, err := skipGenerated(dAtA[start:])
|
2017-02-01 00:45:59 +00:00
|
|
|
if err != nil {
|
|
|
|
return 0, err
|
|
|
|
}
|
|
|
|
iNdEx = start + next
|
|
|
|
}
|
|
|
|
return iNdEx, nil
|
|
|
|
case 4:
|
|
|
|
return iNdEx, nil
|
|
|
|
case 5:
|
|
|
|
iNdEx += 4
|
|
|
|
return iNdEx, nil
|
|
|
|
default:
|
|
|
|
return 0, fmt.Errorf("proto: illegal wireType %d", wireType)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
panic("unreachable")
|
|
|
|
}
|
|
|
|
|
|
|
|
var (
|
|
|
|
ErrInvalidLengthGenerated = fmt.Errorf("proto: negative length found during unmarshaling")
|
|
|
|
ErrIntOverflowGenerated = fmt.Errorf("proto: integer overflow")
|
|
|
|
)
|
|
|
|
|
2017-08-04 11:13:19 +00:00
|
|
|
func init() {
|
|
|
|
proto.RegisterFile("k8s.io/kubernetes/vendor/k8s.io/apimachinery/pkg/apis/meta/v1/generated.proto", fileDescriptorGenerated)
|
|
|
|
}
|
|
|
|
|
2017-02-01 00:45:59 +00:00
|
|
|
var fileDescriptorGenerated = []byte{
|
2017-09-26 14:23:09 +00:00
|
|
|
// 2428 bytes of a gzipped FileDescriptorProto
|
|
|
|
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xcc, 0x59, 0x4d, 0x6c, 0x23, 0x49,
|
|
|
|
0x15, 0x4e, 0xdb, 0xb1, 0x63, 0x3f, 0xc7, 0xf9, 0xa9, 0xcd, 0x80, 0x37, 0x02, 0x3b, 0xdb, 0x8b,
|
|
|
|
0x56, 0x59, 0x98, 0xb5, 0x49, 0x16, 0x56, 0xc3, 0x00, 0x03, 0xe9, 0x38, 0x33, 0x8a, 0x76, 0x32,
|
|
|
|
0x63, 0x55, 0x76, 0x06, 0x31, 0x8c, 0x10, 0x9d, 0x76, 0xc5, 0x69, 0xd2, 0xee, 0xf6, 0x56, 0x95,
|
|
|
|
0x33, 0x09, 0x1c, 0xd8, 0x03, 0x48, 0x1c, 0x10, 0x9a, 0x23, 0x27, 0xb4, 0x23, 0xb8, 0x70, 0xe5,
|
|
|
|
0xc4, 0x05, 0x4e, 0x48, 0xcc, 0x71, 0x24, 0x2e, 0x7b, 0x40, 0xd6, 0x8e, 0xf7, 0xc0, 0x09, 0x71,
|
|
|
|
0xcf, 0x09, 0x55, 0x75, 0xf5, 0x9f, 0x1d, 0x4f, 0xda, 0x3b, 0x0b, 0xe2, 0x14, 0xf7, 0xfb, 0xf9,
|
|
|
|
0xde, 0xab, 0xaa, 0xf7, 0x5e, 0xbd, 0x7a, 0x81, 0xbd, 0xe3, 0x6b, 0xac, 0x6e, 0x7b, 0x8d, 0xe3,
|
|
|
|
0xfe, 0x01, 0xa1, 0x2e, 0xe1, 0x84, 0x35, 0x4e, 0x88, 0xdb, 0xf6, 0x68, 0x43, 0x31, 0xcc, 0x9e,
|
|
|
|
0xdd, 0x35, 0xad, 0x23, 0xdb, 0x25, 0xf4, 0xac, 0xd1, 0x3b, 0xee, 0x08, 0x02, 0x6b, 0x74, 0x09,
|
|
|
|
0x37, 0x1b, 0x27, 0x1b, 0x8d, 0x0e, 0x71, 0x09, 0x35, 0x39, 0x69, 0xd7, 0x7b, 0xd4, 0xe3, 0x1e,
|
|
|
|
0xfa, 0x92, 0xaf, 0x55, 0x8f, 0x6b, 0xd5, 0x7b, 0xc7, 0x1d, 0x41, 0x60, 0x75, 0xa1, 0x55, 0x3f,
|
|
|
|
0xd9, 0x58, 0x7d, 0xab, 0x63, 0xf3, 0xa3, 0xfe, 0x41, 0xdd, 0xf2, 0xba, 0x8d, 0x8e, 0xd7, 0xf1,
|
|
|
|
0x1a, 0x52, 0xf9, 0xa0, 0x7f, 0x28, 0xbf, 0xe4, 0x87, 0xfc, 0xe5, 0x83, 0xae, 0x4e, 0x74, 0x85,
|
|
|
|
0xf6, 0x5d, 0x6e, 0x77, 0xc9, 0xa8, 0x17, 0xab, 0xef, 0x5c, 0xa6, 0xc0, 0xac, 0x23, 0xd2, 0x35,
|
|
|
|
0xc7, 0xf4, 0xde, 0x9e, 0xa4, 0xd7, 0xe7, 0xb6, 0xd3, 0xb0, 0x5d, 0xce, 0x38, 0x1d, 0x55, 0xd2,
|
|
|
|
0xff, 0x96, 0x85, 0xc2, 0x56, 0x6b, 0xf7, 0x16, 0xf5, 0xfa, 0x3d, 0xb4, 0x06, 0xb3, 0xae, 0xd9,
|
|
|
|
0x25, 0x15, 0x6d, 0x4d, 0x5b, 0x2f, 0x1a, 0xf3, 0x4f, 0x07, 0xb5, 0x99, 0xe1, 0xa0, 0x36, 0x7b,
|
|
|
|
0xc7, 0xec, 0x12, 0x2c, 0x39, 0xc8, 0x81, 0xc2, 0x09, 0xa1, 0xcc, 0xf6, 0x5c, 0x56, 0xc9, 0xac,
|
|
|
|
0x65, 0xd7, 0x4b, 0x9b, 0x37, 0xea, 0x69, 0x36, 0xad, 0x2e, 0x0d, 0xdc, 0xf7, 0x55, 0x6f, 0x7a,
|
|
|
|
0xb4, 0x69, 0x33, 0xcb, 0x3b, 0x21, 0xf4, 0xcc, 0x58, 0x52, 0x56, 0x0a, 0x8a, 0xc9, 0x70, 0x68,
|
|
|
|
0x01, 0xfd, 0x5c, 0x83, 0xa5, 0x1e, 0x25, 0x87, 0x84, 0x52, 0xd2, 0x56, 0xfc, 0x4a, 0x76, 0x4d,
|
|
|
|
0xfb, 0x0c, 0xcc, 0x56, 0x94, 0xd9, 0xa5, 0xd6, 0x08, 0x3e, 0x1e, 0xb3, 0x88, 0x7e, 0xa7, 0xc1,
|
|
|
|
0x2a, 0x23, 0xf4, 0x84, 0xd0, 0xad, 0x76, 0x9b, 0x12, 0xc6, 0x8c, 0xb3, 0x6d, 0xc7, 0x26, 0x2e,
|
|
|
|
0xdf, 0xde, 0x6d, 0x62, 0x56, 0x99, 0x95, 0xfb, 0xf0, 0x9d, 0x74, 0x0e, 0xed, 0x4f, 0xc2, 0x31,
|
|
|
|
0x74, 0xe5, 0xd1, 0xea, 0x44, 0x11, 0x86, 0x5f, 0xe0, 0x86, 0x7e, 0x08, 0xf3, 0xc1, 0x41, 0xde,
|
|
|
|
0xb6, 0x19, 0x47, 0xf7, 0x21, 0xdf, 0x11, 0x1f, 0xac, 0xa2, 0x49, 0x07, 0xeb, 0xe9, 0x1c, 0x0c,
|
|
|
|
0x30, 0x8c, 0x05, 0xe5, 0x4f, 0x5e, 0x7e, 0x32, 0xac, 0xd0, 0xf4, 0x3f, 0x67, 0xa1, 0xb4, 0xd5,
|
|
|
|
0xda, 0xc5, 0x84, 0x79, 0x7d, 0x6a, 0x91, 0x14, 0x41, 0xb3, 0x09, 0x20, 0xfe, 0xb2, 0x9e, 0x69,
|
|
|
|
0x91, 0x76, 0x25, 0xb3, 0xa6, 0xad, 0x17, 0x0c, 0xa4, 0xe4, 0xe0, 0x4e, 0xc8, 0xc1, 0x31, 0x29,
|
|
|
|
0x81, 0x7a, 0x6c, 0xbb, 0x6d, 0x79, 0xda, 0x31, 0xd4, 0x77, 0x6d, 0xb7, 0x8d, 0x25, 0x07, 0xdd,
|
|
|
|
0x86, 0xdc, 0x09, 0xa1, 0x07, 0x62, 0xff, 0x45, 0x40, 0x7c, 0x25, 0xdd, 0xf2, 0xee, 0x0b, 0x15,
|
|
|
|
0xa3, 0x38, 0x1c, 0xd4, 0x72, 0xf2, 0x27, 0xf6, 0x41, 0x50, 0x1d, 0x80, 0x1d, 0x79, 0x94, 0x4b,
|
|
|
|
0x77, 0x2a, 0xb9, 0xb5, 0xec, 0x7a, 0xd1, 0x58, 0x10, 0xfe, 0xed, 0x87, 0x54, 0x1c, 0x93, 0x40,
|
|
|
|
0xd7, 0x60, 0x9e, 0xd9, 0x6e, 0xa7, 0xef, 0x98, 0x54, 0x10, 0x2a, 0x79, 0xe9, 0xe7, 0x8a, 0xf2,
|
|
|
|
0x73, 0x7e, 0x3f, 0xc6, 0xc3, 0x09, 0x49, 0x61, 0xc9, 0x32, 0x39, 0xe9, 0x78, 0xd4, 0x26, 0xac,
|
|
|
|
0x32, 0x17, 0x59, 0xda, 0x0e, 0xa9, 0x38, 0x26, 0x81, 0x5e, 0x87, 0x9c, 0xdc, 0xf9, 0x4a, 0x41,
|
|
|
|
0x9a, 0x28, 0x2b, 0x13, 0x39, 0x79, 0x2c, 0xd8, 0xe7, 0xa1, 0x37, 0x61, 0x4e, 0x65, 0x4d, 0xa5,
|
|
|
|
0x28, 0xc5, 0x16, 0x95, 0xd8, 0x5c, 0x10, 0xd6, 0x01, 0x5f, 0xff, 0xa3, 0x06, 0x8b, 0xb1, 0xf3,
|
|
|
|
0x93, 0xb1, 0x72, 0x0d, 0xe6, 0x3b, 0xb1, 0x4c, 0x51, 0x67, 0x19, 0xae, 0x26, 0x9e, 0x45, 0x38,
|
|
|
|
0x21, 0x89, 0x08, 0x14, 0xa9, 0x42, 0x0a, 0x2a, 0xc2, 0x46, 0xea, 0x40, 0x0b, 0x7c, 0x88, 0x2c,
|
|
|
|
0xc5, 0x88, 0x0c, 0x47, 0xc8, 0xfa, 0x3f, 0x35, 0x19, 0x74, 0x41, 0x8d, 0x40, 0xeb, 0xb1, 0x3a,
|
|
|
|
0xa4, 0xc9, 0x2d, 0x9c, 0x9f, 0x50, 0x43, 0x2e, 0x49, 0xde, 0xcc, 0xff, 0x45, 0xf2, 0x5e, 0x2f,
|
|
|
|
0xfc, 0xe6, 0xc3, 0xda, 0xcc, 0x07, 0xff, 0x58, 0x9b, 0xd1, 0x3f, 0xc9, 0x40, 0xb9, 0x49, 0x1c,
|
|
|
|
0xc2, 0xc9, 0xdd, 0x1e, 0x97, 0x2b, 0xb8, 0x09, 0xa8, 0x43, 0x4d, 0x8b, 0xb4, 0x08, 0xb5, 0xbd,
|
|
|
|
0xf6, 0x3e, 0xb1, 0x3c, 0xb7, 0xcd, 0xe4, 0x11, 0x65, 0x8d, 0xcf, 0x0d, 0x07, 0x35, 0x74, 0x6b,
|
|
|
|
0x8c, 0x8b, 0x2f, 0xd0, 0x40, 0x0e, 0x94, 0x7b, 0x54, 0xfe, 0xb6, 0xb9, 0x2a, 0xe0, 0x22, 0x71,
|
|
|
|
0xde, 0x4e, 0xb7, 0xf6, 0x56, 0x5c, 0xd5, 0x58, 0x1e, 0x0e, 0x6a, 0xe5, 0x04, 0x09, 0x27, 0xc1,
|
|
|
|
0xd1, 0x77, 0x61, 0xc9, 0xa3, 0xbd, 0x23, 0xd3, 0x6d, 0x92, 0x1e, 0x71, 0xdb, 0xc4, 0xe5, 0x4c,
|
|
|
|
0x26, 0x73, 0xc1, 0x58, 0x11, 0x65, 0xf7, 0xee, 0x08, 0x0f, 0x8f, 0x49, 0xa3, 0x07, 0xb0, 0xdc,
|
|
|
|
0xa3, 0x5e, 0xcf, 0xec, 0x98, 0x02, 0xb1, 0xe5, 0x39, 0xb6, 0x75, 0x26, 0x93, 0xbd, 0x68, 0x5c,
|
|
|
|
0x1d, 0x0e, 0x6a, 0xcb, 0xad, 0x51, 0xe6, 0xf9, 0xa0, 0xf6, 0x8a, 0xdc, 0x3a, 0x41, 0x89, 0x98,
|
|
|
|
0x78, 0x1c, 0x46, 0xdf, 0x85, 0x42, 0xb3, 0x4f, 0x25, 0x05, 0x7d, 0x1b, 0x0a, 0x6d, 0xf5, 0x5b,
|
|
|
|
0xed, 0xea, 0x6b, 0xc1, 0x9d, 0x14, 0xc8, 0x9c, 0x0f, 0x6a, 0x65, 0x71, 0xf5, 0xd6, 0x03, 0x02,
|
|
|
|
0x0e, 0x55, 0xf4, 0x87, 0x50, 0xde, 0x39, 0xed, 0x79, 0x94, 0x07, 0xe7, 0xf5, 0x06, 0xe4, 0x89,
|
|
|
|
0x24, 0x48, 0xb4, 0x42, 0x54, 0x48, 0x7d, 0x31, 0xac, 0xb8, 0x22, 0xb1, 0xc9, 0xa9, 0x69, 0x71,
|
|
|
|
0x55, 0x11, 0xc3, 0xc4, 0xde, 0x11, 0x44, 0xec, 0xf3, 0xf4, 0x27, 0x1a, 0xc0, 0x2d, 0x12, 0x62,
|
|
|
|
0x6f, 0xc1, 0x62, 0x90, 0x14, 0xc9, 0x5c, 0xfd, 0xbc, 0xd2, 0x5e, 0xc4, 0x49, 0x36, 0x1e, 0x95,
|
|
|
|
0x47, 0x2d, 0x58, 0xb1, 0x5d, 0xcb, 0xe9, 0xb7, 0xc9, 0x3d, 0xd7, 0x76, 0x6d, 0x6e, 0x9b, 0x8e,
|
|
|
|
0xfd, 0x93, 0xb0, 0x2e, 0x7f, 0x41, 0xe1, 0xac, 0xec, 0x5e, 0x20, 0x83, 0x2f, 0xd4, 0xd4, 0x1f,
|
|
|
|
0x42, 0x51, 0x56, 0x08, 0x51, 0x9c, 0xa3, 0x72, 0xa5, 0xbd, 0xa0, 0x5c, 0x05, 0xd5, 0x3d, 0x33,
|
|
|
|
0xa9, 0xba, 0xc7, 0x12, 0xc2, 0x81, 0xb2, 0xaf, 0x1b, 0x5c, 0x38, 0xa9, 0x2c, 0x5c, 0x85, 0x42,
|
|
|
|
0xb0, 0x70, 0x65, 0x25, 0x6c, 0x34, 0x02, 0x20, 0x1c, 0x4a, 0xc4, 0xac, 0x1d, 0x41, 0xa2, 0xda,
|
|
|
|
0xa5, 0x33, 0x16, 0xab, 0xbe, 0x99, 0x17, 0x57, 0xdf, 0x98, 0xa5, 0x9f, 0x41, 0x65, 0x52, 0x77,
|
|
|
|
0xf2, 0x12, 0xf5, 0x38, 0xbd, 0x2b, 0xfa, 0xaf, 0x35, 0x58, 0x8a, 0x23, 0xa5, 0x3f, 0xbe, 0xf4,
|
|
|
|
0x46, 0x2e, 0xbf, 0xc7, 0x63, 0x3b, 0xf2, 0x5b, 0x0d, 0x56, 0x12, 0x4b, 0x9b, 0xea, 0xc4, 0xa7,
|
|
|
|
0x70, 0x2a, 0x1e, 0x1c, 0xd9, 0x29, 0x82, 0xa3, 0x01, 0xa5, 0xdd, 0x30, 0xee, 0xe9, 0xe5, 0x9d,
|
|
|
|
0x8f, 0xfe, 0x17, 0x0d, 0xe6, 0x63, 0x1a, 0x0c, 0x3d, 0x84, 0x39, 0x51, 0xdf, 0x6c, 0xb7, 0xa3,
|
|
|
|
0xba, 0xb2, 0x94, 0x97, 0x65, 0x0c, 0x24, 0x5a, 0x57, 0xcb, 0x47, 0xc2, 0x01, 0x24, 0x6a, 0x41,
|
|
|
|
0x9e, 0x12, 0xd6, 0x77, 0xb8, 0x2a, 0xed, 0x57, 0x53, 0x5e, 0x6b, 0xdc, 0xe4, 0x7d, 0x66, 0x80,
|
|
|
|
0xa8, 0x51, 0x58, 0xea, 0x63, 0x85, 0xa3, 0xff, 0x3d, 0x03, 0xe5, 0xdb, 0xe6, 0x01, 0x71, 0xf6,
|
|
|
|
0x89, 0x43, 0x2c, 0xee, 0x51, 0xf4, 0x53, 0x28, 0x75, 0x4d, 0x6e, 0x1d, 0x49, 0x6a, 0xd0, 0x5b,
|
|
|
|
0x36, 0xd3, 0x19, 0x4a, 0x20, 0xd5, 0xf7, 0x22, 0x98, 0x1d, 0x97, 0xd3, 0x33, 0xe3, 0x15, 0xb5,
|
|
|
|
0xb0, 0x52, 0x8c, 0x83, 0xe3, 0xd6, 0xe4, 0x83, 0x40, 0x7e, 0xef, 0x9c, 0xf6, 0xc4, 0x25, 0x3a,
|
|
|
|
0xfd, 0x3b, 0x24, 0xe1, 0x02, 0x26, 0xef, 0xf7, 0x6d, 0x4a, 0xba, 0xc4, 0xe5, 0xd1, 0x83, 0x60,
|
|
|
|
0x6f, 0x04, 0x1f, 0x8f, 0x59, 0x5c, 0xbd, 0x01, 0x4b, 0xa3, 0xce, 0xa3, 0x25, 0xc8, 0x1e, 0x93,
|
|
|
|
0x33, 0x3f, 0x16, 0xb0, 0xf8, 0x89, 0x56, 0x20, 0x77, 0x62, 0x3a, 0x7d, 0x55, 0x7f, 0xb0, 0xff,
|
|
|
|
0x71, 0x3d, 0x73, 0x4d, 0xd3, 0x7f, 0xaf, 0x41, 0x65, 0x92, 0x23, 0xe8, 0x8b, 0x31, 0x20, 0xa3,
|
|
|
|
0xa4, 0xbc, 0xca, 0xbe, 0x4b, 0xce, 0x7c, 0xd4, 0x1d, 0x28, 0x78, 0x3d, 0xf1, 0x84, 0xf3, 0xa8,
|
|
|
|
0x8a, 0xf3, 0x37, 0x83, 0xd8, 0xbd, 0xab, 0xe8, 0xe7, 0x83, 0xda, 0x95, 0x04, 0x7c, 0xc0, 0xc0,
|
|
|
|
0xa1, 0x2a, 0xd2, 0x21, 0x2f, 0xfd, 0x11, 0x97, 0xb2, 0x68, 0x9f, 0xe4, 0xe1, 0xdf, 0x97, 0x14,
|
|
|
|
0xac, 0x38, 0xfa, 0x9f, 0x34, 0x98, 0x95, 0xed, 0xe1, 0x43, 0x28, 0x88, 0xfd, 0x6b, 0x9b, 0xdc,
|
|
|
|
0x94, 0x7e, 0xa5, 0x7e, 0x4c, 0x08, 0xed, 0x3d, 0xc2, 0xcd, 0x28, 0xbf, 0x02, 0x0a, 0x0e, 0x11,
|
|
|
|
0x11, 0x86, 0x9c, 0xcd, 0x49, 0x37, 0x38, 0xc8, 0xb7, 0x26, 0x42, 0xab, 0xf7, 0x6f, 0x1d, 0x9b,
|
|
|
|
0x8f, 0x76, 0x4e, 0x39, 0x71, 0xc5, 0x61, 0x44, 0xc5, 0x60, 0x57, 0x60, 0x60, 0x1f, 0x4a, 0xff,
|
|
|
|
0x83, 0x06, 0xa1, 0x29, 0x91, 0xee, 0x8c, 0x38, 0x87, 0xb7, 0x6d, 0xf7, 0x58, 0x6d, 0x6b, 0xe8,
|
|
|
|
0xce, 0xbe, 0xa2, 0xe3, 0x50, 0xe2, 0xa2, 0x2b, 0x36, 0x33, 0xe5, 0x15, 0x7b, 0x15, 0x0a, 0x96,
|
|
|
|
0xe7, 0x72, 0xdb, 0xed, 0x8f, 0xd5, 0x97, 0x6d, 0x45, 0xc7, 0xa1, 0x84, 0xfe, 0x2c, 0x0b, 0x25,
|
|
|
|
0xe1, 0x6b, 0x70, 0xc7, 0x7f, 0x13, 0xca, 0x4e, 0xfc, 0xf4, 0x94, 0xcf, 0x57, 0x14, 0x44, 0x32,
|
|
|
|
0x1f, 0x71, 0x52, 0x56, 0x28, 0x1f, 0xda, 0xc4, 0x69, 0x87, 0xca, 0x99, 0xa4, 0xf2, 0xcd, 0x38,
|
|
|
|
0x13, 0x27, 0x65, 0x45, 0x9d, 0x7d, 0x24, 0xe2, 0x5a, 0x35, 0x6a, 0xe1, 0xd6, 0x7e, 0x4f, 0x10,
|
|
|
|
0xb1, 0xcf, 0xbb, 0x68, 0x7f, 0x66, 0xa7, 0xdc, 0x9f, 0xeb, 0xb0, 0x20, 0x0e, 0xd2, 0xeb, 0xf3,
|
|
|
|
0xa0, 0x9b, 0xcd, 0xc9, 0xbe, 0x0b, 0x0d, 0x07, 0xb5, 0x85, 0xf7, 0x12, 0x1c, 0x3c, 0x22, 0x39,
|
|
|
|
0xb1, 0x7d, 0xc9, 0x7f, 0xda, 0xf6, 0x45, 0xac, 0xda, 0xb1, 0xbb, 0x36, 0xaf, 0xcc, 0x49, 0x27,
|
|
|
|
0xc2, 0x55, 0xdf, 0x16, 0x44, 0xec, 0xf3, 0x12, 0x47, 0x5a, 0xb8, 0xf4, 0x48, 0xdf, 0x87, 0xe2,
|
|
|
|
0x9e, 0x6d, 0x51, 0x4f, 0xac, 0x45, 0x5c, 0x4c, 0x2c, 0xd1, 0xb4, 0x87, 0x05, 0x3c, 0x58, 0x63,
|
|
|
|
0xc0, 0x17, 0xae, 0xb8, 0xa6, 0xeb, 0xf9, 0xad, 0x79, 0x2e, 0x72, 0xe5, 0x8e, 0x20, 0x62, 0x9f,
|
|
|
|
0x77, 0x7d, 0x45, 0xdc, 0x47, 0xbf, 0x7c, 0x52, 0x9b, 0x79, 0xfc, 0xa4, 0x36, 0xf3, 0xe1, 0x13,
|
|
|
|
0x75, 0x37, 0xfd, 0x0b, 0x00, 0xee, 0x1e, 0xfc, 0x98, 0x58, 0x7e, 0xcc, 0x5f, 0xfe, 0x2a, 0x17,
|
|
|
|
0x3d, 0x86, 0x1a, 0x06, 0xc9, 0x17, 0x6c, 0x66, 0xa4, 0xc7, 0x88, 0xf1, 0x70, 0x42, 0x12, 0x35,
|
|
|
|
0xa0, 0x18, 0xbe, 0xd4, 0x55, 0x7c, 0x2f, 0x2b, 0xb5, 0x62, 0xf8, 0x9c, 0xc7, 0x91, 0x4c, 0x22,
|
|
|
|
0x01, 0x67, 0x2f, 0x4d, 0x40, 0x03, 0xb2, 0x7d, 0xbb, 0x2d, 0x43, 0xa2, 0x68, 0x7c, 0x35, 0x28,
|
|
|
|
0x80, 0xf7, 0x76, 0x9b, 0xe7, 0x83, 0xda, 0x6b, 0x93, 0x66, 0x5c, 0xfc, 0xac, 0x47, 0x58, 0xfd,
|
|
|
|
0xde, 0x6e, 0x13, 0x0b, 0xe5, 0x8b, 0x82, 0x34, 0x3f, 0x65, 0x90, 0x6e, 0x02, 0xa8, 0x55, 0x0b,
|
|
|
|
0x6d, 0x3f, 0x36, 0xc2, 0xa9, 0xc5, 0xad, 0x90, 0x83, 0x63, 0x52, 0x88, 0xc1, 0xb2, 0x45, 0x89,
|
|
|
|
0xfc, 0x2d, 0x8e, 0x9e, 0x71, 0xb3, 0xeb, 0xbf, 0xdb, 0x4b, 0x9b, 0x5f, 0x4e, 0x57, 0x31, 0x85,
|
|
|
|
0x9a, 0xf1, 0xaa, 0x32, 0xb3, 0xbc, 0x3d, 0x0a, 0x86, 0xc7, 0xf1, 0x91, 0x07, 0xcb, 0x6d, 0xf5,
|
|
|
|
0xea, 0x89, 0x8c, 0x16, 0xa7, 0x36, 0x7a, 0x45, 0x18, 0x6c, 0x8e, 0x02, 0xe1, 0x71, 0x6c, 0xf4,
|
|
|
|
0x43, 0x58, 0x0d, 0x88, 0xe3, 0x4f, 0xcf, 0x0a, 0xc8, 0x9d, 0xaa, 0x8a, 0xc7, 0x70, 0x73, 0xa2,
|
|
|
|
0x14, 0x7e, 0x01, 0x02, 0x6a, 0x43, 0xde, 0xf1, 0xbb, 0x8b, 0x92, 0xbc, 0x11, 0xbe, 0x95, 0x6e,
|
|
|
|
0x15, 0x51, 0xf4, 0xd7, 0xe3, 0x5d, 0x45, 0xf8, 0xfc, 0x52, 0x0d, 0x85, 0xc2, 0x46, 0xa7, 0x50,
|
|
|
|
0x32, 0x5d, 0xd7, 0xe3, 0xa6, 0xff, 0x18, 0x9e, 0x97, 0xa6, 0xb6, 0xa6, 0x36, 0xb5, 0x15, 0x61,
|
|
|
|
0x8c, 0x74, 0x31, 0x31, 0x0e, 0x8e, 0x9b, 0x42, 0x8f, 0x60, 0xd1, 0x7b, 0xe4, 0x12, 0x8a, 0xc9,
|
|
|
|
0x21, 0xa1, 0xc4, 0xb5, 0x08, 0xab, 0x94, 0xa5, 0xf5, 0xaf, 0xa5, 0xb4, 0x9e, 0x50, 0x8e, 0x42,
|
|
|
|
0x3a, 0x49, 0x67, 0x78, 0xd4, 0x0a, 0xaa, 0x03, 0x1c, 0xda, 0xae, 0xea, 0x45, 0x2b, 0x0b, 0xd1,
|
|
|
|
0xe8, 0xe9, 0x66, 0x48, 0xc5, 0x31, 0x09, 0xf4, 0x75, 0x28, 0x59, 0x4e, 0x9f, 0x71, 0xe2, 0xcf,
|
|
|
|
0xb8, 0x16, 0x65, 0x06, 0x85, 0xeb, 0xdb, 0x8e, 0x58, 0x38, 0x2e, 0x87, 0x8e, 0x60, 0xde, 0x8e,
|
|
|
|
0x35, 0xbd, 0x95, 0x25, 0x19, 0x8b, 0x9b, 0x53, 0x77, 0xba, 0xcc, 0x58, 0x12, 0x95, 0x28, 0x4e,
|
|
|
|
0xc1, 0x09, 0xe4, 0xd5, 0x6f, 0x40, 0xe9, 0x53, 0xf6, 0x60, 0xa2, 0x87, 0x1b, 0x3d, 0xba, 0xa9,
|
|
|
|
0x7a, 0xb8, 0xbf, 0x66, 0x60, 0x21, 0xb9, 0xe1, 0xe1, 0x5b, 0x47, 0x9b, 0x38, 0xb3, 0x0c, 0xaa,
|
|
|
|
0x72, 0x76, 0x62, 0x55, 0x56, 0xc5, 0x6f, 0xf6, 0x65, 0x8a, 0xdf, 0x26, 0x80, 0xd9, 0xb3, 0x83,
|
|
|
|
0xba, 0xe7, 0xd7, 0xd1, 0xb0, 0x72, 0x45, 0x53, 0x34, 0x1c, 0x93, 0x92, 0x53, 0x49, 0xcf, 0xe5,
|
|
|
|
0xd4, 0x73, 0x1c, 0x42, 0xd5, 0x65, 0xea, 0x4f, 0x25, 0x43, 0x2a, 0x8e, 0x49, 0xa0, 0x9b, 0x80,
|
|
|
|
0x0e, 0x1c, 0xcf, 0x3a, 0x96, 0x5b, 0x10, 0xe4, 0xb9, 0xac, 0x92, 0x05, 0x7f, 0x28, 0x65, 0x8c,
|
|
|
|
0x71, 0xf1, 0x05, 0x1a, 0xfa, 0x5d, 0x48, 0x8e, 0x91, 0xd0, 0x0d, 0x7f, 0x03, 0xb4, 0x70, 0xce,
|
|
|
|
0x33, 0xdd, 0xe2, 0xf5, 0xab, 0x50, 0xc4, 0x9e, 0xc7, 0x5b, 0x26, 0x3f, 0x62, 0xa8, 0x06, 0xb9,
|
|
|
|
0x9e, 0xf8, 0xa1, 0x66, 0x84, 0x72, 0xec, 0x2b, 0x39, 0xd8, 0xa7, 0xeb, 0xbf, 0xd2, 0xe0, 0xd5,
|
|
|
|
0x89, 0x23, 0x3b, 0xb1, 0x91, 0x56, 0xf8, 0xa5, 0x5c, 0x0a, 0x37, 0x32, 0x92, 0xc3, 0x31, 0x29,
|
|
|
|
0xd1, 0x80, 0x25, 0xe6, 0x7c, 0xa3, 0x0d, 0x58, 0xc2, 0x1a, 0x4e, 0xca, 0xea, 0xff, 0xce, 0x40,
|
|
|
|
0xde, 0x7f, 0x8d, 0xfd, 0x97, 0x7b, 0xee, 0x37, 0x20, 0xcf, 0xa4, 0x1d, 0xe5, 0x5e, 0x58, 0x24,
|
|
|
|
0x7d, 0xeb, 0x58, 0x71, 0x45, 0xef, 0xd2, 0x25, 0x8c, 0x99, 0x9d, 0x20, 0x66, 0xc3, 0xde, 0x65,
|
|
|
|
0xcf, 0x27, 0xe3, 0x80, 0x8f, 0xde, 0x11, 0x8f, 0x4f, 0x93, 0x85, 0xed, 0x60, 0x35, 0x80, 0xc4,
|
|
|
|
0x92, 0x7a, 0x3e, 0xa8, 0xcd, 0x2b, 0x70, 0xf9, 0x8d, 0x95, 0x34, 0x7a, 0x00, 0x73, 0x6d, 0xc2,
|
|
|
|
0x4d, 0xdb, 0xf1, 0xbb, 0xc0, 0xd4, 0x03, 0x49, 0x1f, 0xac, 0xe9, 0xab, 0x1a, 0x25, 0xe1, 0x93,
|
|
|
|
0xfa, 0xc0, 0x01, 0xa0, 0xc8, 0x37, 0xcb, 0x6b, 0xfb, 0xd3, 0xf9, 0x5c, 0x94, 0x6f, 0xdb, 0x5e,
|
|
|
|
0x9b, 0x60, 0xc9, 0xd1, 0x1f, 0x6b, 0x50, 0xf2, 0x91, 0xb6, 0xcd, 0x3e, 0x23, 0x68, 0x23, 0x5c,
|
|
|
|
0x85, 0x7f, 0xdc, 0xc1, 0x55, 0x3c, 0xfb, 0xde, 0x59, 0x8f, 0x9c, 0x0f, 0x6a, 0x45, 0x29, 0x26,
|
|
|
|
0x3e, 0xc2, 0x05, 0xc4, 0xf6, 0x28, 0x73, 0xc9, 0x1e, 0xbd, 0x0e, 0x39, 0xd9, 0x71, 0xab, 0xcd,
|
|
|
|
0x0c, 0xfb, 0x3b, 0xd9, 0x95, 0x63, 0x9f, 0xa7, 0x7f, 0x9c, 0x81, 0x72, 0x62, 0x71, 0x29, 0x9a,
|
|
|
|
0xb9, 0x70, 0x42, 0x92, 0x49, 0x31, 0x75, 0x9b, 0xfc, 0x3f, 0x95, 0xef, 0x43, 0xde, 0x12, 0xeb,
|
|
|
|
0x0b, 0xfe, 0xa9, 0xb5, 0x31, 0xcd, 0x51, 0xc8, 0x9d, 0x89, 0x22, 0x49, 0x7e, 0x32, 0xac, 0x00,
|
|
|
|
0xd1, 0x2d, 0x58, 0xa6, 0x84, 0xd3, 0xb3, 0xad, 0x43, 0x4e, 0x68, 0xbc, 0xed, 0xcf, 0x45, 0xed,
|
|
|
|
0x0e, 0x1e, 0x15, 0xc0, 0xe3, 0x3a, 0x41, 0x85, 0xcc, 0xbf, 0x44, 0x85, 0xd4, 0x1d, 0x98, 0xfd,
|
|
|
|
0x1f, 0xb6, 0xe6, 0x3f, 0x80, 0x62, 0xd4, 0x3c, 0x7d, 0xc6, 0x26, 0xf5, 0x1f, 0x41, 0x41, 0x44,
|
|
|
|
0x63, 0xd0, 0xf4, 0x5f, 0x72, 0x01, 0x25, 0xaf, 0x86, 0x4c, 0x9a, 0xab, 0x41, 0xdf, 0x04, 0xff,
|
|
|
|
0x5f, 0x65, 0xa2, 0x9a, 0xfa, 0x0f, 0xf5, 0x58, 0x35, 0x8d, 0xbf, 0xba, 0x63, 0x93, 0xb2, 0x5f,
|
|
|
|
0x68, 0x00, 0xf2, 0xd5, 0xb8, 0x73, 0x42, 0x5c, 0x2e, 0x1c, 0x13, 0x27, 0x30, 0xea, 0x98, 0x4c,
|
|
|
|
0x23, 0xc9, 0x41, 0xf7, 0x20, 0xef, 0xc9, 0xa6, 0x4a, 0x8d, 0xae, 0xa6, 0x9c, 0x02, 0x84, 0x51,
|
|
|
|
0xe7, 0x77, 0x66, 0x58, 0x81, 0x19, 0xeb, 0x4f, 0x9f, 0x57, 0x67, 0x9e, 0x3d, 0xaf, 0xce, 0x7c,
|
|
|
|
0xf4, 0xbc, 0x3a, 0xf3, 0xc1, 0xb0, 0xaa, 0x3d, 0x1d, 0x56, 0xb5, 0x67, 0xc3, 0xaa, 0xf6, 0xd1,
|
|
|
|
0xb0, 0xaa, 0x7d, 0x3c, 0xac, 0x6a, 0x8f, 0x3f, 0xa9, 0xce, 0x3c, 0xc8, 0x9c, 0x6c, 0xfc, 0x27,
|
|
|
|
0x00, 0x00, 0xff, 0xff, 0x66, 0xe7, 0x2a, 0x84, 0x4b, 0x20, 0x00, 0x00,
|
2017-02-01 00:45:59 +00:00
|
|
|
}
|