prometheus/vendor/k8s.io/api/extensions/v1beta1/generated.pb.go

12299 lines
302 KiB
Go
Raw Normal View History

2016-09-30 02:33:23 -07:00
/*
Copyright The Kubernetes Authors.
2016-09-30 02:33:23 -07:00
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. DO NOT EDIT.
// source: k8s.io/kubernetes/vendor/k8s.io/api/extensions/v1beta1/generated.proto
2016-09-30 02:33:23 -07:00
/*
Package v1beta1 is a generated protocol buffer package.
It is generated from these files:
k8s.io/kubernetes/vendor/k8s.io/api/extensions/v1beta1/generated.proto
2016-09-30 02:33:23 -07:00
It has these top-level messages:
AllowedFlexVolume
AllowedHostPath
2016-09-30 02:33:23 -07:00
DaemonSet
DaemonSetCondition
2016-09-30 02:33:23 -07:00
DaemonSetList
DaemonSetSpec
DaemonSetStatus
2017-05-11 01:29:10 -07:00
DaemonSetUpdateStrategy
2016-09-30 02:33:23 -07:00
Deployment
2017-05-11 01:29:10 -07:00
DeploymentCondition
2016-09-30 02:33:23 -07:00
DeploymentList
DeploymentRollback
DeploymentSpec
DeploymentStatus
DeploymentStrategy
FSGroupStrategyOptions
HTTPIngressPath
HTTPIngressRuleValue
HostPortRange
IDRange
IPBlock
2016-09-30 02:33:23 -07:00
Ingress
IngressBackend
IngressList
IngressRule
IngressRuleValue
IngressSpec
IngressStatus
IngressTLS
NetworkPolicy
NetworkPolicyEgressRule
2016-09-30 02:33:23 -07:00
NetworkPolicyIngressRule
NetworkPolicyList
NetworkPolicyPeer
NetworkPolicyPort
NetworkPolicySpec
PodSecurityPolicy
PodSecurityPolicyList
PodSecurityPolicySpec
ReplicaSet
2017-05-11 01:29:10 -07:00
ReplicaSetCondition
2016-09-30 02:33:23 -07:00
ReplicaSetList
ReplicaSetSpec
ReplicaSetStatus
ReplicationControllerDummy
RollbackConfig
2017-05-11 01:29:10 -07:00
RollingUpdateDaemonSet
2016-09-30 02:33:23 -07:00
RollingUpdateDeployment
RunAsGroupStrategyOptions
2016-09-30 02:33:23 -07:00
RunAsUserStrategyOptions
SELinuxStrategyOptions
Scale
ScaleSpec
ScaleStatus
SupplementalGroupsStrategyOptions
*/
package v1beta1
import proto "github.com/gogo/protobuf/proto"
import fmt "fmt"
import math "math"
import k8s_io_api_core_v1 "k8s.io/api/core/v1"
2017-05-11 01:29:10 -07:00
import k8s_io_apimachinery_pkg_apis_meta_v1 "k8s.io/apimachinery/pkg/apis/meta/v1"
2016-09-30 02:33:23 -07:00
2017-05-11 01:29:10 -07:00
import k8s_io_apimachinery_pkg_util_intstr "k8s.io/apimachinery/pkg/util/intstr"
import github_com_gogo_protobuf_sortkeys "github.com/gogo/protobuf/sortkeys"
2016-09-30 02:33:23 -07: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
// This is a compile-time assertion to ensure that this generated file
// is compatible with the proto package it is being compiled against.
// A compilation error at this line likely means your copy of the
// proto package needs to be updated.
const _ = proto.GoGoProtoPackageIsVersion2 // please upgrade the proto package
func (m *AllowedFlexVolume) Reset() { *m = AllowedFlexVolume{} }
func (*AllowedFlexVolume) ProtoMessage() {}
func (*AllowedFlexVolume) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{0} }
2016-09-30 02:33:23 -07:00
func (m *AllowedHostPath) Reset() { *m = AllowedHostPath{} }
func (*AllowedHostPath) ProtoMessage() {}
func (*AllowedHostPath) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{1} }
2016-09-30 02:33:23 -07:00
func (m *DaemonSet) Reset() { *m = DaemonSet{} }
func (*DaemonSet) ProtoMessage() {}
func (*DaemonSet) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{2} }
func (m *DaemonSetCondition) Reset() { *m = DaemonSetCondition{} }
func (*DaemonSetCondition) ProtoMessage() {}
func (*DaemonSetCondition) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{3} }
2016-09-30 02:33:23 -07:00
func (m *DaemonSetList) Reset() { *m = DaemonSetList{} }
func (*DaemonSetList) ProtoMessage() {}
func (*DaemonSetList) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{4} }
2016-09-30 02:33:23 -07:00
func (m *DaemonSetSpec) Reset() { *m = DaemonSetSpec{} }
func (*DaemonSetSpec) ProtoMessage() {}
func (*DaemonSetSpec) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{5} }
2016-09-30 02:33:23 -07:00
func (m *DaemonSetStatus) Reset() { *m = DaemonSetStatus{} }
func (*DaemonSetStatus) ProtoMessage() {}
func (*DaemonSetStatus) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{6} }
2017-05-11 01:29:10 -07:00
func (m *DaemonSetUpdateStrategy) Reset() { *m = DaemonSetUpdateStrategy{} }
func (*DaemonSetUpdateStrategy) ProtoMessage() {}
func (*DaemonSetUpdateStrategy) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{7} }
2016-09-30 02:33:23 -07:00
func (m *Deployment) Reset() { *m = Deployment{} }
func (*Deployment) ProtoMessage() {}
func (*Deployment) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{8} }
2016-09-30 02:33:23 -07:00
2017-05-11 01:29:10 -07:00
func (m *DeploymentCondition) Reset() { *m = DeploymentCondition{} }
func (*DeploymentCondition) ProtoMessage() {}
func (*DeploymentCondition) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{9} }
2017-05-11 01:29:10 -07:00
2016-09-30 02:33:23 -07:00
func (m *DeploymentList) Reset() { *m = DeploymentList{} }
func (*DeploymentList) ProtoMessage() {}
func (*DeploymentList) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{10} }
2016-09-30 02:33:23 -07:00
func (m *DeploymentRollback) Reset() { *m = DeploymentRollback{} }
func (*DeploymentRollback) ProtoMessage() {}
func (*DeploymentRollback) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{11} }
2016-09-30 02:33:23 -07:00
func (m *DeploymentSpec) Reset() { *m = DeploymentSpec{} }
func (*DeploymentSpec) ProtoMessage() {}
func (*DeploymentSpec) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{12} }
2016-09-30 02:33:23 -07:00
func (m *DeploymentStatus) Reset() { *m = DeploymentStatus{} }
func (*DeploymentStatus) ProtoMessage() {}
func (*DeploymentStatus) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{13} }
2016-09-30 02:33:23 -07:00
func (m *DeploymentStrategy) Reset() { *m = DeploymentStrategy{} }
func (*DeploymentStrategy) ProtoMessage() {}
func (*DeploymentStrategy) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{14} }
2016-09-30 02:33:23 -07:00
func (m *FSGroupStrategyOptions) Reset() { *m = FSGroupStrategyOptions{} }
func (*FSGroupStrategyOptions) ProtoMessage() {}
func (*FSGroupStrategyOptions) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{15} }
2016-09-30 02:33:23 -07:00
func (m *HTTPIngressPath) Reset() { *m = HTTPIngressPath{} }
func (*HTTPIngressPath) ProtoMessage() {}
func (*HTTPIngressPath) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{16} }
2016-09-30 02:33:23 -07:00
func (m *HTTPIngressRuleValue) Reset() { *m = HTTPIngressRuleValue{} }
func (*HTTPIngressRuleValue) ProtoMessage() {}
func (*HTTPIngressRuleValue) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{17} }
2016-09-30 02:33:23 -07:00
func (m *HostPortRange) Reset() { *m = HostPortRange{} }
func (*HostPortRange) ProtoMessage() {}
func (*HostPortRange) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{18} }
2016-09-30 02:33:23 -07:00
func (m *IDRange) Reset() { *m = IDRange{} }
func (*IDRange) ProtoMessage() {}
func (*IDRange) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{19} }
func (m *IPBlock) Reset() { *m = IPBlock{} }
func (*IPBlock) ProtoMessage() {}
func (*IPBlock) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{20} }
2016-09-30 02:33:23 -07:00
func (m *Ingress) Reset() { *m = Ingress{} }
func (*Ingress) ProtoMessage() {}
func (*Ingress) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{21} }
2016-09-30 02:33:23 -07:00
func (m *IngressBackend) Reset() { *m = IngressBackend{} }
func (*IngressBackend) ProtoMessage() {}
func (*IngressBackend) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{22} }
2016-09-30 02:33:23 -07:00
func (m *IngressList) Reset() { *m = IngressList{} }
func (*IngressList) ProtoMessage() {}
func (*IngressList) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{23} }
2016-09-30 02:33:23 -07:00
func (m *IngressRule) Reset() { *m = IngressRule{} }
func (*IngressRule) ProtoMessage() {}
func (*IngressRule) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{24} }
2016-09-30 02:33:23 -07:00
func (m *IngressRuleValue) Reset() { *m = IngressRuleValue{} }
func (*IngressRuleValue) ProtoMessage() {}
func (*IngressRuleValue) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{25} }
2016-09-30 02:33:23 -07:00
func (m *IngressSpec) Reset() { *m = IngressSpec{} }
func (*IngressSpec) ProtoMessage() {}
func (*IngressSpec) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{26} }
2016-09-30 02:33:23 -07:00
func (m *IngressStatus) Reset() { *m = IngressStatus{} }
func (*IngressStatus) ProtoMessage() {}
func (*IngressStatus) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{27} }
2016-09-30 02:33:23 -07:00
func (m *IngressTLS) Reset() { *m = IngressTLS{} }
func (*IngressTLS) ProtoMessage() {}
func (*IngressTLS) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{28} }
2016-09-30 02:33:23 -07:00
func (m *NetworkPolicy) Reset() { *m = NetworkPolicy{} }
func (*NetworkPolicy) ProtoMessage() {}
func (*NetworkPolicy) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{29} }
func (m *NetworkPolicyEgressRule) Reset() { *m = NetworkPolicyEgressRule{} }
func (*NetworkPolicyEgressRule) ProtoMessage() {}
func (*NetworkPolicyEgressRule) Descriptor() ([]byte, []int) {
return fileDescriptorGenerated, []int{30}
}
2016-09-30 02:33:23 -07:00
func (m *NetworkPolicyIngressRule) Reset() { *m = NetworkPolicyIngressRule{} }
func (*NetworkPolicyIngressRule) ProtoMessage() {}
func (*NetworkPolicyIngressRule) Descriptor() ([]byte, []int) {
return fileDescriptorGenerated, []int{31}
2016-09-30 02:33:23 -07:00
}
func (m *NetworkPolicyList) Reset() { *m = NetworkPolicyList{} }
func (*NetworkPolicyList) ProtoMessage() {}
func (*NetworkPolicyList) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{32} }
2016-09-30 02:33:23 -07:00
func (m *NetworkPolicyPeer) Reset() { *m = NetworkPolicyPeer{} }
func (*NetworkPolicyPeer) ProtoMessage() {}
func (*NetworkPolicyPeer) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{33} }
2016-09-30 02:33:23 -07:00
func (m *NetworkPolicyPort) Reset() { *m = NetworkPolicyPort{} }
func (*NetworkPolicyPort) ProtoMessage() {}
func (*NetworkPolicyPort) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{34} }
2016-09-30 02:33:23 -07:00
func (m *NetworkPolicySpec) Reset() { *m = NetworkPolicySpec{} }
func (*NetworkPolicySpec) ProtoMessage() {}
func (*NetworkPolicySpec) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{35} }
2016-09-30 02:33:23 -07:00
func (m *PodSecurityPolicy) Reset() { *m = PodSecurityPolicy{} }
func (*PodSecurityPolicy) ProtoMessage() {}
func (*PodSecurityPolicy) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{36} }
2016-09-30 02:33:23 -07:00
func (m *PodSecurityPolicyList) Reset() { *m = PodSecurityPolicyList{} }
func (*PodSecurityPolicyList) ProtoMessage() {}
func (*PodSecurityPolicyList) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{37} }
2016-09-30 02:33:23 -07:00
func (m *PodSecurityPolicySpec) Reset() { *m = PodSecurityPolicySpec{} }
func (*PodSecurityPolicySpec) ProtoMessage() {}
func (*PodSecurityPolicySpec) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{38} }
2016-09-30 02:33:23 -07:00
func (m *ReplicaSet) Reset() { *m = ReplicaSet{} }
func (*ReplicaSet) ProtoMessage() {}
func (*ReplicaSet) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{39} }
2017-05-11 01:29:10 -07:00
func (m *ReplicaSetCondition) Reset() { *m = ReplicaSetCondition{} }
func (*ReplicaSetCondition) ProtoMessage() {}
func (*ReplicaSetCondition) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{40} }
2016-09-30 02:33:23 -07:00
func (m *ReplicaSetList) Reset() { *m = ReplicaSetList{} }
func (*ReplicaSetList) ProtoMessage() {}
func (*ReplicaSetList) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{41} }
2016-09-30 02:33:23 -07:00
func (m *ReplicaSetSpec) Reset() { *m = ReplicaSetSpec{} }
func (*ReplicaSetSpec) ProtoMessage() {}
func (*ReplicaSetSpec) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{42} }
2016-09-30 02:33:23 -07:00
func (m *ReplicaSetStatus) Reset() { *m = ReplicaSetStatus{} }
func (*ReplicaSetStatus) ProtoMessage() {}
func (*ReplicaSetStatus) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{43} }
2016-09-30 02:33:23 -07:00
func (m *ReplicationControllerDummy) Reset() { *m = ReplicationControllerDummy{} }
func (*ReplicationControllerDummy) ProtoMessage() {}
func (*ReplicationControllerDummy) Descriptor() ([]byte, []int) {
return fileDescriptorGenerated, []int{44}
2016-09-30 02:33:23 -07:00
}
func (m *RollbackConfig) Reset() { *m = RollbackConfig{} }
func (*RollbackConfig) ProtoMessage() {}
func (*RollbackConfig) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{45} }
2017-05-11 01:29:10 -07:00
func (m *RollingUpdateDaemonSet) Reset() { *m = RollingUpdateDaemonSet{} }
func (*RollingUpdateDaemonSet) ProtoMessage() {}
func (*RollingUpdateDaemonSet) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{46} }
2016-09-30 02:33:23 -07:00
func (m *RollingUpdateDeployment) Reset() { *m = RollingUpdateDeployment{} }
func (*RollingUpdateDeployment) ProtoMessage() {}
func (*RollingUpdateDeployment) Descriptor() ([]byte, []int) {
return fileDescriptorGenerated, []int{47}
}
func (m *RunAsGroupStrategyOptions) Reset() { *m = RunAsGroupStrategyOptions{} }
func (*RunAsGroupStrategyOptions) ProtoMessage() {}
func (*RunAsGroupStrategyOptions) Descriptor() ([]byte, []int) {
return fileDescriptorGenerated, []int{48}
2016-09-30 02:33:23 -07:00
}
func (m *RunAsUserStrategyOptions) Reset() { *m = RunAsUserStrategyOptions{} }
func (*RunAsUserStrategyOptions) ProtoMessage() {}
func (*RunAsUserStrategyOptions) Descriptor() ([]byte, []int) {
return fileDescriptorGenerated, []int{49}
2016-09-30 02:33:23 -07:00
}
func (m *SELinuxStrategyOptions) Reset() { *m = SELinuxStrategyOptions{} }
func (*SELinuxStrategyOptions) ProtoMessage() {}
func (*SELinuxStrategyOptions) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{50} }
2016-09-30 02:33:23 -07:00
func (m *Scale) Reset() { *m = Scale{} }
func (*Scale) ProtoMessage() {}
func (*Scale) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{51} }
2016-09-30 02:33:23 -07:00
func (m *ScaleSpec) Reset() { *m = ScaleSpec{} }
func (*ScaleSpec) ProtoMessage() {}
func (*ScaleSpec) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{52} }
2016-09-30 02:33:23 -07:00
func (m *ScaleStatus) Reset() { *m = ScaleStatus{} }
func (*ScaleStatus) ProtoMessage() {}
func (*ScaleStatus) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{53} }
2016-09-30 02:33:23 -07:00
func (m *SupplementalGroupsStrategyOptions) Reset() { *m = SupplementalGroupsStrategyOptions{} }
func (*SupplementalGroupsStrategyOptions) ProtoMessage() {}
func (*SupplementalGroupsStrategyOptions) Descriptor() ([]byte, []int) {
return fileDescriptorGenerated, []int{54}
2016-09-30 02:33:23 -07:00
}
func init() {
proto.RegisterType((*AllowedFlexVolume)(nil), "k8s.io.api.extensions.v1beta1.AllowedFlexVolume")
proto.RegisterType((*AllowedHostPath)(nil), "k8s.io.api.extensions.v1beta1.AllowedHostPath")
proto.RegisterType((*DaemonSet)(nil), "k8s.io.api.extensions.v1beta1.DaemonSet")
proto.RegisterType((*DaemonSetCondition)(nil), "k8s.io.api.extensions.v1beta1.DaemonSetCondition")
proto.RegisterType((*DaemonSetList)(nil), "k8s.io.api.extensions.v1beta1.DaemonSetList")
proto.RegisterType((*DaemonSetSpec)(nil), "k8s.io.api.extensions.v1beta1.DaemonSetSpec")
proto.RegisterType((*DaemonSetStatus)(nil), "k8s.io.api.extensions.v1beta1.DaemonSetStatus")
proto.RegisterType((*DaemonSetUpdateStrategy)(nil), "k8s.io.api.extensions.v1beta1.DaemonSetUpdateStrategy")
proto.RegisterType((*Deployment)(nil), "k8s.io.api.extensions.v1beta1.Deployment")
proto.RegisterType((*DeploymentCondition)(nil), "k8s.io.api.extensions.v1beta1.DeploymentCondition")
proto.RegisterType((*DeploymentList)(nil), "k8s.io.api.extensions.v1beta1.DeploymentList")
proto.RegisterType((*DeploymentRollback)(nil), "k8s.io.api.extensions.v1beta1.DeploymentRollback")
proto.RegisterType((*DeploymentSpec)(nil), "k8s.io.api.extensions.v1beta1.DeploymentSpec")
proto.RegisterType((*DeploymentStatus)(nil), "k8s.io.api.extensions.v1beta1.DeploymentStatus")
proto.RegisterType((*DeploymentStrategy)(nil), "k8s.io.api.extensions.v1beta1.DeploymentStrategy")
proto.RegisterType((*FSGroupStrategyOptions)(nil), "k8s.io.api.extensions.v1beta1.FSGroupStrategyOptions")
proto.RegisterType((*HTTPIngressPath)(nil), "k8s.io.api.extensions.v1beta1.HTTPIngressPath")
proto.RegisterType((*HTTPIngressRuleValue)(nil), "k8s.io.api.extensions.v1beta1.HTTPIngressRuleValue")
proto.RegisterType((*HostPortRange)(nil), "k8s.io.api.extensions.v1beta1.HostPortRange")
proto.RegisterType((*IDRange)(nil), "k8s.io.api.extensions.v1beta1.IDRange")
proto.RegisterType((*IPBlock)(nil), "k8s.io.api.extensions.v1beta1.IPBlock")
proto.RegisterType((*Ingress)(nil), "k8s.io.api.extensions.v1beta1.Ingress")
proto.RegisterType((*IngressBackend)(nil), "k8s.io.api.extensions.v1beta1.IngressBackend")
proto.RegisterType((*IngressList)(nil), "k8s.io.api.extensions.v1beta1.IngressList")
proto.RegisterType((*IngressRule)(nil), "k8s.io.api.extensions.v1beta1.IngressRule")
proto.RegisterType((*IngressRuleValue)(nil), "k8s.io.api.extensions.v1beta1.IngressRuleValue")
proto.RegisterType((*IngressSpec)(nil), "k8s.io.api.extensions.v1beta1.IngressSpec")
proto.RegisterType((*IngressStatus)(nil), "k8s.io.api.extensions.v1beta1.IngressStatus")
proto.RegisterType((*IngressTLS)(nil), "k8s.io.api.extensions.v1beta1.IngressTLS")
proto.RegisterType((*NetworkPolicy)(nil), "k8s.io.api.extensions.v1beta1.NetworkPolicy")
proto.RegisterType((*NetworkPolicyEgressRule)(nil), "k8s.io.api.extensions.v1beta1.NetworkPolicyEgressRule")
proto.RegisterType((*NetworkPolicyIngressRule)(nil), "k8s.io.api.extensions.v1beta1.NetworkPolicyIngressRule")
proto.RegisterType((*NetworkPolicyList)(nil), "k8s.io.api.extensions.v1beta1.NetworkPolicyList")
proto.RegisterType((*NetworkPolicyPeer)(nil), "k8s.io.api.extensions.v1beta1.NetworkPolicyPeer")
proto.RegisterType((*NetworkPolicyPort)(nil), "k8s.io.api.extensions.v1beta1.NetworkPolicyPort")
proto.RegisterType((*NetworkPolicySpec)(nil), "k8s.io.api.extensions.v1beta1.NetworkPolicySpec")
proto.RegisterType((*PodSecurityPolicy)(nil), "k8s.io.api.extensions.v1beta1.PodSecurityPolicy")
proto.RegisterType((*PodSecurityPolicyList)(nil), "k8s.io.api.extensions.v1beta1.PodSecurityPolicyList")
proto.RegisterType((*PodSecurityPolicySpec)(nil), "k8s.io.api.extensions.v1beta1.PodSecurityPolicySpec")
proto.RegisterType((*ReplicaSet)(nil), "k8s.io.api.extensions.v1beta1.ReplicaSet")
proto.RegisterType((*ReplicaSetCondition)(nil), "k8s.io.api.extensions.v1beta1.ReplicaSetCondition")
proto.RegisterType((*ReplicaSetList)(nil), "k8s.io.api.extensions.v1beta1.ReplicaSetList")
proto.RegisterType((*ReplicaSetSpec)(nil), "k8s.io.api.extensions.v1beta1.ReplicaSetSpec")
proto.RegisterType((*ReplicaSetStatus)(nil), "k8s.io.api.extensions.v1beta1.ReplicaSetStatus")
proto.RegisterType((*ReplicationControllerDummy)(nil), "k8s.io.api.extensions.v1beta1.ReplicationControllerDummy")
proto.RegisterType((*RollbackConfig)(nil), "k8s.io.api.extensions.v1beta1.RollbackConfig")
proto.RegisterType((*RollingUpdateDaemonSet)(nil), "k8s.io.api.extensions.v1beta1.RollingUpdateDaemonSet")
proto.RegisterType((*RollingUpdateDeployment)(nil), "k8s.io.api.extensions.v1beta1.RollingUpdateDeployment")
proto.RegisterType((*RunAsGroupStrategyOptions)(nil), "k8s.io.api.extensions.v1beta1.RunAsGroupStrategyOptions")
proto.RegisterType((*RunAsUserStrategyOptions)(nil), "k8s.io.api.extensions.v1beta1.RunAsUserStrategyOptions")
proto.RegisterType((*SELinuxStrategyOptions)(nil), "k8s.io.api.extensions.v1beta1.SELinuxStrategyOptions")
proto.RegisterType((*Scale)(nil), "k8s.io.api.extensions.v1beta1.Scale")
proto.RegisterType((*ScaleSpec)(nil), "k8s.io.api.extensions.v1beta1.ScaleSpec")
proto.RegisterType((*ScaleStatus)(nil), "k8s.io.api.extensions.v1beta1.ScaleStatus")
proto.RegisterType((*SupplementalGroupsStrategyOptions)(nil), "k8s.io.api.extensions.v1beta1.SupplementalGroupsStrategyOptions")
}
func (m *AllowedFlexVolume) 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
2016-09-30 02:33:23 -07:00
}
func (m *AllowedFlexVolume) MarshalTo(dAtA []byte) (int, error) {
var i int
_ = i
var l int
_ = l
dAtA[i] = 0xa
i++
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Driver)))
i += copy(dAtA[i:], m.Driver)
return i, nil
}
2016-09-30 02:33:23 -07:00
func (m *AllowedHostPath) Marshal() (dAtA []byte, err error) {
2016-09-30 02:33:23 -07:00
size := m.Size()
dAtA = make([]byte, size)
n, err := m.MarshalTo(dAtA)
2016-09-30 02:33:23 -07:00
if err != nil {
return nil, err
}
return dAtA[:n], nil
2016-09-30 02:33:23 -07:00
}
func (m *AllowedHostPath) MarshalTo(dAtA []byte) (int, error) {
2016-09-30 02:33:23 -07:00
var i int
_ = i
var l int
_ = l
dAtA[i] = 0xa
i++
i = encodeVarintGenerated(dAtA, i, uint64(len(m.PathPrefix)))
i += copy(dAtA[i:], m.PathPrefix)
dAtA[i] = 0x10
i++
if m.ReadOnly {
dAtA[i] = 1
} else {
dAtA[i] = 0
}
2016-09-30 02:33:23 -07:00
i++
return i, nil
}
func (m *DaemonSet) Marshal() (dAtA []byte, err error) {
2016-09-30 02:33:23 -07:00
size := m.Size()
dAtA = make([]byte, size)
n, err := m.MarshalTo(dAtA)
2016-09-30 02:33:23 -07:00
if err != nil {
return nil, err
}
return dAtA[:n], nil
2016-09-30 02:33:23 -07:00
}
func (m *DaemonSet) MarshalTo(dAtA []byte) (int, error) {
2016-09-30 02:33:23 -07:00
var i int
_ = i
var l int
_ = l
dAtA[i] = 0xa
2016-09-30 02:33:23 -07:00
i++
i = encodeVarintGenerated(dAtA, i, uint64(m.ObjectMeta.Size()))
n1, err := m.ObjectMeta.MarshalTo(dAtA[i:])
2016-09-30 02:33:23 -07:00
if err != nil {
return 0, err
}
i += n1
dAtA[i] = 0x12
2016-09-30 02:33:23 -07:00
i++
i = encodeVarintGenerated(dAtA, i, uint64(m.Spec.Size()))
n2, err := m.Spec.MarshalTo(dAtA[i:])
2016-09-30 02:33:23 -07:00
if err != nil {
return 0, err
}
i += n2
dAtA[i] = 0x1a
2016-09-30 02:33:23 -07:00
i++
i = encodeVarintGenerated(dAtA, i, uint64(m.Status.Size()))
n3, err := m.Status.MarshalTo(dAtA[i:])
2016-09-30 02:33:23 -07:00
if err != nil {
return 0, err
}
i += n3
2016-09-30 02:33:23 -07:00
return i, nil
}
func (m *DaemonSetCondition) Marshal() (dAtA []byte, err error) {
2016-09-30 02:33:23 -07:00
size := m.Size()
dAtA = make([]byte, size)
n, err := m.MarshalTo(dAtA)
2016-09-30 02:33:23 -07:00
if err != nil {
return nil, err
}
return dAtA[:n], nil
2016-09-30 02:33:23 -07:00
}
func (m *DaemonSetCondition) MarshalTo(dAtA []byte) (int, error) {
2016-09-30 02:33:23 -07:00
var i int
_ = i
var l int
_ = l
dAtA[i] = 0xa
2016-09-30 02:33:23 -07:00
i++
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Type)))
i += copy(dAtA[i:], m.Type)
dAtA[i] = 0x12
i++
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Status)))
i += copy(dAtA[i:], m.Status)
dAtA[i] = 0x1a
i++
i = encodeVarintGenerated(dAtA, i, uint64(m.LastTransitionTime.Size()))
n4, err := m.LastTransitionTime.MarshalTo(dAtA[i:])
2016-09-30 02:33:23 -07:00
if err != nil {
return 0, err
}
i += n4
dAtA[i] = 0x22
i++
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Reason)))
i += copy(dAtA[i:], m.Reason)
dAtA[i] = 0x2a
i++
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Message)))
i += copy(dAtA[i:], m.Message)
return i, nil
}
func (m *DaemonSetList) 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 *DaemonSetList) 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
2016-09-30 02:33:23 -07:00
if len(m.Items) > 0 {
for _, msg := range m.Items {
dAtA[i] = 0x12
2016-09-30 02:33:23 -07:00
i++
i = encodeVarintGenerated(dAtA, i, uint64(msg.Size()))
n, err := msg.MarshalTo(dAtA[i:])
2016-09-30 02:33:23 -07:00
if err != nil {
return 0, err
}
i += n
}
}
return i, nil
}
func (m *DaemonSetSpec) Marshal() (dAtA []byte, err error) {
2016-09-30 02:33:23 -07:00
size := m.Size()
dAtA = make([]byte, size)
n, err := m.MarshalTo(dAtA)
2016-09-30 02:33:23 -07:00
if err != nil {
return nil, err
}
return dAtA[:n], nil
2016-09-30 02:33:23 -07:00
}
func (m *DaemonSetSpec) MarshalTo(dAtA []byte) (int, error) {
2016-09-30 02:33:23 -07:00
var i int
_ = i
var l int
_ = l
if m.Selector != nil {
dAtA[i] = 0xa
2016-09-30 02:33:23 -07:00
i++
i = encodeVarintGenerated(dAtA, i, uint64(m.Selector.Size()))
n6, err := m.Selector.MarshalTo(dAtA[i:])
2016-09-30 02:33:23 -07:00
if err != nil {
return 0, err
}
i += n6
2016-09-30 02:33:23 -07:00
}
dAtA[i] = 0x12
2016-09-30 02:33:23 -07:00
i++
i = encodeVarintGenerated(dAtA, i, uint64(m.Template.Size()))
n7, err := m.Template.MarshalTo(dAtA[i:])
2016-09-30 02:33:23 -07:00
if err != nil {
return 0, err
}
i += n7
dAtA[i] = 0x1a
2017-05-11 01:29:10 -07:00
i++
i = encodeVarintGenerated(dAtA, i, uint64(m.UpdateStrategy.Size()))
n8, err := m.UpdateStrategy.MarshalTo(dAtA[i:])
2017-05-11 01:29:10 -07:00
if err != nil {
return 0, err
}
i += n8
dAtA[i] = 0x20
2017-05-11 01:29:10 -07:00
i++
i = encodeVarintGenerated(dAtA, i, uint64(m.MinReadySeconds))
dAtA[i] = 0x28
2017-05-11 01:29:10 -07:00
i++
i = encodeVarintGenerated(dAtA, i, uint64(m.TemplateGeneration))
if m.RevisionHistoryLimit != nil {
dAtA[i] = 0x30
i++
i = encodeVarintGenerated(dAtA, i, uint64(*m.RevisionHistoryLimit))
}
2016-09-30 02:33:23 -07:00
return i, nil
}
func (m *DaemonSetStatus) Marshal() (dAtA []byte, err error) {
2016-09-30 02:33:23 -07:00
size := m.Size()
dAtA = make([]byte, size)
n, err := m.MarshalTo(dAtA)
2016-09-30 02:33:23 -07:00
if err != nil {
return nil, err
}
return dAtA[:n], nil
2016-09-30 02:33:23 -07:00
}
func (m *DaemonSetStatus) MarshalTo(dAtA []byte) (int, error) {
2016-09-30 02:33:23 -07:00
var i int
_ = i
var l int
_ = l
dAtA[i] = 0x8
2016-09-30 02:33:23 -07:00
i++
i = encodeVarintGenerated(dAtA, i, uint64(m.CurrentNumberScheduled))
dAtA[i] = 0x10
2016-09-30 02:33:23 -07:00
i++
i = encodeVarintGenerated(dAtA, i, uint64(m.NumberMisscheduled))
dAtA[i] = 0x18
2016-09-30 02:33:23 -07:00
i++
i = encodeVarintGenerated(dAtA, i, uint64(m.DesiredNumberScheduled))
dAtA[i] = 0x20
2017-05-11 01:29:10 -07:00
i++
i = encodeVarintGenerated(dAtA, i, uint64(m.NumberReady))
dAtA[i] = 0x28
2017-05-11 01:29:10 -07:00
i++
i = encodeVarintGenerated(dAtA, i, uint64(m.ObservedGeneration))
dAtA[i] = 0x30
2017-05-11 01:29:10 -07:00
i++
i = encodeVarintGenerated(dAtA, i, uint64(m.UpdatedNumberScheduled))
dAtA[i] = 0x38
2017-05-11 01:29:10 -07:00
i++
i = encodeVarintGenerated(dAtA, i, uint64(m.NumberAvailable))
dAtA[i] = 0x40
2017-05-11 01:29:10 -07:00
i++
i = encodeVarintGenerated(dAtA, i, uint64(m.NumberUnavailable))
if m.CollisionCount != nil {
dAtA[i] = 0x48
i++
i = encodeVarintGenerated(dAtA, i, uint64(*m.CollisionCount))
}
if len(m.Conditions) > 0 {
for _, msg := range m.Conditions {
dAtA[i] = 0x52
i++
i = encodeVarintGenerated(dAtA, i, uint64(msg.Size()))
n, err := msg.MarshalTo(dAtA[i:])
if err != nil {
return 0, err
}
i += n
}
}
2017-05-11 01:29:10 -07:00
return i, nil
}
func (m *DaemonSetUpdateStrategy) Marshal() (dAtA []byte, err error) {
2017-05-11 01:29:10 -07:00
size := m.Size()
dAtA = make([]byte, size)
n, err := m.MarshalTo(dAtA)
2017-05-11 01:29:10 -07:00
if err != nil {
return nil, err
}
return dAtA[:n], nil
2017-05-11 01:29:10 -07:00
}
func (m *DaemonSetUpdateStrategy) MarshalTo(dAtA []byte) (int, error) {
2017-05-11 01:29:10 -07:00
var i int
_ = i
var l int
_ = l
dAtA[i] = 0xa
2017-05-11 01:29:10 -07:00
i++
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Type)))
i += copy(dAtA[i:], m.Type)
2017-05-11 01:29:10 -07:00
if m.RollingUpdate != nil {
dAtA[i] = 0x12
2017-05-11 01:29:10 -07:00
i++
i = encodeVarintGenerated(dAtA, i, uint64(m.RollingUpdate.Size()))
n9, err := m.RollingUpdate.MarshalTo(dAtA[i:])
2017-05-11 01:29:10 -07:00
if err != nil {
return 0, err
}
i += n9
2017-05-11 01:29:10 -07:00
}
2016-09-30 02:33:23 -07:00
return i, nil
}
func (m *Deployment) Marshal() (dAtA []byte, err error) {
2016-09-30 02:33:23 -07:00
size := m.Size()
dAtA = make([]byte, size)
n, err := m.MarshalTo(dAtA)
2016-09-30 02:33:23 -07:00
if err != nil {
return nil, err
}
return dAtA[:n], nil
2016-09-30 02:33:23 -07:00
}
func (m *Deployment) MarshalTo(dAtA []byte) (int, error) {
2016-09-30 02:33:23 -07:00
var i int
_ = i
var l int
_ = l
dAtA[i] = 0xa
2016-09-30 02:33:23 -07:00
i++
i = encodeVarintGenerated(dAtA, i, uint64(m.ObjectMeta.Size()))
n10, err := m.ObjectMeta.MarshalTo(dAtA[i:])
2016-09-30 02:33:23 -07:00
if err != nil {
return 0, err
}
i += n10
dAtA[i] = 0x12
2016-09-30 02:33:23 -07:00
i++
i = encodeVarintGenerated(dAtA, i, uint64(m.Spec.Size()))
n11, err := m.Spec.MarshalTo(dAtA[i:])
2016-09-30 02:33:23 -07:00
if err != nil {
return 0, err
}
i += n11
dAtA[i] = 0x1a
2016-09-30 02:33:23 -07:00
i++
i = encodeVarintGenerated(dAtA, i, uint64(m.Status.Size()))
n12, err := m.Status.MarshalTo(dAtA[i:])
2016-09-30 02:33:23 -07:00
if err != nil {
return 0, err
}
i += n12
2017-05-11 01:29:10 -07:00
return i, nil
}
func (m *DeploymentCondition) Marshal() (dAtA []byte, err error) {
2017-05-11 01:29:10 -07:00
size := m.Size()
dAtA = make([]byte, size)
n, err := m.MarshalTo(dAtA)
2017-05-11 01:29:10 -07:00
if err != nil {
return nil, err
}
return dAtA[:n], nil
2017-05-11 01:29:10 -07:00
}
func (m *DeploymentCondition) MarshalTo(dAtA []byte) (int, error) {
2017-05-11 01:29:10 -07:00
var i int
_ = i
var l int
_ = l
dAtA[i] = 0xa
2017-05-11 01:29:10 -07:00
i++
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Type)))
i += copy(dAtA[i:], m.Type)
dAtA[i] = 0x12
2017-05-11 01:29:10 -07:00
i++
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Status)))
i += copy(dAtA[i:], m.Status)
dAtA[i] = 0x22
2017-05-11 01:29:10 -07:00
i++
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Reason)))
i += copy(dAtA[i:], m.Reason)
dAtA[i] = 0x2a
2017-05-11 01:29:10 -07:00
i++
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Message)))
i += copy(dAtA[i:], m.Message)
dAtA[i] = 0x32
2017-05-11 01:29:10 -07:00
i++
i = encodeVarintGenerated(dAtA, i, uint64(m.LastUpdateTime.Size()))
n13, err := m.LastUpdateTime.MarshalTo(dAtA[i:])
2017-05-11 01:29:10 -07:00
if err != nil {
return 0, err
}
i += n13
dAtA[i] = 0x3a
2017-05-11 01:29:10 -07:00
i++
i = encodeVarintGenerated(dAtA, i, uint64(m.LastTransitionTime.Size()))
n14, err := m.LastTransitionTime.MarshalTo(dAtA[i:])
2017-05-11 01:29:10 -07:00
if err != nil {
return 0, err
}
i += n14
2016-09-30 02:33:23 -07:00
return i, nil
}
func (m *DeploymentList) Marshal() (dAtA []byte, err error) {
2016-09-30 02:33:23 -07:00
size := m.Size()
dAtA = make([]byte, size)
n, err := m.MarshalTo(dAtA)
2016-09-30 02:33:23 -07:00
if err != nil {
return nil, err
}
return dAtA[:n], nil
2016-09-30 02:33:23 -07:00
}
func (m *DeploymentList) MarshalTo(dAtA []byte) (int, error) {
2016-09-30 02:33:23 -07:00
var i int
_ = i
var l int
_ = l
dAtA[i] = 0xa
2016-09-30 02:33:23 -07:00
i++
i = encodeVarintGenerated(dAtA, i, uint64(m.ListMeta.Size()))
n15, err := m.ListMeta.MarshalTo(dAtA[i:])
2016-09-30 02:33:23 -07:00
if err != nil {
return 0, err
}
i += n15
2016-09-30 02:33:23 -07:00
if len(m.Items) > 0 {
for _, msg := range m.Items {
dAtA[i] = 0x12
2016-09-30 02:33:23 -07:00
i++
i = encodeVarintGenerated(dAtA, i, uint64(msg.Size()))
n, err := msg.MarshalTo(dAtA[i:])
2016-09-30 02:33:23 -07:00
if err != nil {
return 0, err
}
i += n
}
}
return i, nil
}
func (m *DeploymentRollback) Marshal() (dAtA []byte, err error) {
2016-09-30 02:33:23 -07:00
size := m.Size()
dAtA = make([]byte, size)
n, err := m.MarshalTo(dAtA)
2016-09-30 02:33:23 -07:00
if err != nil {
return nil, err
}
return dAtA[:n], nil
2016-09-30 02:33:23 -07:00
}
func (m *DeploymentRollback) MarshalTo(dAtA []byte) (int, error) {
2016-09-30 02:33:23 -07:00
var i int
_ = i
var l int
_ = l
dAtA[i] = 0xa
2016-09-30 02:33:23 -07:00
i++
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Name)))
i += copy(dAtA[i:], m.Name)
2016-09-30 02:33:23 -07:00
if len(m.UpdatedAnnotations) > 0 {
keysForUpdatedAnnotations := make([]string, 0, len(m.UpdatedAnnotations))
2016-09-30 02:33:23 -07:00
for k := range m.UpdatedAnnotations {
keysForUpdatedAnnotations = append(keysForUpdatedAnnotations, string(k))
}
github_com_gogo_protobuf_sortkeys.Strings(keysForUpdatedAnnotations)
for _, k := range keysForUpdatedAnnotations {
dAtA[i] = 0x12
2016-09-30 02:33:23 -07:00
i++
v := m.UpdatedAnnotations[string(k)]
2016-09-30 02:33:23 -07:00
mapSize := 1 + len(k) + sovGenerated(uint64(len(k))) + 1 + len(v) + sovGenerated(uint64(len(v)))
i = encodeVarintGenerated(dAtA, i, uint64(mapSize))
dAtA[i] = 0xa
2016-09-30 02:33:23 -07:00
i++
i = encodeVarintGenerated(dAtA, i, uint64(len(k)))
i += copy(dAtA[i:], k)
dAtA[i] = 0x12
2016-09-30 02:33:23 -07:00
i++
i = encodeVarintGenerated(dAtA, i, uint64(len(v)))
i += copy(dAtA[i:], v)
2016-09-30 02:33:23 -07:00
}
}
dAtA[i] = 0x1a
2016-09-30 02:33:23 -07:00
i++
i = encodeVarintGenerated(dAtA, i, uint64(m.RollbackTo.Size()))
n16, err := m.RollbackTo.MarshalTo(dAtA[i:])
2016-09-30 02:33:23 -07:00
if err != nil {
return 0, err
}
i += n16
2016-09-30 02:33:23 -07:00
return i, nil
}
func (m *DeploymentSpec) Marshal() (dAtA []byte, err error) {
2016-09-30 02:33:23 -07:00
size := m.Size()
dAtA = make([]byte, size)
n, err := m.MarshalTo(dAtA)
2016-09-30 02:33:23 -07:00
if err != nil {
return nil, err
}
return dAtA[:n], nil
2016-09-30 02:33:23 -07:00
}
func (m *DeploymentSpec) MarshalTo(dAtA []byte) (int, error) {
2016-09-30 02:33:23 -07:00
var i int
_ = i
var l int
_ = l
if m.Replicas != nil {
dAtA[i] = 0x8
2016-09-30 02:33:23 -07:00
i++
i = encodeVarintGenerated(dAtA, i, uint64(*m.Replicas))
2016-09-30 02:33:23 -07:00
}
if m.Selector != nil {
dAtA[i] = 0x12
2016-09-30 02:33:23 -07:00
i++
i = encodeVarintGenerated(dAtA, i, uint64(m.Selector.Size()))
n17, err := m.Selector.MarshalTo(dAtA[i:])
2016-09-30 02:33:23 -07:00
if err != nil {
return 0, err
}
i += n17
2016-09-30 02:33:23 -07:00
}
dAtA[i] = 0x1a
2016-09-30 02:33:23 -07:00
i++
i = encodeVarintGenerated(dAtA, i, uint64(m.Template.Size()))
n18, err := m.Template.MarshalTo(dAtA[i:])
2016-09-30 02:33:23 -07:00
if err != nil {
return 0, err
}
i += n18
dAtA[i] = 0x22
2016-09-30 02:33:23 -07:00
i++
i = encodeVarintGenerated(dAtA, i, uint64(m.Strategy.Size()))
n19, err := m.Strategy.MarshalTo(dAtA[i:])
2016-09-30 02:33:23 -07:00
if err != nil {
return 0, err
}
i += n19
dAtA[i] = 0x28
2016-09-30 02:33:23 -07:00
i++
i = encodeVarintGenerated(dAtA, i, uint64(m.MinReadySeconds))
2016-09-30 02:33:23 -07:00
if m.RevisionHistoryLimit != nil {
dAtA[i] = 0x30
2016-09-30 02:33:23 -07:00
i++
i = encodeVarintGenerated(dAtA, i, uint64(*m.RevisionHistoryLimit))
2016-09-30 02:33:23 -07:00
}
dAtA[i] = 0x38
2016-09-30 02:33:23 -07:00
i++
if m.Paused {
dAtA[i] = 1
2016-09-30 02:33:23 -07:00
} else {
dAtA[i] = 0
2016-09-30 02:33:23 -07:00
}
i++
if m.RollbackTo != nil {
dAtA[i] = 0x42
2016-09-30 02:33:23 -07:00
i++
i = encodeVarintGenerated(dAtA, i, uint64(m.RollbackTo.Size()))
n20, err := m.RollbackTo.MarshalTo(dAtA[i:])
2016-09-30 02:33:23 -07:00
if err != nil {
return 0, err
}
i += n20
2017-05-11 01:29:10 -07:00
}
if m.ProgressDeadlineSeconds != nil {
dAtA[i] = 0x48
2017-05-11 01:29:10 -07:00
i++
i = encodeVarintGenerated(dAtA, i, uint64(*m.ProgressDeadlineSeconds))
2016-09-30 02:33:23 -07:00
}
return i, nil
}
func (m *DeploymentStatus) Marshal() (dAtA []byte, err error) {
2016-09-30 02:33:23 -07:00
size := m.Size()
dAtA = make([]byte, size)
n, err := m.MarshalTo(dAtA)
2016-09-30 02:33:23 -07:00
if err != nil {
return nil, err
}
return dAtA[:n], nil
2016-09-30 02:33:23 -07:00
}
func (m *DeploymentStatus) MarshalTo(dAtA []byte) (int, error) {
2016-09-30 02:33:23 -07:00
var i int
_ = i
var l int
_ = l
dAtA[i] = 0x8
2016-09-30 02:33:23 -07:00
i++
i = encodeVarintGenerated(dAtA, i, uint64(m.ObservedGeneration))
dAtA[i] = 0x10
2016-09-30 02:33:23 -07:00
i++
i = encodeVarintGenerated(dAtA, i, uint64(m.Replicas))
dAtA[i] = 0x18
2016-09-30 02:33:23 -07:00
i++
i = encodeVarintGenerated(dAtA, i, uint64(m.UpdatedReplicas))
dAtA[i] = 0x20
2016-09-30 02:33:23 -07:00
i++
i = encodeVarintGenerated(dAtA, i, uint64(m.AvailableReplicas))
dAtA[i] = 0x28
2016-09-30 02:33:23 -07:00
i++
i = encodeVarintGenerated(dAtA, i, uint64(m.UnavailableReplicas))
2017-05-11 01:29:10 -07:00
if len(m.Conditions) > 0 {
for _, msg := range m.Conditions {
dAtA[i] = 0x32
2017-05-11 01:29:10 -07:00
i++
i = encodeVarintGenerated(dAtA, i, uint64(msg.Size()))
n, err := msg.MarshalTo(dAtA[i:])
2017-05-11 01:29:10 -07:00
if err != nil {
return 0, err
}
i += n
}
}
dAtA[i] = 0x38
2017-05-11 01:29:10 -07:00
i++
i = encodeVarintGenerated(dAtA, i, uint64(m.ReadyReplicas))
if m.CollisionCount != nil {
dAtA[i] = 0x40
i++
i = encodeVarintGenerated(dAtA, i, uint64(*m.CollisionCount))
}
2016-09-30 02:33:23 -07:00
return i, nil
}
func (m *DeploymentStrategy) Marshal() (dAtA []byte, err error) {
2016-09-30 02:33:23 -07:00
size := m.Size()
dAtA = make([]byte, size)
n, err := m.MarshalTo(dAtA)
2016-09-30 02:33:23 -07:00
if err != nil {
return nil, err
}
return dAtA[:n], nil
2016-09-30 02:33:23 -07:00
}
func (m *DeploymentStrategy) MarshalTo(dAtA []byte) (int, error) {
2016-09-30 02:33:23 -07:00
var i int
_ = i
var l int
_ = l
dAtA[i] = 0xa
2016-09-30 02:33:23 -07:00
i++
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Type)))
i += copy(dAtA[i:], m.Type)
2016-09-30 02:33:23 -07:00
if m.RollingUpdate != nil {
dAtA[i] = 0x12
2016-09-30 02:33:23 -07:00
i++
i = encodeVarintGenerated(dAtA, i, uint64(m.RollingUpdate.Size()))
n21, err := m.RollingUpdate.MarshalTo(dAtA[i:])
2016-09-30 02:33:23 -07:00
if err != nil {
return 0, err
}
i += n21
2016-09-30 02:33:23 -07:00
}
return i, nil
}
func (m *FSGroupStrategyOptions) Marshal() (dAtA []byte, err error) {
2016-09-30 02:33:23 -07:00
size := m.Size()
dAtA = make([]byte, size)
n, err := m.MarshalTo(dAtA)
2016-09-30 02:33:23 -07:00
if err != nil {
return nil, err
}
return dAtA[:n], nil
2016-09-30 02:33:23 -07:00
}
func (m *FSGroupStrategyOptions) MarshalTo(dAtA []byte) (int, error) {
2016-09-30 02:33:23 -07:00
var i int
_ = i
var l int
_ = l
dAtA[i] = 0xa
2016-09-30 02:33:23 -07:00
i++
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Rule)))
i += copy(dAtA[i:], m.Rule)
2016-09-30 02:33:23 -07:00
if len(m.Ranges) > 0 {
for _, msg := range m.Ranges {
dAtA[i] = 0x12
2016-09-30 02:33:23 -07:00
i++
i = encodeVarintGenerated(dAtA, i, uint64(msg.Size()))
n, err := msg.MarshalTo(dAtA[i:])
2016-09-30 02:33:23 -07:00
if err != nil {
return 0, err
}
i += n
}
}
return i, nil
}
func (m *HTTPIngressPath) Marshal() (dAtA []byte, err error) {
2016-09-30 02:33:23 -07:00
size := m.Size()
dAtA = make([]byte, size)
n, err := m.MarshalTo(dAtA)
2016-09-30 02:33:23 -07:00
if err != nil {
return nil, err
}
return dAtA[:n], nil
2016-09-30 02:33:23 -07:00
}
func (m *HTTPIngressPath) MarshalTo(dAtA []byte) (int, error) {
2016-09-30 02:33:23 -07:00
var i int
_ = i
var l int
_ = l
dAtA[i] = 0xa
2016-09-30 02:33:23 -07:00
i++
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Path)))
i += copy(dAtA[i:], m.Path)
dAtA[i] = 0x12
2016-09-30 02:33:23 -07:00
i++
i = encodeVarintGenerated(dAtA, i, uint64(m.Backend.Size()))
n22, err := m.Backend.MarshalTo(dAtA[i:])
2016-09-30 02:33:23 -07:00
if err != nil {
return 0, err
}
i += n22
2016-09-30 02:33:23 -07:00
return i, nil
}
func (m *HTTPIngressRuleValue) Marshal() (dAtA []byte, err error) {
2016-09-30 02:33:23 -07:00
size := m.Size()
dAtA = make([]byte, size)
n, err := m.MarshalTo(dAtA)
2016-09-30 02:33:23 -07:00
if err != nil {
return nil, err
}
return dAtA[:n], nil
2016-09-30 02:33:23 -07:00
}
func (m *HTTPIngressRuleValue) MarshalTo(dAtA []byte) (int, error) {
2016-09-30 02:33:23 -07:00
var i int
_ = i
var l int
_ = l
if len(m.Paths) > 0 {
for _, msg := range m.Paths {
dAtA[i] = 0xa
2016-09-30 02:33:23 -07:00
i++
i = encodeVarintGenerated(dAtA, i, uint64(msg.Size()))
n, err := msg.MarshalTo(dAtA[i:])
2016-09-30 02:33:23 -07:00
if err != nil {
return 0, err
}
i += n
}
}
return i, nil
}
func (m *HostPortRange) Marshal() (dAtA []byte, err error) {
2016-09-30 02:33:23 -07:00
size := m.Size()
dAtA = make([]byte, size)
n, err := m.MarshalTo(dAtA)
2016-09-30 02:33:23 -07:00
if err != nil {
return nil, err
}
return dAtA[:n], nil
2016-09-30 02:33:23 -07:00
}
func (m *HostPortRange) MarshalTo(dAtA []byte) (int, error) {
2016-09-30 02:33:23 -07:00
var i int
_ = i
var l int
_ = l
dAtA[i] = 0x8
2016-09-30 02:33:23 -07:00
i++
i = encodeVarintGenerated(dAtA, i, uint64(m.Min))
dAtA[i] = 0x10
2016-09-30 02:33:23 -07:00
i++
i = encodeVarintGenerated(dAtA, i, uint64(m.Max))
2016-09-30 02:33:23 -07:00
return i, nil
}
func (m *IDRange) Marshal() (dAtA []byte, err error) {
2016-09-30 02:33:23 -07:00
size := m.Size()
dAtA = make([]byte, size)
n, err := m.MarshalTo(dAtA)
2016-09-30 02:33:23 -07:00
if err != nil {
return nil, err
}
return dAtA[:n], nil
2016-09-30 02:33:23 -07:00
}
func (m *IDRange) MarshalTo(dAtA []byte) (int, error) {
2016-09-30 02:33:23 -07:00
var i int
_ = i
var l int
_ = l
dAtA[i] = 0x8
2016-09-30 02:33:23 -07:00
i++
i = encodeVarintGenerated(dAtA, i, uint64(m.Min))
dAtA[i] = 0x10
2017-05-11 01:29:10 -07:00
i++
i = encodeVarintGenerated(dAtA, i, uint64(m.Max))
2016-09-30 02:33:23 -07:00
return i, nil
}
func (m *IPBlock) Marshal() (dAtA []byte, err error) {
2016-09-30 02:33:23 -07:00
size := m.Size()
dAtA = make([]byte, size)
n, err := m.MarshalTo(dAtA)
2016-09-30 02:33:23 -07:00
if err != nil {
return nil, err
}
return dAtA[:n], nil
2016-09-30 02:33:23 -07:00
}
func (m *IPBlock) MarshalTo(dAtA []byte) (int, error) {
2016-09-30 02:33:23 -07:00
var i int
_ = i
var l int
_ = l
dAtA[i] = 0xa
2016-09-30 02:33:23 -07:00
i++
i = encodeVarintGenerated(dAtA, i, uint64(len(m.CIDR)))
i += copy(dAtA[i:], m.CIDR)
if len(m.Except) > 0 {
for _, s := range m.Except {
dAtA[i] = 0x12
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)
}
}
return i, nil
}
func (m *Ingress) Marshal() (dAtA []byte, err error) {
size := m.Size()
dAtA = make([]byte, size)
n, err := m.MarshalTo(dAtA)
2016-09-30 02:33:23 -07:00
if err != nil {
return nil, err
2016-09-30 02:33:23 -07:00
}
return dAtA[:n], nil
}
func (m *Ingress) MarshalTo(dAtA []byte) (int, error) {
var i int
_ = i
var l int
_ = l
dAtA[i] = 0xa
2016-09-30 02:33:23 -07:00
i++
i = encodeVarintGenerated(dAtA, i, uint64(m.ObjectMeta.Size()))
n23, err := m.ObjectMeta.MarshalTo(dAtA[i:])
2016-09-30 02:33:23 -07:00
if err != nil {
return 0, err
}
i += n23
dAtA[i] = 0x12
2016-09-30 02:33:23 -07:00
i++
i = encodeVarintGenerated(dAtA, i, uint64(m.Spec.Size()))
n24, err := m.Spec.MarshalTo(dAtA[i:])
2016-09-30 02:33:23 -07:00
if err != nil {
return 0, err
}
i += n24
dAtA[i] = 0x1a
i++
i = encodeVarintGenerated(dAtA, i, uint64(m.Status.Size()))
n25, err := m.Status.MarshalTo(dAtA[i:])
if err != nil {
return 0, err
}
i += n25
2016-09-30 02:33:23 -07:00
return i, nil
}
func (m *IngressBackend) Marshal() (dAtA []byte, err error) {
2016-09-30 02:33:23 -07:00
size := m.Size()
dAtA = make([]byte, size)
n, err := m.MarshalTo(dAtA)
2016-09-30 02:33:23 -07:00
if err != nil {
return nil, err
}
return dAtA[:n], nil
2016-09-30 02:33:23 -07:00
}
func (m *IngressBackend) MarshalTo(dAtA []byte) (int, error) {
2016-09-30 02:33:23 -07:00
var i int
_ = i
var l int
_ = l
dAtA[i] = 0xa
2016-09-30 02:33:23 -07:00
i++
i = encodeVarintGenerated(dAtA, i, uint64(len(m.ServiceName)))
i += copy(dAtA[i:], m.ServiceName)
dAtA[i] = 0x12
2016-09-30 02:33:23 -07:00
i++
i = encodeVarintGenerated(dAtA, i, uint64(m.ServicePort.Size()))
n26, err := m.ServicePort.MarshalTo(dAtA[i:])
2016-09-30 02:33:23 -07:00
if err != nil {
return 0, err
}
i += n26
2016-09-30 02:33:23 -07:00
return i, nil
}
func (m *IngressList) Marshal() (dAtA []byte, err error) {
2016-09-30 02:33:23 -07:00
size := m.Size()
dAtA = make([]byte, size)
n, err := m.MarshalTo(dAtA)
2016-09-30 02:33:23 -07:00
if err != nil {
return nil, err
}
return dAtA[:n], nil
2016-09-30 02:33:23 -07:00
}
func (m *IngressList) MarshalTo(dAtA []byte) (int, error) {
2016-09-30 02:33:23 -07:00
var i int
_ = i
var l int
_ = l
dAtA[i] = 0xa
2016-09-30 02:33:23 -07:00
i++
i = encodeVarintGenerated(dAtA, i, uint64(m.ListMeta.Size()))
n27, err := m.ListMeta.MarshalTo(dAtA[i:])
2016-09-30 02:33:23 -07:00
if err != nil {
return 0, err
}
i += n27
2016-09-30 02:33:23 -07:00
if len(m.Items) > 0 {
for _, msg := range m.Items {
dAtA[i] = 0x12
2016-09-30 02:33:23 -07:00
i++
i = encodeVarintGenerated(dAtA, i, uint64(msg.Size()))
n, err := msg.MarshalTo(dAtA[i:])
2016-09-30 02:33:23 -07:00
if err != nil {
return 0, err
}
i += n
}
}
return i, nil
}
func (m *IngressRule) Marshal() (dAtA []byte, err error) {
2016-09-30 02:33:23 -07:00
size := m.Size()
dAtA = make([]byte, size)
n, err := m.MarshalTo(dAtA)
2016-09-30 02:33:23 -07:00
if err != nil {
return nil, err
}
return dAtA[:n], nil
2016-09-30 02:33:23 -07:00
}
func (m *IngressRule) MarshalTo(dAtA []byte) (int, error) {
2016-09-30 02:33:23 -07:00
var i int
_ = i
var l int
_ = l
dAtA[i] = 0xa
2016-09-30 02:33:23 -07:00
i++
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Host)))
i += copy(dAtA[i:], m.Host)
dAtA[i] = 0x12
2016-09-30 02:33:23 -07:00
i++
i = encodeVarintGenerated(dAtA, i, uint64(m.IngressRuleValue.Size()))
n28, err := m.IngressRuleValue.MarshalTo(dAtA[i:])
2016-09-30 02:33:23 -07:00
if err != nil {
return 0, err
}
i += n28
2016-09-30 02:33:23 -07:00
return i, nil
}
func (m *IngressRuleValue) Marshal() (dAtA []byte, err error) {
2016-09-30 02:33:23 -07:00
size := m.Size()
dAtA = make([]byte, size)
n, err := m.MarshalTo(dAtA)
2016-09-30 02:33:23 -07:00
if err != nil {
return nil, err
}
return dAtA[:n], nil
2016-09-30 02:33:23 -07:00
}
func (m *IngressRuleValue) MarshalTo(dAtA []byte) (int, error) {
2016-09-30 02:33:23 -07:00
var i int
_ = i
var l int
_ = l
if m.HTTP != nil {
dAtA[i] = 0xa
2016-09-30 02:33:23 -07:00
i++
i = encodeVarintGenerated(dAtA, i, uint64(m.HTTP.Size()))
n29, err := m.HTTP.MarshalTo(dAtA[i:])
2016-09-30 02:33:23 -07:00
if err != nil {
return 0, err
}
i += n29
2016-09-30 02:33:23 -07:00
}
return i, nil
}
func (m *IngressSpec) Marshal() (dAtA []byte, err error) {
2016-09-30 02:33:23 -07:00
size := m.Size()
dAtA = make([]byte, size)
n, err := m.MarshalTo(dAtA)
2016-09-30 02:33:23 -07:00
if err != nil {
return nil, err
}
return dAtA[:n], nil
2016-09-30 02:33:23 -07:00
}
func (m *IngressSpec) MarshalTo(dAtA []byte) (int, error) {
2016-09-30 02:33:23 -07:00
var i int
_ = i
var l int
_ = l
if m.Backend != nil {
dAtA[i] = 0xa
2016-09-30 02:33:23 -07:00
i++
i = encodeVarintGenerated(dAtA, i, uint64(m.Backend.Size()))
n30, err := m.Backend.MarshalTo(dAtA[i:])
2016-09-30 02:33:23 -07:00
if err != nil {
return 0, err
}
i += n30
2016-09-30 02:33:23 -07:00
}
if len(m.TLS) > 0 {
for _, msg := range m.TLS {
dAtA[i] = 0x12
2016-09-30 02:33:23 -07:00
i++
i = encodeVarintGenerated(dAtA, i, uint64(msg.Size()))
n, err := msg.MarshalTo(dAtA[i:])
2016-09-30 02:33:23 -07:00
if err != nil {
return 0, err
}
i += n
}
}
if len(m.Rules) > 0 {
for _, msg := range m.Rules {
dAtA[i] = 0x1a
2016-09-30 02:33:23 -07:00
i++
i = encodeVarintGenerated(dAtA, i, uint64(msg.Size()))
n, err := msg.MarshalTo(dAtA[i:])
2016-09-30 02:33:23 -07:00
if err != nil {
return 0, err
}
i += n
}
}
return i, nil
}
func (m *IngressStatus) Marshal() (dAtA []byte, err error) {
2016-09-30 02:33:23 -07:00
size := m.Size()
dAtA = make([]byte, size)
n, err := m.MarshalTo(dAtA)
2016-09-30 02:33:23 -07:00
if err != nil {
return nil, err
}
return dAtA[:n], nil
2016-09-30 02:33:23 -07:00
}
func (m *IngressStatus) MarshalTo(dAtA []byte) (int, error) {
2016-09-30 02:33:23 -07:00
var i int
_ = i
var l int
_ = l
dAtA[i] = 0xa
2016-09-30 02:33:23 -07:00
i++
i = encodeVarintGenerated(dAtA, i, uint64(m.LoadBalancer.Size()))
n31, err := m.LoadBalancer.MarshalTo(dAtA[i:])
2016-09-30 02:33:23 -07:00
if err != nil {
return 0, err
}
i += n31
2016-09-30 02:33:23 -07:00
return i, nil
}
func (m *IngressTLS) Marshal() (dAtA []byte, err error) {
2016-09-30 02:33:23 -07:00
size := m.Size()
dAtA = make([]byte, size)
n, err := m.MarshalTo(dAtA)
2016-09-30 02:33:23 -07:00
if err != nil {
return nil, err
}
return dAtA[:n], nil
2016-09-30 02:33:23 -07:00
}
func (m *IngressTLS) MarshalTo(dAtA []byte) (int, error) {
2016-09-30 02:33:23 -07:00
var i int
_ = i
var l int
_ = l
if len(m.Hosts) > 0 {
for _, s := range m.Hosts {
dAtA[i] = 0xa
2016-09-30 02:33:23 -07:00
i++
l = len(s)
for l >= 1<<7 {
dAtA[i] = uint8(uint64(l)&0x7f | 0x80)
2016-09-30 02:33:23 -07:00
l >>= 7
i++
}
dAtA[i] = uint8(l)
2016-09-30 02:33:23 -07:00
i++
i += copy(dAtA[i:], s)
2016-09-30 02:33:23 -07:00
}
}
dAtA[i] = 0x12
2016-09-30 02:33:23 -07:00
i++
i = encodeVarintGenerated(dAtA, i, uint64(len(m.SecretName)))
i += copy(dAtA[i:], m.SecretName)
2016-09-30 02:33:23 -07:00
return i, nil
}
func (m *NetworkPolicy) Marshal() (dAtA []byte, err error) {
2016-09-30 02:33:23 -07:00
size := m.Size()
dAtA = make([]byte, size)
n, err := m.MarshalTo(dAtA)
2016-09-30 02:33:23 -07:00
if err != nil {
return nil, err
}
return dAtA[:n], nil
2016-09-30 02:33:23 -07:00
}
func (m *NetworkPolicy) MarshalTo(dAtA []byte) (int, error) {
2016-09-30 02:33:23 -07:00
var i int
_ = i
var l int
_ = l
dAtA[i] = 0xa
2016-09-30 02:33:23 -07:00
i++
i = encodeVarintGenerated(dAtA, i, uint64(m.ObjectMeta.Size()))
n32, err := m.ObjectMeta.MarshalTo(dAtA[i:])
2016-09-30 02:33:23 -07:00
if err != nil {
return 0, err
}
i += n32
dAtA[i] = 0x12
2016-09-30 02:33:23 -07:00
i++
i = encodeVarintGenerated(dAtA, i, uint64(m.Spec.Size()))
n33, err := m.Spec.MarshalTo(dAtA[i:])
2016-09-30 02:33:23 -07:00
if err != nil {
return 0, err
}
i += n33
2016-09-30 02:33:23 -07:00
return i, nil
}
func (m *NetworkPolicyEgressRule) Marshal() (dAtA []byte, err error) {
2016-09-30 02:33:23 -07:00
size := m.Size()
dAtA = make([]byte, size)
n, err := m.MarshalTo(dAtA)
2016-09-30 02:33:23 -07:00
if err != nil {
return nil, err
}
return dAtA[:n], nil
2016-09-30 02:33:23 -07:00
}
func (m *NetworkPolicyEgressRule) MarshalTo(dAtA []byte) (int, error) {
2016-09-30 02:33:23 -07:00
var i int
_ = i
var l int
_ = l
2017-05-11 01:29:10 -07:00
if len(m.Ports) > 0 {
for _, msg := range m.Ports {
dAtA[i] = 0xa
2017-05-11 01:29:10 -07:00
i++
i = encodeVarintGenerated(dAtA, i, uint64(msg.Size()))
n, err := msg.MarshalTo(dAtA[i:])
if err != nil {
return 0, err
}
i += n
}
}
if len(m.To) > 0 {
for _, msg := range m.To {
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
}
func (m *NetworkPolicyIngressRule) 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 *NetworkPolicyIngressRule) MarshalTo(dAtA []byte) (int, error) {
var i int
_ = i
var l int
_ = l
if len(m.Ports) > 0 {
for _, msg := range m.Ports {
dAtA[i] = 0xa
i++
i = encodeVarintGenerated(dAtA, i, uint64(msg.Size()))
n, err := msg.MarshalTo(dAtA[i:])
2017-05-11 01:29:10 -07:00
if err != nil {
return 0, err
}
i += n
}
2016-09-30 02:33:23 -07:00
}
2017-05-11 01:29:10 -07:00
if len(m.From) > 0 {
for _, msg := range m.From {
dAtA[i] = 0x12
2017-05-11 01:29:10 -07:00
i++
i = encodeVarintGenerated(dAtA, i, uint64(msg.Size()))
n, err := msg.MarshalTo(dAtA[i:])
2017-05-11 01:29:10 -07:00
if err != nil {
return 0, err
}
i += n
}
2016-09-30 02:33:23 -07:00
}
return i, nil
}
func (m *NetworkPolicyList) Marshal() (dAtA []byte, err error) {
2016-09-30 02:33:23 -07:00
size := m.Size()
dAtA = make([]byte, size)
n, err := m.MarshalTo(dAtA)
2016-09-30 02:33:23 -07:00
if err != nil {
return nil, err
}
return dAtA[:n], nil
2016-09-30 02:33:23 -07:00
}
func (m *NetworkPolicyList) MarshalTo(dAtA []byte) (int, error) {
2016-09-30 02:33:23 -07:00
var i int
_ = i
var l int
_ = l
dAtA[i] = 0xa
2016-09-30 02:33:23 -07:00
i++
i = encodeVarintGenerated(dAtA, i, uint64(m.ListMeta.Size()))
n34, err := m.ListMeta.MarshalTo(dAtA[i:])
2016-09-30 02:33:23 -07:00
if err != nil {
return 0, err
}
i += n34
2016-09-30 02:33:23 -07:00
if len(m.Items) > 0 {
for _, msg := range m.Items {
dAtA[i] = 0x12
2016-09-30 02:33:23 -07:00
i++
i = encodeVarintGenerated(dAtA, i, uint64(msg.Size()))
n, err := msg.MarshalTo(dAtA[i:])
2016-09-30 02:33:23 -07:00
if err != nil {
return 0, err
}
i += n
}
}
return i, nil
}
func (m *NetworkPolicyPeer) Marshal() (dAtA []byte, err error) {
2016-09-30 02:33:23 -07:00
size := m.Size()
dAtA = make([]byte, size)
n, err := m.MarshalTo(dAtA)
2016-09-30 02:33:23 -07:00
if err != nil {
return nil, err
}
return dAtA[:n], nil
2016-09-30 02:33:23 -07:00
}
func (m *NetworkPolicyPeer) MarshalTo(dAtA []byte) (int, error) {
2016-09-30 02:33:23 -07:00
var i int
_ = i
var l int
_ = l
2017-05-11 01:29:10 -07:00
if m.PodSelector != nil {
dAtA[i] = 0xa
2016-09-30 02:33:23 -07:00
i++
i = encodeVarintGenerated(dAtA, i, uint64(m.PodSelector.Size()))
n35, err := m.PodSelector.MarshalTo(dAtA[i:])
2016-09-30 02:33:23 -07:00
if err != nil {
return 0, err
}
i += n35
2016-09-30 02:33:23 -07:00
}
2017-05-11 01:29:10 -07:00
if m.NamespaceSelector != nil {
dAtA[i] = 0x12
2016-09-30 02:33:23 -07:00
i++
i = encodeVarintGenerated(dAtA, i, uint64(m.NamespaceSelector.Size()))
n36, err := m.NamespaceSelector.MarshalTo(dAtA[i:])
2017-05-11 01:29:10 -07:00
if err != nil {
return 0, err
2016-09-30 02:33:23 -07:00
}
i += n36
}
if m.IPBlock != nil {
dAtA[i] = 0x1a
i++
i = encodeVarintGenerated(dAtA, i, uint64(m.IPBlock.Size()))
n37, err := m.IPBlock.MarshalTo(dAtA[i:])
if err != nil {
return 0, err
}
i += n37
2016-09-30 02:33:23 -07:00
}
return i, nil
}
func (m *NetworkPolicyPort) Marshal() (dAtA []byte, err error) {
2016-09-30 02:33:23 -07:00
size := m.Size()
dAtA = make([]byte, size)
n, err := m.MarshalTo(dAtA)
2016-09-30 02:33:23 -07:00
if err != nil {
return nil, err
}
return dAtA[:n], nil
2016-09-30 02:33:23 -07:00
}
func (m *NetworkPolicyPort) MarshalTo(dAtA []byte) (int, error) {
2016-09-30 02:33:23 -07:00
var i int
_ = i
var l int
_ = l
2017-05-11 01:29:10 -07:00
if m.Protocol != nil {
dAtA[i] = 0xa
2016-09-30 02:33:23 -07:00
i++
i = encodeVarintGenerated(dAtA, i, uint64(len(*m.Protocol)))
i += copy(dAtA[i:], *m.Protocol)
2016-09-30 02:33:23 -07:00
}
2017-05-11 01:29:10 -07:00
if m.Port != nil {
dAtA[i] = 0x12
2016-09-30 02:33:23 -07:00
i++
i = encodeVarintGenerated(dAtA, i, uint64(m.Port.Size()))
n38, err := m.Port.MarshalTo(dAtA[i:])
2016-09-30 02:33:23 -07:00
if err != nil {
return 0, err
}
i += n38
2016-09-30 02:33:23 -07:00
}
return i, nil
}
func (m *NetworkPolicySpec) Marshal() (dAtA []byte, err error) {
2016-09-30 02:33:23 -07:00
size := m.Size()
dAtA = make([]byte, size)
n, err := m.MarshalTo(dAtA)
2016-09-30 02:33:23 -07:00
if err != nil {
return nil, err
}
return dAtA[:n], nil
2016-09-30 02:33:23 -07:00
}
func (m *NetworkPolicySpec) MarshalTo(dAtA []byte) (int, error) {
2016-09-30 02:33:23 -07:00
var i int
_ = i
var l int
_ = l
dAtA[i] = 0xa
2017-05-11 01:29:10 -07:00
i++
i = encodeVarintGenerated(dAtA, i, uint64(m.PodSelector.Size()))
n39, err := m.PodSelector.MarshalTo(dAtA[i:])
2017-05-11 01:29:10 -07:00
if err != nil {
return 0, err
}
i += n39
2017-05-11 01:29:10 -07:00
if len(m.Ingress) > 0 {
for _, msg := range m.Ingress {
dAtA[i] = 0x12
2016-09-30 02:33:23 -07:00
i++
i = encodeVarintGenerated(dAtA, i, uint64(msg.Size()))
n, err := msg.MarshalTo(dAtA[i:])
2016-09-30 02:33:23 -07:00
if err != nil {
return 0, err
}
i += n
}
}
if len(m.Egress) > 0 {
for _, msg := range m.Egress {
dAtA[i] = 0x1a
i++
i = encodeVarintGenerated(dAtA, i, uint64(msg.Size()))
n, err := msg.MarshalTo(dAtA[i:])
if err != nil {
return 0, err
}
i += n
}
}
if len(m.PolicyTypes) > 0 {
for _, s := range m.PolicyTypes {
dAtA[i] = 0x22
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)
}
}
2016-09-30 02:33:23 -07:00
return i, nil
}
func (m *PodSecurityPolicy) Marshal() (dAtA []byte, err error) {
2016-09-30 02:33:23 -07:00
size := m.Size()
dAtA = make([]byte, size)
n, err := m.MarshalTo(dAtA)
2016-09-30 02:33:23 -07:00
if err != nil {
return nil, err
}
return dAtA[:n], nil
2016-09-30 02:33:23 -07:00
}
func (m *PodSecurityPolicy) MarshalTo(dAtA []byte) (int, error) {
2016-09-30 02:33:23 -07:00
var i int
_ = i
var l int
_ = l
dAtA[i] = 0xa
2016-09-30 02:33:23 -07:00
i++
i = encodeVarintGenerated(dAtA, i, uint64(m.ObjectMeta.Size()))
n40, err := m.ObjectMeta.MarshalTo(dAtA[i:])
2017-05-11 01:29:10 -07:00
if err != nil {
return 0, err
}
i += n40
dAtA[i] = 0x12
2016-09-30 02:33:23 -07:00
i++
i = encodeVarintGenerated(dAtA, i, uint64(m.Spec.Size()))
n41, err := m.Spec.MarshalTo(dAtA[i:])
2017-05-11 01:29:10 -07:00
if err != nil {
return 0, err
2016-09-30 02:33:23 -07:00
}
i += n41
2016-09-30 02:33:23 -07:00
return i, nil
}
func (m *PodSecurityPolicyList) Marshal() (dAtA []byte, err error) {
2016-09-30 02:33:23 -07:00
size := m.Size()
dAtA = make([]byte, size)
n, err := m.MarshalTo(dAtA)
2016-09-30 02:33:23 -07:00
if err != nil {
return nil, err
}
return dAtA[:n], nil
2016-09-30 02:33:23 -07:00
}
func (m *PodSecurityPolicyList) MarshalTo(dAtA []byte) (int, error) {
2016-09-30 02:33:23 -07:00
var i int
_ = i
var l int
_ = l
dAtA[i] = 0xa
2016-09-30 02:33:23 -07:00
i++
i = encodeVarintGenerated(dAtA, i, uint64(m.ListMeta.Size()))
n42, err := m.ListMeta.MarshalTo(dAtA[i:])
2017-05-11 01:29:10 -07:00
if err != nil {
return 0, err
2016-09-30 02:33:23 -07:00
}
i += n42
2017-05-11 01:29:10 -07:00
if len(m.Items) > 0 {
for _, msg := range m.Items {
dAtA[i] = 0x12
2017-05-11 01:29:10 -07:00
i++
i = encodeVarintGenerated(dAtA, i, uint64(msg.Size()))
n, err := msg.MarshalTo(dAtA[i:])
2017-05-11 01:29:10 -07:00
if err != nil {
return 0, err
}
i += n
}
2016-09-30 02:33:23 -07:00
}
return i, nil
}
func (m *PodSecurityPolicySpec) Marshal() (dAtA []byte, err error) {
2016-09-30 02:33:23 -07:00
size := m.Size()
dAtA = make([]byte, size)
n, err := m.MarshalTo(dAtA)
2016-09-30 02:33:23 -07:00
if err != nil {
return nil, err
}
return dAtA[:n], nil
2016-09-30 02:33:23 -07:00
}
func (m *PodSecurityPolicySpec) MarshalTo(dAtA []byte) (int, error) {
2016-09-30 02:33:23 -07:00
var i int
_ = i
var l int
_ = l
dAtA[i] = 0x8
2016-09-30 02:33:23 -07:00
i++
2017-05-11 01:29:10 -07:00
if m.Privileged {
dAtA[i] = 1
2017-05-11 01:29:10 -07:00
} else {
dAtA[i] = 0
2016-09-30 02:33:23 -07:00
}
i++
2017-05-11 01:29:10 -07:00
if len(m.DefaultAddCapabilities) > 0 {
for _, s := range m.DefaultAddCapabilities {
dAtA[i] = 0x12
2017-05-11 01:29:10 -07:00
i++
l = len(s)
for l >= 1<<7 {
dAtA[i] = uint8(uint64(l)&0x7f | 0x80)
2017-05-11 01:29:10 -07:00
l >>= 7
i++
}
dAtA[i] = uint8(l)
2017-05-11 01:29:10 -07:00
i++
i += copy(dAtA[i:], s)
2017-05-11 01:29:10 -07:00
}
2016-09-30 02:33:23 -07:00
}
2017-05-11 01:29:10 -07:00
if len(m.RequiredDropCapabilities) > 0 {
for _, s := range m.RequiredDropCapabilities {
dAtA[i] = 0x1a
2017-05-11 01:29:10 -07:00
i++
l = len(s)
for l >= 1<<7 {
dAtA[i] = uint8(uint64(l)&0x7f | 0x80)
2017-05-11 01:29:10 -07:00
l >>= 7
i++
}
dAtA[i] = uint8(l)
2017-05-11 01:29:10 -07:00
i++
i += copy(dAtA[i:], s)
2017-05-11 01:29:10 -07:00
}
2016-09-30 02:33:23 -07:00
}
2017-05-11 01:29:10 -07:00
if len(m.AllowedCapabilities) > 0 {
for _, s := range m.AllowedCapabilities {
dAtA[i] = 0x22
2016-09-30 02:33:23 -07:00
i++
2017-05-11 01:29:10 -07:00
l = len(s)
for l >= 1<<7 {
dAtA[i] = uint8(uint64(l)&0x7f | 0x80)
2017-05-11 01:29:10 -07:00
l >>= 7
i++
2016-09-30 02:33:23 -07:00
}
dAtA[i] = uint8(l)
2017-05-11 01:29:10 -07:00
i++
i += copy(dAtA[i:], s)
2016-09-30 02:33:23 -07:00
}
}
2017-05-11 01:29:10 -07:00
if len(m.Volumes) > 0 {
for _, s := range m.Volumes {
dAtA[i] = 0x2a
2017-05-11 01:29:10 -07:00
i++
l = len(s)
for l >= 1<<7 {
dAtA[i] = uint8(uint64(l)&0x7f | 0x80)
2017-05-11 01:29:10 -07:00
l >>= 7
i++
}
dAtA[i] = uint8(l)
2017-05-11 01:29:10 -07:00
i++
i += copy(dAtA[i:], s)
2017-05-11 01:29:10 -07:00
}
}
dAtA[i] = 0x30
2017-05-11 01:29:10 -07:00
i++
if m.HostNetwork {
dAtA[i] = 1
2017-05-11 01:29:10 -07:00
} else {
dAtA[i] = 0
2017-05-11 01:29:10 -07:00
}
i++
if len(m.HostPorts) > 0 {
for _, msg := range m.HostPorts {
dAtA[i] = 0x3a
2016-09-30 02:33:23 -07:00
i++
i = encodeVarintGenerated(dAtA, i, uint64(msg.Size()))
n, err := msg.MarshalTo(dAtA[i:])
2016-09-30 02:33:23 -07:00
if err != nil {
return 0, err
}
i += n
}
}
dAtA[i] = 0x40
2017-05-11 01:29:10 -07:00
i++
if m.HostPID {
dAtA[i] = 1
2017-05-11 01:29:10 -07:00
} else {
dAtA[i] = 0
2017-05-11 01:29:10 -07:00
}
i++
dAtA[i] = 0x48
2017-05-11 01:29:10 -07:00
i++
if m.HostIPC {
dAtA[i] = 1
2017-05-11 01:29:10 -07:00
} else {
dAtA[i] = 0
2017-05-11 01:29:10 -07:00
}
i++
dAtA[i] = 0x52
2017-05-11 01:29:10 -07:00
i++
i = encodeVarintGenerated(dAtA, i, uint64(m.SELinux.Size()))
n43, err := m.SELinux.MarshalTo(dAtA[i:])
2017-05-11 01:29:10 -07:00
if err != nil {
return 0, err
}
i += n43
dAtA[i] = 0x5a
2017-05-11 01:29:10 -07:00
i++
i = encodeVarintGenerated(dAtA, i, uint64(m.RunAsUser.Size()))
n44, err := m.RunAsUser.MarshalTo(dAtA[i:])
2017-05-11 01:29:10 -07:00
if err != nil {
return 0, err
}
i += n44
dAtA[i] = 0x62
2017-05-11 01:29:10 -07:00
i++
i = encodeVarintGenerated(dAtA, i, uint64(m.SupplementalGroups.Size()))
n45, err := m.SupplementalGroups.MarshalTo(dAtA[i:])
2017-05-11 01:29:10 -07:00
if err != nil {
return 0, err
}
i += n45
dAtA[i] = 0x6a
2017-05-11 01:29:10 -07:00
i++
i = encodeVarintGenerated(dAtA, i, uint64(m.FSGroup.Size()))
n46, err := m.FSGroup.MarshalTo(dAtA[i:])
2017-05-11 01:29:10 -07:00
if err != nil {
return 0, err
}
i += n46
dAtA[i] = 0x70
2017-05-11 01:29:10 -07:00
i++
if m.ReadOnlyRootFilesystem {
dAtA[i] = 1
2017-05-11 01:29:10 -07:00
} else {
dAtA[i] = 0
2017-05-11 01:29:10 -07:00
}
i++
if m.DefaultAllowPrivilegeEscalation != nil {
dAtA[i] = 0x78
i++
if *m.DefaultAllowPrivilegeEscalation {
dAtA[i] = 1
} else {
dAtA[i] = 0
}
i++
}
if m.AllowPrivilegeEscalation != nil {
dAtA[i] = 0x80
i++
dAtA[i] = 0x1
i++
if *m.AllowPrivilegeEscalation {
dAtA[i] = 1
} else {
dAtA[i] = 0
}
i++
}
if len(m.AllowedHostPaths) > 0 {
for _, msg := range m.AllowedHostPaths {
dAtA[i] = 0x8a
i++
dAtA[i] = 0x1
i++
i = encodeVarintGenerated(dAtA, i, uint64(msg.Size()))
n, err := msg.MarshalTo(dAtA[i:])
if err != nil {
return 0, err
}
i += n
}
}
if len(m.AllowedFlexVolumes) > 0 {
for _, msg := range m.AllowedFlexVolumes {
dAtA[i] = 0x92
i++
dAtA[i] = 0x1
i++
i = encodeVarintGenerated(dAtA, i, uint64(msg.Size()))
n, err := msg.MarshalTo(dAtA[i:])
if err != nil {
return 0, err
}
i += n
}
}
if len(m.AllowedUnsafeSysctls) > 0 {
for _, s := range m.AllowedUnsafeSysctls {
dAtA[i] = 0x9a
i++
dAtA[i] = 0x1
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)
}
}
if len(m.ForbiddenSysctls) > 0 {
for _, s := range m.ForbiddenSysctls {
dAtA[i] = 0xa2
i++
dAtA[i] = 0x1
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)
}
}
if len(m.AllowedProcMountTypes) > 0 {
for _, s := range m.AllowedProcMountTypes {
dAtA[i] = 0xaa
i++
dAtA[i] = 0x1
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)
}
}
if m.RunAsGroup != nil {
dAtA[i] = 0xb2
i++
dAtA[i] = 0x1
i++
i = encodeVarintGenerated(dAtA, i, uint64(m.RunAsGroup.Size()))
n47, err := m.RunAsGroup.MarshalTo(dAtA[i:])
if err != nil {
return 0, err
}
i += n47
}
2016-09-30 02:33:23 -07:00
return i, nil
}
func (m *ReplicaSet) Marshal() (dAtA []byte, err error) {
2016-09-30 02:33:23 -07:00
size := m.Size()
dAtA = make([]byte, size)
n, err := m.MarshalTo(dAtA)
2016-09-30 02:33:23 -07:00
if err != nil {
return nil, err
}
return dAtA[:n], nil
2016-09-30 02:33:23 -07:00
}
func (m *ReplicaSet) MarshalTo(dAtA []byte) (int, error) {
2016-09-30 02:33:23 -07:00
var i int
_ = i
var l int
_ = l
dAtA[i] = 0xa
2016-09-30 02:33:23 -07:00
i++
i = encodeVarintGenerated(dAtA, i, uint64(m.ObjectMeta.Size()))
n48, err := m.ObjectMeta.MarshalTo(dAtA[i:])
2017-05-11 01:29:10 -07:00
if err != nil {
return 0, err
}
i += n48
dAtA[i] = 0x12
2017-05-11 01:29:10 -07:00
i++
i = encodeVarintGenerated(dAtA, i, uint64(m.Spec.Size()))
n49, err := m.Spec.MarshalTo(dAtA[i:])
2016-09-30 02:33:23 -07:00
if err != nil {
return 0, err
}
i += n49
dAtA[i] = 0x1a
2017-05-11 01:29:10 -07:00
i++
i = encodeVarintGenerated(dAtA, i, uint64(m.Status.Size()))
n50, err := m.Status.MarshalTo(dAtA[i:])
2017-05-11 01:29:10 -07:00
if err != nil {
return 0, err
2016-09-30 02:33:23 -07:00
}
i += n50
2016-09-30 02:33:23 -07:00
return i, nil
}
func (m *ReplicaSetCondition) Marshal() (dAtA []byte, err error) {
2016-09-30 02:33:23 -07:00
size := m.Size()
dAtA = make([]byte, size)
n, err := m.MarshalTo(dAtA)
2016-09-30 02:33:23 -07:00
if err != nil {
return nil, err
}
return dAtA[:n], nil
2016-09-30 02:33:23 -07:00
}
func (m *ReplicaSetCondition) MarshalTo(dAtA []byte) (int, error) {
2016-09-30 02:33:23 -07:00
var i int
_ = i
var l int
_ = l
dAtA[i] = 0xa
2017-05-11 01:29:10 -07:00
i++
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Type)))
i += copy(dAtA[i:], m.Type)
dAtA[i] = 0x12
2017-05-11 01:29:10 -07:00
i++
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Status)))
i += copy(dAtA[i:], m.Status)
dAtA[i] = 0x1a
2017-05-11 01:29:10 -07:00
i++
i = encodeVarintGenerated(dAtA, i, uint64(m.LastTransitionTime.Size()))
n51, err := m.LastTransitionTime.MarshalTo(dAtA[i:])
2017-05-11 01:29:10 -07:00
if err != nil {
return 0, err
2016-09-30 02:33:23 -07:00
}
i += n51
dAtA[i] = 0x22
2017-05-11 01:29:10 -07:00
i++
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Reason)))
i += copy(dAtA[i:], m.Reason)
dAtA[i] = 0x2a
2017-05-11 01:29:10 -07:00
i++
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Message)))
i += copy(dAtA[i:], m.Message)
2017-05-11 01:29:10 -07:00
return i, nil
}
func (m *ReplicaSetList) Marshal() (dAtA []byte, err error) {
2017-05-11 01:29:10 -07:00
size := m.Size()
dAtA = make([]byte, size)
n, err := m.MarshalTo(dAtA)
2017-05-11 01:29:10 -07:00
if err != nil {
return nil, err
}
return dAtA[:n], nil
2017-05-11 01:29:10 -07:00
}
func (m *ReplicaSetList) MarshalTo(dAtA []byte) (int, error) {
2017-05-11 01:29:10 -07:00
var i int
_ = i
var l int
_ = l
dAtA[i] = 0xa
2017-05-11 01:29:10 -07:00
i++
i = encodeVarintGenerated(dAtA, i, uint64(m.ListMeta.Size()))
n52, err := m.ListMeta.MarshalTo(dAtA[i:])
2017-05-11 01:29:10 -07:00
if err != nil {
return 0, err
}
i += n52
2017-05-11 01:29:10 -07:00
if len(m.Items) > 0 {
for _, msg := range m.Items {
dAtA[i] = 0x12
2017-05-11 01:29:10 -07:00
i++
i = encodeVarintGenerated(dAtA, i, uint64(msg.Size()))
n, err := msg.MarshalTo(dAtA[i:])
2017-05-11 01:29:10 -07:00
if err != nil {
return 0, err
}
i += n
2016-09-30 02:33:23 -07:00
}
}
return i, nil
}
func (m *ReplicaSetSpec) Marshal() (dAtA []byte, err error) {
2016-09-30 02:33:23 -07:00
size := m.Size()
dAtA = make([]byte, size)
n, err := m.MarshalTo(dAtA)
2016-09-30 02:33:23 -07:00
if err != nil {
return nil, err
}
return dAtA[:n], nil
2016-09-30 02:33:23 -07:00
}
func (m *ReplicaSetSpec) MarshalTo(dAtA []byte) (int, error) {
2016-09-30 02:33:23 -07:00
var i int
_ = i
var l int
_ = l
2017-05-11 01:29:10 -07:00
if m.Replicas != nil {
dAtA[i] = 0x8
2016-09-30 02:33:23 -07:00
i++
i = encodeVarintGenerated(dAtA, i, uint64(*m.Replicas))
2016-09-30 02:33:23 -07:00
}
2017-05-11 01:29:10 -07:00
if m.Selector != nil {
dAtA[i] = 0x12
2016-09-30 02:33:23 -07:00
i++
i = encodeVarintGenerated(dAtA, i, uint64(m.Selector.Size()))
n53, err := m.Selector.MarshalTo(dAtA[i:])
2016-09-30 02:33:23 -07:00
if err != nil {
return 0, err
}
i += n53
2016-09-30 02:33:23 -07:00
}
dAtA[i] = 0x1a
2017-05-11 01:29:10 -07:00
i++
i = encodeVarintGenerated(dAtA, i, uint64(m.Template.Size()))
n54, err := m.Template.MarshalTo(dAtA[i:])
2017-05-11 01:29:10 -07:00
if err != nil {
return 0, err
}
i += n54
dAtA[i] = 0x20
2017-05-11 01:29:10 -07:00
i++
i = encodeVarintGenerated(dAtA, i, uint64(m.MinReadySeconds))
2016-09-30 02:33:23 -07:00
return i, nil
}
func (m *ReplicaSetStatus) Marshal() (dAtA []byte, err error) {
2016-09-30 02:33:23 -07:00
size := m.Size()
dAtA = make([]byte, size)
n, err := m.MarshalTo(dAtA)
2016-09-30 02:33:23 -07:00
if err != nil {
return nil, err
}
return dAtA[:n], nil
2016-09-30 02:33:23 -07:00
}
func (m *ReplicaSetStatus) MarshalTo(dAtA []byte) (int, error) {
2016-09-30 02:33:23 -07:00
var i int
_ = i
var l int
_ = l
dAtA[i] = 0x8
2016-09-30 02:33:23 -07:00
i++
i = encodeVarintGenerated(dAtA, i, uint64(m.Replicas))
dAtA[i] = 0x10
2017-05-11 01:29:10 -07:00
i++
i = encodeVarintGenerated(dAtA, i, uint64(m.FullyLabeledReplicas))
dAtA[i] = 0x18
2017-05-11 01:29:10 -07:00
i++
i = encodeVarintGenerated(dAtA, i, uint64(m.ObservedGeneration))
dAtA[i] = 0x20
2017-05-11 01:29:10 -07:00
i++
i = encodeVarintGenerated(dAtA, i, uint64(m.ReadyReplicas))
dAtA[i] = 0x28
2017-05-11 01:29:10 -07:00
i++
i = encodeVarintGenerated(dAtA, i, uint64(m.AvailableReplicas))
2017-05-11 01:29:10 -07:00
if len(m.Conditions) > 0 {
for _, msg := range m.Conditions {
dAtA[i] = 0x32
2016-09-30 02:33:23 -07:00
i++
i = encodeVarintGenerated(dAtA, i, uint64(msg.Size()))
n, err := msg.MarshalTo(dAtA[i:])
2016-09-30 02:33:23 -07:00
if err != nil {
return 0, err
}
i += n
}
}
return i, nil
}
func (m *ReplicationControllerDummy) Marshal() (dAtA []byte, err error) {
2016-09-30 02:33:23 -07:00
size := m.Size()
dAtA = make([]byte, size)
n, err := m.MarshalTo(dAtA)
2016-09-30 02:33:23 -07:00
if err != nil {
return nil, err
}
return dAtA[:n], nil
2016-09-30 02:33:23 -07:00
}
func (m *ReplicationControllerDummy) MarshalTo(dAtA []byte) (int, error) {
2016-09-30 02:33:23 -07:00
var i int
_ = i
var l int
_ = l
2017-05-11 01:29:10 -07:00
return i, nil
}
func (m *RollbackConfig) Marshal() (dAtA []byte, err error) {
2017-05-11 01:29:10 -07:00
size := m.Size()
dAtA = make([]byte, size)
n, err := m.MarshalTo(dAtA)
2016-09-30 02:33:23 -07:00
if err != nil {
2017-05-11 01:29:10 -07:00
return nil, err
2016-09-30 02:33:23 -07:00
}
return dAtA[:n], nil
2017-05-11 01:29:10 -07:00
}
func (m *RollbackConfig) MarshalTo(dAtA []byte) (int, error) {
2017-05-11 01:29:10 -07:00
var i int
_ = i
var l int
_ = l
dAtA[i] = 0x8
2016-09-30 02:33:23 -07:00
i++
i = encodeVarintGenerated(dAtA, i, uint64(m.Revision))
2017-05-11 01:29:10 -07:00
return i, nil
}
func (m *RollingUpdateDaemonSet) Marshal() (dAtA []byte, err error) {
2017-05-11 01:29:10 -07:00
size := m.Size()
dAtA = make([]byte, size)
n, err := m.MarshalTo(dAtA)
2016-09-30 02:33:23 -07:00
if err != nil {
2017-05-11 01:29:10 -07:00
return nil, err
}
return dAtA[:n], nil
2017-05-11 01:29:10 -07:00
}
func (m *RollingUpdateDaemonSet) MarshalTo(dAtA []byte) (int, error) {
2017-05-11 01:29:10 -07:00
var i int
_ = i
var l int
_ = l
if m.MaxUnavailable != nil {
dAtA[i] = 0xa
2017-05-11 01:29:10 -07:00
i++
i = encodeVarintGenerated(dAtA, i, uint64(m.MaxUnavailable.Size()))
n55, err := m.MaxUnavailable.MarshalTo(dAtA[i:])
2017-05-11 01:29:10 -07:00
if err != nil {
return 0, err
}
i += n55
2016-09-30 02:33:23 -07:00
}
return i, nil
}
func (m *RollingUpdateDeployment) Marshal() (dAtA []byte, err error) {
2016-09-30 02:33:23 -07:00
size := m.Size()
dAtA = make([]byte, size)
n, err := m.MarshalTo(dAtA)
2016-09-30 02:33:23 -07:00
if err != nil {
return nil, err
}
return dAtA[:n], nil
2016-09-30 02:33:23 -07:00
}
func (m *RollingUpdateDeployment) MarshalTo(dAtA []byte) (int, error) {
2016-09-30 02:33:23 -07:00
var i int
_ = i
var l int
_ = l
2017-05-11 01:29:10 -07:00
if m.MaxUnavailable != nil {
dAtA[i] = 0xa
2017-05-11 01:29:10 -07:00
i++
i = encodeVarintGenerated(dAtA, i, uint64(m.MaxUnavailable.Size()))
n56, err := m.MaxUnavailable.MarshalTo(dAtA[i:])
2017-05-11 01:29:10 -07:00
if err != nil {
return 0, err
}
i += n56
2017-05-11 01:29:10 -07:00
}
if m.MaxSurge != nil {
dAtA[i] = 0x12
2017-05-11 01:29:10 -07:00
i++
i = encodeVarintGenerated(dAtA, i, uint64(m.MaxSurge.Size()))
n57, err := m.MaxSurge.MarshalTo(dAtA[i:])
2017-05-11 01:29:10 -07:00
if err != nil {
return 0, err
}
i += n57
}
return i, nil
}
func (m *RunAsGroupStrategyOptions) 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 *RunAsGroupStrategyOptions) MarshalTo(dAtA []byte) (int, error) {
var i int
_ = i
var l int
_ = l
dAtA[i] = 0xa
i++
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Rule)))
i += copy(dAtA[i:], m.Rule)
if len(m.Ranges) > 0 {
for _, msg := range m.Ranges {
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
}
2017-05-11 01:29:10 -07:00
}
return i, nil
}
func (m *RunAsUserStrategyOptions) Marshal() (dAtA []byte, err error) {
2017-05-11 01:29:10 -07:00
size := m.Size()
dAtA = make([]byte, size)
n, err := m.MarshalTo(dAtA)
2016-09-30 02:33:23 -07:00
if err != nil {
2017-05-11 01:29:10 -07:00
return nil, err
2016-09-30 02:33:23 -07:00
}
return dAtA[:n], nil
2017-05-11 01:29:10 -07:00
}
func (m *RunAsUserStrategyOptions) MarshalTo(dAtA []byte) (int, error) {
2017-05-11 01:29:10 -07:00
var i int
_ = i
var l int
_ = l
dAtA[i] = 0xa
2017-05-11 01:29:10 -07:00
i++
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Rule)))
i += copy(dAtA[i:], m.Rule)
2017-05-11 01:29:10 -07:00
if len(m.Ranges) > 0 {
for _, msg := range m.Ranges {
dAtA[i] = 0x12
2016-09-30 02:33:23 -07:00
i++
i = encodeVarintGenerated(dAtA, i, uint64(msg.Size()))
n, err := msg.MarshalTo(dAtA[i:])
2016-09-30 02:33:23 -07:00
if err != nil {
return 0, err
}
i += n
}
}
return i, nil
}
func (m *SELinuxStrategyOptions) Marshal() (dAtA []byte, err error) {
2016-09-30 02:33:23 -07:00
size := m.Size()
dAtA = make([]byte, size)
n, err := m.MarshalTo(dAtA)
2016-09-30 02:33:23 -07:00
if err != nil {
return nil, err
}
return dAtA[:n], nil
2016-09-30 02:33:23 -07:00
}
func (m *SELinuxStrategyOptions) MarshalTo(dAtA []byte) (int, error) {
2016-09-30 02:33:23 -07:00
var i int
_ = i
var l int
_ = l
dAtA[i] = 0xa
2016-09-30 02:33:23 -07:00
i++
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Rule)))
i += copy(dAtA[i:], m.Rule)
2017-05-11 01:29:10 -07:00
if m.SELinuxOptions != nil {
dAtA[i] = 0x12
2017-05-11 01:29:10 -07:00
i++
i = encodeVarintGenerated(dAtA, i, uint64(m.SELinuxOptions.Size()))
n58, err := m.SELinuxOptions.MarshalTo(dAtA[i:])
2017-05-11 01:29:10 -07:00
if err != nil {
return 0, err
2016-09-30 02:33:23 -07:00
}
i += n58
2016-09-30 02:33:23 -07:00
}
return i, nil
}
func (m *Scale) Marshal() (dAtA []byte, err error) {
2016-09-30 02:33:23 -07:00
size := m.Size()
dAtA = make([]byte, size)
n, err := m.MarshalTo(dAtA)
2016-09-30 02:33:23 -07:00
if err != nil {
return nil, err
}
return dAtA[:n], nil
2016-09-30 02:33:23 -07:00
}
func (m *Scale) MarshalTo(dAtA []byte) (int, error) {
2016-09-30 02:33:23 -07:00
var i int
_ = i
var l int
_ = l
dAtA[i] = 0xa
2016-09-30 02:33:23 -07:00
i++
i = encodeVarintGenerated(dAtA, i, uint64(m.ObjectMeta.Size()))
n59, err := m.ObjectMeta.MarshalTo(dAtA[i:])
2016-09-30 02:33:23 -07:00
if err != nil {
return 0, err
}
i += n59
dAtA[i] = 0x12
2016-09-30 02:33:23 -07:00
i++
i = encodeVarintGenerated(dAtA, i, uint64(m.Spec.Size()))
n60, err := m.Spec.MarshalTo(dAtA[i:])
2016-09-30 02:33:23 -07:00
if err != nil {
return 0, err
}
i += n60
dAtA[i] = 0x1a
2016-09-30 02:33:23 -07:00
i++
i = encodeVarintGenerated(dAtA, i, uint64(m.Status.Size()))
n61, err := m.Status.MarshalTo(dAtA[i:])
2016-09-30 02:33:23 -07:00
if err != nil {
return 0, err
}
i += n61
2016-09-30 02:33:23 -07:00
return i, nil
}
func (m *ScaleSpec) Marshal() (dAtA []byte, err error) {
2016-09-30 02:33:23 -07:00
size := m.Size()
dAtA = make([]byte, size)
n, err := m.MarshalTo(dAtA)
2016-09-30 02:33:23 -07:00
if err != nil {
return nil, err
}
return dAtA[:n], nil
2016-09-30 02:33:23 -07:00
}
func (m *ScaleSpec) MarshalTo(dAtA []byte) (int, error) {
2016-09-30 02:33:23 -07:00
var i int
_ = i
var l int
_ = l
dAtA[i] = 0x8
2016-09-30 02:33:23 -07:00
i++
i = encodeVarintGenerated(dAtA, i, uint64(m.Replicas))
2016-09-30 02:33:23 -07:00
return i, nil
}
func (m *ScaleStatus) Marshal() (dAtA []byte, err error) {
2016-09-30 02:33:23 -07:00
size := m.Size()
dAtA = make([]byte, size)
n, err := m.MarshalTo(dAtA)
2016-09-30 02:33:23 -07:00
if err != nil {
return nil, err
}
return dAtA[:n], nil
2016-09-30 02:33:23 -07:00
}
func (m *ScaleStatus) MarshalTo(dAtA []byte) (int, error) {
2016-09-30 02:33:23 -07:00
var i int
_ = i
var l int
_ = l
dAtA[i] = 0x8
2017-05-11 01:29:10 -07:00
i++
i = encodeVarintGenerated(dAtA, i, uint64(m.Replicas))
2017-05-11 01:29:10 -07:00
if len(m.Selector) > 0 {
keysForSelector := make([]string, 0, len(m.Selector))
2017-05-11 01:29:10 -07:00
for k := range m.Selector {
keysForSelector = append(keysForSelector, string(k))
}
github_com_gogo_protobuf_sortkeys.Strings(keysForSelector)
for _, k := range keysForSelector {
dAtA[i] = 0x12
2017-05-11 01:29:10 -07:00
i++
v := m.Selector[string(k)]
2017-05-11 01:29:10 -07:00
mapSize := 1 + len(k) + sovGenerated(uint64(len(k))) + 1 + len(v) + sovGenerated(uint64(len(v)))
i = encodeVarintGenerated(dAtA, i, uint64(mapSize))
dAtA[i] = 0xa
2017-05-11 01:29:10 -07:00
i++
i = encodeVarintGenerated(dAtA, i, uint64(len(k)))
i += copy(dAtA[i:], k)
dAtA[i] = 0x12
2017-05-11 01:29:10 -07:00
i++
i = encodeVarintGenerated(dAtA, i, uint64(len(v)))
i += copy(dAtA[i:], v)
2016-09-30 02:33:23 -07:00
}
}
dAtA[i] = 0x1a
2016-09-30 02:33:23 -07:00
i++
i = encodeVarintGenerated(dAtA, i, uint64(len(m.TargetSelector)))
i += copy(dAtA[i:], m.TargetSelector)
2016-09-30 02:33:23 -07:00
return i, nil
}
func (m *SupplementalGroupsStrategyOptions) Marshal() (dAtA []byte, err error) {
2016-09-30 02:33:23 -07:00
size := m.Size()
dAtA = make([]byte, size)
n, err := m.MarshalTo(dAtA)
2016-09-30 02:33:23 -07:00
if err != nil {
return nil, err
}
return dAtA[:n], nil
2016-09-30 02:33:23 -07:00
}
func (m *SupplementalGroupsStrategyOptions) MarshalTo(dAtA []byte) (int, error) {
2016-09-30 02:33:23 -07:00
var i int
_ = i
var l int
_ = l
dAtA[i] = 0xa
2016-09-30 02:33:23 -07:00
i++
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Rule)))
i += copy(dAtA[i:], m.Rule)
2017-05-11 01:29:10 -07:00
if len(m.Ranges) > 0 {
for _, msg := range m.Ranges {
dAtA[i] = 0x12
2017-05-11 01:29:10 -07:00
i++
i = encodeVarintGenerated(dAtA, i, uint64(msg.Size()))
n, err := msg.MarshalTo(dAtA[i:])
2017-05-11 01:29:10 -07:00
if err != nil {
return 0, err
}
i += n
2016-09-30 02:33:23 -07:00
}
}
return i, nil
}
func encodeVarintGenerated(dAtA []byte, offset int, v uint64) int {
2017-05-11 01:29:10 -07:00
for v >= 1<<7 {
dAtA[offset] = uint8(v&0x7f | 0x80)
2017-05-11 01:29:10 -07:00
v >>= 7
offset++
2016-09-30 02:33:23 -07:00
}
dAtA[offset] = uint8(v)
2017-05-11 01:29:10 -07:00
return offset + 1
}
func (m *AllowedFlexVolume) Size() (n int) {
2017-05-11 01:29:10 -07:00
var l int
_ = l
l = len(m.Driver)
n += 1 + l + sovGenerated(uint64(l))
return n
}
func (m *AllowedHostPath) Size() (n int) {
var l int
_ = l
l = len(m.PathPrefix)
2017-05-11 01:29:10 -07:00
n += 1 + l + sovGenerated(uint64(l))
n += 2
2017-05-11 01:29:10 -07:00
return n
2016-09-30 02:33:23 -07:00
}
func (m *DaemonSet) Size() (n int) {
2016-09-30 02:33:23 -07:00
var l int
_ = l
l = m.ObjectMeta.Size()
2017-05-11 01:29:10 -07:00
n += 1 + l + sovGenerated(uint64(l))
l = m.Spec.Size()
n += 1 + l + sovGenerated(uint64(l))
l = m.Status.Size()
2017-05-11 01:29:10 -07:00
n += 1 + l + sovGenerated(uint64(l))
return n
2016-09-30 02:33:23 -07:00
}
func (m *DaemonSetCondition) Size() (n int) {
var l int
_ = l
l = len(m.Type)
n += 1 + l + sovGenerated(uint64(l))
l = len(m.Status)
n += 1 + l + sovGenerated(uint64(l))
l = m.LastTransitionTime.Size()
n += 1 + l + sovGenerated(uint64(l))
l = len(m.Reason)
n += 1 + l + sovGenerated(uint64(l))
l = len(m.Message)
n += 1 + l + sovGenerated(uint64(l))
return n
}
2017-05-11 01:29:10 -07:00
func (m *DaemonSetList) 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))
2016-09-30 02:33:23 -07:00
}
}
2017-05-11 01:29:10 -07:00
return n
2016-09-30 02:33:23 -07:00
}
2017-05-11 01:29:10 -07:00
func (m *DaemonSetSpec) Size() (n int) {
var l int
_ = l
if m.Selector != nil {
l = m.Selector.Size()
n += 1 + l + sovGenerated(uint64(l))
2016-09-30 02:33:23 -07:00
}
2017-05-11 01:29:10 -07:00
l = m.Template.Size()
n += 1 + l + sovGenerated(uint64(l))
l = m.UpdateStrategy.Size()
n += 1 + l + sovGenerated(uint64(l))
n += 1 + sovGenerated(uint64(m.MinReadySeconds))
n += 1 + sovGenerated(uint64(m.TemplateGeneration))
if m.RevisionHistoryLimit != nil {
n += 1 + sovGenerated(uint64(*m.RevisionHistoryLimit))
}
2017-05-11 01:29:10 -07:00
return n
2016-09-30 02:33:23 -07:00
}
2017-05-11 01:29:10 -07:00
func (m *DaemonSetStatus) Size() (n int) {
2016-09-30 02:33:23 -07:00
var l int
_ = l
2017-05-11 01:29:10 -07:00
n += 1 + sovGenerated(uint64(m.CurrentNumberScheduled))
n += 1 + sovGenerated(uint64(m.NumberMisscheduled))
n += 1 + sovGenerated(uint64(m.DesiredNumberScheduled))
n += 1 + sovGenerated(uint64(m.NumberReady))
n += 1 + sovGenerated(uint64(m.ObservedGeneration))
n += 1 + sovGenerated(uint64(m.UpdatedNumberScheduled))
n += 1 + sovGenerated(uint64(m.NumberAvailable))
n += 1 + sovGenerated(uint64(m.NumberUnavailable))
if m.CollisionCount != nil {
n += 1 + sovGenerated(uint64(*m.CollisionCount))
}
if len(m.Conditions) > 0 {
for _, e := range m.Conditions {
l = e.Size()
n += 1 + l + sovGenerated(uint64(l))
}
}
2017-05-11 01:29:10 -07:00
return n
2016-09-30 02:33:23 -07:00
}
2017-05-11 01:29:10 -07:00
func (m *DaemonSetUpdateStrategy) Size() (n int) {
var l int
_ = l
l = len(m.Type)
n += 1 + l + sovGenerated(uint64(l))
if m.RollingUpdate != nil {
l = m.RollingUpdate.Size()
n += 1 + l + sovGenerated(uint64(l))
2016-09-30 02:33:23 -07:00
}
2017-05-11 01:29:10 -07:00
return n
2016-09-30 02:33:23 -07:00
}
2017-05-11 01:29:10 -07:00
func (m *Deployment) Size() (n int) {
2016-09-30 02:33:23 -07:00
var l int
_ = l
2017-05-11 01:29:10 -07:00
l = m.ObjectMeta.Size()
n += 1 + l + sovGenerated(uint64(l))
l = m.Spec.Size()
n += 1 + l + sovGenerated(uint64(l))
l = m.Status.Size()
n += 1 + l + sovGenerated(uint64(l))
return n
2016-09-30 02:33:23 -07:00
}
2017-05-11 01:29:10 -07:00
func (m *DeploymentCondition) Size() (n int) {
var l int
_ = l
l = len(m.Type)
n += 1 + l + sovGenerated(uint64(l))
l = len(m.Status)
n += 1 + l + sovGenerated(uint64(l))
l = len(m.Reason)
n += 1 + l + sovGenerated(uint64(l))
l = len(m.Message)
n += 1 + l + sovGenerated(uint64(l))
l = m.LastUpdateTime.Size()
n += 1 + l + sovGenerated(uint64(l))
l = m.LastTransitionTime.Size()
n += 1 + l + sovGenerated(uint64(l))
return n
2016-09-30 02:33:23 -07:00
}
2017-05-11 01:29:10 -07:00
func (m *DeploymentList) Size() (n int) {
2016-09-30 02:33:23 -07:00
var l int
_ = l
2017-05-11 01:29:10 -07:00
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))
2016-09-30 02:33:23 -07:00
}
}
2017-05-11 01:29:10 -07:00
return n
2016-09-30 02:33:23 -07:00
}
2017-05-11 01:29:10 -07:00
func (m *DeploymentRollback) Size() (n int) {
var l int
_ = l
l = len(m.Name)
n += 1 + l + sovGenerated(uint64(l))
if len(m.UpdatedAnnotations) > 0 {
for k, v := range m.UpdatedAnnotations {
_ = k
_ = v
mapEntrySize := 1 + len(k) + sovGenerated(uint64(len(k))) + 1 + len(v) + sovGenerated(uint64(len(v)))
n += mapEntrySize + 1 + sovGenerated(uint64(mapEntrySize))
}
2016-09-30 02:33:23 -07:00
}
2017-05-11 01:29:10 -07:00
l = m.RollbackTo.Size()
n += 1 + l + sovGenerated(uint64(l))
return n
2016-09-30 02:33:23 -07:00
}
2017-05-11 01:29:10 -07:00
func (m *DeploymentSpec) Size() (n int) {
2016-09-30 02:33:23 -07:00
var l int
_ = l
2017-05-11 01:29:10 -07:00
if m.Replicas != nil {
n += 1 + sovGenerated(uint64(*m.Replicas))
2016-09-30 02:33:23 -07:00
}
2017-05-11 01:29:10 -07:00
if m.Selector != nil {
l = m.Selector.Size()
n += 1 + l + sovGenerated(uint64(l))
2016-09-30 02:33:23 -07:00
}
2017-05-11 01:29:10 -07:00
l = m.Template.Size()
n += 1 + l + sovGenerated(uint64(l))
l = m.Strategy.Size()
n += 1 + l + sovGenerated(uint64(l))
n += 1 + sovGenerated(uint64(m.MinReadySeconds))
if m.RevisionHistoryLimit != nil {
n += 1 + sovGenerated(uint64(*m.RevisionHistoryLimit))
2016-09-30 02:33:23 -07:00
}
2017-05-11 01:29:10 -07:00
n += 2
if m.RollbackTo != nil {
l = m.RollbackTo.Size()
n += 1 + l + sovGenerated(uint64(l))
}
if m.ProgressDeadlineSeconds != nil {
n += 1 + sovGenerated(uint64(*m.ProgressDeadlineSeconds))
}
return n
2016-09-30 02:33:23 -07:00
}
2017-05-11 01:29:10 -07:00
func (m *DeploymentStatus) Size() (n int) {
2016-09-30 02:33:23 -07:00
var l int
_ = l
2017-05-11 01:29:10 -07:00
n += 1 + sovGenerated(uint64(m.ObservedGeneration))
n += 1 + sovGenerated(uint64(m.Replicas))
n += 1 + sovGenerated(uint64(m.UpdatedReplicas))
n += 1 + sovGenerated(uint64(m.AvailableReplicas))
n += 1 + sovGenerated(uint64(m.UnavailableReplicas))
if len(m.Conditions) > 0 {
for _, e := range m.Conditions {
l = e.Size()
n += 1 + l + sovGenerated(uint64(l))
2016-09-30 02:33:23 -07:00
}
}
2017-05-11 01:29:10 -07:00
n += 1 + sovGenerated(uint64(m.ReadyReplicas))
if m.CollisionCount != nil {
n += 1 + sovGenerated(uint64(*m.CollisionCount))
}
2017-05-11 01:29:10 -07:00
return n
2016-09-30 02:33:23 -07:00
}
2017-05-11 01:29:10 -07:00
func (m *DeploymentStrategy) Size() (n int) {
var l int
_ = l
l = len(m.Type)
n += 1 + l + sovGenerated(uint64(l))
if m.RollingUpdate != nil {
l = m.RollingUpdate.Size()
n += 1 + l + sovGenerated(uint64(l))
2016-09-30 02:33:23 -07:00
}
2017-05-11 01:29:10 -07:00
return n
2016-09-30 02:33:23 -07:00
}
2017-05-11 01:29:10 -07:00
func (m *FSGroupStrategyOptions) Size() (n int) {
2016-09-30 02:33:23 -07:00
var l int
_ = l
2017-05-11 01:29:10 -07:00
l = len(m.Rule)
n += 1 + l + sovGenerated(uint64(l))
if len(m.Ranges) > 0 {
for _, e := range m.Ranges {
l = e.Size()
n += 1 + l + sovGenerated(uint64(l))
2016-09-30 02:33:23 -07:00
}
}
2017-05-11 01:29:10 -07:00
return n
2016-09-30 02:33:23 -07:00
}
2017-05-11 01:29:10 -07:00
func (m *HTTPIngressPath) Size() (n int) {
2016-09-30 02:33:23 -07:00
var l int
_ = l
2017-05-11 01:29:10 -07:00
l = len(m.Path)
2016-09-30 02:33:23 -07:00
n += 1 + l + sovGenerated(uint64(l))
2017-05-11 01:29:10 -07:00
l = m.Backend.Size()
2016-09-30 02:33:23 -07:00
n += 1 + l + sovGenerated(uint64(l))
return n
}
2017-05-11 01:29:10 -07:00
func (m *HTTPIngressRuleValue) Size() (n int) {
2016-09-30 02:33:23 -07:00
var l int
_ = l
2017-05-11 01:29:10 -07:00
if len(m.Paths) > 0 {
for _, e := range m.Paths {
2016-09-30 02:33:23 -07:00
l = e.Size()
n += 1 + l + sovGenerated(uint64(l))
}
}
return n
}
2017-05-11 01:29:10 -07:00
func (m *HostPortRange) Size() (n int) {
2016-09-30 02:33:23 -07:00
var l int
_ = l
2017-05-11 01:29:10 -07:00
n += 1 + sovGenerated(uint64(m.Min))
n += 1 + sovGenerated(uint64(m.Max))
2016-09-30 02:33:23 -07:00
return n
}
2017-05-11 01:29:10 -07:00
func (m *IDRange) Size() (n int) {
2016-09-30 02:33:23 -07:00
var l int
_ = l
2017-05-11 01:29:10 -07:00
n += 1 + sovGenerated(uint64(m.Min))
n += 1 + sovGenerated(uint64(m.Max))
2016-09-30 02:33:23 -07:00
return n
}
func (m *IPBlock) Size() (n int) {
var l int
_ = l
l = len(m.CIDR)
n += 1 + l + sovGenerated(uint64(l))
if len(m.Except) > 0 {
for _, s := range m.Except {
l = len(s)
n += 1 + l + sovGenerated(uint64(l))
}
}
return n
}
2017-05-11 01:29:10 -07:00
func (m *Ingress) Size() (n int) {
2016-09-30 02:33:23 -07:00
var l int
_ = l
l = m.ObjectMeta.Size()
n += 1 + l + sovGenerated(uint64(l))
l = m.Spec.Size()
n += 1 + l + sovGenerated(uint64(l))
l = m.Status.Size()
n += 1 + l + sovGenerated(uint64(l))
return n
}
2017-05-11 01:29:10 -07:00
func (m *IngressBackend) Size() (n int) {
2016-09-30 02:33:23 -07:00
var l int
_ = l
2017-05-11 01:29:10 -07:00
l = len(m.ServiceName)
2016-09-30 02:33:23 -07:00
n += 1 + l + sovGenerated(uint64(l))
2017-05-11 01:29:10 -07:00
l = m.ServicePort.Size()
2016-09-30 02:33:23 -07:00
n += 1 + l + sovGenerated(uint64(l))
return n
}
2017-05-11 01:29:10 -07:00
func (m *IngressList) Size() (n int) {
2016-09-30 02:33:23 -07:00
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-05-11 01:29:10 -07:00
func (m *IngressRule) Size() (n int) {
2016-09-30 02:33:23 -07:00
var l int
_ = l
2017-05-11 01:29:10 -07:00
l = len(m.Host)
2016-09-30 02:33:23 -07:00
n += 1 + l + sovGenerated(uint64(l))
2017-05-11 01:29:10 -07:00
l = m.IngressRuleValue.Size()
2016-09-30 02:33:23 -07:00
n += 1 + l + sovGenerated(uint64(l))
return n
}
2017-05-11 01:29:10 -07:00
func (m *IngressRuleValue) Size() (n int) {
2016-09-30 02:33:23 -07:00
var l int
_ = l
2017-05-11 01:29:10 -07:00
if m.HTTP != nil {
l = m.HTTP.Size()
2016-09-30 02:33:23 -07:00
n += 1 + l + sovGenerated(uint64(l))
}
return n
}
2017-05-11 01:29:10 -07:00
func (m *IngressSpec) Size() (n int) {
2016-09-30 02:33:23 -07:00
var l int
_ = l
2017-05-11 01:29:10 -07:00
if m.Backend != nil {
l = m.Backend.Size()
2016-09-30 02:33:23 -07:00
n += 1 + l + sovGenerated(uint64(l))
}
2017-05-11 01:29:10 -07:00
if len(m.TLS) > 0 {
for _, e := range m.TLS {
l = e.Size()
n += 1 + l + sovGenerated(uint64(l))
}
}
if len(m.Rules) > 0 {
for _, e := range m.Rules {
l = e.Size()
n += 1 + l + sovGenerated(uint64(l))
}
}
2016-09-30 02:33:23 -07:00
return n
}
2017-05-11 01:29:10 -07:00
func (m *IngressStatus) Size() (n int) {
2016-09-30 02:33:23 -07:00
var l int
_ = l
2017-05-11 01:29:10 -07:00
l = m.LoadBalancer.Size()
n += 1 + l + sovGenerated(uint64(l))
2016-09-30 02:33:23 -07:00
return n
}
2017-05-11 01:29:10 -07:00
func (m *IngressTLS) Size() (n int) {
2016-09-30 02:33:23 -07:00
var l int
_ = l
2017-05-11 01:29:10 -07:00
if len(m.Hosts) > 0 {
for _, s := range m.Hosts {
l = len(s)
2016-09-30 02:33:23 -07:00
n += 1 + l + sovGenerated(uint64(l))
}
}
2017-05-11 01:29:10 -07:00
l = len(m.SecretName)
n += 1 + l + sovGenerated(uint64(l))
2016-09-30 02:33:23 -07:00
return n
}
2017-05-11 01:29:10 -07:00
func (m *NetworkPolicy) Size() (n int) {
2016-09-30 02:33:23 -07:00
var l int
_ = l
2017-05-11 01:29:10 -07:00
l = m.ObjectMeta.Size()
2016-09-30 02:33:23 -07:00
n += 1 + l + sovGenerated(uint64(l))
2017-05-11 01:29:10 -07:00
l = m.Spec.Size()
2016-09-30 02:33:23 -07:00
n += 1 + l + sovGenerated(uint64(l))
return n
}
func (m *NetworkPolicyEgressRule) Size() (n int) {
var l int
_ = l
if len(m.Ports) > 0 {
for _, e := range m.Ports {
l = e.Size()
n += 1 + l + sovGenerated(uint64(l))
}
}
if len(m.To) > 0 {
for _, e := range m.To {
l = e.Size()
n += 1 + l + sovGenerated(uint64(l))
}
}
return n
}
2017-05-11 01:29:10 -07:00
func (m *NetworkPolicyIngressRule) Size() (n int) {
2016-09-30 02:33:23 -07:00
var l int
_ = l
2017-05-11 01:29:10 -07:00
if len(m.Ports) > 0 {
for _, e := range m.Ports {
l = e.Size()
n += 1 + l + sovGenerated(uint64(l))
}
}
if len(m.From) > 0 {
for _, e := range m.From {
2016-09-30 02:33:23 -07:00
l = e.Size()
n += 1 + l + sovGenerated(uint64(l))
}
}
return n
}
2017-05-11 01:29:10 -07:00
func (m *NetworkPolicyList) Size() (n int) {
2016-09-30 02:33:23 -07:00
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-05-11 01:29:10 -07:00
func (m *NetworkPolicyPeer) Size() (n int) {
2016-09-30 02:33:23 -07:00
var l int
_ = l
2017-05-11 01:29:10 -07:00
if m.PodSelector != nil {
l = m.PodSelector.Size()
n += 1 + l + sovGenerated(uint64(l))
2016-09-30 02:33:23 -07:00
}
2017-05-11 01:29:10 -07:00
if m.NamespaceSelector != nil {
l = m.NamespaceSelector.Size()
2016-09-30 02:33:23 -07:00
n += 1 + l + sovGenerated(uint64(l))
}
if m.IPBlock != nil {
l = m.IPBlock.Size()
n += 1 + l + sovGenerated(uint64(l))
}
2016-09-30 02:33:23 -07:00
return n
}
2017-05-11 01:29:10 -07:00
func (m *NetworkPolicyPort) Size() (n int) {
2016-09-30 02:33:23 -07:00
var l int
_ = l
2017-05-11 01:29:10 -07:00
if m.Protocol != nil {
l = len(*m.Protocol)
2016-09-30 02:33:23 -07:00
n += 1 + l + sovGenerated(uint64(l))
}
2017-05-11 01:29:10 -07:00
if m.Port != nil {
l = m.Port.Size()
n += 1 + l + sovGenerated(uint64(l))
2016-09-30 02:33:23 -07:00
}
return n
}
2017-05-11 01:29:10 -07:00
func (m *NetworkPolicySpec) Size() (n int) {
2016-09-30 02:33:23 -07:00
var l int
_ = l
2017-05-11 01:29:10 -07:00
l = m.PodSelector.Size()
n += 1 + l + sovGenerated(uint64(l))
if len(m.Ingress) > 0 {
for _, e := range m.Ingress {
l = e.Size()
n += 1 + l + sovGenerated(uint64(l))
}
}
if len(m.Egress) > 0 {
for _, e := range m.Egress {
l = e.Size()
n += 1 + l + sovGenerated(uint64(l))
}
}
if len(m.PolicyTypes) > 0 {
for _, s := range m.PolicyTypes {
l = len(s)
n += 1 + l + sovGenerated(uint64(l))
}
}
2016-09-30 02:33:23 -07:00
return n
}
2017-05-11 01:29:10 -07:00
func (m *PodSecurityPolicy) Size() (n int) {
2016-09-30 02:33:23 -07:00
var l int
_ = l
2017-05-11 01:29:10 -07:00
l = m.ObjectMeta.Size()
n += 1 + l + sovGenerated(uint64(l))
l = m.Spec.Size()
n += 1 + l + sovGenerated(uint64(l))
2016-09-30 02:33:23 -07:00
return n
}
2017-05-11 01:29:10 -07:00
func (m *PodSecurityPolicyList) Size() (n int) {
2016-09-30 02:33:23 -07:00
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-05-11 01:29:10 -07:00
func (m *PodSecurityPolicySpec) Size() (n int) {
2016-09-30 02:33:23 -07:00
var l int
_ = l
2017-05-11 01:29:10 -07:00
n += 2
if len(m.DefaultAddCapabilities) > 0 {
for _, s := range m.DefaultAddCapabilities {
l = len(s)
n += 1 + l + sovGenerated(uint64(l))
}
2016-09-30 02:33:23 -07:00
}
2017-05-11 01:29:10 -07:00
if len(m.RequiredDropCapabilities) > 0 {
for _, s := range m.RequiredDropCapabilities {
l = len(s)
2016-09-30 02:33:23 -07:00
n += 1 + l + sovGenerated(uint64(l))
}
}
2017-05-11 01:29:10 -07:00
if len(m.AllowedCapabilities) > 0 {
for _, s := range m.AllowedCapabilities {
l = len(s)
2016-09-30 02:33:23 -07:00
n += 1 + l + sovGenerated(uint64(l))
}
}
2017-05-11 01:29:10 -07:00
if len(m.Volumes) > 0 {
for _, s := range m.Volumes {
2016-09-30 02:33:23 -07:00
l = len(s)
n += 1 + l + sovGenerated(uint64(l))
}
}
2017-05-11 01:29:10 -07:00
n += 2
if len(m.HostPorts) > 0 {
for _, e := range m.HostPorts {
l = e.Size()
n += 1 + l + sovGenerated(uint64(l))
}
}
n += 2
n += 2
l = m.SELinux.Size()
n += 1 + l + sovGenerated(uint64(l))
l = m.RunAsUser.Size()
2016-09-30 02:33:23 -07:00
n += 1 + l + sovGenerated(uint64(l))
2017-05-11 01:29:10 -07:00
l = m.SupplementalGroups.Size()
n += 1 + l + sovGenerated(uint64(l))
l = m.FSGroup.Size()
n += 1 + l + sovGenerated(uint64(l))
n += 2
if m.DefaultAllowPrivilegeEscalation != nil {
n += 2
}
if m.AllowPrivilegeEscalation != nil {
n += 3
}
if len(m.AllowedHostPaths) > 0 {
for _, e := range m.AllowedHostPaths {
l = e.Size()
n += 2 + l + sovGenerated(uint64(l))
}
}
if len(m.AllowedFlexVolumes) > 0 {
for _, e := range m.AllowedFlexVolumes {
l = e.Size()
n += 2 + l + sovGenerated(uint64(l))
}
}
if len(m.AllowedUnsafeSysctls) > 0 {
for _, s := range m.AllowedUnsafeSysctls {
l = len(s)
n += 2 + l + sovGenerated(uint64(l))
}
}
if len(m.ForbiddenSysctls) > 0 {
for _, s := range m.ForbiddenSysctls {
l = len(s)
n += 2 + l + sovGenerated(uint64(l))
}
}
if len(m.AllowedProcMountTypes) > 0 {
for _, s := range m.AllowedProcMountTypes {
l = len(s)
n += 2 + l + sovGenerated(uint64(l))
}
}
if m.RunAsGroup != nil {
l = m.RunAsGroup.Size()
n += 2 + l + sovGenerated(uint64(l))
}
2016-09-30 02:33:23 -07:00
return n
}
2017-05-11 01:29:10 -07:00
func (m *ReplicaSet) Size() (n int) {
2016-09-30 02:33:23 -07:00
var l int
_ = l
l = m.ObjectMeta.Size()
n += 1 + l + sovGenerated(uint64(l))
l = m.Spec.Size()
n += 1 + l + sovGenerated(uint64(l))
l = m.Status.Size()
n += 1 + l + sovGenerated(uint64(l))
return n
}
2017-05-11 01:29:10 -07:00
func (m *ReplicaSetCondition) Size() (n int) {
2016-09-30 02:33:23 -07:00
var l int
_ = l
l = len(m.Type)
n += 1 + l + sovGenerated(uint64(l))
l = len(m.Status)
n += 1 + l + sovGenerated(uint64(l))
l = m.LastTransitionTime.Size()
n += 1 + l + sovGenerated(uint64(l))
l = len(m.Reason)
n += 1 + l + sovGenerated(uint64(l))
l = len(m.Message)
n += 1 + l + sovGenerated(uint64(l))
return n
}
2017-05-11 01:29:10 -07:00
func (m *ReplicaSetList) Size() (n int) {
2016-09-30 02:33:23 -07:00
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-05-11 01:29:10 -07:00
func (m *ReplicaSetSpec) Size() (n int) {
2016-09-30 02:33:23 -07:00
var l int
_ = l
2017-05-11 01:29:10 -07:00
if m.Replicas != nil {
n += 1 + sovGenerated(uint64(*m.Replicas))
2016-09-30 02:33:23 -07:00
}
if m.Selector != nil {
l = m.Selector.Size()
n += 1 + l + sovGenerated(uint64(l))
}
l = m.Template.Size()
n += 1 + l + sovGenerated(uint64(l))
2017-05-11 01:29:10 -07:00
n += 1 + sovGenerated(uint64(m.MinReadySeconds))
2016-09-30 02:33:23 -07:00
return n
}
2017-05-11 01:29:10 -07:00
func (m *ReplicaSetStatus) Size() (n int) {
2016-09-30 02:33:23 -07:00
var l int
_ = l
2017-05-11 01:29:10 -07:00
n += 1 + sovGenerated(uint64(m.Replicas))
n += 1 + sovGenerated(uint64(m.FullyLabeledReplicas))
n += 1 + sovGenerated(uint64(m.ObservedGeneration))
n += 1 + sovGenerated(uint64(m.ReadyReplicas))
n += 1 + sovGenerated(uint64(m.AvailableReplicas))
2016-09-30 02:33:23 -07:00
if len(m.Conditions) > 0 {
for _, e := range m.Conditions {
l = e.Size()
n += 1 + l + sovGenerated(uint64(l))
}
}
2017-05-11 01:29:10 -07:00
return n
}
func (m *ReplicationControllerDummy) Size() (n int) {
var l int
_ = l
return n
}
func (m *RollbackConfig) Size() (n int) {
var l int
_ = l
n += 1 + sovGenerated(uint64(m.Revision))
return n
}
func (m *RollingUpdateDaemonSet) Size() (n int) {
var l int
_ = l
if m.MaxUnavailable != nil {
l = m.MaxUnavailable.Size()
2016-09-30 02:33:23 -07:00
n += 1 + l + sovGenerated(uint64(l))
}
return n
}
2017-05-11 01:29:10 -07:00
func (m *RollingUpdateDeployment) Size() (n int) {
2016-09-30 02:33:23 -07:00
var l int
_ = l
2017-05-11 01:29:10 -07:00
if m.MaxUnavailable != nil {
l = m.MaxUnavailable.Size()
n += 1 + l + sovGenerated(uint64(l))
2016-09-30 02:33:23 -07:00
}
2017-05-11 01:29:10 -07:00
if m.MaxSurge != nil {
l = m.MaxSurge.Size()
n += 1 + l + sovGenerated(uint64(l))
2016-09-30 02:33:23 -07:00
}
return n
}
func (m *RunAsGroupStrategyOptions) Size() (n int) {
var l int
_ = l
l = len(m.Rule)
n += 1 + l + sovGenerated(uint64(l))
if len(m.Ranges) > 0 {
for _, e := range m.Ranges {
l = e.Size()
n += 1 + l + sovGenerated(uint64(l))
}
}
return n
}
2017-05-11 01:29:10 -07:00
func (m *RunAsUserStrategyOptions) Size() (n int) {
2016-09-30 02:33:23 -07:00
var l int
_ = l
2017-05-11 01:29:10 -07:00
l = len(m.Rule)
2016-09-30 02:33:23 -07:00
n += 1 + l + sovGenerated(uint64(l))
2017-05-11 01:29:10 -07:00
if len(m.Ranges) > 0 {
for _, e := range m.Ranges {
l = e.Size()
2016-09-30 02:33:23 -07:00
n += 1 + l + sovGenerated(uint64(l))
}
}
return n
}
2017-05-11 01:29:10 -07:00
func (m *SELinuxStrategyOptions) Size() (n int) {
2016-09-30 02:33:23 -07:00
var l int
_ = l
2017-05-11 01:29:10 -07:00
l = len(m.Rule)
2016-09-30 02:33:23 -07:00
n += 1 + l + sovGenerated(uint64(l))
2017-05-11 01:29:10 -07:00
if m.SELinuxOptions != nil {
l = m.SELinuxOptions.Size()
n += 1 + l + sovGenerated(uint64(l))
2016-09-30 02:33:23 -07:00
}
return n
}
2017-05-11 01:29:10 -07:00
func (m *Scale) Size() (n int) {
2016-09-30 02:33:23 -07:00
var l int
_ = l
l = m.ObjectMeta.Size()
n += 1 + l + sovGenerated(uint64(l))
l = m.Spec.Size()
n += 1 + l + sovGenerated(uint64(l))
2017-05-11 01:29:10 -07:00
l = m.Status.Size()
n += 1 + l + sovGenerated(uint64(l))
2016-09-30 02:33:23 -07:00
return n
}
2017-05-11 01:29:10 -07:00
func (m *ScaleSpec) Size() (n int) {
2016-09-30 02:33:23 -07:00
var l int
_ = l
2017-05-11 01:29:10 -07:00
n += 1 + sovGenerated(uint64(m.Replicas))
2016-09-30 02:33:23 -07:00
return n
}
2017-05-11 01:29:10 -07:00
func (m *ScaleStatus) Size() (n int) {
2016-09-30 02:33:23 -07:00
var l int
_ = l
2017-05-11 01:29:10 -07:00
n += 1 + sovGenerated(uint64(m.Replicas))
if len(m.Selector) > 0 {
for k, v := range m.Selector {
_ = k
_ = v
mapEntrySize := 1 + len(k) + sovGenerated(uint64(len(k))) + 1 + len(v) + sovGenerated(uint64(len(v)))
n += mapEntrySize + 1 + sovGenerated(uint64(mapEntrySize))
2016-09-30 02:33:23 -07:00
}
}
2017-05-11 01:29:10 -07:00
l = len(m.TargetSelector)
n += 1 + l + sovGenerated(uint64(l))
2016-09-30 02:33:23 -07:00
return n
}
2017-05-11 01:29:10 -07:00
func (m *SupplementalGroupsStrategyOptions) Size() (n int) {
2016-09-30 02:33:23 -07:00
var l int
_ = l
2017-05-11 01:29:10 -07:00
l = len(m.Rule)
n += 1 + l + sovGenerated(uint64(l))
if len(m.Ranges) > 0 {
for _, e := range m.Ranges {
l = e.Size()
n += 1 + l + sovGenerated(uint64(l))
}
2016-09-30 02:33:23 -07:00
}
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 *AllowedFlexVolume) String() string {
2016-09-30 02:33:23 -07:00
if this == nil {
return "nil"
}
s := strings.Join([]string{`&AllowedFlexVolume{`,
`Driver:` + fmt.Sprintf("%v", this.Driver) + `,`,
`}`,
}, "")
return s
}
func (this *AllowedHostPath) String() string {
if this == nil {
return "nil"
}
s := strings.Join([]string{`&AllowedHostPath{`,
`PathPrefix:` + fmt.Sprintf("%v", this.PathPrefix) + `,`,
`ReadOnly:` + fmt.Sprintf("%v", this.ReadOnly) + `,`,
2016-09-30 02:33:23 -07:00
`}`,
}, "")
return s
}
func (this *DaemonSet) String() string {
if this == nil {
return "nil"
}
s := strings.Join([]string{`&DaemonSet{`,
2017-05-11 01:29:10 -07:00
`ObjectMeta:` + strings.Replace(strings.Replace(this.ObjectMeta.String(), "ObjectMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.ObjectMeta", 1), `&`, ``, 1) + `,`,
2016-09-30 02:33:23 -07:00
`Spec:` + strings.Replace(strings.Replace(this.Spec.String(), "DaemonSetSpec", "DaemonSetSpec", 1), `&`, ``, 1) + `,`,
`Status:` + strings.Replace(strings.Replace(this.Status.String(), "DaemonSetStatus", "DaemonSetStatus", 1), `&`, ``, 1) + `,`,
`}`,
}, "")
return s
}
func (this *DaemonSetCondition) String() string {
if this == nil {
return "nil"
}
s := strings.Join([]string{`&DaemonSetCondition{`,
`Type:` + fmt.Sprintf("%v", this.Type) + `,`,
`Status:` + fmt.Sprintf("%v", this.Status) + `,`,
`LastTransitionTime:` + strings.Replace(strings.Replace(this.LastTransitionTime.String(), "Time", "k8s_io_apimachinery_pkg_apis_meta_v1.Time", 1), `&`, ``, 1) + `,`,
`Reason:` + fmt.Sprintf("%v", this.Reason) + `,`,
`Message:` + fmt.Sprintf("%v", this.Message) + `,`,
`}`,
}, "")
return s
}
2016-09-30 02:33:23 -07:00
func (this *DaemonSetList) String() string {
if this == nil {
return "nil"
}
s := strings.Join([]string{`&DaemonSetList{`,
2017-05-11 01:29:10 -07:00
`ListMeta:` + strings.Replace(strings.Replace(this.ListMeta.String(), "ListMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.ListMeta", 1), `&`, ``, 1) + `,`,
2016-09-30 02:33:23 -07:00
`Items:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Items), "DaemonSet", "DaemonSet", 1), `&`, ``, 1) + `,`,
`}`,
}, "")
return s
}
func (this *DaemonSetSpec) String() string {
if this == nil {
return "nil"
}
s := strings.Join([]string{`&DaemonSetSpec{`,
2017-05-11 01:29:10 -07:00
`Selector:` + strings.Replace(fmt.Sprintf("%v", this.Selector), "LabelSelector", "k8s_io_apimachinery_pkg_apis_meta_v1.LabelSelector", 1) + `,`,
`Template:` + strings.Replace(strings.Replace(this.Template.String(), "PodTemplateSpec", "k8s_io_api_core_v1.PodTemplateSpec", 1), `&`, ``, 1) + `,`,
2017-05-11 01:29:10 -07:00
`UpdateStrategy:` + strings.Replace(strings.Replace(this.UpdateStrategy.String(), "DaemonSetUpdateStrategy", "DaemonSetUpdateStrategy", 1), `&`, ``, 1) + `,`,
`MinReadySeconds:` + fmt.Sprintf("%v", this.MinReadySeconds) + `,`,
`TemplateGeneration:` + fmt.Sprintf("%v", this.TemplateGeneration) + `,`,
`RevisionHistoryLimit:` + valueToStringGenerated(this.RevisionHistoryLimit) + `,`,
2016-09-30 02:33:23 -07:00
`}`,
}, "")
return s
}
func (this *DaemonSetStatus) String() string {
if this == nil {
return "nil"
}
s := strings.Join([]string{`&DaemonSetStatus{`,
`CurrentNumberScheduled:` + fmt.Sprintf("%v", this.CurrentNumberScheduled) + `,`,
`NumberMisscheduled:` + fmt.Sprintf("%v", this.NumberMisscheduled) + `,`,
`DesiredNumberScheduled:` + fmt.Sprintf("%v", this.DesiredNumberScheduled) + `,`,
2017-05-11 01:29:10 -07:00
`NumberReady:` + fmt.Sprintf("%v", this.NumberReady) + `,`,
`ObservedGeneration:` + fmt.Sprintf("%v", this.ObservedGeneration) + `,`,
`UpdatedNumberScheduled:` + fmt.Sprintf("%v", this.UpdatedNumberScheduled) + `,`,
`NumberAvailable:` + fmt.Sprintf("%v", this.NumberAvailable) + `,`,
`NumberUnavailable:` + fmt.Sprintf("%v", this.NumberUnavailable) + `,`,
`CollisionCount:` + valueToStringGenerated(this.CollisionCount) + `,`,
`Conditions:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Conditions), "DaemonSetCondition", "DaemonSetCondition", 1), `&`, ``, 1) + `,`,
2017-05-11 01:29:10 -07:00
`}`,
}, "")
return s
}
func (this *DaemonSetUpdateStrategy) String() string {
if this == nil {
return "nil"
}
s := strings.Join([]string{`&DaemonSetUpdateStrategy{`,
`Type:` + fmt.Sprintf("%v", this.Type) + `,`,
`RollingUpdate:` + strings.Replace(fmt.Sprintf("%v", this.RollingUpdate), "RollingUpdateDaemonSet", "RollingUpdateDaemonSet", 1) + `,`,
2016-09-30 02:33:23 -07:00
`}`,
}, "")
return s
}
func (this *Deployment) String() string {
if this == nil {
return "nil"
}
s := strings.Join([]string{`&Deployment{`,
2017-05-11 01:29:10 -07:00
`ObjectMeta:` + strings.Replace(strings.Replace(this.ObjectMeta.String(), "ObjectMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.ObjectMeta", 1), `&`, ``, 1) + `,`,
2016-09-30 02:33:23 -07:00
`Spec:` + strings.Replace(strings.Replace(this.Spec.String(), "DeploymentSpec", "DeploymentSpec", 1), `&`, ``, 1) + `,`,
`Status:` + strings.Replace(strings.Replace(this.Status.String(), "DeploymentStatus", "DeploymentStatus", 1), `&`, ``, 1) + `,`,
`}`,
}, "")
return s
}
2017-05-11 01:29:10 -07:00
func (this *DeploymentCondition) String() string {
if this == nil {
return "nil"
}
s := strings.Join([]string{`&DeploymentCondition{`,
`Type:` + fmt.Sprintf("%v", this.Type) + `,`,
`Status:` + fmt.Sprintf("%v", this.Status) + `,`,
`Reason:` + fmt.Sprintf("%v", this.Reason) + `,`,
`Message:` + fmt.Sprintf("%v", this.Message) + `,`,
`LastUpdateTime:` + strings.Replace(strings.Replace(this.LastUpdateTime.String(), "Time", "k8s_io_apimachinery_pkg_apis_meta_v1.Time", 1), `&`, ``, 1) + `,`,
`LastTransitionTime:` + strings.Replace(strings.Replace(this.LastTransitionTime.String(), "Time", "k8s_io_apimachinery_pkg_apis_meta_v1.Time", 1), `&`, ``, 1) + `,`,
`}`,
}, "")
return s
}
2016-09-30 02:33:23 -07:00
func (this *DeploymentList) String() string {
if this == nil {
return "nil"
}
s := strings.Join([]string{`&DeploymentList{`,
2017-05-11 01:29:10 -07:00
`ListMeta:` + strings.Replace(strings.Replace(this.ListMeta.String(), "ListMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.ListMeta", 1), `&`, ``, 1) + `,`,
2016-09-30 02:33:23 -07:00
`Items:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Items), "Deployment", "Deployment", 1), `&`, ``, 1) + `,`,
`}`,
}, "")
return s
}
func (this *DeploymentRollback) String() string {
if this == nil {
return "nil"
}
keysForUpdatedAnnotations := make([]string, 0, len(this.UpdatedAnnotations))
for k := range this.UpdatedAnnotations {
keysForUpdatedAnnotations = append(keysForUpdatedAnnotations, k)
}
github_com_gogo_protobuf_sortkeys.Strings(keysForUpdatedAnnotations)
mapStringForUpdatedAnnotations := "map[string]string{"
for _, k := range keysForUpdatedAnnotations {
mapStringForUpdatedAnnotations += fmt.Sprintf("%v: %v,", k, this.UpdatedAnnotations[k])
}
mapStringForUpdatedAnnotations += "}"
s := strings.Join([]string{`&DeploymentRollback{`,
`Name:` + fmt.Sprintf("%v", this.Name) + `,`,
`UpdatedAnnotations:` + mapStringForUpdatedAnnotations + `,`,
`RollbackTo:` + strings.Replace(strings.Replace(this.RollbackTo.String(), "RollbackConfig", "RollbackConfig", 1), `&`, ``, 1) + `,`,
`}`,
}, "")
return s
}
func (this *DeploymentSpec) String() string {
if this == nil {
return "nil"
}
s := strings.Join([]string{`&DeploymentSpec{`,
`Replicas:` + valueToStringGenerated(this.Replicas) + `,`,
2017-05-11 01:29:10 -07:00
`Selector:` + strings.Replace(fmt.Sprintf("%v", this.Selector), "LabelSelector", "k8s_io_apimachinery_pkg_apis_meta_v1.LabelSelector", 1) + `,`,
`Template:` + strings.Replace(strings.Replace(this.Template.String(), "PodTemplateSpec", "k8s_io_api_core_v1.PodTemplateSpec", 1), `&`, ``, 1) + `,`,
2016-09-30 02:33:23 -07:00
`Strategy:` + strings.Replace(strings.Replace(this.Strategy.String(), "DeploymentStrategy", "DeploymentStrategy", 1), `&`, ``, 1) + `,`,
`MinReadySeconds:` + fmt.Sprintf("%v", this.MinReadySeconds) + `,`,
`RevisionHistoryLimit:` + valueToStringGenerated(this.RevisionHistoryLimit) + `,`,
`Paused:` + fmt.Sprintf("%v", this.Paused) + `,`,
`RollbackTo:` + strings.Replace(fmt.Sprintf("%v", this.RollbackTo), "RollbackConfig", "RollbackConfig", 1) + `,`,
2017-05-11 01:29:10 -07:00
`ProgressDeadlineSeconds:` + valueToStringGenerated(this.ProgressDeadlineSeconds) + `,`,
2016-09-30 02:33:23 -07:00
`}`,
}, "")
return s
}
func (this *DeploymentStatus) String() string {
if this == nil {
return "nil"
}
s := strings.Join([]string{`&DeploymentStatus{`,
`ObservedGeneration:` + fmt.Sprintf("%v", this.ObservedGeneration) + `,`,
`Replicas:` + fmt.Sprintf("%v", this.Replicas) + `,`,
`UpdatedReplicas:` + fmt.Sprintf("%v", this.UpdatedReplicas) + `,`,
`AvailableReplicas:` + fmt.Sprintf("%v", this.AvailableReplicas) + `,`,
`UnavailableReplicas:` + fmt.Sprintf("%v", this.UnavailableReplicas) + `,`,
2017-05-11 01:29:10 -07:00
`Conditions:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Conditions), "DeploymentCondition", "DeploymentCondition", 1), `&`, ``, 1) + `,`,
`ReadyReplicas:` + fmt.Sprintf("%v", this.ReadyReplicas) + `,`,
`CollisionCount:` + valueToStringGenerated(this.CollisionCount) + `,`,
2016-09-30 02:33:23 -07:00
`}`,
}, "")
return s
}
func (this *DeploymentStrategy) String() string {
if this == nil {
return "nil"
}
s := strings.Join([]string{`&DeploymentStrategy{`,
`Type:` + fmt.Sprintf("%v", this.Type) + `,`,
`RollingUpdate:` + strings.Replace(fmt.Sprintf("%v", this.RollingUpdate), "RollingUpdateDeployment", "RollingUpdateDeployment", 1) + `,`,
`}`,
}, "")
return s
}
func (this *FSGroupStrategyOptions) String() string {
if this == nil {
return "nil"
}
s := strings.Join([]string{`&FSGroupStrategyOptions{`,
`Rule:` + fmt.Sprintf("%v", this.Rule) + `,`,
`Ranges:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Ranges), "IDRange", "IDRange", 1), `&`, ``, 1) + `,`,
`}`,
}, "")
return s
}
func (this *HTTPIngressPath) String() string {
if this == nil {
return "nil"
}
s := strings.Join([]string{`&HTTPIngressPath{`,
`Path:` + fmt.Sprintf("%v", this.Path) + `,`,
`Backend:` + strings.Replace(strings.Replace(this.Backend.String(), "IngressBackend", "IngressBackend", 1), `&`, ``, 1) + `,`,
`}`,
}, "")
return s
}
func (this *HTTPIngressRuleValue) String() string {
if this == nil {
return "nil"
}
s := strings.Join([]string{`&HTTPIngressRuleValue{`,
`Paths:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Paths), "HTTPIngressPath", "HTTPIngressPath", 1), `&`, ``, 1) + `,`,
`}`,
}, "")
return s
}
func (this *HostPortRange) String() string {
if this == nil {
return "nil"
}
s := strings.Join([]string{`&HostPortRange{`,
`Min:` + fmt.Sprintf("%v", this.Min) + `,`,
`Max:` + fmt.Sprintf("%v", this.Max) + `,`,
`}`,
}, "")
return s
}
func (this *IDRange) String() string {
if this == nil {
return "nil"
}
s := strings.Join([]string{`&IDRange{`,
`Min:` + fmt.Sprintf("%v", this.Min) + `,`,
`Max:` + fmt.Sprintf("%v", this.Max) + `,`,
`}`,
}, "")
return s
}
func (this *IPBlock) String() string {
if this == nil {
return "nil"
}
s := strings.Join([]string{`&IPBlock{`,
`CIDR:` + fmt.Sprintf("%v", this.CIDR) + `,`,
`Except:` + fmt.Sprintf("%v", this.Except) + `,`,
`}`,
}, "")
return s
}
2016-09-30 02:33:23 -07:00
func (this *Ingress) String() string {
if this == nil {
return "nil"
}
s := strings.Join([]string{`&Ingress{`,
2017-05-11 01:29:10 -07:00
`ObjectMeta:` + strings.Replace(strings.Replace(this.ObjectMeta.String(), "ObjectMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.ObjectMeta", 1), `&`, ``, 1) + `,`,
2016-09-30 02:33:23 -07:00
`Spec:` + strings.Replace(strings.Replace(this.Spec.String(), "IngressSpec", "IngressSpec", 1), `&`, ``, 1) + `,`,
`Status:` + strings.Replace(strings.Replace(this.Status.String(), "IngressStatus", "IngressStatus", 1), `&`, ``, 1) + `,`,
`}`,
}, "")
return s
}
func (this *IngressBackend) String() string {
if this == nil {
return "nil"
}
s := strings.Join([]string{`&IngressBackend{`,
`ServiceName:` + fmt.Sprintf("%v", this.ServiceName) + `,`,
2017-05-11 01:29:10 -07:00
`ServicePort:` + strings.Replace(strings.Replace(this.ServicePort.String(), "IntOrString", "k8s_io_apimachinery_pkg_util_intstr.IntOrString", 1), `&`, ``, 1) + `,`,
2016-09-30 02:33:23 -07:00
`}`,
}, "")
return s
}
func (this *IngressList) String() string {
if this == nil {
return "nil"
}
s := strings.Join([]string{`&IngressList{`,
2017-05-11 01:29:10 -07:00
`ListMeta:` + strings.Replace(strings.Replace(this.ListMeta.String(), "ListMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.ListMeta", 1), `&`, ``, 1) + `,`,
2016-09-30 02:33:23 -07:00
`Items:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Items), "Ingress", "Ingress", 1), `&`, ``, 1) + `,`,
`}`,
}, "")
return s
}
func (this *IngressRule) String() string {
if this == nil {
return "nil"
}
s := strings.Join([]string{`&IngressRule{`,
`Host:` + fmt.Sprintf("%v", this.Host) + `,`,
`IngressRuleValue:` + strings.Replace(strings.Replace(this.IngressRuleValue.String(), "IngressRuleValue", "IngressRuleValue", 1), `&`, ``, 1) + `,`,
`}`,
}, "")
return s
}
func (this *IngressRuleValue) String() string {
if this == nil {
return "nil"
}
s := strings.Join([]string{`&IngressRuleValue{`,
`HTTP:` + strings.Replace(fmt.Sprintf("%v", this.HTTP), "HTTPIngressRuleValue", "HTTPIngressRuleValue", 1) + `,`,
`}`,
}, "")
return s
}
func (this *IngressSpec) String() string {
if this == nil {
return "nil"
}
s := strings.Join([]string{`&IngressSpec{`,
`Backend:` + strings.Replace(fmt.Sprintf("%v", this.Backend), "IngressBackend", "IngressBackend", 1) + `,`,
`TLS:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.TLS), "IngressTLS", "IngressTLS", 1), `&`, ``, 1) + `,`,
`Rules:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Rules), "IngressRule", "IngressRule", 1), `&`, ``, 1) + `,`,
`}`,
}, "")
return s
}
func (this *IngressStatus) String() string {
if this == nil {
return "nil"
}
s := strings.Join([]string{`&IngressStatus{`,
`LoadBalancer:` + strings.Replace(strings.Replace(this.LoadBalancer.String(), "LoadBalancerStatus", "k8s_io_api_core_v1.LoadBalancerStatus", 1), `&`, ``, 1) + `,`,
2016-09-30 02:33:23 -07:00
`}`,
}, "")
return s
}
func (this *IngressTLS) String() string {
if this == nil {
return "nil"
}
s := strings.Join([]string{`&IngressTLS{`,
`Hosts:` + fmt.Sprintf("%v", this.Hosts) + `,`,
`SecretName:` + fmt.Sprintf("%v", this.SecretName) + `,`,
`}`,
}, "")
return s
}
func (this *NetworkPolicy) String() string {
if this == nil {
return "nil"
}
s := strings.Join([]string{`&NetworkPolicy{`,
2017-05-11 01:29:10 -07:00
`ObjectMeta:` + strings.Replace(strings.Replace(this.ObjectMeta.String(), "ObjectMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.ObjectMeta", 1), `&`, ``, 1) + `,`,
2016-09-30 02:33:23 -07:00
`Spec:` + strings.Replace(strings.Replace(this.Spec.String(), "NetworkPolicySpec", "NetworkPolicySpec", 1), `&`, ``, 1) + `,`,
`}`,
}, "")
return s
}
func (this *NetworkPolicyEgressRule) String() string {
if this == nil {
return "nil"
}
s := strings.Join([]string{`&NetworkPolicyEgressRule{`,
`Ports:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Ports), "NetworkPolicyPort", "NetworkPolicyPort", 1), `&`, ``, 1) + `,`,
`To:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.To), "NetworkPolicyPeer", "NetworkPolicyPeer", 1), `&`, ``, 1) + `,`,
`}`,
}, "")
return s
}
2016-09-30 02:33:23 -07:00
func (this *NetworkPolicyIngressRule) String() string {
if this == nil {
return "nil"
}
s := strings.Join([]string{`&NetworkPolicyIngressRule{`,
`Ports:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Ports), "NetworkPolicyPort", "NetworkPolicyPort", 1), `&`, ``, 1) + `,`,
`From:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.From), "NetworkPolicyPeer", "NetworkPolicyPeer", 1), `&`, ``, 1) + `,`,
`}`,
}, "")
return s
}
func (this *NetworkPolicyList) String() string {
if this == nil {
return "nil"
}
s := strings.Join([]string{`&NetworkPolicyList{`,
2017-05-11 01:29:10 -07:00
`ListMeta:` + strings.Replace(strings.Replace(this.ListMeta.String(), "ListMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.ListMeta", 1), `&`, ``, 1) + `,`,
2016-09-30 02:33:23 -07:00
`Items:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Items), "NetworkPolicy", "NetworkPolicy", 1), `&`, ``, 1) + `,`,
`}`,
}, "")
return s
}
func (this *NetworkPolicyPeer) String() string {
if this == nil {
return "nil"
}
s := strings.Join([]string{`&NetworkPolicyPeer{`,
2017-05-11 01:29:10 -07:00
`PodSelector:` + strings.Replace(fmt.Sprintf("%v", this.PodSelector), "LabelSelector", "k8s_io_apimachinery_pkg_apis_meta_v1.LabelSelector", 1) + `,`,
`NamespaceSelector:` + strings.Replace(fmt.Sprintf("%v", this.NamespaceSelector), "LabelSelector", "k8s_io_apimachinery_pkg_apis_meta_v1.LabelSelector", 1) + `,`,
`IPBlock:` + strings.Replace(fmt.Sprintf("%v", this.IPBlock), "IPBlock", "IPBlock", 1) + `,`,
2016-09-30 02:33:23 -07:00
`}`,
}, "")
return s
}
func (this *NetworkPolicyPort) String() string {
if this == nil {
return "nil"
}
s := strings.Join([]string{`&NetworkPolicyPort{`,
`Protocol:` + valueToStringGenerated(this.Protocol) + `,`,
2017-05-11 01:29:10 -07:00
`Port:` + strings.Replace(fmt.Sprintf("%v", this.Port), "IntOrString", "k8s_io_apimachinery_pkg_util_intstr.IntOrString", 1) + `,`,
2016-09-30 02:33:23 -07:00
`}`,
}, "")
return s
}
func (this *NetworkPolicySpec) String() string {
if this == nil {
return "nil"
}
s := strings.Join([]string{`&NetworkPolicySpec{`,
2017-05-11 01:29:10 -07:00
`PodSelector:` + strings.Replace(strings.Replace(this.PodSelector.String(), "LabelSelector", "k8s_io_apimachinery_pkg_apis_meta_v1.LabelSelector", 1), `&`, ``, 1) + `,`,
2016-09-30 02:33:23 -07:00
`Ingress:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Ingress), "NetworkPolicyIngressRule", "NetworkPolicyIngressRule", 1), `&`, ``, 1) + `,`,
`Egress:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Egress), "NetworkPolicyEgressRule", "NetworkPolicyEgressRule", 1), `&`, ``, 1) + `,`,
`PolicyTypes:` + fmt.Sprintf("%v", this.PolicyTypes) + `,`,
2016-09-30 02:33:23 -07:00
`}`,
}, "")
return s
}
func (this *PodSecurityPolicy) String() string {
if this == nil {
return "nil"
}
s := strings.Join([]string{`&PodSecurityPolicy{`,
2017-05-11 01:29:10 -07:00
`ObjectMeta:` + strings.Replace(strings.Replace(this.ObjectMeta.String(), "ObjectMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.ObjectMeta", 1), `&`, ``, 1) + `,`,
2016-09-30 02:33:23 -07:00
`Spec:` + strings.Replace(strings.Replace(this.Spec.String(), "PodSecurityPolicySpec", "PodSecurityPolicySpec", 1), `&`, ``, 1) + `,`,
`}`,
}, "")
return s
}
func (this *PodSecurityPolicyList) String() string {
if this == nil {
return "nil"
}
s := strings.Join([]string{`&PodSecurityPolicyList{`,
2017-05-11 01:29:10 -07:00
`ListMeta:` + strings.Replace(strings.Replace(this.ListMeta.String(), "ListMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.ListMeta", 1), `&`, ``, 1) + `,`,
2016-09-30 02:33:23 -07:00
`Items:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Items), "PodSecurityPolicy", "PodSecurityPolicy", 1), `&`, ``, 1) + `,`,
`}`,
}, "")
return s
}
func (this *PodSecurityPolicySpec) String() string {
if this == nil {
return "nil"
}
s := strings.Join([]string{`&PodSecurityPolicySpec{`,
`Privileged:` + fmt.Sprintf("%v", this.Privileged) + `,`,
`DefaultAddCapabilities:` + fmt.Sprintf("%v", this.DefaultAddCapabilities) + `,`,
`RequiredDropCapabilities:` + fmt.Sprintf("%v", this.RequiredDropCapabilities) + `,`,
`AllowedCapabilities:` + fmt.Sprintf("%v", this.AllowedCapabilities) + `,`,
`Volumes:` + fmt.Sprintf("%v", this.Volumes) + `,`,
`HostNetwork:` + fmt.Sprintf("%v", this.HostNetwork) + `,`,
`HostPorts:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.HostPorts), "HostPortRange", "HostPortRange", 1), `&`, ``, 1) + `,`,
`HostPID:` + fmt.Sprintf("%v", this.HostPID) + `,`,
`HostIPC:` + fmt.Sprintf("%v", this.HostIPC) + `,`,
`SELinux:` + strings.Replace(strings.Replace(this.SELinux.String(), "SELinuxStrategyOptions", "SELinuxStrategyOptions", 1), `&`, ``, 1) + `,`,
`RunAsUser:` + strings.Replace(strings.Replace(this.RunAsUser.String(), "RunAsUserStrategyOptions", "RunAsUserStrategyOptions", 1), `&`, ``, 1) + `,`,
`SupplementalGroups:` + strings.Replace(strings.Replace(this.SupplementalGroups.String(), "SupplementalGroupsStrategyOptions", "SupplementalGroupsStrategyOptions", 1), `&`, ``, 1) + `,`,
`FSGroup:` + strings.Replace(strings.Replace(this.FSGroup.String(), "FSGroupStrategyOptions", "FSGroupStrategyOptions", 1), `&`, ``, 1) + `,`,
`ReadOnlyRootFilesystem:` + fmt.Sprintf("%v", this.ReadOnlyRootFilesystem) + `,`,
`DefaultAllowPrivilegeEscalation:` + valueToStringGenerated(this.DefaultAllowPrivilegeEscalation) + `,`,
`AllowPrivilegeEscalation:` + valueToStringGenerated(this.AllowPrivilegeEscalation) + `,`,
`AllowedHostPaths:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.AllowedHostPaths), "AllowedHostPath", "AllowedHostPath", 1), `&`, ``, 1) + `,`,
`AllowedFlexVolumes:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.AllowedFlexVolumes), "AllowedFlexVolume", "AllowedFlexVolume", 1), `&`, ``, 1) + `,`,
`AllowedUnsafeSysctls:` + fmt.Sprintf("%v", this.AllowedUnsafeSysctls) + `,`,
`ForbiddenSysctls:` + fmt.Sprintf("%v", this.ForbiddenSysctls) + `,`,
`AllowedProcMountTypes:` + fmt.Sprintf("%v", this.AllowedProcMountTypes) + `,`,
`RunAsGroup:` + strings.Replace(fmt.Sprintf("%v", this.RunAsGroup), "RunAsGroupStrategyOptions", "RunAsGroupStrategyOptions", 1) + `,`,
2016-09-30 02:33:23 -07:00
`}`,
}, "")
return s
}
func (this *ReplicaSet) String() string {
if this == nil {
return "nil"
}
s := strings.Join([]string{`&ReplicaSet{`,
2017-05-11 01:29:10 -07:00
`ObjectMeta:` + strings.Replace(strings.Replace(this.ObjectMeta.String(), "ObjectMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.ObjectMeta", 1), `&`, ``, 1) + `,`,
2016-09-30 02:33:23 -07:00
`Spec:` + strings.Replace(strings.Replace(this.Spec.String(), "ReplicaSetSpec", "ReplicaSetSpec", 1), `&`, ``, 1) + `,`,
`Status:` + strings.Replace(strings.Replace(this.Status.String(), "ReplicaSetStatus", "ReplicaSetStatus", 1), `&`, ``, 1) + `,`,
`}`,
}, "")
return s
}
2017-05-11 01:29:10 -07:00
func (this *ReplicaSetCondition) String() string {
if this == nil {
return "nil"
}
s := strings.Join([]string{`&ReplicaSetCondition{`,
`Type:` + fmt.Sprintf("%v", this.Type) + `,`,
`Status:` + fmt.Sprintf("%v", this.Status) + `,`,
`LastTransitionTime:` + strings.Replace(strings.Replace(this.LastTransitionTime.String(), "Time", "k8s_io_apimachinery_pkg_apis_meta_v1.Time", 1), `&`, ``, 1) + `,`,
`Reason:` + fmt.Sprintf("%v", this.Reason) + `,`,
`Message:` + fmt.Sprintf("%v", this.Message) + `,`,
`}`,
}, "")
return s
}
2016-09-30 02:33:23 -07:00
func (this *ReplicaSetList) String() string {
if this == nil {
return "nil"
}
s := strings.Join([]string{`&ReplicaSetList{`,
2017-05-11 01:29:10 -07:00
`ListMeta:` + strings.Replace(strings.Replace(this.ListMeta.String(), "ListMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.ListMeta", 1), `&`, ``, 1) + `,`,
2016-09-30 02:33:23 -07:00
`Items:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Items), "ReplicaSet", "ReplicaSet", 1), `&`, ``, 1) + `,`,
`}`,
}, "")
return s
}
func (this *ReplicaSetSpec) String() string {
if this == nil {
return "nil"
}
s := strings.Join([]string{`&ReplicaSetSpec{`,
`Replicas:` + valueToStringGenerated(this.Replicas) + `,`,
2017-05-11 01:29:10 -07:00
`Selector:` + strings.Replace(fmt.Sprintf("%v", this.Selector), "LabelSelector", "k8s_io_apimachinery_pkg_apis_meta_v1.LabelSelector", 1) + `,`,
`Template:` + strings.Replace(strings.Replace(this.Template.String(), "PodTemplateSpec", "k8s_io_api_core_v1.PodTemplateSpec", 1), `&`, ``, 1) + `,`,
2017-05-11 01:29:10 -07:00
`MinReadySeconds:` + fmt.Sprintf("%v", this.MinReadySeconds) + `,`,
2016-09-30 02:33:23 -07:00
`}`,
}, "")
return s
}
func (this *ReplicaSetStatus) String() string {
if this == nil {
return "nil"
}
s := strings.Join([]string{`&ReplicaSetStatus{`,
`Replicas:` + fmt.Sprintf("%v", this.Replicas) + `,`,
`FullyLabeledReplicas:` + fmt.Sprintf("%v", this.FullyLabeledReplicas) + `,`,
`ObservedGeneration:` + fmt.Sprintf("%v", this.ObservedGeneration) + `,`,
`ReadyReplicas:` + fmt.Sprintf("%v", this.ReadyReplicas) + `,`,
2017-05-11 01:29:10 -07:00
`AvailableReplicas:` + fmt.Sprintf("%v", this.AvailableReplicas) + `,`,
`Conditions:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Conditions), "ReplicaSetCondition", "ReplicaSetCondition", 1), `&`, ``, 1) + `,`,
2016-09-30 02:33:23 -07:00
`}`,
}, "")
return s
}
func (this *ReplicationControllerDummy) String() string {
if this == nil {
return "nil"
}
s := strings.Join([]string{`&ReplicationControllerDummy{`,
`}`,
}, "")
return s
}
func (this *RollbackConfig) String() string {
if this == nil {
return "nil"
}
s := strings.Join([]string{`&RollbackConfig{`,
`Revision:` + fmt.Sprintf("%v", this.Revision) + `,`,
`}`,
}, "")
return s
}
2017-05-11 01:29:10 -07:00
func (this *RollingUpdateDaemonSet) String() string {
if this == nil {
return "nil"
}
s := strings.Join([]string{`&RollingUpdateDaemonSet{`,
`MaxUnavailable:` + strings.Replace(fmt.Sprintf("%v", this.MaxUnavailable), "IntOrString", "k8s_io_apimachinery_pkg_util_intstr.IntOrString", 1) + `,`,
`}`,
}, "")
return s
}
2016-09-30 02:33:23 -07:00
func (this *RollingUpdateDeployment) String() string {
if this == nil {
return "nil"
}
s := strings.Join([]string{`&RollingUpdateDeployment{`,
2017-05-11 01:29:10 -07:00
`MaxUnavailable:` + strings.Replace(fmt.Sprintf("%v", this.MaxUnavailable), "IntOrString", "k8s_io_apimachinery_pkg_util_intstr.IntOrString", 1) + `,`,
`MaxSurge:` + strings.Replace(fmt.Sprintf("%v", this.MaxSurge), "IntOrString", "k8s_io_apimachinery_pkg_util_intstr.IntOrString", 1) + `,`,
2016-09-30 02:33:23 -07:00
`}`,
}, "")
return s
}
func (this *RunAsGroupStrategyOptions) String() string {
if this == nil {
return "nil"
}
s := strings.Join([]string{`&RunAsGroupStrategyOptions{`,
`Rule:` + fmt.Sprintf("%v", this.Rule) + `,`,
`Ranges:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Ranges), "IDRange", "IDRange", 1), `&`, ``, 1) + `,`,
`}`,
}, "")
return s
}
2016-09-30 02:33:23 -07:00
func (this *RunAsUserStrategyOptions) String() string {
if this == nil {
return "nil"
}
s := strings.Join([]string{`&RunAsUserStrategyOptions{`,
`Rule:` + fmt.Sprintf("%v", this.Rule) + `,`,
`Ranges:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Ranges), "IDRange", "IDRange", 1), `&`, ``, 1) + `,`,
`}`,
}, "")
return s
}
func (this *SELinuxStrategyOptions) String() string {
if this == nil {
return "nil"
}
s := strings.Join([]string{`&SELinuxStrategyOptions{`,
`Rule:` + fmt.Sprintf("%v", this.Rule) + `,`,
`SELinuxOptions:` + strings.Replace(fmt.Sprintf("%v", this.SELinuxOptions), "SELinuxOptions", "k8s_io_api_core_v1.SELinuxOptions", 1) + `,`,
2016-09-30 02:33:23 -07:00
`}`,
}, "")
return s
}
func (this *Scale) String() string {
if this == nil {
return "nil"
}
s := strings.Join([]string{`&Scale{`,
2017-05-11 01:29:10 -07:00
`ObjectMeta:` + strings.Replace(strings.Replace(this.ObjectMeta.String(), "ObjectMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.ObjectMeta", 1), `&`, ``, 1) + `,`,
2016-09-30 02:33:23 -07:00
`Spec:` + strings.Replace(strings.Replace(this.Spec.String(), "ScaleSpec", "ScaleSpec", 1), `&`, ``, 1) + `,`,
`Status:` + strings.Replace(strings.Replace(this.Status.String(), "ScaleStatus", "ScaleStatus", 1), `&`, ``, 1) + `,`,
`}`,
}, "")
return s
}
func (this *ScaleSpec) String() string {
if this == nil {
return "nil"
}
s := strings.Join([]string{`&ScaleSpec{`,
`Replicas:` + fmt.Sprintf("%v", this.Replicas) + `,`,
`}`,
}, "")
return s
}
func (this *ScaleStatus) String() string {
if this == nil {
return "nil"
}
keysForSelector := make([]string, 0, len(this.Selector))
for k := range this.Selector {
keysForSelector = append(keysForSelector, k)
}
github_com_gogo_protobuf_sortkeys.Strings(keysForSelector)
mapStringForSelector := "map[string]string{"
for _, k := range keysForSelector {
mapStringForSelector += fmt.Sprintf("%v: %v,", k, this.Selector[k])
}
mapStringForSelector += "}"
s := strings.Join([]string{`&ScaleStatus{`,
`Replicas:` + fmt.Sprintf("%v", this.Replicas) + `,`,
`Selector:` + mapStringForSelector + `,`,
`TargetSelector:` + fmt.Sprintf("%v", this.TargetSelector) + `,`,
`}`,
}, "")
return s
}
func (this *SupplementalGroupsStrategyOptions) String() string {
if this == nil {
return "nil"
}
s := strings.Join([]string{`&SupplementalGroupsStrategyOptions{`,
`Rule:` + fmt.Sprintf("%v", this.Rule) + `,`,
`Ranges:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Ranges), "IDRange", "IDRange", 1), `&`, ``, 1) + `,`,
`}`,
}, "")
return s
}
func valueToStringGenerated(v interface{}) string {
rv := reflect.ValueOf(v)
if rv.IsNil() {
return "nil"
}
2017-05-11 01:29:10 -07:00
pv := reflect.Indirect(rv).Interface()
return fmt.Sprintf("*%v", pv)
2016-09-30 02:33:23 -07:00
}
func (m *AllowedFlexVolume) Unmarshal(dAtA []byte) error {
l := len(dAtA)
2016-09-30 02:33:23 -07: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
}
b := dAtA[iNdEx]
2016-09-30 02:33:23 -07: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: AllowedFlexVolume: wiretype end group for non-group")
2016-09-30 02:33:23 -07:00
}
if fieldNum <= 0 {
return fmt.Errorf("proto: AllowedFlexVolume: illegal tag %d (wire type %d)", fieldNum, wire)
2016-09-30 02:33:23 -07:00
}
switch fieldNum {
case 1:
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field Driver", 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.Driver = 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 *AllowedHostPath) 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: AllowedHostPath: wiretype end group for non-group")
}
if fieldNum <= 0 {
return fmt.Errorf("proto: AllowedHostPath: illegal tag %d (wire type %d)", fieldNum, wire)
}
switch fieldNum {
case 1:
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field PathPrefix", wireType)
2016-09-30 02:33:23 -07:00
}
2017-05-11 01:29:10 -07:00
var stringLen uint64
2016-09-30 02:33:23 -07:00
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowGenerated
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
2016-09-30 02:33:23 -07:00
iNdEx++
2017-05-11 01:29:10 -07:00
stringLen |= (uint64(b) & 0x7F) << shift
2016-09-30 02:33:23 -07:00
if b < 0x80 {
break
}
}
2017-05-11 01:29:10 -07:00
intStringLen := int(stringLen)
if intStringLen < 0 {
2016-09-30 02:33:23 -07:00
return ErrInvalidLengthGenerated
}
2017-05-11 01:29:10 -07:00
postIndex := iNdEx + intStringLen
if postIndex > l {
return io.ErrUnexpectedEOF
2016-09-30 02:33:23 -07:00
}
m.PathPrefix = string(dAtA[iNdEx:postIndex])
iNdEx = postIndex
case 2:
if wireType != 0 {
return fmt.Errorf("proto: wrong wireType = %d for field ReadOnly", wireType)
}
var v int
2016-09-30 02:33:23 -07:00
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowGenerated
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
2016-09-30 02:33:23 -07:00
iNdEx++
v |= (int(b) & 0x7F) << shift
2016-09-30 02:33:23 -07:00
if b < 0x80 {
break
}
}
m.ReadOnly = bool(v != 0)
2017-05-11 01:29:10 -07:00
default:
iNdEx = preIndex
skippy, err := skipGenerated(dAtA[iNdEx:])
2017-05-11 01:29:10 -07:00
if err != nil {
return err
2016-09-30 02:33:23 -07:00
}
2017-05-11 01:29:10 -07:00
if skippy < 0 {
2016-09-30 02:33:23 -07:00
return ErrInvalidLengthGenerated
}
2017-05-11 01:29:10 -07:00
if (iNdEx + skippy) > l {
2016-09-30 02:33:23 -07:00
return io.ErrUnexpectedEOF
}
2017-05-11 01:29:10 -07:00
iNdEx += skippy
}
}
if iNdEx > l {
return io.ErrUnexpectedEOF
}
return nil
}
func (m *DaemonSet) Unmarshal(dAtA []byte) error {
l := len(dAtA)
2017-05-11 01:29:10 -07:00
iNdEx := 0
for iNdEx < l {
preIndex := iNdEx
var wire uint64
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowGenerated
2016-09-30 02:33:23 -07:00
}
2017-05-11 01:29:10 -07:00
if iNdEx >= l {
2016-09-30 02:33:23 -07:00
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
2017-05-11 01:29:10 -07:00
iNdEx++
wire |= (uint64(b) & 0x7F) << shift
if b < 0x80 {
break
2016-09-30 02:33:23 -07:00
}
2017-05-11 01:29:10 -07:00
}
fieldNum := int32(wire >> 3)
wireType := int(wire & 0x7)
if wireType == 4 {
return fmt.Errorf("proto: DaemonSet: wiretype end group for non-group")
}
if fieldNum <= 0 {
return fmt.Errorf("proto: DaemonSet: illegal tag %d (wire type %d)", fieldNum, wire)
}
switch fieldNum {
case 1:
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field ObjectMeta", wireType)
2016-09-30 02:33:23 -07:00
}
2017-05-11 01:29:10 -07:00
var msglen int
2016-09-30 02:33:23 -07:00
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowGenerated
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
2016-09-30 02:33:23 -07:00
iNdEx++
2017-05-11 01:29:10 -07:00
msglen |= (int(b) & 0x7F) << shift
2016-09-30 02:33:23 -07:00
if b < 0x80 {
break
}
}
2017-05-11 01:29:10 -07:00
if msglen < 0 {
return ErrInvalidLengthGenerated
2016-09-30 02:33:23 -07:00
}
2017-05-11 01:29:10 -07:00
postIndex := iNdEx + msglen
if postIndex > l {
return io.ErrUnexpectedEOF
2016-09-30 02:33:23 -07:00
}
if err := m.ObjectMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
2017-05-11 01:29:10 -07:00
return err
2016-09-30 02:33:23 -07:00
}
2017-05-11 01:29:10 -07:00
iNdEx = postIndex
case 2:
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field Spec", wireType)
}
var msglen int
2016-09-30 02:33:23 -07:00
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowGenerated
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
2016-09-30 02:33:23 -07:00
iNdEx++
2017-05-11 01:29:10 -07:00
msglen |= (int(b) & 0x7F) << shift
2016-09-30 02:33:23 -07:00
if b < 0x80 {
break
}
}
2017-05-11 01:29:10 -07:00
if msglen < 0 {
return ErrInvalidLengthGenerated
}
postIndex := iNdEx + msglen
if postIndex > l {
return io.ErrUnexpectedEOF
}
if err := m.Spec.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
2017-05-11 01:29:10 -07:00
return err
}
iNdEx = postIndex
case 3:
2016-09-30 02:33:23 -07:00
if wireType != 2 {
2017-05-11 01:29:10 -07:00
return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType)
2016-09-30 02:33:23 -07:00
}
var msglen int
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowGenerated
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
2016-09-30 02:33:23 -07: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 err := m.Status.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
2016-09-30 02:33:23 -07:00
return err
}
iNdEx = postIndex
default:
iNdEx = preIndex
skippy, err := skipGenerated(dAtA[iNdEx:])
2016-09-30 02:33:23 -07: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
}
func (m *DaemonSetCondition) Unmarshal(dAtA []byte) error {
l := len(dAtA)
2016-09-30 02:33:23 -07: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
}
b := dAtA[iNdEx]
2016-09-30 02:33:23 -07: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: DaemonSetCondition: wiretype end group for non-group")
2016-09-30 02:33:23 -07:00
}
if fieldNum <= 0 {
return fmt.Errorf("proto: DaemonSetCondition: illegal tag %d (wire type %d)", fieldNum, wire)
2016-09-30 02:33:23 -07:00
}
switch fieldNum {
case 1:
2017-05-11 01:29:10 -07:00
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field Type", wireType)
2016-09-30 02:33:23 -07:00
}
var stringLen uint64
2016-09-30 02:33:23 -07:00
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowGenerated
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
2016-09-30 02:33:23 -07:00
iNdEx++
stringLen |= (uint64(b) & 0x7F) << shift
2016-09-30 02:33:23 -07:00
if b < 0x80 {
break
}
}
intStringLen := int(stringLen)
if intStringLen < 0 {
2017-05-11 01:29:10 -07:00
return ErrInvalidLengthGenerated
2016-09-30 02:33:23 -07:00
}
postIndex := iNdEx + intStringLen
2017-05-11 01:29:10 -07:00
if postIndex > l {
return io.ErrUnexpectedEOF
2016-09-30 02:33:23 -07:00
}
m.Type = DaemonSetConditionType(dAtA[iNdEx:postIndex])
2017-05-11 01:29:10 -07:00
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
}
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.Status = k8s_io_api_core_v1.ConditionStatus(dAtA[iNdEx:postIndex])
iNdEx = postIndex
case 3:
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field LastTransitionTime", wireType)
2016-09-30 02:33:23 -07:00
}
2017-05-11 01:29:10 -07:00
var msglen int
2016-09-30 02:33:23 -07:00
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowGenerated
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
2016-09-30 02:33:23 -07:00
iNdEx++
2017-05-11 01:29:10 -07:00
msglen |= (int(b) & 0x7F) << shift
2016-09-30 02:33:23 -07:00
if b < 0x80 {
break
}
}
2017-05-11 01:29:10 -07:00
if msglen < 0 {
return ErrInvalidLengthGenerated
2016-09-30 02:33:23 -07:00
}
2017-05-11 01:29:10 -07:00
postIndex := iNdEx + msglen
if postIndex > l {
return io.ErrUnexpectedEOF
2016-09-30 02:33:23 -07:00
}
if err := m.LastTransitionTime.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
2017-05-11 01:29:10 -07:00
return err
}
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
}
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.Reason = string(dAtA[iNdEx:postIndex])
iNdEx = postIndex
case 5:
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
}
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.Message = string(dAtA[iNdEx:postIndex])
iNdEx = postIndex
2016-09-30 02:33:23 -07:00
default:
iNdEx = preIndex
skippy, err := skipGenerated(dAtA[iNdEx:])
2016-09-30 02:33:23 -07: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
}
func (m *DaemonSetList) Unmarshal(dAtA []byte) error {
l := len(dAtA)
2016-09-30 02:33:23 -07: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
}
b := dAtA[iNdEx]
2016-09-30 02:33:23 -07: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: DaemonSetList: wiretype end group for non-group")
2016-09-30 02:33:23 -07:00
}
if fieldNum <= 0 {
return fmt.Errorf("proto: DaemonSetList: illegal tag %d (wire type %d)", fieldNum, wire)
2016-09-30 02:33:23 -07:00
}
switch fieldNum {
case 1:
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field ListMeta", wireType)
2016-09-30 02:33:23 -07:00
}
2017-05-11 01:29:10 -07:00
var msglen int
2016-09-30 02:33:23 -07:00
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowGenerated
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
2016-09-30 02:33:23 -07:00
iNdEx++
2017-05-11 01:29:10 -07:00
msglen |= (int(b) & 0x7F) << shift
2016-09-30 02:33:23 -07:00
if b < 0x80 {
break
}
}
2017-05-11 01:29:10 -07:00
if msglen < 0 {
2016-09-30 02:33:23 -07:00
return ErrInvalidLengthGenerated
}
2017-05-11 01:29:10 -07:00
postIndex := iNdEx + msglen
2016-09-30 02:33:23 -07:00
if postIndex > l {
return io.ErrUnexpectedEOF
}
if err := m.ListMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
2017-05-11 01:29:10 -07:00
return err
}
2016-09-30 02:33:23 -07:00
iNdEx = postIndex
case 2:
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field Items", wireType)
2017-05-11 01:29:10 -07:00
}
var msglen int
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowGenerated
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
2017-05-11 01:29:10 -07: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.Items = append(m.Items, DaemonSet{})
if err := m.Items[len(m.Items)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
2017-05-11 01:29:10 -07:00
return err
}
iNdEx = postIndex
default:
iNdEx = preIndex
skippy, err := skipGenerated(dAtA[iNdEx:])
if err != nil {
return err
2017-05-11 01:29:10 -07:00
}
if skippy < 0 {
return ErrInvalidLengthGenerated
}
if (iNdEx + skippy) > l {
return io.ErrUnexpectedEOF
}
iNdEx += skippy
}
}
if iNdEx > l {
return io.ErrUnexpectedEOF
}
return nil
}
func (m *DaemonSetSpec) 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: DaemonSetSpec: wiretype end group for non-group")
}
if fieldNum <= 0 {
return fmt.Errorf("proto: DaemonSetSpec: illegal tag %d (wire type %d)", fieldNum, wire)
}
switch fieldNum {
case 1:
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field Selector", 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.Selector == nil {
m.Selector = &k8s_io_apimachinery_pkg_apis_meta_v1.LabelSelector{}
}
if err := m.Selector.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
return err
}
iNdEx = postIndex
case 2:
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field Template", 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.Template.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
return err
}
iNdEx = postIndex
case 3:
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field UpdateStrategy", wireType)
}
var msglen int
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
2017-05-11 01:29:10 -07:00
return ErrIntOverflowGenerated
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
2017-05-11 01:29:10 -07: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 err := m.UpdateStrategy.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
2017-05-11 01:29:10 -07:00
return err
}
iNdEx = postIndex
case 4:
if wireType != 0 {
return fmt.Errorf("proto: wrong wireType = %d for field MinReadySeconds", wireType)
}
m.MinReadySeconds = 0
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowGenerated
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
2017-05-11 01:29:10 -07:00
iNdEx++
m.MinReadySeconds |= (int32(b) & 0x7F) << shift
if b < 0x80 {
break
}
}
case 5:
if wireType != 0 {
return fmt.Errorf("proto: wrong wireType = %d for field TemplateGeneration", wireType)
2016-09-30 02:33:23 -07:00
}
2017-05-11 01:29:10 -07:00
m.TemplateGeneration = 0
2016-09-30 02:33:23 -07:00
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowGenerated
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
2016-09-30 02:33:23 -07:00
iNdEx++
2017-05-11 01:29:10 -07:00
m.TemplateGeneration |= (int64(b) & 0x7F) << shift
2016-09-30 02:33:23 -07:00
if b < 0x80 {
break
}
}
case 6:
if wireType != 0 {
return fmt.Errorf("proto: wrong wireType = %d for field RevisionHistoryLimit", wireType)
}
var v int32
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowGenerated
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
iNdEx++
v |= (int32(b) & 0x7F) << shift
if b < 0x80 {
break
}
}
m.RevisionHistoryLimit = &v
2016-09-30 02:33:23 -07:00
default:
iNdEx = preIndex
skippy, err := skipGenerated(dAtA[iNdEx:])
2016-09-30 02:33:23 -07: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
}
func (m *DaemonSetStatus) Unmarshal(dAtA []byte) error {
l := len(dAtA)
2016-09-30 02:33:23 -07: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
}
b := dAtA[iNdEx]
2016-09-30 02:33:23 -07:00
iNdEx++
wire |= (uint64(b) & 0x7F) << shift
if b < 0x80 {
break
}
}
fieldNum := int32(wire >> 3)
wireType := int(wire & 0x7)
if wireType == 4 {
2017-05-11 01:29:10 -07:00
return fmt.Errorf("proto: DaemonSetStatus: wiretype end group for non-group")
2016-09-30 02:33:23 -07:00
}
if fieldNum <= 0 {
2017-05-11 01:29:10 -07:00
return fmt.Errorf("proto: DaemonSetStatus: illegal tag %d (wire type %d)", fieldNum, wire)
2016-09-30 02:33:23 -07:00
}
switch fieldNum {
case 1:
if wireType != 0 {
2017-05-11 01:29:10 -07:00
return fmt.Errorf("proto: wrong wireType = %d for field CurrentNumberScheduled", wireType)
2016-09-30 02:33:23 -07:00
}
2017-05-11 01:29:10 -07:00
m.CurrentNumberScheduled = 0
2016-09-30 02:33:23 -07:00
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowGenerated
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
2016-09-30 02:33:23 -07:00
iNdEx++
2017-05-11 01:29:10 -07:00
m.CurrentNumberScheduled |= (int32(b) & 0x7F) << shift
2016-09-30 02:33:23 -07:00
if b < 0x80 {
break
}
}
case 2:
if wireType != 0 {
2017-05-11 01:29:10 -07:00
return fmt.Errorf("proto: wrong wireType = %d for field NumberMisscheduled", wireType)
2016-09-30 02:33:23 -07:00
}
2017-05-11 01:29:10 -07:00
m.NumberMisscheduled = 0
2016-09-30 02:33:23 -07:00
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowGenerated
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
2016-09-30 02:33:23 -07:00
iNdEx++
2017-05-11 01:29:10 -07:00
m.NumberMisscheduled |= (int32(b) & 0x7F) << shift
if b < 0x80 {
break
}
}
case 3:
if wireType != 0 {
return fmt.Errorf("proto: wrong wireType = %d for field DesiredNumberScheduled", wireType)
}
m.DesiredNumberScheduled = 0
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowGenerated
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
2017-05-11 01:29:10 -07:00
iNdEx++
m.DesiredNumberScheduled |= (int32(b) & 0x7F) << shift
if b < 0x80 {
break
}
}
case 4:
if wireType != 0 {
return fmt.Errorf("proto: wrong wireType = %d for field NumberReady", wireType)
}
m.NumberReady = 0
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowGenerated
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
2017-05-11 01:29:10 -07:00
iNdEx++
m.NumberReady |= (int32(b) & 0x7F) << shift
if b < 0x80 {
break
}
}
case 5:
if wireType != 0 {
return fmt.Errorf("proto: wrong wireType = %d for field ObservedGeneration", wireType)
}
m.ObservedGeneration = 0
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowGenerated
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
2017-05-11 01:29:10 -07:00
iNdEx++
m.ObservedGeneration |= (int64(b) & 0x7F) << shift
if b < 0x80 {
break
}
}
case 6:
if wireType != 0 {
return fmt.Errorf("proto: wrong wireType = %d for field UpdatedNumberScheduled", wireType)
}
m.UpdatedNumberScheduled = 0
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowGenerated
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
2017-05-11 01:29:10 -07:00
iNdEx++
m.UpdatedNumberScheduled |= (int32(b) & 0x7F) << shift
if b < 0x80 {
break
}
}
case 7:
if wireType != 0 {
return fmt.Errorf("proto: wrong wireType = %d for field NumberAvailable", wireType)
}
m.NumberAvailable = 0
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowGenerated
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
2017-05-11 01:29:10 -07:00
iNdEx++
m.NumberAvailable |= (int32(b) & 0x7F) << shift
if b < 0x80 {
break
}
}
case 8:
if wireType != 0 {
return fmt.Errorf("proto: wrong wireType = %d for field NumberUnavailable", wireType)
}
m.NumberUnavailable = 0
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowGenerated
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
2017-05-11 01:29:10 -07:00
iNdEx++
m.NumberUnavailable |= (int32(b) & 0x7F) << shift
2016-09-30 02:33:23 -07:00
if b < 0x80 {
break
}
}
case 9:
if wireType != 0 {
return fmt.Errorf("proto: wrong wireType = %d for field CollisionCount", wireType)
}
var v int32
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowGenerated
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
iNdEx++
v |= (int32(b) & 0x7F) << shift
if b < 0x80 {
break
}
}
m.CollisionCount = &v
case 10:
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field Conditions", 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.Conditions = append(m.Conditions, DaemonSetCondition{})
if err := m.Conditions[len(m.Conditions)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
return err
}
iNdEx = postIndex
2016-09-30 02:33:23 -07:00
default:
iNdEx = preIndex
skippy, err := skipGenerated(dAtA[iNdEx:])
2016-09-30 02:33:23 -07: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
}
func (m *DaemonSetUpdateStrategy) Unmarshal(dAtA []byte) error {
l := len(dAtA)
2016-09-30 02:33:23 -07: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
}
b := dAtA[iNdEx]
2016-09-30 02:33:23 -07:00
iNdEx++
wire |= (uint64(b) & 0x7F) << shift
if b < 0x80 {
break
}
}
fieldNum := int32(wire >> 3)
wireType := int(wire & 0x7)
if wireType == 4 {
2017-05-11 01:29:10 -07:00
return fmt.Errorf("proto: DaemonSetUpdateStrategy: wiretype end group for non-group")
2016-09-30 02:33:23 -07:00
}
if fieldNum <= 0 {
2017-05-11 01:29:10 -07:00
return fmt.Errorf("proto: DaemonSetUpdateStrategy: illegal tag %d (wire type %d)", fieldNum, wire)
2016-09-30 02:33:23 -07:00
}
switch fieldNum {
case 1:
if wireType != 2 {
2017-05-11 01:29:10 -07:00
return fmt.Errorf("proto: wrong wireType = %d for field Type", wireType)
2016-09-30 02:33:23 -07:00
}
var stringLen uint64
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowGenerated
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
2016-09-30 02:33:23 -07: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
}
m.Type = DaemonSetUpdateStrategyType(dAtA[iNdEx:postIndex])
2016-09-30 02:33:23 -07:00
iNdEx = postIndex
case 2:
if wireType != 2 {
2017-05-11 01:29:10 -07:00
return fmt.Errorf("proto: wrong wireType = %d for field RollingUpdate", wireType)
2016-09-30 02:33:23 -07:00
}
var msglen int
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowGenerated
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
2016-09-30 02:33:23 -07: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-05-11 01:29:10 -07:00
if m.RollingUpdate == nil {
m.RollingUpdate = &RollingUpdateDaemonSet{}
}
if err := m.RollingUpdate.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
2016-09-30 02:33:23 -07:00
return err
}
iNdEx = postIndex
default:
iNdEx = preIndex
skippy, err := skipGenerated(dAtA[iNdEx:])
2016-09-30 02:33:23 -07: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
}
func (m *Deployment) Unmarshal(dAtA []byte) error {
l := len(dAtA)
2016-09-30 02:33:23 -07: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
}
b := dAtA[iNdEx]
2016-09-30 02:33:23 -07:00
iNdEx++
wire |= (uint64(b) & 0x7F) << shift
if b < 0x80 {
break
}
}
fieldNum := int32(wire >> 3)
wireType := int(wire & 0x7)
if wireType == 4 {
2017-05-11 01:29:10 -07:00
return fmt.Errorf("proto: Deployment: wiretype end group for non-group")
2016-09-30 02:33:23 -07:00
}
if fieldNum <= 0 {
2017-05-11 01:29:10 -07:00
return fmt.Errorf("proto: Deployment: illegal tag %d (wire type %d)", fieldNum, wire)
2016-09-30 02:33:23 -07:00
}
switch fieldNum {
case 1:
if wireType != 2 {
2017-05-11 01:29:10 -07:00
return fmt.Errorf("proto: wrong wireType = %d for field ObjectMeta", wireType)
2016-09-30 02:33:23 -07:00
}
2017-05-11 01:29:10 -07:00
var msglen int
2016-09-30 02:33:23 -07:00
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowGenerated
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
2016-09-30 02:33:23 -07:00
iNdEx++
2017-05-11 01:29:10 -07:00
msglen |= (int(b) & 0x7F) << shift
2016-09-30 02:33:23 -07:00
if b < 0x80 {
break
}
}
2017-05-11 01:29:10 -07:00
if msglen < 0 {
2016-09-30 02:33:23 -07:00
return ErrInvalidLengthGenerated
}
2017-05-11 01:29:10 -07:00
postIndex := iNdEx + msglen
2016-09-30 02:33:23 -07:00
if postIndex > l {
return io.ErrUnexpectedEOF
}
if err := m.ObjectMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
2017-05-11 01:29:10 -07:00
return err
}
2016-09-30 02:33:23 -07:00
iNdEx = postIndex
case 2:
if wireType != 2 {
2017-05-11 01:29:10 -07:00
return fmt.Errorf("proto: wrong wireType = %d for field Spec", wireType)
2016-09-30 02:33:23 -07:00
}
var msglen int
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowGenerated
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
2016-09-30 02:33:23 -07: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 err := m.Spec.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
2016-09-30 02:33:23 -07:00
return err
}
iNdEx = postIndex
2017-05-11 01:29:10 -07:00
case 3:
2016-09-30 02:33:23 -07:00
if wireType != 2 {
2017-05-11 01:29:10 -07:00
return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType)
2016-09-30 02:33:23 -07:00
}
var msglen int
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowGenerated
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
2016-09-30 02:33:23 -07: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 err := m.Status.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
2016-09-30 02:33:23 -07:00
return err
}
iNdEx = postIndex
default:
iNdEx = preIndex
skippy, err := skipGenerated(dAtA[iNdEx:])
2016-09-30 02:33:23 -07: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
}
func (m *DeploymentCondition) Unmarshal(dAtA []byte) error {
l := len(dAtA)
2016-09-30 02:33:23 -07: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
}
b := dAtA[iNdEx]
2016-09-30 02:33:23 -07:00
iNdEx++
wire |= (uint64(b) & 0x7F) << shift
if b < 0x80 {
break
}
}
fieldNum := int32(wire >> 3)
wireType := int(wire & 0x7)
if wireType == 4 {
2017-05-11 01:29:10 -07:00
return fmt.Errorf("proto: DeploymentCondition: wiretype end group for non-group")
2016-09-30 02:33:23 -07:00
}
if fieldNum <= 0 {
2017-05-11 01:29:10 -07:00
return fmt.Errorf("proto: DeploymentCondition: illegal tag %d (wire type %d)", fieldNum, wire)
2016-09-30 02:33:23 -07:00
}
switch fieldNum {
case 1:
if wireType != 2 {
2017-05-11 01:29:10 -07:00
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
}
b := dAtA[iNdEx]
2017-05-11 01:29:10 -07: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
}
m.Type = DeploymentConditionType(dAtA[iNdEx:postIndex])
2017-05-11 01:29:10 -07:00
iNdEx = postIndex
case 2:
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType)
2016-09-30 02:33:23 -07:00
}
2017-05-11 01:29:10 -07:00
var stringLen uint64
2016-09-30 02:33:23 -07:00
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowGenerated
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
2016-09-30 02:33:23 -07:00
iNdEx++
2017-05-11 01:29:10 -07:00
stringLen |= (uint64(b) & 0x7F) << shift
2016-09-30 02:33:23 -07:00
if b < 0x80 {
break
}
}
2017-05-11 01:29:10 -07:00
intStringLen := int(stringLen)
if intStringLen < 0 {
2016-09-30 02:33:23 -07:00
return ErrInvalidLengthGenerated
}
2017-05-11 01:29:10 -07:00
postIndex := iNdEx + intStringLen
2016-09-30 02:33:23 -07:00
if postIndex > l {
return io.ErrUnexpectedEOF
}
m.Status = k8s_io_api_core_v1.ConditionStatus(dAtA[iNdEx:postIndex])
2016-09-30 02:33:23 -07:00
iNdEx = postIndex
2017-05-11 01:29:10 -07:00
case 4:
2016-09-30 02:33:23 -07:00
if wireType != 2 {
2017-05-11 01:29:10 -07:00
return fmt.Errorf("proto: wrong wireType = %d for field Reason", wireType)
2016-09-30 02:33:23 -07:00
}
2017-05-11 01:29:10 -07:00
var stringLen uint64
2016-09-30 02:33:23 -07:00
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowGenerated
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
2016-09-30 02:33:23 -07:00
iNdEx++
2017-05-11 01:29:10 -07:00
stringLen |= (uint64(b) & 0x7F) << shift
2016-09-30 02:33:23 -07:00
if b < 0x80 {
break
}
}
2017-05-11 01:29:10 -07:00
intStringLen := int(stringLen)
if intStringLen < 0 {
2016-09-30 02:33:23 -07:00
return ErrInvalidLengthGenerated
}
2017-05-11 01:29:10 -07:00
postIndex := iNdEx + intStringLen
2016-09-30 02:33:23 -07:00
if postIndex > l {
return io.ErrUnexpectedEOF
}
m.Reason = string(dAtA[iNdEx:postIndex])
2016-09-30 02:33:23 -07:00
iNdEx = postIndex
2017-05-11 01:29:10 -07:00
case 5:
2016-09-30 02:33:23 -07:00
if wireType != 2 {
2017-05-11 01:29:10 -07:00
return fmt.Errorf("proto: wrong wireType = %d for field Message", wireType)
2016-09-30 02:33:23 -07:00
}
2017-05-11 01:29:10 -07:00
var stringLen uint64
2016-09-30 02:33:23 -07:00
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowGenerated
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
2016-09-30 02:33:23 -07:00
iNdEx++
2017-05-11 01:29:10 -07:00
stringLen |= (uint64(b) & 0x7F) << shift
2016-09-30 02:33:23 -07:00
if b < 0x80 {
break
}
}
2017-05-11 01:29:10 -07:00
intStringLen := int(stringLen)
if intStringLen < 0 {
2016-09-30 02:33:23 -07:00
return ErrInvalidLengthGenerated
}
2017-05-11 01:29:10 -07:00
postIndex := iNdEx + intStringLen
2016-09-30 02:33:23 -07:00
if postIndex > l {
return io.ErrUnexpectedEOF
}
m.Message = string(dAtA[iNdEx:postIndex])
2016-09-30 02:33:23 -07:00
iNdEx = postIndex
2017-05-11 01:29:10 -07:00
case 6:
2016-09-30 02:33:23 -07:00
if wireType != 2 {
2017-05-11 01:29:10 -07:00
return fmt.Errorf("proto: wrong wireType = %d for field LastUpdateTime", wireType)
2016-09-30 02:33:23 -07:00
}
var msglen int
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowGenerated
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
2016-09-30 02:33:23 -07: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 err := m.LastUpdateTime.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
2016-09-30 02:33:23 -07:00
return err
}
iNdEx = postIndex
2017-05-11 01:29:10 -07:00
case 7:
2016-09-30 02:33:23 -07:00
if wireType != 2 {
2017-05-11 01:29:10 -07:00
return fmt.Errorf("proto: wrong wireType = %d for field LastTransitionTime", wireType)
2016-09-30 02:33:23 -07:00
}
var msglen int
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowGenerated
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
2016-09-30 02:33:23 -07: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 err := m.LastTransitionTime.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
2016-09-30 02:33:23 -07:00
return err
}
iNdEx = postIndex
default:
iNdEx = preIndex
skippy, err := skipGenerated(dAtA[iNdEx:])
2016-09-30 02:33:23 -07: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
}
func (m *DeploymentList) Unmarshal(dAtA []byte) error {
l := len(dAtA)
2016-09-30 02:33:23 -07: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
}
b := dAtA[iNdEx]
2016-09-30 02:33:23 -07:00
iNdEx++
wire |= (uint64(b) & 0x7F) << shift
if b < 0x80 {
break
}
}
fieldNum := int32(wire >> 3)
wireType := int(wire & 0x7)
if wireType == 4 {
2017-05-11 01:29:10 -07:00
return fmt.Errorf("proto: DeploymentList: wiretype end group for non-group")
2016-09-30 02:33:23 -07:00
}
if fieldNum <= 0 {
2017-05-11 01:29:10 -07:00
return fmt.Errorf("proto: DeploymentList: illegal tag %d (wire type %d)", fieldNum, wire)
2016-09-30 02:33:23 -07:00
}
switch fieldNum {
case 1:
if wireType != 2 {
2017-05-11 01:29:10 -07:00
return fmt.Errorf("proto: wrong wireType = %d for field ListMeta", wireType)
2016-09-30 02:33:23 -07:00
}
var msglen int
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowGenerated
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
2016-09-30 02:33:23 -07: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 err := m.ListMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
2016-09-30 02:33:23 -07:00
return err
}
iNdEx = postIndex
case 2:
if wireType != 2 {
2017-05-11 01:29:10 -07:00
return fmt.Errorf("proto: wrong wireType = %d for field Items", wireType)
2016-09-30 02:33:23 -07:00
}
var msglen int
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowGenerated
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
2016-09-30 02:33:23 -07: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-05-11 01:29:10 -07:00
m.Items = append(m.Items, Deployment{})
if err := m.Items[len(m.Items)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
2016-09-30 02:33:23 -07:00
return err
}
iNdEx = postIndex
default:
iNdEx = preIndex
skippy, err := skipGenerated(dAtA[iNdEx:])
2016-09-30 02:33:23 -07: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
}
func (m *DeploymentRollback) Unmarshal(dAtA []byte) error {
l := len(dAtA)
2016-09-30 02:33:23 -07: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
}
b := dAtA[iNdEx]
2016-09-30 02:33:23 -07:00
iNdEx++
wire |= (uint64(b) & 0x7F) << shift
if b < 0x80 {
break
}
}
fieldNum := int32(wire >> 3)
wireType := int(wire & 0x7)
if wireType == 4 {
2017-05-11 01:29:10 -07:00
return fmt.Errorf("proto: DeploymentRollback: wiretype end group for non-group")
2016-09-30 02:33:23 -07:00
}
if fieldNum <= 0 {
2017-05-11 01:29:10 -07:00
return fmt.Errorf("proto: DeploymentRollback: illegal tag %d (wire type %d)", fieldNum, wire)
2016-09-30 02:33:23 -07:00
}
switch fieldNum {
case 1:
2017-05-11 01:29:10 -07:00
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType)
2016-09-30 02:33:23 -07:00
}
2017-05-11 01:29:10 -07:00
var stringLen uint64
2016-09-30 02:33:23 -07:00
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowGenerated
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
2016-09-30 02:33:23 -07:00
iNdEx++
2017-05-11 01:29:10 -07:00
stringLen |= (uint64(b) & 0x7F) << shift
2016-09-30 02:33:23 -07:00
if b < 0x80 {
break
}
}
2017-05-11 01:29:10 -07:00
intStringLen := int(stringLen)
if intStringLen < 0 {
return ErrInvalidLengthGenerated
}
postIndex := iNdEx + intStringLen
if postIndex > l {
return io.ErrUnexpectedEOF
}
m.Name = string(dAtA[iNdEx:postIndex])
2017-05-11 01:29:10 -07:00
iNdEx = postIndex
2016-09-30 02:33:23 -07:00
case 2:
if wireType != 2 {
2017-05-11 01:29:10 -07:00
return fmt.Errorf("proto: wrong wireType = %d for field UpdatedAnnotations", wireType)
2016-09-30 02:33:23 -07:00
}
var msglen int
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowGenerated
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
2016-09-30 02:33:23 -07: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.UpdatedAnnotations == nil {
m.UpdatedAnnotations = make(map[string]string)
}
var mapkey string
var mapvalue string
for iNdEx < postIndex {
entryPreIndex := 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
}
2016-09-30 02:33:23 -07:00
}
fieldNum := int32(wire >> 3)
if fieldNum == 1 {
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 {
return ErrInvalidLengthGenerated
}
postStringIndexmapkey := iNdEx + intStringLenmapkey
if postStringIndexmapkey > l {
return io.ErrUnexpectedEOF
}
mapkey = string(dAtA[iNdEx:postStringIndexmapkey])
iNdEx = postStringIndexmapkey
} else if fieldNum == 2 {
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
} else {
iNdEx = entryPreIndex
skippy, err := skipGenerated(dAtA[iNdEx:])
if err != nil {
return err
}
if skippy < 0 {
return ErrInvalidLengthGenerated
}
if (iNdEx + skippy) > postIndex {
return io.ErrUnexpectedEOF
}
iNdEx += skippy
2016-09-30 02:33:23 -07:00
}
2017-05-11 01:29:10 -07:00
}
m.UpdatedAnnotations[mapkey] = mapvalue
2017-05-11 01:29:10 -07:00
iNdEx = postIndex
case 3:
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field RollbackTo", wireType)
}
var msglen int
2016-09-30 02:33:23 -07:00
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowGenerated
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
2016-09-30 02:33:23 -07:00
iNdEx++
2017-05-11 01:29:10 -07:00
msglen |= (int(b) & 0x7F) << shift
2016-09-30 02:33:23 -07:00
if b < 0x80 {
break
}
}
2017-05-11 01:29:10 -07:00
if msglen < 0 {
return ErrInvalidLengthGenerated
}
postIndex := iNdEx + msglen
if postIndex > l {
return io.ErrUnexpectedEOF
}
if err := m.RollbackTo.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
2017-05-11 01:29:10 -07:00
return err
}
iNdEx = postIndex
2016-09-30 02:33:23 -07:00
default:
iNdEx = preIndex
skippy, err := skipGenerated(dAtA[iNdEx:])
2016-09-30 02:33:23 -07: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
}
func (m *DeploymentSpec) Unmarshal(dAtA []byte) error {
l := len(dAtA)
2016-09-30 02:33:23 -07: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
}
b := dAtA[iNdEx]
2016-09-30 02:33:23 -07:00
iNdEx++
wire |= (uint64(b) & 0x7F) << shift
if b < 0x80 {
break
}
}
fieldNum := int32(wire >> 3)
wireType := int(wire & 0x7)
if wireType == 4 {
2017-05-11 01:29:10 -07:00
return fmt.Errorf("proto: DeploymentSpec: wiretype end group for non-group")
2016-09-30 02:33:23 -07:00
}
if fieldNum <= 0 {
2017-05-11 01:29:10 -07:00
return fmt.Errorf("proto: DeploymentSpec: illegal tag %d (wire type %d)", fieldNum, wire)
2016-09-30 02:33:23 -07:00
}
switch fieldNum {
case 1:
if wireType != 0 {
2017-05-11 01:29:10 -07:00
return fmt.Errorf("proto: wrong wireType = %d for field Replicas", wireType)
2016-09-30 02:33:23 -07:00
}
2017-05-11 01:29:10 -07:00
var v int32
2016-09-30 02:33:23 -07:00
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowGenerated
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
2016-09-30 02:33:23 -07:00
iNdEx++
2017-05-11 01:29:10 -07:00
v |= (int32(b) & 0x7F) << shift
2016-09-30 02:33:23 -07:00
if b < 0x80 {
break
}
}
2017-05-11 01:29:10 -07:00
m.Replicas = &v
2016-09-30 02:33:23 -07:00
case 2:
2017-05-11 01:29:10 -07:00
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field Selector", wireType)
2016-09-30 02:33:23 -07:00
}
2017-05-11 01:29:10 -07:00
var msglen int
2016-09-30 02:33:23 -07:00
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowGenerated
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
2016-09-30 02:33:23 -07:00
iNdEx++
2017-05-11 01:29:10 -07:00
msglen |= (int(b) & 0x7F) << shift
2016-09-30 02:33:23 -07:00
if b < 0x80 {
break
}
}
2017-05-11 01:29:10 -07:00
if msglen < 0 {
2016-09-30 02:33:23 -07:00
return ErrInvalidLengthGenerated
}
2017-05-11 01:29:10 -07:00
postIndex := iNdEx + msglen
if postIndex > l {
2016-09-30 02:33:23 -07:00
return io.ErrUnexpectedEOF
}
2017-05-11 01:29:10 -07:00
if m.Selector == nil {
m.Selector = &k8s_io_apimachinery_pkg_apis_meta_v1.LabelSelector{}
2016-09-30 02:33:23 -07:00
}
if err := m.Selector.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
2017-05-11 01:29:10 -07:00
return err
2016-09-30 02:33:23 -07:00
}
2017-05-11 01:29:10 -07:00
iNdEx = postIndex
case 3:
2016-09-30 02:33:23 -07:00
if wireType != 2 {
2017-05-11 01:29:10 -07:00
return fmt.Errorf("proto: wrong wireType = %d for field Template", wireType)
2016-09-30 02:33:23 -07:00
}
var msglen int
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowGenerated
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
2016-09-30 02:33:23 -07: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 err := m.Template.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
2016-09-30 02:33:23 -07:00
return err
}
iNdEx = postIndex
2017-05-11 01:29:10 -07:00
case 4:
2016-09-30 02:33:23 -07:00
if wireType != 2 {
2017-05-11 01:29:10 -07:00
return fmt.Errorf("proto: wrong wireType = %d for field Strategy", wireType)
2016-09-30 02:33:23 -07:00
}
var msglen int
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowGenerated
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
2016-09-30 02:33:23 -07: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 err := m.Strategy.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
2016-09-30 02:33:23 -07:00
return err
}
iNdEx = postIndex
2017-05-11 01:29:10 -07:00
case 5:
if wireType != 0 {
return fmt.Errorf("proto: wrong wireType = %d for field MinReadySeconds", wireType)
2016-09-30 02:33:23 -07:00
}
2017-05-11 01:29:10 -07:00
m.MinReadySeconds = 0
2016-09-30 02:33:23 -07:00
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowGenerated
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
2016-09-30 02:33:23 -07:00
iNdEx++
2017-05-11 01:29:10 -07:00
m.MinReadySeconds |= (int32(b) & 0x7F) << shift
2016-09-30 02:33:23 -07:00
if b < 0x80 {
break
}
}
2017-05-11 01:29:10 -07:00
case 6:
if wireType != 0 {
return fmt.Errorf("proto: wrong wireType = %d for field RevisionHistoryLimit", wireType)
2016-09-30 02:33:23 -07:00
}
2017-05-11 01:29:10 -07:00
var v int32
2016-09-30 02:33:23 -07:00
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowGenerated
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
2016-09-30 02:33:23 -07:00
iNdEx++
2017-05-11 01:29:10 -07:00
v |= (int32(b) & 0x7F) << shift
2016-09-30 02:33:23 -07:00
if b < 0x80 {
break
}
}
2017-05-11 01:29:10 -07:00
m.RevisionHistoryLimit = &v
case 7:
if wireType != 0 {
return fmt.Errorf("proto: wrong wireType = %d for field Paused", wireType)
2016-09-30 02:33:23 -07:00
}
2017-05-11 01:29:10 -07:00
var v int
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowGenerated
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
2017-05-11 01:29:10 -07:00
iNdEx++
v |= (int(b) & 0x7F) << shift
if b < 0x80 {
break
}
2016-09-30 02:33:23 -07:00
}
2017-05-11 01:29:10 -07:00
m.Paused = bool(v != 0)
case 8:
2016-09-30 02:33:23 -07:00
if wireType != 2 {
2017-05-11 01:29:10 -07:00
return fmt.Errorf("proto: wrong wireType = %d for field RollbackTo", wireType)
2016-09-30 02:33:23 -07:00
}
var msglen int
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowGenerated
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
2016-09-30 02:33:23 -07: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-05-11 01:29:10 -07:00
if m.RollbackTo == nil {
m.RollbackTo = &RollbackConfig{}
}
if err := m.RollbackTo.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
2016-09-30 02:33:23 -07:00
return err
}
iNdEx = postIndex
2017-05-11 01:29:10 -07:00
case 9:
if wireType != 0 {
return fmt.Errorf("proto: wrong wireType = %d for field ProgressDeadlineSeconds", wireType)
}
var v int32
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowGenerated
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
2017-05-11 01:29:10 -07:00
iNdEx++
v |= (int32(b) & 0x7F) << shift
if b < 0x80 {
break
}
}
m.ProgressDeadlineSeconds = &v
2016-09-30 02:33:23 -07:00
default:
iNdEx = preIndex
skippy, err := skipGenerated(dAtA[iNdEx:])
2016-09-30 02:33:23 -07: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
}
func (m *DeploymentStatus) Unmarshal(dAtA []byte) error {
l := len(dAtA)
2016-09-30 02:33:23 -07: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
}
b := dAtA[iNdEx]
2016-09-30 02:33:23 -07:00
iNdEx++
wire |= (uint64(b) & 0x7F) << shift
if b < 0x80 {
break
}
}
fieldNum := int32(wire >> 3)
wireType := int(wire & 0x7)
if wireType == 4 {
2017-05-11 01:29:10 -07:00
return fmt.Errorf("proto: DeploymentStatus: wiretype end group for non-group")
2016-09-30 02:33:23 -07:00
}
if fieldNum <= 0 {
2017-05-11 01:29:10 -07:00
return fmt.Errorf("proto: DeploymentStatus: illegal tag %d (wire type %d)", fieldNum, wire)
2016-09-30 02:33:23 -07:00
}
switch fieldNum {
case 1:
2017-05-11 01:29:10 -07:00
if wireType != 0 {
return fmt.Errorf("proto: wrong wireType = %d for field ObservedGeneration", wireType)
2016-09-30 02:33:23 -07:00
}
2017-05-11 01:29:10 -07:00
m.ObservedGeneration = 0
2016-09-30 02:33:23 -07:00
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowGenerated
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
2016-09-30 02:33:23 -07:00
iNdEx++
2017-05-11 01:29:10 -07:00
m.ObservedGeneration |= (int64(b) & 0x7F) << shift
2016-09-30 02:33:23 -07:00
if b < 0x80 {
break
}
}
2017-05-11 01:29:10 -07:00
case 2:
if wireType != 0 {
return fmt.Errorf("proto: wrong wireType = %d for field Replicas", wireType)
2016-09-30 02:33:23 -07:00
}
2017-05-11 01:29:10 -07:00
m.Replicas = 0
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowGenerated
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
2017-05-11 01:29:10 -07:00
iNdEx++
m.Replicas |= (int32(b) & 0x7F) << shift
if b < 0x80 {
break
}
2016-09-30 02:33:23 -07:00
}
2017-05-11 01:29:10 -07:00
case 3:
if wireType != 0 {
return fmt.Errorf("proto: wrong wireType = %d for field UpdatedReplicas", wireType)
2016-09-30 02:33:23 -07:00
}
2017-05-11 01:29:10 -07:00
m.UpdatedReplicas = 0
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowGenerated
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
2017-05-11 01:29:10 -07:00
iNdEx++
m.UpdatedReplicas |= (int32(b) & 0x7F) << shift
if b < 0x80 {
break
}
}
case 4:
if wireType != 0 {
return fmt.Errorf("proto: wrong wireType = %d for field AvailableReplicas", wireType)
}
m.AvailableReplicas = 0
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowGenerated
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
2017-05-11 01:29:10 -07:00
iNdEx++
m.AvailableReplicas |= (int32(b) & 0x7F) << shift
if b < 0x80 {
break
}
}
case 5:
if wireType != 0 {
return fmt.Errorf("proto: wrong wireType = %d for field UnavailableReplicas", wireType)
}
m.UnavailableReplicas = 0
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowGenerated
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
2017-05-11 01:29:10 -07:00
iNdEx++
m.UnavailableReplicas |= (int32(b) & 0x7F) << shift
if b < 0x80 {
break
}
}
case 6:
2016-09-30 02:33:23 -07:00
if wireType != 2 {
2017-05-11 01:29:10 -07:00
return fmt.Errorf("proto: wrong wireType = %d for field Conditions", wireType)
2016-09-30 02:33:23 -07:00
}
var msglen int
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowGenerated
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
2016-09-30 02:33:23 -07: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-05-11 01:29:10 -07:00
m.Conditions = append(m.Conditions, DeploymentCondition{})
if err := m.Conditions[len(m.Conditions)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
2016-09-30 02:33:23 -07:00
return err
}
iNdEx = postIndex
2017-05-11 01:29:10 -07:00
case 7:
if wireType != 0 {
return fmt.Errorf("proto: wrong wireType = %d for field ReadyReplicas", wireType)
}
m.ReadyReplicas = 0
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowGenerated
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
2017-05-11 01:29:10 -07:00
iNdEx++
m.ReadyReplicas |= (int32(b) & 0x7F) << shift
if b < 0x80 {
break
}
}
case 8:
if wireType != 0 {
return fmt.Errorf("proto: wrong wireType = %d for field CollisionCount", wireType)
}
var v int32
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowGenerated
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
iNdEx++
v |= (int32(b) & 0x7F) << shift
if b < 0x80 {
break
}
}
m.CollisionCount = &v
2016-09-30 02:33:23 -07:00
default:
iNdEx = preIndex
skippy, err := skipGenerated(dAtA[iNdEx:])
2016-09-30 02:33:23 -07: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
}
func (m *DeploymentStrategy) Unmarshal(dAtA []byte) error {
l := len(dAtA)
2016-09-30 02:33:23 -07: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
}
b := dAtA[iNdEx]
2016-09-30 02:33:23 -07:00
iNdEx++
wire |= (uint64(b) & 0x7F) << shift
if b < 0x80 {
break
}
}
fieldNum := int32(wire >> 3)
wireType := int(wire & 0x7)
if wireType == 4 {
2017-05-11 01:29:10 -07:00
return fmt.Errorf("proto: DeploymentStrategy: wiretype end group for non-group")
2016-09-30 02:33:23 -07:00
}
if fieldNum <= 0 {
2017-05-11 01:29:10 -07:00
return fmt.Errorf("proto: DeploymentStrategy: illegal tag %d (wire type %d)", fieldNum, wire)
2016-09-30 02:33:23 -07:00
}
switch fieldNum {
case 1:
if wireType != 2 {
2017-05-11 01:29:10 -07:00
return fmt.Errorf("proto: wrong wireType = %d for field Type", wireType)
2016-09-30 02:33:23 -07:00
}
var stringLen uint64
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowGenerated
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
2016-09-30 02:33:23 -07: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
}
m.Type = DeploymentStrategyType(dAtA[iNdEx:postIndex])
2016-09-30 02:33:23 -07:00
iNdEx = postIndex
case 2:
if wireType != 2 {
2017-05-11 01:29:10 -07:00
return fmt.Errorf("proto: wrong wireType = %d for field RollingUpdate", wireType)
2016-09-30 02:33:23 -07:00
}
var msglen int
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowGenerated
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
2016-09-30 02:33:23 -07: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-05-11 01:29:10 -07:00
if m.RollingUpdate == nil {
m.RollingUpdate = &RollingUpdateDeployment{}
}
if err := m.RollingUpdate.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
2016-09-30 02:33:23 -07:00
return err
}
iNdEx = postIndex
default:
iNdEx = preIndex
skippy, err := skipGenerated(dAtA[iNdEx:])
2016-09-30 02:33:23 -07: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
}
func (m *FSGroupStrategyOptions) Unmarshal(dAtA []byte) error {
l := len(dAtA)
2016-09-30 02:33:23 -07: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
}
b := dAtA[iNdEx]
2016-09-30 02:33:23 -07:00
iNdEx++
wire |= (uint64(b) & 0x7F) << shift
if b < 0x80 {
break
}
}
fieldNum := int32(wire >> 3)
wireType := int(wire & 0x7)
if wireType == 4 {
2017-05-11 01:29:10 -07:00
return fmt.Errorf("proto: FSGroupStrategyOptions: wiretype end group for non-group")
2016-09-30 02:33:23 -07:00
}
if fieldNum <= 0 {
2017-05-11 01:29:10 -07:00
return fmt.Errorf("proto: FSGroupStrategyOptions: illegal tag %d (wire type %d)", fieldNum, wire)
2016-09-30 02:33:23 -07:00
}
switch fieldNum {
case 1:
if wireType != 2 {
2017-05-11 01:29:10 -07:00
return fmt.Errorf("proto: wrong wireType = %d for field Rule", 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-05-11 01:29:10 -07: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
}
m.Rule = FSGroupStrategyType(dAtA[iNdEx:postIndex])
2017-05-11 01:29:10 -07:00
iNdEx = postIndex
case 2:
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field Ranges", wireType)
2016-09-30 02:33:23 -07:00
}
var msglen int
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowGenerated
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
2016-09-30 02:33:23 -07: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-05-11 01:29:10 -07:00
m.Ranges = append(m.Ranges, IDRange{})
if err := m.Ranges[len(m.Ranges)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
2016-09-30 02:33:23 -07:00
return err
}
iNdEx = postIndex
default:
iNdEx = preIndex
skippy, err := skipGenerated(dAtA[iNdEx:])
2016-09-30 02:33:23 -07: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
}
func (m *HTTPIngressPath) Unmarshal(dAtA []byte) error {
l := len(dAtA)
2016-09-30 02:33:23 -07: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
}
b := dAtA[iNdEx]
2017-05-11 01:29:10 -07: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: HTTPIngressPath: wiretype end group for non-group")
}
if fieldNum <= 0 {
return fmt.Errorf("proto: HTTPIngressPath: illegal tag %d (wire type %d)", fieldNum, wire)
}
switch fieldNum {
case 1:
2016-09-30 02:33:23 -07:00
if wireType != 2 {
2017-05-11 01:29:10 -07:00
return fmt.Errorf("proto: wrong wireType = %d for field Path", wireType)
2016-09-30 02:33:23 -07:00
}
2017-05-11 01:29:10 -07:00
var stringLen uint64
2016-09-30 02:33:23 -07:00
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowGenerated
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
2016-09-30 02:33:23 -07:00
iNdEx++
2017-05-11 01:29:10 -07:00
stringLen |= (uint64(b) & 0x7F) << shift
2016-09-30 02:33:23 -07:00
if b < 0x80 {
break
}
}
2017-05-11 01:29:10 -07:00
intStringLen := int(stringLen)
if intStringLen < 0 {
2016-09-30 02:33:23 -07:00
return ErrInvalidLengthGenerated
}
2017-05-11 01:29:10 -07:00
postIndex := iNdEx + intStringLen
2016-09-30 02:33:23 -07:00
if postIndex > l {
return io.ErrUnexpectedEOF
}
m.Path = string(dAtA[iNdEx:postIndex])
2016-09-30 02:33:23 -07:00
iNdEx = postIndex
2017-05-11 01:29:10 -07:00
case 2:
2016-09-30 02:33:23 -07:00
if wireType != 2 {
2017-05-11 01:29:10 -07:00
return fmt.Errorf("proto: wrong wireType = %d for field Backend", wireType)
2016-09-30 02:33:23 -07:00
}
var msglen int
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowGenerated
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
2016-09-30 02:33:23 -07: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 err := m.Backend.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
2016-09-30 02:33:23 -07:00
return err
}
iNdEx = postIndex
default:
iNdEx = preIndex
skippy, err := skipGenerated(dAtA[iNdEx:])
2016-09-30 02:33:23 -07: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
}
func (m *HTTPIngressRuleValue) Unmarshal(dAtA []byte) error {
l := len(dAtA)
2016-09-30 02:33:23 -07: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
}
b := dAtA[iNdEx]
2016-09-30 02:33:23 -07:00
iNdEx++
wire |= (uint64(b) & 0x7F) << shift
if b < 0x80 {
break
}
}
fieldNum := int32(wire >> 3)
wireType := int(wire & 0x7)
if wireType == 4 {
2017-05-11 01:29:10 -07:00
return fmt.Errorf("proto: HTTPIngressRuleValue: wiretype end group for non-group")
2016-09-30 02:33:23 -07:00
}
if fieldNum <= 0 {
2017-05-11 01:29:10 -07:00
return fmt.Errorf("proto: HTTPIngressRuleValue: illegal tag %d (wire type %d)", fieldNum, wire)
2016-09-30 02:33:23 -07:00
}
switch fieldNum {
case 1:
if wireType != 2 {
2017-05-11 01:29:10 -07:00
return fmt.Errorf("proto: wrong wireType = %d for field Paths", wireType)
2016-09-30 02:33:23 -07:00
}
var msglen int
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowGenerated
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
2016-09-30 02:33:23 -07: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-05-11 01:29:10 -07:00
m.Paths = append(m.Paths, HTTPIngressPath{})
if err := m.Paths[len(m.Paths)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
2016-09-30 02:33:23 -07:00
return err
}
iNdEx = postIndex
default:
iNdEx = preIndex
skippy, err := skipGenerated(dAtA[iNdEx:])
2016-09-30 02:33:23 -07: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
}
func (m *HostPortRange) Unmarshal(dAtA []byte) error {
l := len(dAtA)
2016-09-30 02:33:23 -07: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
}
b := dAtA[iNdEx]
2016-09-30 02:33:23 -07:00
iNdEx++
wire |= (uint64(b) & 0x7F) << shift
if b < 0x80 {
break
}
}
fieldNum := int32(wire >> 3)
wireType := int(wire & 0x7)
if wireType == 4 {
2017-05-11 01:29:10 -07:00
return fmt.Errorf("proto: HostPortRange: wiretype end group for non-group")
2016-09-30 02:33:23 -07:00
}
if fieldNum <= 0 {
2017-05-11 01:29:10 -07:00
return fmt.Errorf("proto: HostPortRange: illegal tag %d (wire type %d)", fieldNum, wire)
2016-09-30 02:33:23 -07:00
}
switch fieldNum {
case 1:
2017-05-11 01:29:10 -07:00
if wireType != 0 {
return fmt.Errorf("proto: wrong wireType = %d for field Min", wireType)
2016-09-30 02:33:23 -07:00
}
2017-05-11 01:29:10 -07:00
m.Min = 0
2016-09-30 02:33:23 -07:00
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowGenerated
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
2016-09-30 02:33:23 -07:00
iNdEx++
2017-05-11 01:29:10 -07:00
m.Min |= (int32(b) & 0x7F) << shift
2016-09-30 02:33:23 -07:00
if b < 0x80 {
break
}
}
case 2:
2017-05-11 01:29:10 -07:00
if wireType != 0 {
return fmt.Errorf("proto: wrong wireType = %d for field Max", wireType)
2016-09-30 02:33:23 -07:00
}
2017-05-11 01:29:10 -07:00
m.Max = 0
2016-09-30 02:33:23 -07:00
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowGenerated
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
2016-09-30 02:33:23 -07:00
iNdEx++
2017-05-11 01:29:10 -07:00
m.Max |= (int32(b) & 0x7F) << shift
2016-09-30 02:33:23 -07:00
if b < 0x80 {
break
}
}
default:
iNdEx = preIndex
skippy, err := skipGenerated(dAtA[iNdEx:])
2016-09-30 02:33:23 -07: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
}
func (m *IDRange) Unmarshal(dAtA []byte) error {
l := len(dAtA)
2016-09-30 02:33:23 -07: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
}
b := dAtA[iNdEx]
2016-09-30 02:33:23 -07:00
iNdEx++
wire |= (uint64(b) & 0x7F) << shift
if b < 0x80 {
break
}
}
fieldNum := int32(wire >> 3)
wireType := int(wire & 0x7)
if wireType == 4 {
2017-05-11 01:29:10 -07:00
return fmt.Errorf("proto: IDRange: wiretype end group for non-group")
2016-09-30 02:33:23 -07:00
}
if fieldNum <= 0 {
2017-05-11 01:29:10 -07:00
return fmt.Errorf("proto: IDRange: illegal tag %d (wire type %d)", fieldNum, wire)
2016-09-30 02:33:23 -07:00
}
switch fieldNum {
case 1:
2017-05-11 01:29:10 -07:00
if wireType != 0 {
return fmt.Errorf("proto: wrong wireType = %d for field Min", wireType)
2016-09-30 02:33:23 -07:00
}
2017-05-11 01:29:10 -07:00
m.Min = 0
2016-09-30 02:33:23 -07:00
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowGenerated
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
2016-09-30 02:33:23 -07:00
iNdEx++
2017-05-11 01:29:10 -07:00
m.Min |= (int64(b) & 0x7F) << shift
2016-09-30 02:33:23 -07:00
if b < 0x80 {
break
}
}
case 2:
2017-05-11 01:29:10 -07:00
if wireType != 0 {
return fmt.Errorf("proto: wrong wireType = %d for field Max", wireType)
2016-09-30 02:33:23 -07:00
}
2017-05-11 01:29:10 -07:00
m.Max = 0
2016-09-30 02:33:23 -07:00
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowGenerated
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
2016-09-30 02:33:23 -07:00
iNdEx++
2017-05-11 01:29:10 -07:00
m.Max |= (int64(b) & 0x7F) << shift
2016-09-30 02:33:23 -07:00
if b < 0x80 {
break
}
}
default:
iNdEx = preIndex
skippy, err := skipGenerated(dAtA[iNdEx:])
2016-09-30 02:33:23 -07: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
}
func (m *IPBlock) Unmarshal(dAtA []byte) error {
l := len(dAtA)
2016-09-30 02:33:23 -07: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
}
b := dAtA[iNdEx]
2016-09-30 02:33:23 -07: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: IPBlock: wiretype end group for non-group")
2016-09-30 02:33:23 -07:00
}
if fieldNum <= 0 {
return fmt.Errorf("proto: IPBlock: illegal tag %d (wire type %d)", fieldNum, wire)
2016-09-30 02:33:23 -07:00
}
switch fieldNum {
case 1:
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field CIDR", wireType)
2016-09-30 02:33:23 -07:00
}
var stringLen uint64
2016-09-30 02:33:23 -07:00
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowGenerated
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
2016-09-30 02:33:23 -07:00
iNdEx++
stringLen |= (uint64(b) & 0x7F) << shift
2016-09-30 02:33:23 -07:00
if b < 0x80 {
break
}
}
intStringLen := int(stringLen)
if intStringLen < 0 {
2016-09-30 02:33:23 -07:00
return ErrInvalidLengthGenerated
}
postIndex := iNdEx + intStringLen
2016-09-30 02:33:23 -07:00
if postIndex > l {
return io.ErrUnexpectedEOF
}
m.CIDR = string(dAtA[iNdEx:postIndex])
2016-09-30 02:33:23 -07:00
iNdEx = postIndex
2017-05-11 01:29:10 -07:00
case 2:
2016-09-30 02:33:23 -07:00
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field Except", wireType)
2016-09-30 02:33:23 -07:00
}
var stringLen uint64
2016-09-30 02:33:23 -07:00
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowGenerated
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
2016-09-30 02:33:23 -07:00
iNdEx++
stringLen |= (uint64(b) & 0x7F) << shift
2016-09-30 02:33:23 -07:00
if b < 0x80 {
break
}
}
intStringLen := int(stringLen)
if intStringLen < 0 {
return ErrInvalidLengthGenerated
}
postIndex := iNdEx + intStringLen
if postIndex > l {
return io.ErrUnexpectedEOF
}
m.Except = append(m.Except, 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 *Ingress) 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: Ingress: wiretype end group for non-group")
}
if fieldNum <= 0 {
return fmt.Errorf("proto: Ingress: illegal tag %d (wire type %d)", fieldNum, wire)
}
switch fieldNum {
case 1:
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field ObjectMeta", 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.ObjectMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
return err
}
iNdEx = postIndex
case 2:
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field Spec", 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 {
2016-09-30 02:33:23 -07:00
return ErrInvalidLengthGenerated
}
2017-05-11 01:29:10 -07:00
postIndex := iNdEx + msglen
2016-09-30 02:33:23 -07:00
if postIndex > l {
return io.ErrUnexpectedEOF
}
if err := m.Spec.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
2017-05-11 01:29:10 -07:00
return err
}
2016-09-30 02:33:23 -07:00
iNdEx = postIndex
2017-05-11 01:29:10 -07:00
case 3:
2016-09-30 02:33:23 -07:00
if wireType != 2 {
2017-05-11 01:29:10 -07:00
return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType)
2016-09-30 02:33:23 -07:00
}
2017-05-11 01:29:10 -07:00
var msglen int
2016-09-30 02:33:23 -07:00
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowGenerated
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
2016-09-30 02:33:23 -07:00
iNdEx++
2017-05-11 01:29:10 -07:00
msglen |= (int(b) & 0x7F) << shift
2016-09-30 02:33:23 -07:00
if b < 0x80 {
break
}
}
2017-05-11 01:29:10 -07:00
if msglen < 0 {
2016-09-30 02:33:23 -07:00
return ErrInvalidLengthGenerated
}
2017-05-11 01:29:10 -07:00
postIndex := iNdEx + msglen
2016-09-30 02:33:23 -07:00
if postIndex > l {
return io.ErrUnexpectedEOF
}
if err := m.Status.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
2017-05-11 01:29:10 -07:00
return err
}
2016-09-30 02:33:23 -07:00
iNdEx = postIndex
default:
iNdEx = preIndex
skippy, err := skipGenerated(dAtA[iNdEx:])
2016-09-30 02:33:23 -07: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
}
func (m *IngressBackend) Unmarshal(dAtA []byte) error {
l := len(dAtA)
2016-09-30 02:33:23 -07: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
}
b := dAtA[iNdEx]
2016-09-30 02:33:23 -07:00
iNdEx++
wire |= (uint64(b) & 0x7F) << shift
if b < 0x80 {
break
}
}
fieldNum := int32(wire >> 3)
wireType := int(wire & 0x7)
if wireType == 4 {
2017-05-11 01:29:10 -07:00
return fmt.Errorf("proto: IngressBackend: wiretype end group for non-group")
2016-09-30 02:33:23 -07:00
}
if fieldNum <= 0 {
2017-05-11 01:29:10 -07:00
return fmt.Errorf("proto: IngressBackend: illegal tag %d (wire type %d)", fieldNum, wire)
2016-09-30 02:33:23 -07:00
}
switch fieldNum {
case 1:
if wireType != 2 {
2017-05-11 01:29:10 -07:00
return fmt.Errorf("proto: wrong wireType = %d for field ServiceName", wireType)
2016-09-30 02:33:23 -07:00
}
2017-05-11 01:29:10 -07:00
var stringLen uint64
2016-09-30 02:33:23 -07:00
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowGenerated
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
2016-09-30 02:33:23 -07:00
iNdEx++
2017-05-11 01:29:10 -07:00
stringLen |= (uint64(b) & 0x7F) << shift
2016-09-30 02:33:23 -07:00
if b < 0x80 {
break
}
}
2017-05-11 01:29:10 -07:00
intStringLen := int(stringLen)
if intStringLen < 0 {
2016-09-30 02:33:23 -07:00
return ErrInvalidLengthGenerated
}
2017-05-11 01:29:10 -07:00
postIndex := iNdEx + intStringLen
2016-09-30 02:33:23 -07:00
if postIndex > l {
return io.ErrUnexpectedEOF
}
m.ServiceName = string(dAtA[iNdEx:postIndex])
2016-09-30 02:33:23 -07:00
iNdEx = postIndex
case 2:
if wireType != 2 {
2017-05-11 01:29:10 -07:00
return fmt.Errorf("proto: wrong wireType = %d for field ServicePort", wireType)
2016-09-30 02:33:23 -07:00
}
var msglen int
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowGenerated
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
2016-09-30 02:33:23 -07: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 err := m.ServicePort.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
2016-09-30 02:33:23 -07:00
return err
}
iNdEx = postIndex
default:
iNdEx = preIndex
skippy, err := skipGenerated(dAtA[iNdEx:])
2016-09-30 02:33:23 -07: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
}
func (m *IngressList) Unmarshal(dAtA []byte) error {
l := len(dAtA)
2016-09-30 02:33:23 -07: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
}
b := dAtA[iNdEx]
2016-09-30 02:33:23 -07:00
iNdEx++
wire |= (uint64(b) & 0x7F) << shift
if b < 0x80 {
break
}
}
fieldNum := int32(wire >> 3)
wireType := int(wire & 0x7)
if wireType == 4 {
2017-05-11 01:29:10 -07:00
return fmt.Errorf("proto: IngressList: wiretype end group for non-group")
2016-09-30 02:33:23 -07:00
}
if fieldNum <= 0 {
2017-05-11 01:29:10 -07:00
return fmt.Errorf("proto: IngressList: illegal tag %d (wire type %d)", fieldNum, wire)
2016-09-30 02:33:23 -07:00
}
switch fieldNum {
case 1:
if wireType != 2 {
2017-05-11 01:29:10 -07:00
return fmt.Errorf("proto: wrong wireType = %d for field ListMeta", wireType)
2016-09-30 02:33:23 -07:00
}
var msglen int
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowGenerated
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
2016-09-30 02:33:23 -07: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 err := m.ListMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
2016-09-30 02:33:23 -07:00
return err
}
iNdEx = postIndex
2017-05-11 01:29:10 -07:00
case 2:
2016-09-30 02:33:23 -07:00
if wireType != 2 {
2017-05-11 01:29:10 -07:00
return fmt.Errorf("proto: wrong wireType = %d for field Items", wireType)
2016-09-30 02:33:23 -07:00
}
var msglen int
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowGenerated
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
2016-09-30 02:33:23 -07: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-05-11 01:29:10 -07:00
m.Items = append(m.Items, Ingress{})
if err := m.Items[len(m.Items)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
2016-09-30 02:33:23 -07:00
return err
}
iNdEx = postIndex
default:
iNdEx = preIndex
skippy, err := skipGenerated(dAtA[iNdEx:])
2016-09-30 02:33:23 -07: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
}
func (m *IngressRule) Unmarshal(dAtA []byte) error {
l := len(dAtA)
2016-09-30 02:33:23 -07: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
}
b := dAtA[iNdEx]
2016-09-30 02:33:23 -07:00
iNdEx++
wire |= (uint64(b) & 0x7F) << shift
if b < 0x80 {
break
}
}
fieldNum := int32(wire >> 3)
wireType := int(wire & 0x7)
if wireType == 4 {
2017-05-11 01:29:10 -07:00
return fmt.Errorf("proto: IngressRule: wiretype end group for non-group")
2016-09-30 02:33:23 -07:00
}
if fieldNum <= 0 {
2017-05-11 01:29:10 -07:00
return fmt.Errorf("proto: IngressRule: illegal tag %d (wire type %d)", fieldNum, wire)
2016-09-30 02:33:23 -07:00
}
switch fieldNum {
case 1:
if wireType != 2 {
2017-05-11 01:29:10 -07:00
return fmt.Errorf("proto: wrong wireType = %d for field Host", wireType)
2016-09-30 02:33:23 -07:00
}
2017-05-11 01:29:10 -07:00
var stringLen uint64
2016-09-30 02:33:23 -07:00
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowGenerated
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
2016-09-30 02:33:23 -07:00
iNdEx++
2017-05-11 01:29:10 -07:00
stringLen |= (uint64(b) & 0x7F) << shift
2016-09-30 02:33:23 -07:00
if b < 0x80 {
break
}
}
2017-05-11 01:29:10 -07:00
intStringLen := int(stringLen)
if intStringLen < 0 {
2016-09-30 02:33:23 -07:00
return ErrInvalidLengthGenerated
}
2017-05-11 01:29:10 -07:00
postIndex := iNdEx + intStringLen
2016-09-30 02:33:23 -07:00
if postIndex > l {
return io.ErrUnexpectedEOF
}
m.Host = string(dAtA[iNdEx:postIndex])
2016-09-30 02:33:23 -07:00
iNdEx = postIndex
case 2:
if wireType != 2 {
2017-05-11 01:29:10 -07:00
return fmt.Errorf("proto: wrong wireType = %d for field IngressRuleValue", wireType)
2016-09-30 02:33:23 -07:00
}
var msglen int
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowGenerated
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
2016-09-30 02:33:23 -07: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 err := m.IngressRuleValue.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
2016-09-30 02:33:23 -07:00
return err
}
iNdEx = postIndex
2017-05-11 01:29:10 -07:00
default:
iNdEx = preIndex
skippy, err := skipGenerated(dAtA[iNdEx:])
2017-05-11 01:29:10 -07:00
if err != nil {
return err
2016-09-30 02:33:23 -07:00
}
2017-05-11 01:29:10 -07:00
if skippy < 0 {
2016-09-30 02:33:23 -07:00
return ErrInvalidLengthGenerated
}
2017-05-11 01:29:10 -07:00
if (iNdEx + skippy) > l {
2016-09-30 02:33:23 -07:00
return io.ErrUnexpectedEOF
}
2017-05-11 01:29:10 -07:00
iNdEx += skippy
}
}
if iNdEx > l {
return io.ErrUnexpectedEOF
}
return nil
}
func (m *IngressRuleValue) Unmarshal(dAtA []byte) error {
l := len(dAtA)
2017-05-11 01:29:10 -07:00
iNdEx := 0
for iNdEx < l {
preIndex := iNdEx
var wire uint64
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowGenerated
2016-09-30 02:33:23 -07:00
}
2017-05-11 01:29:10 -07:00
if iNdEx >= l {
return io.ErrUnexpectedEOF
2016-09-30 02:33:23 -07:00
}
b := dAtA[iNdEx]
2017-05-11 01:29:10 -07:00
iNdEx++
wire |= (uint64(b) & 0x7F) << shift
if b < 0x80 {
break
2016-09-30 02:33:23 -07:00
}
2017-05-11 01:29:10 -07:00
}
fieldNum := int32(wire >> 3)
wireType := int(wire & 0x7)
if wireType == 4 {
return fmt.Errorf("proto: IngressRuleValue: wiretype end group for non-group")
}
if fieldNum <= 0 {
return fmt.Errorf("proto: IngressRuleValue: illegal tag %d (wire type %d)", fieldNum, wire)
}
switch fieldNum {
case 1:
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field HTTP", wireType)
2016-09-30 02:33:23 -07:00
}
2017-05-11 01:29:10 -07:00
var msglen int
2016-09-30 02:33:23 -07:00
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowGenerated
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
2016-09-30 02:33:23 -07:00
iNdEx++
2017-05-11 01:29:10 -07:00
msglen |= (int(b) & 0x7F) << shift
2016-09-30 02:33:23 -07:00
if b < 0x80 {
break
}
}
2017-05-11 01:29:10 -07:00
if msglen < 0 {
return ErrInvalidLengthGenerated
}
postIndex := iNdEx + msglen
if postIndex > l {
return io.ErrUnexpectedEOF
}
if m.HTTP == nil {
m.HTTP = &HTTPIngressRuleValue{}
}
if err := m.HTTP.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
2017-05-11 01:29:10 -07:00
return err
}
iNdEx = postIndex
2016-09-30 02:33:23 -07:00
default:
iNdEx = preIndex
skippy, err := skipGenerated(dAtA[iNdEx:])
2016-09-30 02:33:23 -07: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
}
func (m *IngressSpec) Unmarshal(dAtA []byte) error {
l := len(dAtA)
2016-09-30 02:33:23 -07: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
}
b := dAtA[iNdEx]
2016-09-30 02:33:23 -07:00
iNdEx++
wire |= (uint64(b) & 0x7F) << shift
if b < 0x80 {
break
}
}
fieldNum := int32(wire >> 3)
wireType := int(wire & 0x7)
if wireType == 4 {
2017-05-11 01:29:10 -07:00
return fmt.Errorf("proto: IngressSpec: wiretype end group for non-group")
2016-09-30 02:33:23 -07:00
}
if fieldNum <= 0 {
2017-05-11 01:29:10 -07:00
return fmt.Errorf("proto: IngressSpec: illegal tag %d (wire type %d)", fieldNum, wire)
2016-09-30 02:33:23 -07:00
}
switch fieldNum {
case 1:
if wireType != 2 {
2017-05-11 01:29:10 -07:00
return fmt.Errorf("proto: wrong wireType = %d for field Backend", wireType)
2016-09-30 02:33:23 -07:00
}
var msglen int
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowGenerated
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
2016-09-30 02:33:23 -07: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-05-11 01:29:10 -07:00
if m.Backend == nil {
m.Backend = &IngressBackend{}
2016-09-30 02:33:23 -07:00
}
if err := m.Backend.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
2017-05-11 01:29:10 -07:00
return err
2016-09-30 02:33:23 -07:00
}
2017-05-11 01:29:10 -07:00
iNdEx = postIndex
case 2:
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field TLS", wireType)
2016-09-30 02:33:23 -07:00
}
2017-05-11 01:29:10 -07:00
var msglen int
2016-09-30 02:33:23 -07:00
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowGenerated
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
2016-09-30 02:33:23 -07:00
iNdEx++
2017-05-11 01:29:10 -07:00
msglen |= (int(b) & 0x7F) << shift
2016-09-30 02:33:23 -07:00
if b < 0x80 {
break
}
}
2017-05-11 01:29:10 -07:00
if msglen < 0 {
2016-09-30 02:33:23 -07:00
return ErrInvalidLengthGenerated
}
2017-05-11 01:29:10 -07:00
postIndex := iNdEx + msglen
if postIndex > l {
2016-09-30 02:33:23 -07:00
return io.ErrUnexpectedEOF
}
2017-05-11 01:29:10 -07:00
m.TLS = append(m.TLS, IngressTLS{})
if err := m.TLS[len(m.TLS)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
2017-05-11 01:29:10 -07:00
return err
2016-09-30 02:33:23 -07:00
}
iNdEx = postIndex
2017-05-11 01:29:10 -07:00
case 3:
2016-09-30 02:33:23 -07:00
if wireType != 2 {
2017-05-11 01:29:10 -07:00
return fmt.Errorf("proto: wrong wireType = %d for field Rules", wireType)
2016-09-30 02:33:23 -07:00
}
var msglen int
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowGenerated
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
2016-09-30 02:33:23 -07: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-05-11 01:29:10 -07:00
m.Rules = append(m.Rules, IngressRule{})
if err := m.Rules[len(m.Rules)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
2016-09-30 02:33:23 -07:00
return err
}
iNdEx = postIndex
default:
iNdEx = preIndex
skippy, err := skipGenerated(dAtA[iNdEx:])
2016-09-30 02:33:23 -07: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
}
func (m *IngressStatus) Unmarshal(dAtA []byte) error {
l := len(dAtA)
2016-09-30 02:33:23 -07: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
}
b := dAtA[iNdEx]
2016-09-30 02:33:23 -07:00
iNdEx++
wire |= (uint64(b) & 0x7F) << shift
if b < 0x80 {
break
}
}
fieldNum := int32(wire >> 3)
wireType := int(wire & 0x7)
if wireType == 4 {
2017-05-11 01:29:10 -07:00
return fmt.Errorf("proto: IngressStatus: wiretype end group for non-group")
2016-09-30 02:33:23 -07:00
}
if fieldNum <= 0 {
2017-05-11 01:29:10 -07:00
return fmt.Errorf("proto: IngressStatus: illegal tag %d (wire type %d)", fieldNum, wire)
2016-09-30 02:33:23 -07:00
}
switch fieldNum {
case 1:
if wireType != 2 {
2017-05-11 01:29:10 -07:00
return fmt.Errorf("proto: wrong wireType = %d for field LoadBalancer", wireType)
2016-09-30 02:33:23 -07:00
}
2017-05-11 01:29:10 -07:00
var msglen int
2016-09-30 02:33:23 -07:00
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowGenerated
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
2016-09-30 02:33:23 -07:00
iNdEx++
2017-05-11 01:29:10 -07:00
msglen |= (int(b) & 0x7F) << shift
2016-09-30 02:33:23 -07:00
if b < 0x80 {
break
}
}
2017-05-11 01:29:10 -07:00
if msglen < 0 {
2016-09-30 02:33:23 -07:00
return ErrInvalidLengthGenerated
}
2017-05-11 01:29:10 -07:00
postIndex := iNdEx + msglen
2016-09-30 02:33:23 -07:00
if postIndex > l {
return io.ErrUnexpectedEOF
}
if err := m.LoadBalancer.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
2017-05-11 01:29:10 -07:00
return err
2016-09-30 02:33:23 -07:00
}
iNdEx = postIndex
default:
iNdEx = preIndex
skippy, err := skipGenerated(dAtA[iNdEx:])
2016-09-30 02:33:23 -07: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
}
func (m *IngressTLS) Unmarshal(dAtA []byte) error {
l := len(dAtA)
2016-09-30 02:33:23 -07: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
}
b := dAtA[iNdEx]
2016-09-30 02:33:23 -07:00
iNdEx++
wire |= (uint64(b) & 0x7F) << shift
if b < 0x80 {
break
}
}
fieldNum := int32(wire >> 3)
wireType := int(wire & 0x7)
if wireType == 4 {
2017-05-11 01:29:10 -07:00
return fmt.Errorf("proto: IngressTLS: wiretype end group for non-group")
2016-09-30 02:33:23 -07:00
}
if fieldNum <= 0 {
2017-05-11 01:29:10 -07:00
return fmt.Errorf("proto: IngressTLS: illegal tag %d (wire type %d)", fieldNum, wire)
2016-09-30 02:33:23 -07:00
}
switch fieldNum {
case 1:
if wireType != 2 {
2017-05-11 01:29:10 -07:00
return fmt.Errorf("proto: wrong wireType = %d for field Hosts", wireType)
2016-09-30 02:33:23 -07:00
}
var stringLen uint64
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowGenerated
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
2016-09-30 02:33:23 -07: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
}
m.Hosts = append(m.Hosts, string(dAtA[iNdEx:postIndex]))
2016-09-30 02:33:23 -07:00
iNdEx = postIndex
case 2:
if wireType != 2 {
2017-05-11 01:29:10 -07:00
return fmt.Errorf("proto: wrong wireType = %d for field SecretName", wireType)
2016-09-30 02:33:23 -07:00
}
2017-05-11 01:29:10 -07:00
var stringLen uint64
2016-09-30 02:33:23 -07:00
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowGenerated
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
2016-09-30 02:33:23 -07:00
iNdEx++
2017-05-11 01:29:10 -07:00
stringLen |= (uint64(b) & 0x7F) << shift
2016-09-30 02:33:23 -07:00
if b < 0x80 {
break
}
}
2017-05-11 01:29:10 -07:00
intStringLen := int(stringLen)
if intStringLen < 0 {
return ErrInvalidLengthGenerated
}
postIndex := iNdEx + intStringLen
if postIndex > l {
return io.ErrUnexpectedEOF
}
m.SecretName = string(dAtA[iNdEx:postIndex])
2017-05-11 01:29:10 -07:00
iNdEx = postIndex
2016-09-30 02:33:23 -07:00
default:
iNdEx = preIndex
skippy, err := skipGenerated(dAtA[iNdEx:])
2016-09-30 02:33:23 -07: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
}
func (m *NetworkPolicy) Unmarshal(dAtA []byte) error {
l := len(dAtA)
2016-09-30 02:33:23 -07: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
}
b := dAtA[iNdEx]
2016-09-30 02:33:23 -07: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: NetworkPolicy: wiretype end group for non-group")
}
if fieldNum <= 0 {
return fmt.Errorf("proto: NetworkPolicy: illegal tag %d (wire type %d)", fieldNum, wire)
}
switch fieldNum {
case 1:
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field ObjectMeta", wireType)
}
var msglen int
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowGenerated
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
2016-09-30 02:33:23 -07: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 err := m.ObjectMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
2016-09-30 02:33:23 -07:00
return err
}
iNdEx = postIndex
case 2:
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field Spec", wireType)
}
var msglen int
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowGenerated
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
2016-09-30 02:33:23 -07: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 err := m.Spec.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
2016-09-30 02:33:23 -07:00
return err
}
iNdEx = postIndex
default:
iNdEx = preIndex
skippy, err := skipGenerated(dAtA[iNdEx:])
2016-09-30 02:33:23 -07: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
}
func (m *NetworkPolicyEgressRule) Unmarshal(dAtA []byte) error {
l := len(dAtA)
2016-09-30 02:33:23 -07: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
}
b := dAtA[iNdEx]
2016-09-30 02:33:23 -07: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: NetworkPolicyEgressRule: wiretype end group for non-group")
2016-09-30 02:33:23 -07:00
}
if fieldNum <= 0 {
return fmt.Errorf("proto: NetworkPolicyEgressRule: illegal tag %d (wire type %d)", fieldNum, wire)
2016-09-30 02:33:23 -07:00
}
switch fieldNum {
case 1:
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field Ports", wireType)
}
var msglen int
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowGenerated
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
2016-09-30 02:33:23 -07: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.Ports = append(m.Ports, NetworkPolicyPort{})
if err := m.Ports[len(m.Ports)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
2016-09-30 02:33:23 -07:00
return err
}
iNdEx = postIndex
case 2:
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field To", wireType)
2016-09-30 02:33:23 -07:00
}
var msglen int
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowGenerated
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
2016-09-30 02:33:23 -07: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.To = append(m.To, NetworkPolicyPeer{})
if err := m.To[len(m.To)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
2016-09-30 02:33:23 -07:00
return err
}
iNdEx = postIndex
default:
iNdEx = preIndex
skippy, err := skipGenerated(dAtA[iNdEx:])
2016-09-30 02:33:23 -07: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
}
func (m *NetworkPolicyIngressRule) Unmarshal(dAtA []byte) error {
l := len(dAtA)
2016-09-30 02:33:23 -07: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
}
b := dAtA[iNdEx]
2016-09-30 02:33:23 -07: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: NetworkPolicyIngressRule: wiretype end group for non-group")
2016-09-30 02:33:23 -07:00
}
if fieldNum <= 0 {
return fmt.Errorf("proto: NetworkPolicyIngressRule: illegal tag %d (wire type %d)", fieldNum, wire)
2016-09-30 02:33:23 -07:00
}
switch fieldNum {
case 1:
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field Ports", wireType)
2016-09-30 02:33:23 -07:00
}
var msglen int
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowGenerated
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
2016-09-30 02:33:23 -07: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.Ports = append(m.Ports, NetworkPolicyPort{})
if err := m.Ports[len(m.Ports)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
2016-09-30 02:33:23 -07:00
return err
}
iNdEx = postIndex
case 2:
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field From", wireType)
2016-09-30 02:33:23 -07:00
}
var msglen int
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowGenerated
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
2016-09-30 02:33:23 -07: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.From = append(m.From, NetworkPolicyPeer{})
if err := m.From[len(m.From)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
2016-09-30 02:33:23 -07:00
return err
}
iNdEx = postIndex
default:
iNdEx = preIndex
skippy, err := skipGenerated(dAtA[iNdEx:])
2016-09-30 02:33:23 -07: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
}
func (m *NetworkPolicyList) Unmarshal(dAtA []byte) error {
l := len(dAtA)
2016-09-30 02:33:23 -07: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
}
b := dAtA[iNdEx]
2016-09-30 02:33:23 -07: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: NetworkPolicyList: wiretype end group for non-group")
2016-09-30 02:33:23 -07:00
}
if fieldNum <= 0 {
return fmt.Errorf("proto: NetworkPolicyList: illegal tag %d (wire type %d)", fieldNum, wire)
2016-09-30 02:33:23 -07:00
}
switch fieldNum {
case 1:
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field ListMeta", wireType)
2016-09-30 02:33:23 -07:00
}
var msglen int
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowGenerated
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
2016-09-30 02:33:23 -07: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 err := m.ListMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
2016-09-30 02:33:23 -07:00
return err
}
iNdEx = postIndex
case 2:
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field Items", wireType)
2016-09-30 02:33:23 -07:00
}
var msglen int
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowGenerated
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
2016-09-30 02:33:23 -07: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.Items = append(m.Items, NetworkPolicy{})
if err := m.Items[len(m.Items)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
2016-09-30 02:33:23 -07:00
return err
}
iNdEx = postIndex
default:
iNdEx = preIndex
skippy, err := skipGenerated(dAtA[iNdEx:])
2016-09-30 02:33:23 -07: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
}
func (m *NetworkPolicyPeer) Unmarshal(dAtA []byte) error {
l := len(dAtA)
2016-09-30 02:33:23 -07: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
}
b := dAtA[iNdEx]
2016-09-30 02:33:23 -07: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: NetworkPolicyPeer: wiretype end group for non-group")
2016-09-30 02:33:23 -07:00
}
if fieldNum <= 0 {
return fmt.Errorf("proto: NetworkPolicyPeer: illegal tag %d (wire type %d)", fieldNum, wire)
2016-09-30 02:33:23 -07:00
}
switch fieldNum {
case 1:
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field PodSelector", wireType)
2016-09-30 02:33:23 -07:00
}
var msglen int
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowGenerated
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
2016-09-30 02:33:23 -07: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.PodSelector == nil {
m.PodSelector = &k8s_io_apimachinery_pkg_apis_meta_v1.LabelSelector{}
2016-09-30 02:33:23 -07:00
}
if err := m.PodSelector.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
2016-09-30 02:33:23 -07:00
return err
}
iNdEx = postIndex
case 2:
2016-09-30 02:33:23 -07:00
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field NamespaceSelector", wireType)
2016-09-30 02:33:23 -07:00
}
var msglen int
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowGenerated
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
2016-09-30 02:33:23 -07: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.NamespaceSelector == nil {
m.NamespaceSelector = &k8s_io_apimachinery_pkg_apis_meta_v1.LabelSelector{}
}
if err := m.NamespaceSelector.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
2016-09-30 02:33:23 -07:00
return err
}
iNdEx = postIndex
case 3:
2016-09-30 02:33:23 -07:00
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field IPBlock", wireType)
2016-09-30 02:33:23 -07:00
}
var msglen int
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowGenerated
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
2016-09-30 02:33:23 -07: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.IPBlock == nil {
m.IPBlock = &IPBlock{}
}
if err := m.IPBlock.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
2016-09-30 02:33:23 -07:00
return err
}
iNdEx = postIndex
default:
iNdEx = preIndex
skippy, err := skipGenerated(dAtA[iNdEx:])
2016-09-30 02:33:23 -07: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
}
func (m *NetworkPolicyPort) Unmarshal(dAtA []byte) error {
l := len(dAtA)
2016-09-30 02:33:23 -07: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
}
b := dAtA[iNdEx]
2016-09-30 02:33:23 -07: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: NetworkPolicyPort: wiretype end group for non-group")
2016-09-30 02:33:23 -07:00
}
if fieldNum <= 0 {
return fmt.Errorf("proto: NetworkPolicyPort: illegal tag %d (wire type %d)", fieldNum, wire)
2016-09-30 02:33:23 -07:00
}
switch fieldNum {
case 1:
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field Protocol", wireType)
2016-09-30 02:33:23 -07:00
}
var stringLen uint64
2016-09-30 02:33:23 -07:00
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowGenerated
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
2016-09-30 02:33:23 -07:00
iNdEx++
stringLen |= (uint64(b) & 0x7F) << shift
2016-09-30 02:33:23 -07:00
if b < 0x80 {
break
}
}
intStringLen := int(stringLen)
if intStringLen < 0 {
2016-09-30 02:33:23 -07:00
return ErrInvalidLengthGenerated
}
postIndex := iNdEx + intStringLen
2016-09-30 02:33:23 -07:00
if postIndex > l {
return io.ErrUnexpectedEOF
}
s := k8s_io_api_core_v1.Protocol(dAtA[iNdEx:postIndex])
m.Protocol = &s
2016-09-30 02:33:23 -07:00
iNdEx = postIndex
case 2:
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field Port", wireType)
2016-09-30 02:33:23 -07:00
}
var msglen int
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowGenerated
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
2016-09-30 02:33:23 -07: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.Port == nil {
m.Port = &k8s_io_apimachinery_pkg_util_intstr.IntOrString{}
}
if err := m.Port.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
2016-09-30 02:33:23 -07:00
return err
}
iNdEx = postIndex
default:
iNdEx = preIndex
skippy, err := skipGenerated(dAtA[iNdEx:])
2016-09-30 02:33:23 -07: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
}
func (m *NetworkPolicySpec) Unmarshal(dAtA []byte) error {
l := len(dAtA)
2016-09-30 02:33:23 -07: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
}
b := dAtA[iNdEx]
2016-09-30 02:33:23 -07: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: NetworkPolicySpec: wiretype end group for non-group")
2016-09-30 02:33:23 -07:00
}
if fieldNum <= 0 {
return fmt.Errorf("proto: NetworkPolicySpec: illegal tag %d (wire type %d)", fieldNum, wire)
2016-09-30 02:33:23 -07:00
}
switch fieldNum {
case 1:
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field PodSelector", wireType)
2016-09-30 02:33:23 -07:00
}
var msglen int
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowGenerated
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
2016-09-30 02:33:23 -07: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 err := m.PodSelector.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
2016-09-30 02:33:23 -07:00
return err
}
iNdEx = postIndex
case 2:
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field Ingress", 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.Ingress = append(m.Ingress, NetworkPolicyIngressRule{})
if err := m.Ingress[len(m.Ingress)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
return err
}
iNdEx = postIndex
case 3:
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field Egress", 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.Egress = append(m.Egress, NetworkPolicyEgressRule{})
if err := m.Egress[len(m.Egress)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
return err
}
iNdEx = postIndex
case 4:
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field PolicyTypes", 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.PolicyTypes = append(m.PolicyTypes, PolicyType(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 *PodSecurityPolicy) 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: PodSecurityPolicy: wiretype end group for non-group")
}
if fieldNum <= 0 {
return fmt.Errorf("proto: PodSecurityPolicy: illegal tag %d (wire type %d)", fieldNum, wire)
}
switch fieldNum {
case 1:
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field ObjectMeta", 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.ObjectMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
return err
}
iNdEx = postIndex
case 2:
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field Spec", wireType)
2016-09-30 02:33:23 -07:00
}
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.Spec.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 *PodSecurityPolicyList) 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: PodSecurityPolicyList: wiretype end group for non-group")
}
if fieldNum <= 0 {
return fmt.Errorf("proto: PodSecurityPolicyList: 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]
2016-09-30 02:33:23 -07: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.Items = append(m.Items, PodSecurityPolicy{})
if err := m.Items[len(m.Items)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
2016-09-30 02:33:23 -07:00
return err
}
iNdEx = postIndex
default:
iNdEx = preIndex
skippy, err := skipGenerated(dAtA[iNdEx:])
2016-09-30 02:33:23 -07: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
}
func (m *PodSecurityPolicySpec) Unmarshal(dAtA []byte) error {
l := len(dAtA)
2016-09-30 02:33:23 -07: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
}
b := dAtA[iNdEx]
2016-09-30 02:33:23 -07: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: PodSecurityPolicySpec: wiretype end group for non-group")
}
if fieldNum <= 0 {
return fmt.Errorf("proto: PodSecurityPolicySpec: illegal tag %d (wire type %d)", fieldNum, wire)
}
switch fieldNum {
case 1:
if wireType != 0 {
return fmt.Errorf("proto: wrong wireType = %d for field Privileged", wireType)
}
var v int
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowGenerated
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
2016-09-30 02:33:23 -07:00
iNdEx++
v |= (int(b) & 0x7F) << shift
if b < 0x80 {
break
}
}
m.Privileged = bool(v != 0)
case 2:
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field DefaultAddCapabilities", wireType)
}
var stringLen uint64
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowGenerated
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
2016-09-30 02:33:23 -07: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
}
m.DefaultAddCapabilities = append(m.DefaultAddCapabilities, k8s_io_api_core_v1.Capability(dAtA[iNdEx:postIndex]))
2016-09-30 02:33:23 -07:00
iNdEx = postIndex
case 3:
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field RequiredDropCapabilities", wireType)
}
var stringLen uint64
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowGenerated
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
2016-09-30 02:33:23 -07: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
}
m.RequiredDropCapabilities = append(m.RequiredDropCapabilities, k8s_io_api_core_v1.Capability(dAtA[iNdEx:postIndex]))
2016-09-30 02:33:23 -07:00
iNdEx = postIndex
case 4:
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field AllowedCapabilities", wireType)
}
var stringLen uint64
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowGenerated
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
2016-09-30 02:33:23 -07: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
}
m.AllowedCapabilities = append(m.AllowedCapabilities, k8s_io_api_core_v1.Capability(dAtA[iNdEx:postIndex]))
2016-09-30 02:33:23 -07:00
iNdEx = postIndex
case 5:
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field Volumes", wireType)
}
var stringLen uint64
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowGenerated
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
2016-09-30 02:33:23 -07: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
}
m.Volumes = append(m.Volumes, FSType(dAtA[iNdEx:postIndex]))
2016-09-30 02:33:23 -07:00
iNdEx = postIndex
case 6:
if wireType != 0 {
return fmt.Errorf("proto: wrong wireType = %d for field HostNetwork", wireType)
}
var v int
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowGenerated
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
2016-09-30 02:33:23 -07:00
iNdEx++
v |= (int(b) & 0x7F) << shift
if b < 0x80 {
break
}
}
m.HostNetwork = bool(v != 0)
case 7:
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field HostPorts", wireType)
}
var msglen int
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowGenerated
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
2016-09-30 02:33:23 -07: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.HostPorts = append(m.HostPorts, HostPortRange{})
if err := m.HostPorts[len(m.HostPorts)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
2016-09-30 02:33:23 -07:00
return err
}
iNdEx = postIndex
case 8:
if wireType != 0 {
return fmt.Errorf("proto: wrong wireType = %d for field HostPID", wireType)
}
var v int
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowGenerated
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
2016-09-30 02:33:23 -07:00
iNdEx++
v |= (int(b) & 0x7F) << shift
if b < 0x80 {
break
}
}
m.HostPID = bool(v != 0)
case 9:
if wireType != 0 {
return fmt.Errorf("proto: wrong wireType = %d for field HostIPC", wireType)
}
var v int
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowGenerated
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
2016-09-30 02:33:23 -07:00
iNdEx++
v |= (int(b) & 0x7F) << shift
if b < 0x80 {
break
}
}
m.HostIPC = bool(v != 0)
case 10:
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field SELinux", wireType)
}
var msglen int
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowGenerated
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
2016-09-30 02:33:23 -07: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 err := m.SELinux.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
2016-09-30 02:33:23 -07:00
return err
}
iNdEx = postIndex
case 11:
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field RunAsUser", wireType)
}
var msglen int
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowGenerated
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
2016-09-30 02:33:23 -07: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 err := m.RunAsUser.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
2016-09-30 02:33:23 -07:00
return err
}
iNdEx = postIndex
case 12:
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field SupplementalGroups", wireType)
}
var msglen int
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowGenerated
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
2016-09-30 02:33:23 -07: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 err := m.SupplementalGroups.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
2016-09-30 02:33:23 -07:00
return err
}
iNdEx = postIndex
case 13:
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field FSGroup", wireType)
}
var msglen int
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowGenerated
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
2016-09-30 02:33:23 -07: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 err := m.FSGroup.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
2016-09-30 02:33:23 -07:00
return err
}
iNdEx = postIndex
case 14:
if wireType != 0 {
return fmt.Errorf("proto: wrong wireType = %d for field ReadOnlyRootFilesystem", wireType)
}
var v int
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowGenerated
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
2016-09-30 02:33:23 -07:00
iNdEx++
v |= (int(b) & 0x7F) << shift
if b < 0x80 {
break
}
}
m.ReadOnlyRootFilesystem = bool(v != 0)
case 15:
if wireType != 0 {
return fmt.Errorf("proto: wrong wireType = %d for field DefaultAllowPrivilegeEscalation", wireType)
2016-09-30 02:33:23 -07:00
}
var v int
2016-09-30 02:33:23 -07:00
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowGenerated
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
2016-09-30 02:33:23 -07:00
iNdEx++
v |= (int(b) & 0x7F) << shift
2016-09-30 02:33:23 -07:00
if b < 0x80 {
break
}
2017-05-11 01:29:10 -07:00
}
b := bool(v != 0)
m.DefaultAllowPrivilegeEscalation = &b
case 16:
if wireType != 0 {
return fmt.Errorf("proto: wrong wireType = %d for field AllowPrivilegeEscalation", wireType)
}
var v int
2017-05-11 01:29:10 -07:00
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowGenerated
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
2017-05-11 01:29:10 -07:00
iNdEx++
v |= (int(b) & 0x7F) << shift
2017-05-11 01:29:10 -07:00
if b < 0x80 {
break
}
}
b := bool(v != 0)
m.AllowPrivilegeEscalation = &b
case 17:
2017-05-11 01:29:10 -07:00
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field AllowedHostPaths", wireType)
2017-05-11 01:29:10 -07:00
}
var msglen int
2017-05-11 01:29:10 -07:00
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowGenerated
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
2017-05-11 01:29:10 -07:00
iNdEx++
msglen |= (int(b) & 0x7F) << shift
2017-05-11 01:29:10 -07:00
if b < 0x80 {
break
}
}
if msglen < 0 {
2017-05-11 01:29:10 -07:00
return ErrInvalidLengthGenerated
}
postIndex := iNdEx + msglen
2017-05-11 01:29:10 -07:00
if postIndex > l {
return io.ErrUnexpectedEOF
}
m.AllowedHostPaths = append(m.AllowedHostPaths, AllowedHostPath{})
if err := m.AllowedHostPaths[len(m.AllowedHostPaths)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
return err
}
2017-05-11 01:29:10 -07:00
iNdEx = postIndex
case 18:
2017-05-11 01:29:10 -07:00
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field AllowedFlexVolumes", wireType)
2017-05-11 01:29:10 -07:00
}
var msglen int
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowGenerated
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
2017-05-11 01:29:10 -07: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.AllowedFlexVolumes = append(m.AllowedFlexVolumes, AllowedFlexVolume{})
if err := m.AllowedFlexVolumes[len(m.AllowedFlexVolumes)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
2017-05-11 01:29:10 -07:00
return err
}
iNdEx = postIndex
case 19:
2017-05-11 01:29:10 -07:00
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field AllowedUnsafeSysctls", wireType)
2017-05-11 01:29:10 -07:00
}
var stringLen uint64
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowGenerated
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
2017-05-11 01:29:10 -07: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
}
m.AllowedUnsafeSysctls = append(m.AllowedUnsafeSysctls, string(dAtA[iNdEx:postIndex]))
2017-05-11 01:29:10 -07:00
iNdEx = postIndex
case 20:
2017-05-11 01:29:10 -07:00
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field ForbiddenSysctls", wireType)
2017-05-11 01:29:10 -07:00
}
var stringLen uint64
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowGenerated
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
2017-05-11 01:29:10 -07: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
}
m.ForbiddenSysctls = append(m.ForbiddenSysctls, string(dAtA[iNdEx:postIndex]))
2017-05-11 01:29:10 -07:00
iNdEx = postIndex
case 21:
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field AllowedProcMountTypes", 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.AllowedProcMountTypes = append(m.AllowedProcMountTypes, k8s_io_api_core_v1.ProcMountType(dAtA[iNdEx:postIndex]))
iNdEx = postIndex
case 22:
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field RunAsGroup", 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.RunAsGroup == nil {
m.RunAsGroup = &RunAsGroupStrategyOptions{}
}
if err := m.RunAsGroup.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
return err
}
iNdEx = postIndex
2017-05-11 01:29:10 -07:00
default:
iNdEx = preIndex
skippy, err := skipGenerated(dAtA[iNdEx:])
2017-05-11 01:29:10 -07: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
}
func (m *ReplicaSet) Unmarshal(dAtA []byte) error {
l := len(dAtA)
2016-09-30 02:33:23 -07: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
}
b := dAtA[iNdEx]
2016-09-30 02:33:23 -07: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: ReplicaSet: wiretype end group for non-group")
2016-09-30 02:33:23 -07:00
}
if fieldNum <= 0 {
return fmt.Errorf("proto: ReplicaSet: illegal tag %d (wire type %d)", fieldNum, wire)
2016-09-30 02:33:23 -07:00
}
switch fieldNum {
case 1:
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field ObjectMeta", wireType)
2016-09-30 02:33:23 -07:00
}
var msglen int
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowGenerated
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
2016-09-30 02:33:23 -07: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 err := m.ObjectMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
2016-09-30 02:33:23 -07:00
return err
}
iNdEx = postIndex
case 2:
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field Spec", wireType)
2016-09-30 02:33:23 -07:00
}
var msglen int
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowGenerated
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
2016-09-30 02:33:23 -07: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 err := m.Spec.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
2016-09-30 02:33:23 -07:00
return err
}
iNdEx = postIndex
case 3:
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType)
2016-09-30 02:33:23 -07:00
}
var msglen int
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowGenerated
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
2016-09-30 02:33:23 -07: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 err := m.Status.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
2016-09-30 02:33:23 -07:00
return err
}
iNdEx = postIndex
default:
iNdEx = preIndex
skippy, err := skipGenerated(dAtA[iNdEx:])
2016-09-30 02:33:23 -07: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
}
func (m *ReplicaSetCondition) Unmarshal(dAtA []byte) error {
l := len(dAtA)
2016-09-30 02:33:23 -07: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
}
b := dAtA[iNdEx]
2016-09-30 02:33:23 -07: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: ReplicaSetCondition: wiretype end group for non-group")
2016-09-30 02:33:23 -07:00
}
if fieldNum <= 0 {
return fmt.Errorf("proto: ReplicaSetCondition: illegal tag %d (wire type %d)", fieldNum, wire)
2016-09-30 02:33:23 -07:00
}
switch fieldNum {
case 1:
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field Type", wireType)
2016-09-30 02:33:23 -07:00
}
var stringLen uint64
2016-09-30 02:33:23 -07:00
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowGenerated
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
2016-09-30 02:33:23 -07:00
iNdEx++
stringLen |= (uint64(b) & 0x7F) << shift
2016-09-30 02:33:23 -07:00
if b < 0x80 {
break
}
}
intStringLen := int(stringLen)
if intStringLen < 0 {
return ErrInvalidLengthGenerated
}
postIndex := iNdEx + intStringLen
if postIndex > l {
return io.ErrUnexpectedEOF
}
m.Type = ReplicaSetConditionType(dAtA[iNdEx:postIndex])
iNdEx = postIndex
2016-09-30 02:33:23 -07:00
case 2:
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType)
2016-09-30 02:33:23 -07:00
}
var stringLen uint64
2016-09-30 02:33:23 -07:00
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowGenerated
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
2016-09-30 02:33:23 -07:00
iNdEx++
stringLen |= (uint64(b) & 0x7F) << shift
2016-09-30 02:33:23 -07:00
if b < 0x80 {
break
}
}
intStringLen := int(stringLen)
if intStringLen < 0 {
return ErrInvalidLengthGenerated
}
postIndex := iNdEx + intStringLen
if postIndex > l {
return io.ErrUnexpectedEOF
}
m.Status = k8s_io_api_core_v1.ConditionStatus(dAtA[iNdEx:postIndex])
iNdEx = postIndex
2016-09-30 02:33:23 -07:00
case 3:
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field LastTransitionTime", wireType)
2016-09-30 02:33:23 -07:00
}
var msglen int
2016-09-30 02:33:23 -07:00
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowGenerated
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
2016-09-30 02:33:23 -07:00
iNdEx++
msglen |= (int(b) & 0x7F) << shift
2016-09-30 02:33:23 -07:00
if b < 0x80 {
break
}
}
if msglen < 0 {
return ErrInvalidLengthGenerated
}
postIndex := iNdEx + msglen
if postIndex > l {
return io.ErrUnexpectedEOF
}
if err := m.LastTransitionTime.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
return err
}
iNdEx = postIndex
2016-09-30 02:33:23 -07:00
case 4:
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field Reason", wireType)
2016-09-30 02:33:23 -07:00
}
var stringLen uint64
2017-05-11 01:29:10 -07:00
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowGenerated
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
2017-05-11 01:29:10 -07:00
iNdEx++
stringLen |= (uint64(b) & 0x7F) << shift
2017-05-11 01:29:10 -07:00
if b < 0x80 {
break
}
}
intStringLen := int(stringLen)
if intStringLen < 0 {
return ErrInvalidLengthGenerated
2017-05-11 01:29:10 -07:00
}
postIndex := iNdEx + intStringLen
if postIndex > l {
return io.ErrUnexpectedEOF
2017-05-11 01:29:10 -07:00
}
m.Reason = string(dAtA[iNdEx:postIndex])
iNdEx = postIndex
case 5:
2017-05-11 01:29:10 -07:00
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field Message", wireType)
2017-05-11 01:29:10 -07:00
}
var stringLen uint64
2016-09-30 02:33:23 -07:00
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowGenerated
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
2016-09-30 02:33:23 -07:00
iNdEx++
stringLen |= (uint64(b) & 0x7F) << shift
2016-09-30 02:33:23 -07:00
if b < 0x80 {
break
}
}
intStringLen := int(stringLen)
if intStringLen < 0 {
2017-05-11 01:29:10 -07:00
return ErrInvalidLengthGenerated
}
postIndex := iNdEx + intStringLen
2017-05-11 01:29:10 -07:00
if postIndex > l {
return io.ErrUnexpectedEOF
}
m.Message = string(dAtA[iNdEx:postIndex])
2017-05-11 01:29:10 -07:00
iNdEx = postIndex
2016-09-30 02:33:23 -07:00
default:
iNdEx = preIndex
skippy, err := skipGenerated(dAtA[iNdEx:])
2016-09-30 02:33:23 -07: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
}
func (m *ReplicaSetList) Unmarshal(dAtA []byte) error {
l := len(dAtA)
2016-09-30 02:33:23 -07: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
}
b := dAtA[iNdEx]
2016-09-30 02:33:23 -07: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: ReplicaSetList: wiretype end group for non-group")
2016-09-30 02:33:23 -07:00
}
if fieldNum <= 0 {
return fmt.Errorf("proto: ReplicaSetList: illegal tag %d (wire type %d)", fieldNum, wire)
2016-09-30 02:33:23 -07:00
}
switch fieldNum {
case 1:
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field ListMeta", wireType)
2016-09-30 02:33:23 -07:00
}
var msglen int
2016-09-30 02:33:23 -07:00
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowGenerated
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
2016-09-30 02:33:23 -07:00
iNdEx++
msglen |= (int(b) & 0x7F) << shift
2016-09-30 02:33:23 -07:00
if b < 0x80 {
break
}
}
if msglen < 0 {
2016-09-30 02:33:23 -07:00
return ErrInvalidLengthGenerated
}
postIndex := iNdEx + msglen
if postIndex > l {
2017-05-11 01:29:10 -07:00
return io.ErrUnexpectedEOF
}
if err := m.ListMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
return err
2017-05-11 01:29:10 -07:00
}
iNdEx = postIndex
case 2:
2017-05-11 01:29:10 -07:00
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field Items", wireType)
2017-05-11 01:29:10 -07:00
}
var msglen int
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowGenerated
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
2017-05-11 01:29:10 -07: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.Items = append(m.Items, ReplicaSet{})
if err := m.Items[len(m.Items)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
2017-05-11 01:29:10 -07:00
return err
}
iNdEx = postIndex
default:
iNdEx = preIndex
skippy, err := skipGenerated(dAtA[iNdEx:])
2017-05-11 01:29:10 -07: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
}
func (m *ReplicaSetSpec) Unmarshal(dAtA []byte) error {
l := len(dAtA)
2016-09-30 02:33:23 -07: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
}
b := dAtA[iNdEx]
2016-09-30 02:33:23 -07: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: ReplicaSetSpec: wiretype end group for non-group")
2016-09-30 02:33:23 -07:00
}
if fieldNum <= 0 {
return fmt.Errorf("proto: ReplicaSetSpec: illegal tag %d (wire type %d)", fieldNum, wire)
2016-09-30 02:33:23 -07:00
}
switch fieldNum {
case 1:
if wireType != 0 {
return fmt.Errorf("proto: wrong wireType = %d for field Replicas", wireType)
}
var v int32
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowGenerated
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
iNdEx++
v |= (int32(b) & 0x7F) << shift
if b < 0x80 {
break
}
}
m.Replicas = &v
case 2:
2016-09-30 02:33:23 -07:00
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field Selector", wireType)
2016-09-30 02:33:23 -07:00
}
var msglen int
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowGenerated
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
2016-09-30 02:33:23 -07: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.Selector == nil {
m.Selector = &k8s_io_apimachinery_pkg_apis_meta_v1.LabelSelector{}
2016-09-30 02:33:23 -07:00
}
if err := m.Selector.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
2016-09-30 02:33:23 -07:00
return err
}
iNdEx = postIndex
case 3:
2016-09-30 02:33:23 -07:00
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field Template", wireType)
2016-09-30 02:33:23 -07:00
}
var msglen int
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowGenerated
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
2016-09-30 02:33:23 -07: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 err := m.Template.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
2016-09-30 02:33:23 -07:00
return err
}
iNdEx = postIndex
case 4:
if wireType != 0 {
return fmt.Errorf("proto: wrong wireType = %d for field MinReadySeconds", wireType)
}
m.MinReadySeconds = 0
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowGenerated
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
iNdEx++
m.MinReadySeconds |= (int32(b) & 0x7F) << shift
if b < 0x80 {
break
}
}
2016-09-30 02:33:23 -07:00
default:
iNdEx = preIndex
skippy, err := skipGenerated(dAtA[iNdEx:])
2016-09-30 02:33:23 -07: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
}
func (m *ReplicaSetStatus) Unmarshal(dAtA []byte) error {
l := len(dAtA)
2016-09-30 02:33:23 -07: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
}
b := dAtA[iNdEx]
2016-09-30 02:33:23 -07: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: ReplicaSetStatus: wiretype end group for non-group")
2016-09-30 02:33:23 -07:00
}
if fieldNum <= 0 {
return fmt.Errorf("proto: ReplicaSetStatus: illegal tag %d (wire type %d)", fieldNum, wire)
2016-09-30 02:33:23 -07:00
}
switch fieldNum {
case 1:
if wireType != 0 {
return fmt.Errorf("proto: wrong wireType = %d for field Replicas", wireType)
2016-09-30 02:33:23 -07:00
}
m.Replicas = 0
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowGenerated
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
iNdEx++
m.Replicas |= (int32(b) & 0x7F) << shift
if b < 0x80 {
break
}
}
case 2:
if wireType != 0 {
return fmt.Errorf("proto: wrong wireType = %d for field FullyLabeledReplicas", wireType)
}
m.FullyLabeledReplicas = 0
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowGenerated
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
iNdEx++
m.FullyLabeledReplicas |= (int32(b) & 0x7F) << shift
if b < 0x80 {
break
}
}
case 3:
if wireType != 0 {
return fmt.Errorf("proto: wrong wireType = %d for field ObservedGeneration", wireType)
}
m.ObservedGeneration = 0
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowGenerated
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
iNdEx++
m.ObservedGeneration |= (int64(b) & 0x7F) << shift
if b < 0x80 {
break
}
}
case 4:
if wireType != 0 {
return fmt.Errorf("proto: wrong wireType = %d for field ReadyReplicas", wireType)
}
m.ReadyReplicas = 0
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowGenerated
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
iNdEx++
m.ReadyReplicas |= (int32(b) & 0x7F) << shift
if b < 0x80 {
break
}
}
case 5:
if wireType != 0 {
return fmt.Errorf("proto: wrong wireType = %d for field AvailableReplicas", wireType)
}
m.AvailableReplicas = 0
2016-09-30 02:33:23 -07:00
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowGenerated
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
2016-09-30 02:33:23 -07:00
iNdEx++
m.AvailableReplicas |= (int32(b) & 0x7F) << shift
2016-09-30 02:33:23 -07:00
if b < 0x80 {
break
}
}
case 6:
2016-09-30 02:33:23 -07:00
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field Conditions", wireType)
2016-09-30 02:33:23 -07:00
}
var msglen int
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowGenerated
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
2016-09-30 02:33:23 -07: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.Conditions = append(m.Conditions, ReplicaSetCondition{})
if err := m.Conditions[len(m.Conditions)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
2016-09-30 02:33:23 -07:00
return err
}
iNdEx = postIndex
default:
iNdEx = preIndex
skippy, err := skipGenerated(dAtA[iNdEx:])
2016-09-30 02:33:23 -07: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
}
func (m *ReplicationControllerDummy) Unmarshal(dAtA []byte) error {
l := len(dAtA)
2016-09-30 02:33:23 -07: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
}
b := dAtA[iNdEx]
2016-09-30 02:33:23 -07: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: ReplicationControllerDummy: wiretype end group for non-group")
2016-09-30 02:33:23 -07:00
}
if fieldNum <= 0 {
return fmt.Errorf("proto: ReplicationControllerDummy: illegal tag %d (wire type %d)", fieldNum, wire)
2016-09-30 02:33:23 -07:00
}
switch fieldNum {
default:
iNdEx = preIndex
skippy, err := skipGenerated(dAtA[iNdEx:])
2016-09-30 02:33:23 -07: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
}
func (m *RollbackConfig) Unmarshal(dAtA []byte) error {
l := len(dAtA)
2016-09-30 02:33:23 -07: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
}
b := dAtA[iNdEx]
2016-09-30 02:33:23 -07: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: RollbackConfig: wiretype end group for non-group")
2016-09-30 02:33:23 -07:00
}
if fieldNum <= 0 {
return fmt.Errorf("proto: RollbackConfig: illegal tag %d (wire type %d)", fieldNum, wire)
2016-09-30 02:33:23 -07:00
}
switch fieldNum {
case 1:
if wireType != 0 {
return fmt.Errorf("proto: wrong wireType = %d for field Revision", wireType)
2016-09-30 02:33:23 -07:00
}
m.Revision = 0
2016-09-30 02:33:23 -07:00
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowGenerated
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
2016-09-30 02:33:23 -07:00
iNdEx++
m.Revision |= (int64(b) & 0x7F) << shift
2016-09-30 02:33:23 -07:00
if b < 0x80 {
break
}
}
default:
iNdEx = preIndex
skippy, err := skipGenerated(dAtA[iNdEx:])
2016-09-30 02:33:23 -07: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
}
func (m *RollingUpdateDaemonSet) Unmarshal(dAtA []byte) error {
l := len(dAtA)
2016-09-30 02:33:23 -07: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
}
b := dAtA[iNdEx]
2016-09-30 02:33:23 -07: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: RollingUpdateDaemonSet: wiretype end group for non-group")
2016-09-30 02:33:23 -07:00
}
if fieldNum <= 0 {
return fmt.Errorf("proto: RollingUpdateDaemonSet: illegal tag %d (wire type %d)", fieldNum, wire)
2016-09-30 02:33:23 -07:00
}
switch fieldNum {
case 1:
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field MaxUnavailable", wireType)
2016-09-30 02:33:23 -07:00
}
var msglen int
2016-09-30 02:33:23 -07:00
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowGenerated
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
2016-09-30 02:33:23 -07:00
iNdEx++
msglen |= (int(b) & 0x7F) << shift
2016-09-30 02:33:23 -07:00
if b < 0x80 {
break
}
}
if msglen < 0 {
return ErrInvalidLengthGenerated
}
postIndex := iNdEx + msglen
if postIndex > l {
return io.ErrUnexpectedEOF
}
if m.MaxUnavailable == nil {
m.MaxUnavailable = &k8s_io_apimachinery_pkg_util_intstr.IntOrString{}
}
if err := m.MaxUnavailable.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
return err
}
iNdEx = postIndex
2016-09-30 02:33:23 -07:00
default:
iNdEx = preIndex
skippy, err := skipGenerated(dAtA[iNdEx:])
2016-09-30 02:33:23 -07: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
}
func (m *RollingUpdateDeployment) Unmarshal(dAtA []byte) error {
l := len(dAtA)
2016-09-30 02:33:23 -07: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
}
b := dAtA[iNdEx]
2016-09-30 02:33:23 -07: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: RollingUpdateDeployment: wiretype end group for non-group")
2016-09-30 02:33:23 -07:00
}
if fieldNum <= 0 {
return fmt.Errorf("proto: RollingUpdateDeployment: illegal tag %d (wire type %d)", fieldNum, wire)
2016-09-30 02:33:23 -07:00
}
switch fieldNum {
case 1:
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field MaxUnavailable", wireType)
2016-09-30 02:33:23 -07:00
}
var msglen int
2016-09-30 02:33:23 -07:00
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowGenerated
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
2016-09-30 02:33:23 -07:00
iNdEx++
msglen |= (int(b) & 0x7F) << shift
2016-09-30 02:33:23 -07:00
if b < 0x80 {
break
}
}
if msglen < 0 {
return ErrInvalidLengthGenerated
}
postIndex := iNdEx + msglen
if postIndex > l {
return io.ErrUnexpectedEOF
}
if m.MaxUnavailable == nil {
m.MaxUnavailable = &k8s_io_apimachinery_pkg_util_intstr.IntOrString{}
}
if err := m.MaxUnavailable.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
return err
}
iNdEx = postIndex
2016-09-30 02:33:23 -07:00
case 2:
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field MaxSurge", wireType)
2016-09-30 02:33:23 -07:00
}
var msglen int
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowGenerated
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
2016-09-30 02:33:23 -07: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.MaxSurge == nil {
m.MaxSurge = &k8s_io_apimachinery_pkg_util_intstr.IntOrString{}
2016-09-30 02:33:23 -07:00
}
if err := m.MaxSurge.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
return err
2016-09-30 02:33:23 -07:00
}
iNdEx = postIndex
default:
iNdEx = preIndex
skippy, err := skipGenerated(dAtA[iNdEx:])
if err != nil {
return err
}
if skippy < 0 {
2016-09-30 02:33:23 -07:00
return ErrInvalidLengthGenerated
}
if (iNdEx + skippy) > l {
return io.ErrUnexpectedEOF
}
iNdEx += skippy
}
}
if iNdEx > l {
return io.ErrUnexpectedEOF
}
return nil
}
func (m *RunAsGroupStrategyOptions) 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: RunAsGroupStrategyOptions: wiretype end group for non-group")
}
if fieldNum <= 0 {
return fmt.Errorf("proto: RunAsGroupStrategyOptions: illegal tag %d (wire type %d)", fieldNum, wire)
}
switch fieldNum {
case 1:
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field Rule", 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.Rule = RunAsGroupStrategy(dAtA[iNdEx:postIndex])
iNdEx = postIndex
case 2:
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field Ranges", 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.Ranges = append(m.Ranges, IDRange{})
if err := m.Ranges[len(m.Ranges)-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
}
func (m *RunAsUserStrategyOptions) 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 {
2016-09-30 02:33:23 -07:00
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: RunAsUserStrategyOptions: wiretype end group for non-group")
}
if fieldNum <= 0 {
return fmt.Errorf("proto: RunAsUserStrategyOptions: illegal tag %d (wire type %d)", fieldNum, wire)
}
switch fieldNum {
case 1:
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field Rule", wireType)
2016-09-30 02:33:23 -07:00
}
var stringLen uint64
2016-09-30 02:33:23 -07:00
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowGenerated
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
2016-09-30 02:33:23 -07:00
iNdEx++
stringLen |= (uint64(b) & 0x7F) << shift
2016-09-30 02:33:23 -07:00
if b < 0x80 {
break
}
}
intStringLen := int(stringLen)
if intStringLen < 0 {
2016-09-30 02:33:23 -07:00
return ErrInvalidLengthGenerated
}
postIndex := iNdEx + intStringLen
if postIndex > l {
2016-09-30 02:33:23 -07:00
return io.ErrUnexpectedEOF
}
m.Rule = RunAsUserStrategy(dAtA[iNdEx:postIndex])
2016-09-30 02:33:23 -07:00
iNdEx = postIndex
case 2:
2016-09-30 02:33:23 -07:00
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field Ranges", wireType)
2016-09-30 02:33:23 -07:00
}
var msglen int
2016-09-30 02:33:23 -07:00
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowGenerated
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
2016-09-30 02:33:23 -07:00
iNdEx++
msglen |= (int(b) & 0x7F) << shift
2016-09-30 02:33:23 -07:00
if b < 0x80 {
break
}
}
if msglen < 0 {
2016-09-30 02:33:23 -07:00
return ErrInvalidLengthGenerated
}
postIndex := iNdEx + msglen
2016-09-30 02:33:23 -07:00
if postIndex > l {
return io.ErrUnexpectedEOF
}
m.Ranges = append(m.Ranges, IDRange{})
if err := m.Ranges[len(m.Ranges)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
return err
}
2016-09-30 02:33:23 -07:00
iNdEx = postIndex
default:
iNdEx = preIndex
skippy, err := skipGenerated(dAtA[iNdEx:])
2016-09-30 02:33:23 -07: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
}
func (m *SELinuxStrategyOptions) Unmarshal(dAtA []byte) error {
l := len(dAtA)
2016-09-30 02:33:23 -07: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
}
b := dAtA[iNdEx]
2016-09-30 02:33:23 -07: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: SELinuxStrategyOptions: wiretype end group for non-group")
2016-09-30 02:33:23 -07:00
}
if fieldNum <= 0 {
return fmt.Errorf("proto: SELinuxStrategyOptions: illegal tag %d (wire type %d)", fieldNum, wire)
2016-09-30 02:33:23 -07:00
}
switch fieldNum {
case 1:
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field Rule", wireType)
}
var stringLen uint64
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowGenerated
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
2016-09-30 02:33:23 -07: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
}
m.Rule = SELinuxStrategy(dAtA[iNdEx:postIndex])
2016-09-30 02:33:23 -07:00
iNdEx = postIndex
case 2:
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field SELinuxOptions", wireType)
2016-09-30 02:33:23 -07:00
}
var msglen int
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowGenerated
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
2016-09-30 02:33:23 -07: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.SELinuxOptions == nil {
m.SELinuxOptions = &k8s_io_api_core_v1.SELinuxOptions{}
}
if err := m.SELinuxOptions.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
2016-09-30 02:33:23 -07:00
return err
}
iNdEx = postIndex
default:
iNdEx = preIndex
skippy, err := skipGenerated(dAtA[iNdEx:])
2016-09-30 02:33:23 -07: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
}
func (m *Scale) Unmarshal(dAtA []byte) error {
l := len(dAtA)
2016-09-30 02:33:23 -07: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
}
b := dAtA[iNdEx]
2016-09-30 02:33:23 -07: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: Scale: wiretype end group for non-group")
2016-09-30 02:33:23 -07:00
}
if fieldNum <= 0 {
return fmt.Errorf("proto: Scale: illegal tag %d (wire type %d)", fieldNum, wire)
2016-09-30 02:33:23 -07:00
}
switch fieldNum {
case 1:
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field ObjectMeta", wireType)
}
var msglen int
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowGenerated
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
2016-09-30 02:33:23 -07: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 err := m.ObjectMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
2016-09-30 02:33:23 -07:00
return err
}
iNdEx = postIndex
case 2:
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field Spec", wireType)
2016-09-30 02:33:23 -07:00
}
var msglen int
2016-09-30 02:33:23 -07:00
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowGenerated
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
2016-09-30 02:33:23 -07:00
iNdEx++
msglen |= (int(b) & 0x7F) << shift
2016-09-30 02:33:23 -07:00
if b < 0x80 {
break
}
}
if msglen < 0 {
2016-09-30 02:33:23 -07:00
return ErrInvalidLengthGenerated
}
postIndex := iNdEx + msglen
2016-09-30 02:33:23 -07:00
if postIndex > l {
return io.ErrUnexpectedEOF
}
if err := m.Spec.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
return err
}
2016-09-30 02:33:23 -07:00
iNdEx = postIndex
case 3:
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType)
2016-09-30 02:33:23 -07:00
}
var msglen int
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowGenerated
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
2016-09-30 02:33:23 -07: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 err := m.Status.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
2016-09-30 02:33:23 -07:00
return err
}
iNdEx = postIndex
default:
iNdEx = preIndex
skippy, err := skipGenerated(dAtA[iNdEx:])
2016-09-30 02:33:23 -07: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
}
func (m *ScaleSpec) Unmarshal(dAtA []byte) error {
l := len(dAtA)
2016-09-30 02:33:23 -07: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
}
b := dAtA[iNdEx]
2016-09-30 02:33:23 -07: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: ScaleSpec: wiretype end group for non-group")
2016-09-30 02:33:23 -07:00
}
if fieldNum <= 0 {
return fmt.Errorf("proto: ScaleSpec: illegal tag %d (wire type %d)", fieldNum, wire)
2016-09-30 02:33:23 -07:00
}
switch fieldNum {
case 1:
if wireType != 0 {
return fmt.Errorf("proto: wrong wireType = %d for field Replicas", wireType)
2016-09-30 02:33:23 -07:00
}
m.Replicas = 0
2016-09-30 02:33:23 -07:00
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowGenerated
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
2016-09-30 02:33:23 -07:00
iNdEx++
m.Replicas |= (int32(b) & 0x7F) << shift
2016-09-30 02:33:23 -07:00
if b < 0x80 {
break
}
}
default:
iNdEx = preIndex
skippy, err := skipGenerated(dAtA[iNdEx:])
2016-09-30 02:33:23 -07: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
}
func (m *ScaleStatus) Unmarshal(dAtA []byte) error {
l := len(dAtA)
2016-09-30 02:33:23 -07: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
}
b := dAtA[iNdEx]
2016-09-30 02:33:23 -07: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: ScaleStatus: wiretype end group for non-group")
2016-09-30 02:33:23 -07:00
}
if fieldNum <= 0 {
return fmt.Errorf("proto: ScaleStatus: illegal tag %d (wire type %d)", fieldNum, wire)
2016-09-30 02:33:23 -07:00
}
switch fieldNum {
case 1:
if wireType != 0 {
return fmt.Errorf("proto: wrong wireType = %d for field Replicas", wireType)
}
m.Replicas = 0
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowGenerated
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
iNdEx++
m.Replicas |= (int32(b) & 0x7F) << shift
if b < 0x80 {
break
}
}
case 2:
2016-09-30 02:33:23 -07:00
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field Selector", wireType)
2016-09-30 02:33:23 -07:00
}
var msglen int
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowGenerated
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
2016-09-30 02:33:23 -07: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.Selector == nil {
m.Selector = make(map[string]string)
}
var mapkey string
var mapvalue string
for iNdEx < postIndex {
entryPreIndex := 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)
if fieldNum == 1 {
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 {
return ErrInvalidLengthGenerated
}
postStringIndexmapkey := iNdEx + intStringLenmapkey
if postStringIndexmapkey > l {
return io.ErrUnexpectedEOF
}
mapkey = string(dAtA[iNdEx:postStringIndexmapkey])
iNdEx = postStringIndexmapkey
} else if fieldNum == 2 {
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
} else {
iNdEx = entryPreIndex
skippy, err := skipGenerated(dAtA[iNdEx:])
if err != nil {
return err
}
if skippy < 0 {
return ErrInvalidLengthGenerated
}
if (iNdEx + skippy) > postIndex {
return io.ErrUnexpectedEOF
}
iNdEx += skippy
}
2016-09-30 02:33:23 -07:00
}
m.Selector[mapkey] = mapvalue
2016-09-30 02:33:23 -07:00
iNdEx = postIndex
case 3:
2016-09-30 02:33:23 -07:00
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field TargetSelector", wireType)
2016-09-30 02:33:23 -07:00
}
var stringLen uint64
2016-09-30 02:33:23 -07:00
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowGenerated
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
2016-09-30 02:33:23 -07:00
iNdEx++
stringLen |= (uint64(b) & 0x7F) << shift
2016-09-30 02:33:23 -07:00
if b < 0x80 {
break
}
}
intStringLen := int(stringLen)
if intStringLen < 0 {
2016-09-30 02:33:23 -07:00
return ErrInvalidLengthGenerated
}
postIndex := iNdEx + intStringLen
2016-09-30 02:33:23 -07:00
if postIndex > l {
return io.ErrUnexpectedEOF
}
m.TargetSelector = string(dAtA[iNdEx:postIndex])
2016-09-30 02:33:23 -07:00
iNdEx = postIndex
default:
iNdEx = preIndex
skippy, err := skipGenerated(dAtA[iNdEx:])
2016-09-30 02:33:23 -07: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
}
func (m *SupplementalGroupsStrategyOptions) Unmarshal(dAtA []byte) error {
l := len(dAtA)
2016-09-30 02:33:23 -07: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
}
b := dAtA[iNdEx]
2016-09-30 02:33:23 -07: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: SupplementalGroupsStrategyOptions: wiretype end group for non-group")
2016-09-30 02:33:23 -07:00
}
if fieldNum <= 0 {
return fmt.Errorf("proto: SupplementalGroupsStrategyOptions: illegal tag %d (wire type %d)", fieldNum, wire)
2016-09-30 02:33:23 -07:00
}
switch fieldNum {
case 1:
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field Rule", wireType)
2016-09-30 02:33:23 -07:00
}
var stringLen uint64
2016-09-30 02:33:23 -07:00
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowGenerated
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
2016-09-30 02:33:23 -07:00
iNdEx++
stringLen |= (uint64(b) & 0x7F) << shift
2016-09-30 02:33:23 -07:00
if b < 0x80 {
break
}
}
intStringLen := int(stringLen)
if intStringLen < 0 {
2016-09-30 02:33:23 -07:00
return ErrInvalidLengthGenerated
}
postIndex := iNdEx + intStringLen
2016-09-30 02:33:23 -07:00
if postIndex > l {
return io.ErrUnexpectedEOF
}
m.Rule = SupplementalGroupsStrategyType(dAtA[iNdEx:postIndex])
2016-09-30 02:33:23 -07:00
iNdEx = postIndex
case 2:
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field Ranges", wireType)
2016-09-30 02:33:23 -07:00
}
var msglen int
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowGenerated
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
2016-09-30 02:33:23 -07: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.Ranges = append(m.Ranges, IDRange{})
if err := m.Ranges[len(m.Ranges)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
2016-09-30 02:33:23 -07:00
return err
}
iNdEx = postIndex
default:
iNdEx = preIndex
skippy, err := skipGenerated(dAtA[iNdEx:])
2016-09-30 02:33:23 -07: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
}
func skipGenerated(dAtA []byte) (n int, err error) {
l := len(dAtA)
2016-09-30 02:33:23 -07: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
}
b := dAtA[iNdEx]
2016-09-30 02:33:23 -07: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++
if dAtA[iNdEx-1] < 0x80 {
2016-09-30 02:33:23 -07: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
}
b := dAtA[iNdEx]
2016-09-30 02:33:23 -07: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
}
b := dAtA[iNdEx]
2016-09-30 02:33:23 -07:00
iNdEx++
innerWire |= (uint64(b) & 0x7F) << shift
if b < 0x80 {
break
}
}
innerWireType := int(innerWire & 0x7)
if innerWireType == 4 {
break
}
next, err := skipGenerated(dAtA[start:])
2016-09-30 02:33:23 -07: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")
)
func init() {
proto.RegisterFile("k8s.io/kubernetes/vendor/k8s.io/api/extensions/v1beta1/generated.proto", fileDescriptorGenerated)
}
2016-09-30 02:33:23 -07:00
var fileDescriptorGenerated = []byte{
// 3587 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xec, 0x5b, 0xcd, 0x6f, 0x1c, 0x47,
0x76, 0x57, 0xcf, 0x0c, 0x39, 0xc3, 0x47, 0xf1, 0xab, 0x48, 0x91, 0x63, 0xc9, 0xe2, 0xc8, 0x6d,
0x40, 0x91, 0x1d, 0x69, 0xc6, 0x92, 0x2d, 0x59, 0xb1, 0x10, 0xdb, 0x1c, 0x52, 0x94, 0xe8, 0xf0,
0x63, 0x5c, 0x43, 0x2a, 0x86, 0x11, 0x3b, 0x6e, 0xce, 0x14, 0x87, 0x2d, 0xf6, 0x74, 0xb7, 0xbb,
0x6b, 0x68, 0x0e, 0x90, 0x43, 0x0e, 0x49, 0x80, 0x00, 0x09, 0x92, 0x8b, 0x93, 0x1c, 0x63, 0x04,
0xc8, 0x69, 0x17, 0xbb, 0xb7, 0xdd, 0x83, 0x61, 0x60, 0x01, 0x2f, 0x20, 0x2c, 0xbc, 0x80, 0x6f,
0xeb, 0x13, 0xb1, 0xa6, 0x4f, 0x8b, 0xfd, 0x07, 0x16, 0x3a, 0x2c, 0x16, 0x55, 0x5d, 0xfd, 0xdd,
0xad, 0x69, 0xd2, 0x12, 0xb1, 0x58, 0xec, 0x8d, 0x53, 0xef, 0xbd, 0xdf, 0x7b, 0x55, 0xf5, 0xea,
0xbd, 0xd7, 0x55, 0x8f, 0xb0, 0xbc, 0x77, 0xdb, 0xae, 0xaa, 0x46, 0x6d, 0xaf, 0xb7, 0x4d, 0x2c,
0x9d, 0x50, 0x62, 0xd7, 0xf6, 0x89, 0xde, 0x36, 0xac, 0x9a, 0x20, 0x28, 0xa6, 0x5a, 0x23, 0x07,
0x94, 0xe8, 0xb6, 0x6a, 0xe8, 0x76, 0x6d, 0xff, 0xfa, 0x36, 0xa1, 0xca, 0xf5, 0x5a, 0x87, 0xe8,
0xc4, 0x52, 0x28, 0x69, 0x57, 0x4d, 0xcb, 0xa0, 0x06, 0xba, 0xe8, 0xb0, 0x57, 0x15, 0x53, 0xad,
0xfa, 0xec, 0x55, 0xc1, 0x7e, 0xfe, 0x5a, 0x47, 0xa5, 0xbb, 0xbd, 0xed, 0x6a, 0xcb, 0xe8, 0xd6,
0x3a, 0x46, 0xc7, 0xa8, 0x71, 0xa9, 0xed, 0xde, 0x0e, 0xff, 0xc5, 0x7f, 0xf0, 0xbf, 0x1c, 0xb4,
0xf3, 0x72, 0x40, 0x79, 0xcb, 0xb0, 0x48, 0x6d, 0x3f, 0xa6, 0xf1, 0xfc, 0x6b, 0x3e, 0x4f, 0x57,
0x69, 0xed, 0xaa, 0x3a, 0xb1, 0xfa, 0x35, 0x73, 0xaf, 0xc3, 0x06, 0xec, 0x5a, 0x97, 0x50, 0x25,
0x49, 0xaa, 0x96, 0x26, 0x65, 0xf5, 0x74, 0xaa, 0x76, 0x49, 0x4c, 0xe0, 0xd6, 0x20, 0x01, 0xbb,
0xb5, 0x4b, 0xba, 0x4a, 0x4c, 0xee, 0xd5, 0x34, 0xb9, 0x1e, 0x55, 0xb5, 0x9a, 0xaa, 0x53, 0x9b,
0x5a, 0x51, 0x21, 0xf9, 0x0e, 0x4c, 0x2d, 0x68, 0x9a, 0xf1, 0x09, 0x69, 0x2f, 0x6b, 0xe4, 0xe0,
0x81, 0xa1, 0xf5, 0xba, 0x04, 0x5d, 0x86, 0xe1, 0xb6, 0xa5, 0xee, 0x13, 0xab, 0x2c, 0x5d, 0x92,
0xae, 0x8c, 0xd4, 0xc7, 0x1f, 0x1d, 0x56, 0xce, 0x1c, 0x1d, 0x56, 0x86, 0x97, 0xf8, 0x28, 0x16,
0x54, 0xd9, 0x86, 0x09, 0x21, 0x7c, 0xdf, 0xb0, 0x69, 0x43, 0xa1, 0xbb, 0xe8, 0x06, 0x80, 0xa9,
0xd0, 0xdd, 0x86, 0x45, 0x76, 0xd4, 0x03, 0x21, 0x8e, 0x84, 0x38, 0x34, 0x3c, 0x0a, 0x0e, 0x70,
0xa1, 0xab, 0x50, 0xb2, 0x88, 0xd2, 0xde, 0xd0, 0xb5, 0x7e, 0x39, 0x77, 0x49, 0xba, 0x52, 0xaa,
0x4f, 0x0a, 0x89, 0x12, 0x16, 0xe3, 0xd8, 0xe3, 0x90, 0x3f, 0xcd, 0xc1, 0xc8, 0x92, 0x42, 0xba,
0x86, 0xde, 0x24, 0x14, 0x7d, 0x04, 0x25, 0xb6, 0xf0, 0x6d, 0x85, 0x2a, 0x5c, 0xdb, 0xe8, 0x8d,
0x57, 0xaa, 0xbe, 0x63, 0x78, 0xeb, 0x50, 0x35, 0xf7, 0x3a, 0x6c, 0xc0, 0xae, 0x32, 0xee, 0xea,
0xfe, 0xf5, 0xea, 0xc6, 0xf6, 0x43, 0xd2, 0xa2, 0x6b, 0x84, 0x2a, 0xbe, 0x7d, 0xfe, 0x18, 0xf6,
0x50, 0xd1, 0x3a, 0x14, 0x6c, 0x93, 0xb4, 0xb8, 0x65, 0xa3, 0x37, 0xae, 0x56, 0x9f, 0xe8, 0x76,
0x55, 0xcf, 0xb2, 0xa6, 0x49, 0x5a, 0xf5, 0xb3, 0x02, 0xb9, 0xc0, 0x7e, 0x61, 0x8e, 0x83, 0x1e,
0xc0, 0xb0, 0x4d, 0x15, 0xda, 0xb3, 0xcb, 0x79, 0x8e, 0x58, 0xcd, 0x8c, 0xc8, 0xa5, 0xfc, 0xcd,
0x70, 0x7e, 0x63, 0x81, 0x26, 0xff, 0x26, 0x07, 0xc8, 0xe3, 0x5d, 0x34, 0xf4, 0xb6, 0x4a, 0x55,
0x43, 0x47, 0x6f, 0x40, 0x81, 0xf6, 0x4d, 0x22, 0xb6, 0xe2, 0xb2, 0x6b, 0xd0, 0x66, 0xdf, 0x24,
0x8f, 0x0f, 0x2b, 0xb3, 0x71, 0x09, 0x46, 0xc1, 0x5c, 0x06, 0xad, 0x7a, 0xa6, 0xe6, 0xb8, 0xf4,
0x6b, 0x61, 0xd5, 0x8f, 0x0f, 0x2b, 0x09, 0xc7, 0xa6, 0xea, 0x21, 0x85, 0x0d, 0x44, 0xfb, 0x80,
0x34, 0xc5, 0xa6, 0x9b, 0x96, 0xa2, 0xdb, 0x8e, 0x26, 0xb5, 0x4b, 0xc4, 0x22, 0xbc, 0x9c, 0x6d,
0xd3, 0x98, 0x44, 0xfd, 0xbc, 0xb0, 0x02, 0xad, 0xc6, 0xd0, 0x70, 0x82, 0x06, 0xe6, 0xcd, 0x16,
0x51, 0x6c, 0x43, 0x2f, 0x17, 0xc2, 0xde, 0x8c, 0xf9, 0x28, 0x16, 0x54, 0xf4, 0x12, 0x14, 0xbb,
0xc4, 0xb6, 0x95, 0x0e, 0x29, 0x0f, 0x71, 0xc6, 0x09, 0xc1, 0x58, 0x5c, 0x73, 0x86, 0xb1, 0x4b,
0x97, 0x3f, 0x97, 0x60, 0xcc, 0x5b, 0xb9, 0x55, 0xd5, 0xa6, 0xe8, 0xef, 0x62, 0x7e, 0x58, 0xcd,
0x36, 0x25, 0x26, 0xcd, 0xbd, 0xd0, 0xf3, 0x79, 0x77, 0x24, 0xe0, 0x83, 0x6b, 0x30, 0xa4, 0x52,
0xd2, 0x65, 0xfb, 0x90, 0xbf, 0x32, 0x7a, 0xe3, 0x4a, 0x56, 0x97, 0xa9, 0x8f, 0x09, 0xd0, 0xa1,
0x15, 0x26, 0x8e, 0x1d, 0x14, 0xf9, 0xbf, 0x0a, 0x01, 0xf3, 0x99, 0x6b, 0xa2, 0x0f, 0xa0, 0x64,
0x13, 0x8d, 0xb4, 0xa8, 0x61, 0x09, 0xf3, 0x5f, 0xcd, 0x68, 0xbe, 0xb2, 0x4d, 0xb4, 0xa6, 0x10,
0xad, 0x9f, 0x65, 0xf6, 0xbb, 0xbf, 0xb0, 0x07, 0x89, 0xde, 0x85, 0x12, 0x25, 0x5d, 0x53, 0x53,
0x28, 0x11, 0xe7, 0xe8, 0xc5, 0xe0, 0x14, 0x98, 0xe7, 0x30, 0xb0, 0x86, 0xd1, 0xde, 0x14, 0x6c,
0xfc, 0xf8, 0x78, 0x4b, 0xe2, 0x8e, 0x62, 0x0f, 0x06, 0xed, 0xc3, 0x78, 0xcf, 0x6c, 0x33, 0x4e,
0xca, 0xe2, 0x59, 0xa7, 0x2f, 0x3c, 0xe9, 0x56, 0xd6, 0xb5, 0xd9, 0x0a, 0x49, 0xd7, 0x67, 0x85,
0xae, 0xf1, 0xf0, 0x38, 0x8e, 0x68, 0x41, 0x0b, 0x30, 0xd1, 0x55, 0x75, 0x16, 0x97, 0xfa, 0x4d,
0xd2, 0x32, 0xf4, 0xb6, 0xcd, 0xdd, 0x6a, 0xa8, 0x3e, 0x27, 0x00, 0x26, 0xd6, 0xc2, 0x64, 0x1c,
0xe5, 0x47, 0xef, 0x00, 0x72, 0xa7, 0x71, 0xcf, 0x09, 0xc7, 0xaa, 0xa1, 0x73, 0x9f, 0xcb, 0xfb,
0xce, 0xbd, 0x19, 0xe3, 0xc0, 0x09, 0x52, 0x68, 0x15, 0x66, 0x2c, 0xb2, 0xaf, 0xb2, 0x39, 0xde,
0x57, 0x6d, 0x6a, 0x58, 0xfd, 0x55, 0xb5, 0xab, 0xd2, 0xf2, 0x30, 0xb7, 0xa9, 0x7c, 0x74, 0x58,
0x99, 0xc1, 0x09, 0x74, 0x9c, 0x28, 0x25, 0xff, 0xf7, 0x30, 0x4c, 0x44, 0xe2, 0x0d, 0x7a, 0x00,
0xb3, 0xad, 0x9e, 0x65, 0x11, 0x9d, 0xae, 0xf7, 0xba, 0xdb, 0xc4, 0x6a, 0xb6, 0x76, 0x49, 0xbb,
0xa7, 0x91, 0x36, 0x77, 0x94, 0xa1, 0xfa, 0xbc, 0xb0, 0x78, 0x76, 0x31, 0x91, 0x0b, 0xa7, 0x48,
0xb3, 0x55, 0xd0, 0xf9, 0xd0, 0x9a, 0x6a, 0xdb, 0x1e, 0x66, 0x8e, 0x63, 0x7a, 0xab, 0xb0, 0x1e,
0xe3, 0xc0, 0x09, 0x52, 0xcc, 0xc6, 0x36, 0xb1, 0x55, 0x8b, 0xb4, 0xa3, 0x36, 0xe6, 0xc3, 0x36,
0x2e, 0x25, 0x72, 0xe1, 0x14, 0x69, 0x74, 0x13, 0x46, 0x1d, 0x6d, 0x7c, 0xff, 0xc4, 0x46, 0x4f,
0x0b, 0xb0, 0xd1, 0x75, 0x9f, 0x84, 0x83, 0x7c, 0x6c, 0x6a, 0xc6, 0xb6, 0x4d, 0xac, 0x7d, 0xd2,
0x4e, 0xdf, 0xe0, 0x8d, 0x18, 0x07, 0x4e, 0x90, 0x62, 0x53, 0x73, 0x3c, 0x30, 0x36, 0xb5, 0xe1,
0xf0, 0xd4, 0xb6, 0x12, 0xb9, 0x70, 0x8a, 0x34, 0xf3, 0x63, 0xc7, 0xe4, 0x85, 0x7d, 0x45, 0xd5,
0x94, 0x6d, 0x8d, 0x94, 0x8b, 0x61, 0x3f, 0x5e, 0x0f, 0x93, 0x71, 0x94, 0x1f, 0xdd, 0x83, 0x29,
0x67, 0x68, 0x4b, 0x57, 0x3c, 0x90, 0x12, 0x07, 0x79, 0x4e, 0x80, 0x4c, 0xad, 0x47, 0x19, 0x70,
0x5c, 0x06, 0xbd, 0x01, 0xe3, 0x2d, 0x43, 0xd3, 0xb8, 0x3f, 0x2e, 0x1a, 0x3d, 0x9d, 0x96, 0x47,
0x38, 0x0a, 0x62, 0xe7, 0x71, 0x31, 0x44, 0xc1, 0x11, 0x4e, 0x44, 0x00, 0x5a, 0x6e, 0xc2, 0xb1,
0xcb, 0xc0, 0xe3, 0xe3, 0xf5, 0xac, 0x31, 0xc0, 0x4b, 0x55, 0x7e, 0x0d, 0xe0, 0x0d, 0xd9, 0x38,
0x00, 0x2c, 0xff, 0x42, 0x82, 0xb9, 0x94, 0xd0, 0x81, 0xde, 0x0a, 0xa5, 0xd8, 0xbf, 0x8c, 0xa4,
0xd8, 0x0b, 0x29, 0x62, 0x81, 0x3c, 0xab, 0xc3, 0x98, 0xc5, 0x66, 0xa5, 0x77, 0x1c, 0x16, 0x11,
0x23, 0x6f, 0x0e, 0x98, 0x06, 0x0e, 0xca, 0xf8, 0x31, 0x7f, 0xea, 0xe8, 0xb0, 0x32, 0x16, 0xa2,
0xe1, 0x30, 0xbc, 0xfc, 0x3f, 0x39, 0x80, 0x25, 0x62, 0x6a, 0x46, 0xbf, 0x4b, 0xf4, 0xd3, 0xa8,
0xa1, 0x36, 0x42, 0x35, 0xd4, 0xb5, 0x41, 0xdb, 0xe3, 0x99, 0x96, 0x5a, 0x44, 0xfd, 0x6d, 0xa4,
0x88, 0xaa, 0x65, 0x87, 0x7c, 0x72, 0x15, 0xf5, 0xab, 0x3c, 0x4c, 0xfb, 0xcc, 0x7e, 0x19, 0x75,
0x27, 0xb4, 0xc7, 0x7f, 0x11, 0xd9, 0xe3, 0xb9, 0x04, 0x91, 0x67, 0x56, 0x47, 0x3d, 0xfd, 0x7a,
0x06, 0x3d, 0x84, 0x71, 0x56, 0x38, 0x39, 0xee, 0xc1, 0xcb, 0xb2, 0xe1, 0x63, 0x97, 0x65, 0x5e,
0x02, 0x5d, 0x0d, 0x21, 0xe1, 0x08, 0x72, 0x4a, 0x19, 0x58, 0x7c, 0xd6, 0x65, 0xa0, 0xfc, 0x85,
0x04, 0xe3, 0xfe, 0x36, 0x9d, 0x42, 0xd1, 0xb6, 0x1e, 0x2e, 0xda, 0x5e, 0xca, 0xec, 0xa2, 0x29,
0x55, 0xdb, 0xef, 0x58, 0x81, 0xef, 0x31, 0xb1, 0x03, 0xbe, 0xad, 0xb4, 0xf6, 0xd0, 0x25, 0x28,
0xe8, 0x4a, 0xd7, 0xf5, 0x4c, 0xef, 0xb0, 0xac, 0x2b, 0x5d, 0x82, 0x39, 0x05, 0x7d, 0x2a, 0x01,
0x12, 0x59, 0x60, 0x41, 0xd7, 0x0d, 0xaa, 0x38, 0xb1, 0xd2, 0x31, 0x6b, 0x25, 0xb3, 0x59, 0xae,
0xc6, 0xea, 0x56, 0x0c, 0xeb, 0xae, 0x4e, 0xad, 0xbe, 0xbf, 0x23, 0x71, 0x06, 0x9c, 0x60, 0x00,
0x52, 0x00, 0x2c, 0x81, 0xb9, 0x69, 0x88, 0x83, 0x7c, 0x2d, 0x43, 0xcc, 0x63, 0x02, 0x8b, 0x86,
0xbe, 0xa3, 0x76, 0xfc, 0xb0, 0x83, 0x3d, 0x20, 0x1c, 0x00, 0x3d, 0x7f, 0x17, 0xe6, 0x52, 0xac,
0x45, 0x93, 0x90, 0xdf, 0x23, 0x7d, 0x67, 0xd9, 0x30, 0xfb, 0x13, 0xcd, 0xc0, 0xd0, 0xbe, 0xa2,
0xf5, 0x9c, 0xf0, 0x3b, 0x82, 0x9d, 0x1f, 0x6f, 0xe4, 0x6e, 0x4b, 0xf2, 0xe7, 0x43, 0x41, 0xdf,
0xe1, 0x15, 0xf3, 0x15, 0xf6, 0xd1, 0x6a, 0x6a, 0x6a, 0x4b, 0xb1, 0x45, 0x21, 0x74, 0xd6, 0xf9,
0x60, 0x75, 0xc6, 0xb0, 0x47, 0x0d, 0xd5, 0xd6, 0xb9, 0x67, 0x5b, 0x5b, 0xe7, 0x9f, 0x4e, 0x6d,
0xfd, 0xf7, 0x50, 0xb2, 0xdd, 0xaa, 0xba, 0xc0, 0x21, 0xaf, 0x1f, 0x23, 0xbe, 0x8a, 0x82, 0xda,
0x53, 0xe0, 0x95, 0xd2, 0x1e, 0x68, 0x52, 0x11, 0x3d, 0x74, 0xcc, 0x22, 0xfa, 0xa9, 0x16, 0xbe,
0x2c, 0xa6, 0x9a, 0x4a, 0xcf, 0x26, 0x6d, 0x1e, 0x88, 0x4a, 0x7e, 0x4c, 0x6d, 0xf0, 0x51, 0x2c,
0xa8, 0xe8, 0x83, 0x90, 0xcb, 0x96, 0x4e, 0xe2, 0xb2, 0xe3, 0xe9, 0xee, 0x8a, 0xb6, 0x60, 0xce,
0xb4, 0x8c, 0x8e, 0x45, 0x6c, 0x7b, 0x89, 0x28, 0x6d, 0x4d, 0xd5, 0x89, 0xbb, 0x3e, 0x4e, 0x45,
0x74, 0xe1, 0xe8, 0xb0, 0x32, 0xd7, 0x48, 0x66, 0xc1, 0x69, 0xb2, 0xf2, 0xa3, 0x02, 0x4c, 0x46,
0x33, 0x60, 0x4a, 0x91, 0x2a, 0x9d, 0xa8, 0x48, 0xbd, 0x1a, 0x38, 0x0c, 0x4e, 0x05, 0x1f, 0xb8,
0xc1, 0x89, 0x1d, 0x88, 0x05, 0x98, 0x10, 0xd1, 0xc0, 0x25, 0x8a, 0x32, 0xdd, 0xdb, 0xfd, 0xad,
0x30, 0x19, 0x47, 0xf9, 0x59, 0xe9, 0xe9, 0x57, 0x94, 0x2e, 0x48, 0x21, 0x5c, 0x7a, 0x2e, 0x44,
0x19, 0x70, 0x5c, 0x06, 0xad, 0xc1, 0x74, 0x4f, 0x8f, 0x43, 0x39, 0xde, 0x78, 0x41, 0x40, 0x4d,
0x6f, 0xc5, 0x59, 0x70, 0x92, 0x1c, 0xda, 0x09, 0x55, 0xa3, 0xc3, 0x3c, 0xc2, 0xde, 0xc8, 0x7c,
0x76, 0x32, 0x97, 0xa3, 0xe8, 0x0e, 0x8c, 0x59, 0xfc, 0xbb, 0xc3, 0x35, 0xd8, 0xa9, 0xdd, 0xcf,
0x09, 0xb1, 0x31, 0x1c, 0x24, 0xe2, 0x30, 0x6f, 0x42, 0xb9, 0x5d, 0xca, 0x5a, 0x6e, 0xcb, 0x3f,
0x93, 0x82, 0x49, 0xc8, 0x2b, 0x81, 0x07, 0xdd, 0x32, 0xc5, 0x24, 0x02, 0xd5, 0x91, 0x91, 0x5c,
0xfd, 0xde, 0x3a, 0x56, 0xf5, 0xeb, 0x27, 0xcf, 0xc1, 0xe5, 0xef, 0x67, 0x12, 0xcc, 0x2e, 0x37,
0xef, 0x59, 0x46, 0xcf, 0x74, 0xcd, 0xd9, 0x30, 0x9d, 0x75, 0x7d, 0x1d, 0x0a, 0x56, 0x4f, 0x73,
0xe7, 0xf1, 0xa2, 0x3b, 0x0f, 0xdc, 0xd3, 0xd8, 0x3c, 0xa6, 0x23, 0x52, 0xce, 0x24, 0x98, 0x00,
0x5a, 0x87, 0x61, 0x4b, 0xd1, 0x3b, 0xc4, 0x4d, 0xab, 0x97, 0x07, 0x58, 0xbf, 0xb2, 0x84, 0x19,
0x7b, 0xa0, 0x78, 0xe3, 0xd2, 0x58, 0xa0, 0xc8, 0xff, 0x2e, 0xc1, 0xc4, 0xfd, 0xcd, 0xcd, 0xc6,
0x8a, 0xce, 0x4f, 0x34, 0xbf, 0x5b, 0xbd, 0x04, 0x05, 0x53, 0xa1, 0xbb, 0xd1, 0x4c, 0xcf, 0x68,
0x98, 0x53, 0xd0, 0x7b, 0x50, 0x64, 0x91, 0x84, 0xe8, 0xed, 0x8c, 0xa5, 0xb6, 0x80, 0xaf, 0x3b,
0x42, 0x7e, 0x85, 0x28, 0x06, 0xb0, 0x0b, 0x27, 0xef, 0xc1, 0x4c, 0xc0, 0x1c, 0xb6, 0x1e, 0x0f,
0x58, 0x76, 0x44, 0x4d, 0x18, 0x62, 0x9a, 0x59, 0x0e, 0xcc, 0x67, 0xb8, 0xcc, 0x8c, 0x4c, 0xc9,
0xaf, 0x74, 0xd8, 0x2f, 0x1b, 0x3b, 0x58, 0xf2, 0x1a, 0x8c, 0xf1, 0x0b, 0x65, 0xc3, 0xa2, 0x7c,
0x59, 0xd0, 0x45, 0xc8, 0x77, 0x55, 0x5d, 0xe4, 0xd9, 0x51, 0x21, 0x93, 0x67, 0x39, 0x82, 0x8d,
0x73, 0xb2, 0x72, 0x20, 0x22, 0x8f, 0x4f, 0x56, 0x0e, 0x30, 0x1b, 0x97, 0xef, 0x41, 0x51, 0x2c,
0x77, 0x10, 0x28, 0xff, 0x64, 0xa0, 0x7c, 0x02, 0xd0, 0x06, 0x14, 0x57, 0x1a, 0x75, 0xcd, 0x70,
0xaa, 0xae, 0x96, 0xda, 0xb6, 0xa2, 0x7b, 0xb1, 0xb8, 0xb2, 0x84, 0x31, 0xa7, 0x20, 0x19, 0x86,
0xc9, 0x41, 0x8b, 0x98, 0x94, 0x7b, 0xc4, 0x48, 0x1d, 0xd8, 0x2e, 0xdf, 0xe5, 0x23, 0x58, 0x50,
0xe4, 0xff, 0xc8, 0x41, 0x51, 0x2c, 0xc7, 0x29, 0x7c, 0x85, 0xad, 0x86, 0xbe, 0xc2, 0x5e, 0xce,
0xe6, 0x1a, 0xa9, 0x9f, 0x60, 0x9b, 0x91, 0x4f, 0xb0, 0xab, 0x19, 0xf1, 0x9e, 0xfc, 0xfd, 0xf5,
0x63, 0x09, 0xc6, 0xc3, 0x4e, 0x89, 0x6e, 0xc2, 0x28, 0x4b, 0x38, 0x6a, 0x8b, 0xac, 0xfb, 0x75,
0xae, 0x77, 0x09, 0xd3, 0xf4, 0x49, 0x38, 0xc8, 0x87, 0x3a, 0x9e, 0x18, 0xf3, 0x23, 0x31, 0xe9,
0xf4, 0x25, 0xed, 0x51, 0x55, 0xab, 0x3a, 0x8f, 0x24, 0xd5, 0x15, 0x9d, 0x6e, 0x58, 0x4d, 0x6a,
0xa9, 0x7a, 0x27, 0xa6, 0x88, 0x3b, 0x65, 0x10, 0x59, 0xfe, 0xa9, 0x04, 0xa3, 0xc2, 0xe4, 0x53,
0xf8, 0xaa, 0xf8, 0x9b, 0xf0, 0x57, 0xc5, 0xe5, 0x8c, 0x07, 0x3c, 0xf9, 0x93, 0xe2, 0xff, 0x7d,
0xd3, 0xd9, 0x91, 0x66, 0x5e, 0xbd, 0x6b, 0xd8, 0x34, 0xea, 0xd5, 0xec, 0x30, 0x62, 0x4e, 0x41,
0x3d, 0x98, 0x54, 0x23, 0x31, 0x40, 0x2c, 0x6d, 0x2d, 0x9b, 0x25, 0x9e, 0x58, 0xbd, 0x2c, 0xe0,
0x27, 0xa3, 0x14, 0x1c, 0x53, 0x21, 0x13, 0x88, 0x71, 0xa1, 0x77, 0xa1, 0xb0, 0x4b, 0xa9, 0x99,
0x70, 0x5f, 0x3d, 0x20, 0xf2, 0xf8, 0x26, 0x94, 0xf8, 0xec, 0x36, 0x37, 0x1b, 0x98, 0x43, 0xc9,
0xbf, 0xf7, 0xd7, 0xa3, 0xe9, 0xf8, 0xb8, 0x17, 0x4f, 0xa5, 0x93, 0xc4, 0xd3, 0xd1, 0xa4, 0x58,
0x8a, 0xee, 0x43, 0x9e, 0x6a, 0x59, 0x3f, 0x0b, 0x05, 0xe2, 0xe6, 0x6a, 0xd3, 0x0f, 0x48, 0x9b,
0xab, 0x4d, 0xcc, 0x20, 0xd0, 0x06, 0x0c, 0xb1, 0xec, 0xc3, 0x8e, 0x60, 0x3e, 0xfb, 0x91, 0x66,
0xf3, 0xf7, 0x1d, 0x82, 0xfd, 0xb2, 0xb1, 0x83, 0x23, 0x7f, 0x0c, 0x63, 0xa1, 0x73, 0x8a, 0x3e,
0x82, 0xb3, 0x9a, 0xa1, 0xb4, 0xeb, 0x8a, 0xa6, 0xe8, 0x2d, 0xe2, 0x3e, 0x0e, 0x5c, 0x4e, 0xfa,
0xc2, 0x58, 0x0d, 0xf0, 0x89, 0x53, 0x3e, 0x23, 0x94, 0x9c, 0x0d, 0xd2, 0x70, 0x08, 0x51, 0x56,
0x00, 0xfc, 0x39, 0xa2, 0x0a, 0x0c, 0x31, 0x3f, 0x73, 0xf2, 0xc9, 0x48, 0x7d, 0x84, 0x59, 0xc8,
0xdc, 0xcf, 0xc6, 0xce, 0x38, 0xba, 0x01, 0x60, 0x93, 0x96, 0x45, 0x28, 0x0f, 0x06, 0xb9, 0xf0,
0x03, 0x63, 0xd3, 0xa3, 0xe0, 0x00, 0x97, 0xfc, 0x73, 0x09, 0xc6, 0xd6, 0x09, 0xfd, 0xc4, 0xb0,
0xf6, 0x1a, 0x86, 0xa6, 0xb6, 0xfa, 0xa7, 0x10, 0x6c, 0x71, 0x28, 0xd8, 0xbe, 0x32, 0x60, 0x67,
0x42, 0xd6, 0xa5, 0x85, 0x5c, 0xf9, 0x0b, 0x09, 0xe6, 0x42, 0x9c, 0x77, 0xfd, 0xa3, 0xbb, 0x05,
0x43, 0xa6, 0x61, 0x51, 0x37, 0x11, 0x1f, 0x4b, 0x21, 0x0b, 0x63, 0x81, 0x54, 0xcc, 0x60, 0xb0,
0x83, 0x86, 0x56, 0x21, 0x47, 0x0d, 0xe1, 0xaa, 0xc7, 0xc3, 0x24, 0xc4, 0xaa, 0x83, 0xc0, 0xcc,
0x6d, 0x1a, 0x38, 0x47, 0x0d, 0xb6, 0x11, 0xe5, 0x10, 0x57, 0x30, 0xf8, 0x3c, 0xa3, 0x19, 0x60,
0x28, 0xec, 0x58, 0x46, 0xf7, 0xc4, 0x73, 0xf0, 0x36, 0x62, 0xd9, 0x32, 0xba, 0x98, 0x63, 0xc9,
0x5f, 0x4a, 0x30, 0x15, 0xe2, 0x3c, 0x85, 0xc0, 0xff, 0x6e, 0x38, 0xf0, 0x5f, 0x3d, 0xce, 0x44,
0x52, 0xc2, 0xff, 0x97, 0xb9, 0xc8, 0x34, 0xd8, 0x84, 0xd1, 0x0e, 0x8c, 0x9a, 0x46, 0xbb, 0xf9,
0x14, 0x9e, 0x03, 0x27, 0x58, 0xde, 0x6c, 0xf8, 0x58, 0x38, 0x08, 0x8c, 0x0e, 0x60, 0x4a, 0x57,
0xba, 0xc4, 0x36, 0x95, 0x16, 0x69, 0x3e, 0x85, 0x0b, 0x92, 0x73, 0xfc, 0xbd, 0x21, 0x8a, 0x88,
0xe3, 0x4a, 0xd0, 0x1a, 0x14, 0x55, 0x93, 0xd7, 0x71, 0xa2, 0x76, 0x19, 0x98, 0x45, 0x9d, 0xaa,
0xcf, 0x89, 0xe7, 0xe2, 0x07, 0x76, 0x31, 0xe4, 0x1f, 0x44, 0xbd, 0x81, 0xf9, 0x1f, 0xba, 0x07,
0x25, 0xde, 0x62, 0xd1, 0x32, 0x34, 0xf7, 0x65, 0x80, 0xed, 0x6c, 0x43, 0x8c, 0x3d, 0x3e, 0xac,
0x5c, 0x48, 0xb8, 0xf4, 0x75, 0xc9, 0xd8, 0x13, 0x46, 0xeb, 0x50, 0x30, 0xbf, 0x4f, 0x05, 0xc3,
0x93, 0x1c, 0x2f, 0x5b, 0x38, 0x8e, 0xfc, 0x4f, 0xf9, 0x88, 0xb9, 0x3c, 0xd5, 0x3d, 0x7c, 0x6a,
0xbb, 0xee, 0x55, 0x4c, 0xa9, 0x3b, 0xbf, 0x0d, 0x45, 0x91, 0xe1, 0x85, 0x33, 0xbf, 0x7e, 0x1c,
0x67, 0x0e, 0x66, 0x31, 0xef, 0x83, 0xc5, 0x1d, 0x74, 0x81, 0xd1, 0x87, 0x30, 0x4c, 0x1c, 0x15,
0x4e, 0x6e, 0xbc, 0x75, 0x1c, 0x15, 0x7e, 0x5c, 0xf5, 0x0b, 0x55, 0x31, 0x26, 0x50, 0xd1, 0x5b,
0x6c, 0xbd, 0x18, 0x2f, 0xfb, 0x08, 0xb4, 0xcb, 0x05, 0x9e, 0xae, 0x2e, 0x3a, 0xd3, 0xf6, 0x86,
0x1f, 0x1f, 0x56, 0xc0, 0xff, 0x89, 0x83, 0x12, 0xf2, 0x2f, 0x25, 0x98, 0xe2, 0x2b, 0xd4, 0xea,
0x59, 0x2a, 0xed, 0x9f, 0x5a, 0x62, 0x7a, 0x10, 0x4a, 0x4c, 0xaf, 0x0d, 0x58, 0x96, 0x98, 0x85,
0xa9, 0xc9, 0xe9, 0x2b, 0x09, 0xce, 0xc5, 0xb8, 0x4f, 0x21, 0x2e, 0x6e, 0x85, 0xe3, 0xe2, 0x2b,
0xc7, 0x9d, 0x50, 0x4a, 0x6c, 0xfc, 0xe7, 0xc9, 0x84, 0xe9, 0xf0, 0x93, 0x72, 0x03, 0xc0, 0xb4,
0xd4, 0x7d, 0x55, 0x23, 0x1d, 0xf1, 0x08, 0x5e, 0x0a, 0xb4, 0x38, 0x79, 0x14, 0x1c, 0xe0, 0x42,
0x36, 0xcc, 0xb6, 0xc9, 0x8e, 0xd2, 0xd3, 0xe8, 0x42, 0xbb, 0xbd, 0xa8, 0x98, 0xca, 0xb6, 0xaa,
0xa9, 0x54, 0x15, 0xd7, 0x05, 0x23, 0xf5, 0x3b, 0xce, 0xe3, 0x74, 0x12, 0xc7, 0xe3, 0xc3, 0xca,
0xc5, 0xa4, 0xd7, 0x21, 0x97, 0xa5, 0x8f, 0x53, 0xa0, 0x51, 0x1f, 0xca, 0x16, 0xf9, 0xb8, 0xa7,
0x5a, 0xa4, 0xbd, 0x64, 0x19, 0x66, 0x48, 0x6d, 0x9e, 0xab, 0xfd, 0xeb, 0xa3, 0xc3, 0x4a, 0x19,
0xa7, 0xf0, 0x0c, 0x56, 0x9c, 0x0a, 0x8f, 0x1e, 0xc2, 0xb4, 0xe2, 0x74, 0x86, 0x85, 0xb4, 0x3a,
0xa7, 0xe4, 0xf6, 0xd1, 0x61, 0x65, 0x7a, 0x21, 0x4e, 0x1e, 0xac, 0x30, 0x09, 0x14, 0xd5, 0xa0,
0xb8, 0xcf, 0xfb, 0xd6, 0xec, 0xf2, 0x10, 0xc7, 0x67, 0x89, 0xa0, 0xe8, 0xb4, 0xb2, 0x31, 0xcc,
0xe1, 0xe5, 0x26, 0x3f, 0x7d, 0x2e, 0x17, 0xfb, 0xa0, 0x64, 0xb5, 0xa4, 0x38, 0xf1, 0xfc, 0xc6,
0xb8, 0xe4, 0x47, 0xad, 0xfb, 0x3e, 0x09, 0x07, 0xf9, 0xd0, 0x07, 0x30, 0xb2, 0x2b, 0x6e, 0x25,
0xec, 0x72, 0x31, 0x53, 0x12, 0x0e, 0xdd, 0x62, 0xd4, 0xa7, 0x84, 0x8a, 0x11, 0x77, 0xd8, 0xc6,
0x3e, 0x22, 0x7a, 0x09, 0x8a, 0xfc, 0xc7, 0xca, 0x12, 0xbf, 0x8e, 0x2b, 0xf9, 0xb1, 0xed, 0xbe,
0x33, 0x8c, 0x5d, 0xba, 0xcb, 0xba, 0xd2, 0x58, 0xe4, 0xd7, 0xc2, 0x11, 0xd6, 0x95, 0xc6, 0x22,
0x76, 0xe9, 0xe8, 0x23, 0x28, 0xda, 0x64, 0x55, 0xd5, 0x7b, 0x07, 0x65, 0xc8, 0xf4, 0xa8, 0xdc,
0xbc, 0xcb, 0xb9, 0x23, 0x17, 0x63, 0xbe, 0x06, 0x41, 0xc7, 0x2e, 0x2c, 0xda, 0x85, 0x11, 0xab,
0xa7, 0x2f, 0xd8, 0x5b, 0x36, 0xb1, 0xca, 0xa3, 0x5c, 0xc7, 0xa0, 0x70, 0x8e, 0x5d, 0xfe, 0xa8,
0x16, 0x6f, 0x85, 0x3c, 0x0e, 0xec, 0x83, 0xa3, 0x7f, 0x93, 0x00, 0xd9, 0x3d, 0xd3, 0xd4, 0x48,
0x97, 0xe8, 0x54, 0xd1, 0xf8, 0x5d, 0x9c, 0x5d, 0x3e, 0xcb, 0x75, 0xbe, 0x3d, 0x68, 0x5e, 0x31,
0xc1, 0xa8, 0x72, 0xef, 0xd2, 0x3b, 0xce, 0x8a, 0x13, 0xf4, 0xb2, 0xa5, 0xdd, 0xb1, 0xf9, 0xdf,
0xe5, 0xb1, 0x4c, 0x4b, 0x9b, 0x7c, 0xe7, 0xe8, 0x2f, 0xad, 0xa0, 0x63, 0x17, 0x16, 0x3d, 0x80,
0x59, 0xb7, 0xed, 0x11, 0x1b, 0x06, 0x5d, 0x56, 0x35, 0x62, 0xf7, 0x6d, 0x4a, 0xba, 0xe5, 0x71,
0xbe, 0xed, 0x5e, 0xef, 0x07, 0x4e, 0xe4, 0xc2, 0x29, 0xd2, 0xa8, 0x0b, 0x15, 0x37, 0x64, 0xb0,
0xf3, 0xe4, 0xc5, 0xac, 0xbb, 0x76, 0x4b, 0xd1, 0x9c, 0x77, 0x80, 0x09, 0xae, 0xe0, 0xc5, 0xa3,
0xc3, 0x4a, 0x65, 0xe9, 0xc9, 0xac, 0x78, 0x10, 0x16, 0x7a, 0x0f, 0xca, 0x4a, 0x9a, 0x9e, 0x49,
0xae, 0xe7, 0x79, 0x16, 0x87, 0x52, 0x15, 0xa4, 0x4a, 0x23, 0x0a, 0x93, 0x4a, 0xb8, 0x01, 0xd5,
0x2e, 0x4f, 0x65, 0xba, 0x88, 0x8c, 0xf4, 0xad, 0xfa, 0x97, 0x11, 0x11, 0x82, 0x8d, 0x63, 0x1a,
0xd0, 0x3f, 0x00, 0x52, 0xa2, 0x3d, 0xb3, 0x76, 0x19, 0x65, 0x4a, 0x3f, 0xb1, 0x66, 0x5b, 0xdf,
0xed, 0x62, 0x24, 0x1b, 0x27, 0xe8, 0x41, 0xab, 0x30, 0x23, 0x46, 0xb7, 0x74, 0x5b, 0xd9, 0x21,
0xcd, 0xbe, 0xdd, 0xa2, 0x9a, 0x5d, 0x9e, 0xe6, 0xb1, 0x8f, 0x3f, 0x7c, 0x2d, 0x24, 0xd0, 0x71,
0xa2, 0x14, 0x7a, 0x1b, 0x26, 0x77, 0x0c, 0x6b, 0x5b, 0x6d, 0xb7, 0x89, 0xee, 0x22, 0xcd, 0x70,
0xa4, 0x19, 0xb6, 0x1a, 0xcb, 0x11, 0x1a, 0x8e, 0x71, 0x23, 0x1b, 0xce, 0x09, 0xe4, 0x86, 0x65,
0xb4, 0xd6, 0x8c, 0x9e, 0x4e, 0x9d, 0x92, 0xe8, 0x9c, 0x97, 0x62, 0xce, 0x2d, 0x24, 0x31, 0x3c,
0x3e, 0xac, 0x5c, 0x4a, 0xae, 0x80, 0x7d, 0x26, 0x9c, 0x8c, 0x8d, 0x76, 0x01, 0x78, 0x5c, 0x70,
0x8e, 0xdf, 0x2c, 0x3f, 0x7e, 0xb7, 0xb3, 0x44, 0x9d, 0xc4, 0x13, 0xe8, 0x3c, 0xc9, 0x79, 0x64,
0x1c, 0xc0, 0xe6, 0xbd, 0x32, 0xe2, 0xe5, 0xe4, 0x74, 0xfa, 0x8d, 0x8f, 0xd7, 0x2b, 0xe3, 0x9b,
0xf6, 0xd4, 0x7a, 0x65, 0x02, 0x90, 0x4f, 0xbe, 0xab, 0xfd, 0x6d, 0x0e, 0xa6, 0x7d, 0xe6, 0xcc,
0xbd, 0x32, 0x09, 0x22, 0x7f, 0xee, 0x39, 0x1e, 0xdc, 0x73, 0xfc, 0x85, 0x04, 0xe3, 0xfe, 0xd2,
0xfd, 0xf1, 0xf5, 0xaf, 0xf8, 0xb6, 0xa5, 0x54, 0xd4, 0x3f, 0xca, 0x05, 0x27, 0xf0, 0x27, 0xdf,
0x44, 0xf1, 0xfd, 0x1b, 0x85, 0xe5, 0xaf, 0xf2, 0x30, 0x19, 0x3d, 0x8d, 0xa1, 0xb7, 0x76, 0x69,
0xe0, 0x5b, 0x7b, 0x03, 0x66, 0x76, 0x7a, 0x9a, 0xd6, 0xe7, 0xcb, 0x10, 0x78, 0x70, 0x77, 0xde,
0xca, 0x9e, 0x17, 0x92, 0x33, 0xcb, 0x09, 0x3c, 0x38, 0x51, 0x32, 0xa5, 0x6f, 0x20, 0x7f, 0xa2,
0xbe, 0x81, 0xd8, 0x33, 0x76, 0xe1, 0x18, 0xcf, 0xd8, 0x89, 0x3d, 0x00, 0x43, 0x27, 0xe8, 0x01,
0x38, 0xc9, 0xa3, 0x7d, 0x42, 0x10, 0x1b, 0xd8, 0x43, 0xfa, 0x3c, 0x9c, 0x17, 0x62, 0x94, 0xbf,
0xa7, 0xeb, 0xd4, 0x32, 0x34, 0x8d, 0x58, 0x4b, 0xbd, 0x6e, 0xb7, 0x2f, 0xbf, 0x09, 0xe3, 0xe1,
0x4e, 0x11, 0x67, 0xa7, 0x9d, 0x66, 0x15, 0xf1, 0x62, 0x19, 0xd8, 0x69, 0x67, 0x1c, 0x7b, 0x1c,
0xf2, 0xbf, 0x48, 0x30, 0x9b, 0xdc, 0x11, 0x8a, 0x34, 0x18, 0xef, 0x2a, 0x07, 0xc1, 0x2e, 0x5d,
0xe9, 0x84, 0x77, 0x49, 0xbc, 0x45, 0x60, 0x2d, 0x84, 0x85, 0x23, 0xd8, 0xf2, 0x77, 0x12, 0xcc,
0xa5, 0x3c, 0xce, 0x9f, 0xae, 0x25, 0xe8, 0x7d, 0x28, 0x75, 0x95, 0x83, 0x66, 0xcf, 0xea, 0x90,
0x13, 0xdf, 0x9e, 0xf1, 0x88, 0xb1, 0x26, 0x50, 0xb0, 0x87, 0x27, 0xff, 0x9f, 0x04, 0xcf, 0xa5,
0x56, 0x14, 0xe8, 0x56, 0xa8, 0x8f, 0x40, 0x8e, 0xf4, 0x11, 0xa0, 0xb8, 0xe0, 0x33, 0x6a, 0x23,
0xf8, 0x4c, 0x82, 0x72, 0xda, 0xd7, 0x16, 0xba, 0x19, 0x32, 0xf2, 0x85, 0x88, 0x91, 0x53, 0x31,
0xb9, 0x67, 0x64, 0xe3, 0x0f, 0x25, 0x98, 0x4d, 0xfe, 0xea, 0x44, 0xaf, 0x86, 0x2c, 0xac, 0x44,
0x2c, 0x9c, 0x88, 0x48, 0x09, 0xfb, 0x3e, 0x84, 0x71, 0xf1, 0x6d, 0x2a, 0x60, 0xc4, 0xde, 0xcb,
0x49, 0x11, 0x5d, 0x40, 0xb8, 0x95, 0x20, 0xf7, 0xaa, 0xf0, 0x18, 0x8e, 0xa0, 0xc9, 0xff, 0x9a,
0x83, 0xa1, 0x66, 0x4b, 0xd1, 0xc8, 0x29, 0x14, 0x83, 0xef, 0x84, 0x8a, 0xc1, 0x41, 0xff, 0xf7,
0xc3, 0xad, 0x4a, 0xad, 0x03, 0x71, 0xa4, 0x0e, 0x7c, 0x39, 0x13, 0xda, 0x93, 0x4b, 0xc0, 0xbf,
0x82, 0x11, 0x4f, 0xe9, 0xf1, 0x32, 0x93, 0xfc, 0xbf, 0x39, 0x18, 0x0d, 0xa8, 0x38, 0x66, 0x5e,
0xdb, 0x09, 0xd5, 0x03, 0xf9, 0x0c, 0xe5, 0x7f, 0x40, 0x57, 0xd5, 0xad, 0x00, 0x9c, 0xbe, 0x55,
0xbf, 0x53, 0x31, 0x5e, 0x18, 0xbc, 0x09, 0xe3, 0x54, 0xb1, 0x3a, 0x84, 0x7a, 0x37, 0xe3, 0x79,
0xee, 0x8b, 0x5e, 0xb7, 0xf3, 0x66, 0x88, 0x8a, 0x23, 0xdc, 0xe7, 0xef, 0xc0, 0x58, 0x48, 0xd9,
0xb1, 0xda, 0x4e, 0x7f, 0x22, 0xc1, 0x0b, 0x03, 0xef, 0x2d, 0x50, 0x3d, 0x74, 0x48, 0xaa, 0x91,
0x43, 0x32, 0x9f, 0x0e, 0xf0, 0xec, 0xda, 0x97, 0xea, 0xd7, 0x1e, 0x7d, 0x3b, 0x7f, 0xe6, 0xeb,
0x6f, 0xe7, 0xcf, 0x7c, 0xf3, 0xed, 0xfc, 0x99, 0x7f, 0x3c, 0x9a, 0x97, 0x1e, 0x1d, 0xcd, 0x4b,
0x5f, 0x1f, 0xcd, 0x4b, 0xdf, 0x1c, 0xcd, 0x4b, 0xbf, 0x3e, 0x9a, 0x97, 0xfe, 0xf3, 0xbb, 0xf9,
0x33, 0xef, 0x17, 0x05, 0xdc, 0x1f, 0x02, 0x00, 0x00, 0xff, 0xff, 0x51, 0x7e, 0x9f, 0x62, 0x14,
0x3c, 0x00, 0x00,
2016-09-30 02:33:23 -07:00
}