ingress-nginx-helm/vendor/k8s.io/client-go/pkg/apis/extensions/v1beta1/generated.pb.go

12010 lines
295 KiB
Go
Raw Normal View History

2017-04-01 14:42:02 +00:00
/*
Copyright 2017 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
// Code generated by protoc-gen-gogo.
// source: k8s.io/kubernetes/pkg/apis/extensions/v1beta1/generated.proto
// DO NOT EDIT!
/*
Package v1beta1 is a generated protocol buffer package.
It is generated from these files:
k8s.io/kubernetes/pkg/apis/extensions/v1beta1/generated.proto
It has these top-level messages:
APIVersion
CustomMetricCurrentStatus
CustomMetricCurrentStatusList
CustomMetricTarget
CustomMetricTargetList
DaemonSet
DaemonSetList
DaemonSetSpec
DaemonSetStatus
DaemonSetUpdateStrategy
Deployment
DeploymentCondition
DeploymentList
DeploymentRollback
DeploymentSpec
DeploymentStatus
DeploymentStrategy
FSGroupStrategyOptions
HTTPIngressPath
HTTPIngressRuleValue
HostPortRange
IDRange
Ingress
IngressBackend
IngressList
IngressRule
IngressRuleValue
IngressSpec
IngressStatus
IngressTLS
NetworkPolicy
NetworkPolicyIngressRule
NetworkPolicyList
NetworkPolicyPeer
NetworkPolicyPort
NetworkPolicySpec
PodSecurityPolicy
PodSecurityPolicyList
PodSecurityPolicySpec
ReplicaSet
ReplicaSetCondition
ReplicaSetList
ReplicaSetSpec
ReplicaSetStatus
ReplicationControllerDummy
RollbackConfig
RollingUpdateDaemonSet
RollingUpdateDeployment
RunAsUserStrategyOptions
SELinuxStrategyOptions
Scale
ScaleSpec
ScaleStatus
SupplementalGroupsStrategyOptions
ThirdPartyResource
ThirdPartyResourceData
ThirdPartyResourceDataList
ThirdPartyResourceList
*/
package v1beta1
import proto "github.com/gogo/protobuf/proto"
import fmt "fmt"
import math "math"
import k8s_io_apimachinery_pkg_apis_meta_v1 "k8s.io/apimachinery/pkg/apis/meta/v1"
import k8s_io_apimachinery_pkg_util_intstr "k8s.io/apimachinery/pkg/util/intstr"
import k8s_io_kubernetes_pkg_api_v1 "k8s.io/client-go/pkg/api/v1"
import strings "strings"
import reflect "reflect"
import github_com_gogo_protobuf_sortkeys "github.com/gogo/protobuf/sortkeys"
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.
2017-05-21 00:11:38 +00:00
// A compilation error at this line likely means your copy of the
// proto package needs to be updated.
const _ = proto.GoGoProtoPackageIsVersion2 // please upgrade the proto package
2017-04-01 14:42:02 +00:00
func (m *APIVersion) Reset() { *m = APIVersion{} }
func (*APIVersion) ProtoMessage() {}
func (*APIVersion) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{0} }
func (m *CustomMetricCurrentStatus) Reset() { *m = CustomMetricCurrentStatus{} }
func (*CustomMetricCurrentStatus) ProtoMessage() {}
func (*CustomMetricCurrentStatus) Descriptor() ([]byte, []int) {
return fileDescriptorGenerated, []int{1}
}
func (m *CustomMetricCurrentStatusList) Reset() { *m = CustomMetricCurrentStatusList{} }
func (*CustomMetricCurrentStatusList) ProtoMessage() {}
func (*CustomMetricCurrentStatusList) Descriptor() ([]byte, []int) {
return fileDescriptorGenerated, []int{2}
}
func (m *CustomMetricTarget) Reset() { *m = CustomMetricTarget{} }
func (*CustomMetricTarget) ProtoMessage() {}
func (*CustomMetricTarget) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{3} }
func (m *CustomMetricTargetList) Reset() { *m = CustomMetricTargetList{} }
func (*CustomMetricTargetList) ProtoMessage() {}
func (*CustomMetricTargetList) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{4} }
func (m *DaemonSet) Reset() { *m = DaemonSet{} }
func (*DaemonSet) ProtoMessage() {}
func (*DaemonSet) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{5} }
func (m *DaemonSetList) Reset() { *m = DaemonSetList{} }
func (*DaemonSetList) ProtoMessage() {}
func (*DaemonSetList) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{6} }
func (m *DaemonSetSpec) Reset() { *m = DaemonSetSpec{} }
func (*DaemonSetSpec) ProtoMessage() {}
func (*DaemonSetSpec) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{7} }
func (m *DaemonSetStatus) Reset() { *m = DaemonSetStatus{} }
func (*DaemonSetStatus) ProtoMessage() {}
func (*DaemonSetStatus) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{8} }
func (m *DaemonSetUpdateStrategy) Reset() { *m = DaemonSetUpdateStrategy{} }
func (*DaemonSetUpdateStrategy) ProtoMessage() {}
func (*DaemonSetUpdateStrategy) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{9} }
func (m *Deployment) Reset() { *m = Deployment{} }
func (*Deployment) ProtoMessage() {}
func (*Deployment) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{10} }
func (m *DeploymentCondition) Reset() { *m = DeploymentCondition{} }
func (*DeploymentCondition) ProtoMessage() {}
func (*DeploymentCondition) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{11} }
func (m *DeploymentList) Reset() { *m = DeploymentList{} }
func (*DeploymentList) ProtoMessage() {}
func (*DeploymentList) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{12} }
func (m *DeploymentRollback) Reset() { *m = DeploymentRollback{} }
func (*DeploymentRollback) ProtoMessage() {}
func (*DeploymentRollback) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{13} }
func (m *DeploymentSpec) Reset() { *m = DeploymentSpec{} }
func (*DeploymentSpec) ProtoMessage() {}
func (*DeploymentSpec) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{14} }
func (m *DeploymentStatus) Reset() { *m = DeploymentStatus{} }
func (*DeploymentStatus) ProtoMessage() {}
func (*DeploymentStatus) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{15} }
func (m *DeploymentStrategy) Reset() { *m = DeploymentStrategy{} }
func (*DeploymentStrategy) ProtoMessage() {}
func (*DeploymentStrategy) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{16} }
func (m *FSGroupStrategyOptions) Reset() { *m = FSGroupStrategyOptions{} }
func (*FSGroupStrategyOptions) ProtoMessage() {}
func (*FSGroupStrategyOptions) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{17} }
func (m *HTTPIngressPath) Reset() { *m = HTTPIngressPath{} }
func (*HTTPIngressPath) ProtoMessage() {}
func (*HTTPIngressPath) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{18} }
func (m *HTTPIngressRuleValue) Reset() { *m = HTTPIngressRuleValue{} }
func (*HTTPIngressRuleValue) ProtoMessage() {}
func (*HTTPIngressRuleValue) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{19} }
func (m *HostPortRange) Reset() { *m = HostPortRange{} }
func (*HostPortRange) ProtoMessage() {}
func (*HostPortRange) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{20} }
func (m *IDRange) Reset() { *m = IDRange{} }
func (*IDRange) ProtoMessage() {}
func (*IDRange) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{21} }
func (m *Ingress) Reset() { *m = Ingress{} }
func (*Ingress) ProtoMessage() {}
func (*Ingress) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{22} }
func (m *IngressBackend) Reset() { *m = IngressBackend{} }
func (*IngressBackend) ProtoMessage() {}
func (*IngressBackend) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{23} }
func (m *IngressList) Reset() { *m = IngressList{} }
func (*IngressList) ProtoMessage() {}
func (*IngressList) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{24} }
func (m *IngressRule) Reset() { *m = IngressRule{} }
func (*IngressRule) ProtoMessage() {}
func (*IngressRule) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{25} }
func (m *IngressRuleValue) Reset() { *m = IngressRuleValue{} }
func (*IngressRuleValue) ProtoMessage() {}
func (*IngressRuleValue) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{26} }
func (m *IngressSpec) Reset() { *m = IngressSpec{} }
func (*IngressSpec) ProtoMessage() {}
func (*IngressSpec) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{27} }
func (m *IngressStatus) Reset() { *m = IngressStatus{} }
func (*IngressStatus) ProtoMessage() {}
func (*IngressStatus) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{28} }
func (m *IngressTLS) Reset() { *m = IngressTLS{} }
func (*IngressTLS) ProtoMessage() {}
func (*IngressTLS) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{29} }
func (m *NetworkPolicy) Reset() { *m = NetworkPolicy{} }
func (*NetworkPolicy) ProtoMessage() {}
func (*NetworkPolicy) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{30} }
func (m *NetworkPolicyIngressRule) Reset() { *m = NetworkPolicyIngressRule{} }
func (*NetworkPolicyIngressRule) ProtoMessage() {}
func (*NetworkPolicyIngressRule) Descriptor() ([]byte, []int) {
return fileDescriptorGenerated, []int{31}
}
func (m *NetworkPolicyList) Reset() { *m = NetworkPolicyList{} }
func (*NetworkPolicyList) ProtoMessage() {}
func (*NetworkPolicyList) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{32} }
func (m *NetworkPolicyPeer) Reset() { *m = NetworkPolicyPeer{} }
func (*NetworkPolicyPeer) ProtoMessage() {}
func (*NetworkPolicyPeer) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{33} }
func (m *NetworkPolicyPort) Reset() { *m = NetworkPolicyPort{} }
func (*NetworkPolicyPort) ProtoMessage() {}
func (*NetworkPolicyPort) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{34} }
func (m *NetworkPolicySpec) Reset() { *m = NetworkPolicySpec{} }
func (*NetworkPolicySpec) ProtoMessage() {}
func (*NetworkPolicySpec) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{35} }
func (m *PodSecurityPolicy) Reset() { *m = PodSecurityPolicy{} }
func (*PodSecurityPolicy) ProtoMessage() {}
func (*PodSecurityPolicy) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{36} }
func (m *PodSecurityPolicyList) Reset() { *m = PodSecurityPolicyList{} }
func (*PodSecurityPolicyList) ProtoMessage() {}
func (*PodSecurityPolicyList) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{37} }
func (m *PodSecurityPolicySpec) Reset() { *m = PodSecurityPolicySpec{} }
func (*PodSecurityPolicySpec) ProtoMessage() {}
func (*PodSecurityPolicySpec) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{38} }
func (m *ReplicaSet) Reset() { *m = ReplicaSet{} }
func (*ReplicaSet) ProtoMessage() {}
func (*ReplicaSet) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{39} }
func (m *ReplicaSetCondition) Reset() { *m = ReplicaSetCondition{} }
func (*ReplicaSetCondition) ProtoMessage() {}
func (*ReplicaSetCondition) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{40} }
func (m *ReplicaSetList) Reset() { *m = ReplicaSetList{} }
func (*ReplicaSetList) ProtoMessage() {}
func (*ReplicaSetList) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{41} }
func (m *ReplicaSetSpec) Reset() { *m = ReplicaSetSpec{} }
func (*ReplicaSetSpec) ProtoMessage() {}
func (*ReplicaSetSpec) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{42} }
func (m *ReplicaSetStatus) Reset() { *m = ReplicaSetStatus{} }
func (*ReplicaSetStatus) ProtoMessage() {}
func (*ReplicaSetStatus) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{43} }
func (m *ReplicationControllerDummy) Reset() { *m = ReplicationControllerDummy{} }
func (*ReplicationControllerDummy) ProtoMessage() {}
func (*ReplicationControllerDummy) Descriptor() ([]byte, []int) {
return fileDescriptorGenerated, []int{44}
}
func (m *RollbackConfig) Reset() { *m = RollbackConfig{} }
func (*RollbackConfig) ProtoMessage() {}
func (*RollbackConfig) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{45} }
func (m *RollingUpdateDaemonSet) Reset() { *m = RollingUpdateDaemonSet{} }
func (*RollingUpdateDaemonSet) ProtoMessage() {}
func (*RollingUpdateDaemonSet) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{46} }
func (m *RollingUpdateDeployment) Reset() { *m = RollingUpdateDeployment{} }
func (*RollingUpdateDeployment) ProtoMessage() {}
func (*RollingUpdateDeployment) Descriptor() ([]byte, []int) {
return fileDescriptorGenerated, []int{47}
}
func (m *RunAsUserStrategyOptions) Reset() { *m = RunAsUserStrategyOptions{} }
func (*RunAsUserStrategyOptions) ProtoMessage() {}
func (*RunAsUserStrategyOptions) Descriptor() ([]byte, []int) {
return fileDescriptorGenerated, []int{48}
}
func (m *SELinuxStrategyOptions) Reset() { *m = SELinuxStrategyOptions{} }
func (*SELinuxStrategyOptions) ProtoMessage() {}
func (*SELinuxStrategyOptions) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{49} }
func (m *Scale) Reset() { *m = Scale{} }
func (*Scale) ProtoMessage() {}
func (*Scale) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{50} }
func (m *ScaleSpec) Reset() { *m = ScaleSpec{} }
func (*ScaleSpec) ProtoMessage() {}
func (*ScaleSpec) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{51} }
func (m *ScaleStatus) Reset() { *m = ScaleStatus{} }
func (*ScaleStatus) ProtoMessage() {}
func (*ScaleStatus) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{52} }
func (m *SupplementalGroupsStrategyOptions) Reset() { *m = SupplementalGroupsStrategyOptions{} }
func (*SupplementalGroupsStrategyOptions) ProtoMessage() {}
func (*SupplementalGroupsStrategyOptions) Descriptor() ([]byte, []int) {
return fileDescriptorGenerated, []int{53}
}
func (m *ThirdPartyResource) Reset() { *m = ThirdPartyResource{} }
func (*ThirdPartyResource) ProtoMessage() {}
func (*ThirdPartyResource) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{54} }
func (m *ThirdPartyResourceData) Reset() { *m = ThirdPartyResourceData{} }
func (*ThirdPartyResourceData) ProtoMessage() {}
func (*ThirdPartyResourceData) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{55} }
func (m *ThirdPartyResourceDataList) Reset() { *m = ThirdPartyResourceDataList{} }
func (*ThirdPartyResourceDataList) ProtoMessage() {}
func (*ThirdPartyResourceDataList) Descriptor() ([]byte, []int) {
return fileDescriptorGenerated, []int{56}
}
func (m *ThirdPartyResourceList) Reset() { *m = ThirdPartyResourceList{} }
func (*ThirdPartyResourceList) ProtoMessage() {}
func (*ThirdPartyResourceList) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{57} }
func init() {
proto.RegisterType((*APIVersion)(nil), "k8s.io.client-go.pkg.apis.extensions.v1beta1.APIVersion")
proto.RegisterType((*CustomMetricCurrentStatus)(nil), "k8s.io.client-go.pkg.apis.extensions.v1beta1.CustomMetricCurrentStatus")
proto.RegisterType((*CustomMetricCurrentStatusList)(nil), "k8s.io.client-go.pkg.apis.extensions.v1beta1.CustomMetricCurrentStatusList")
proto.RegisterType((*CustomMetricTarget)(nil), "k8s.io.client-go.pkg.apis.extensions.v1beta1.CustomMetricTarget")
proto.RegisterType((*CustomMetricTargetList)(nil), "k8s.io.client-go.pkg.apis.extensions.v1beta1.CustomMetricTargetList")
proto.RegisterType((*DaemonSet)(nil), "k8s.io.client-go.pkg.apis.extensions.v1beta1.DaemonSet")
proto.RegisterType((*DaemonSetList)(nil), "k8s.io.client-go.pkg.apis.extensions.v1beta1.DaemonSetList")
proto.RegisterType((*DaemonSetSpec)(nil), "k8s.io.client-go.pkg.apis.extensions.v1beta1.DaemonSetSpec")
proto.RegisterType((*DaemonSetStatus)(nil), "k8s.io.client-go.pkg.apis.extensions.v1beta1.DaemonSetStatus")
proto.RegisterType((*DaemonSetUpdateStrategy)(nil), "k8s.io.client-go.pkg.apis.extensions.v1beta1.DaemonSetUpdateStrategy")
proto.RegisterType((*Deployment)(nil), "k8s.io.client-go.pkg.apis.extensions.v1beta1.Deployment")
proto.RegisterType((*DeploymentCondition)(nil), "k8s.io.client-go.pkg.apis.extensions.v1beta1.DeploymentCondition")
proto.RegisterType((*DeploymentList)(nil), "k8s.io.client-go.pkg.apis.extensions.v1beta1.DeploymentList")
proto.RegisterType((*DeploymentRollback)(nil), "k8s.io.client-go.pkg.apis.extensions.v1beta1.DeploymentRollback")
proto.RegisterType((*DeploymentSpec)(nil), "k8s.io.client-go.pkg.apis.extensions.v1beta1.DeploymentSpec")
proto.RegisterType((*DeploymentStatus)(nil), "k8s.io.client-go.pkg.apis.extensions.v1beta1.DeploymentStatus")
proto.RegisterType((*DeploymentStrategy)(nil), "k8s.io.client-go.pkg.apis.extensions.v1beta1.DeploymentStrategy")
proto.RegisterType((*FSGroupStrategyOptions)(nil), "k8s.io.client-go.pkg.apis.extensions.v1beta1.FSGroupStrategyOptions")
proto.RegisterType((*HTTPIngressPath)(nil), "k8s.io.client-go.pkg.apis.extensions.v1beta1.HTTPIngressPath")
proto.RegisterType((*HTTPIngressRuleValue)(nil), "k8s.io.client-go.pkg.apis.extensions.v1beta1.HTTPIngressRuleValue")
proto.RegisterType((*HostPortRange)(nil), "k8s.io.client-go.pkg.apis.extensions.v1beta1.HostPortRange")
proto.RegisterType((*IDRange)(nil), "k8s.io.client-go.pkg.apis.extensions.v1beta1.IDRange")
proto.RegisterType((*Ingress)(nil), "k8s.io.client-go.pkg.apis.extensions.v1beta1.Ingress")
proto.RegisterType((*IngressBackend)(nil), "k8s.io.client-go.pkg.apis.extensions.v1beta1.IngressBackend")
proto.RegisterType((*IngressList)(nil), "k8s.io.client-go.pkg.apis.extensions.v1beta1.IngressList")
proto.RegisterType((*IngressRule)(nil), "k8s.io.client-go.pkg.apis.extensions.v1beta1.IngressRule")
proto.RegisterType((*IngressRuleValue)(nil), "k8s.io.client-go.pkg.apis.extensions.v1beta1.IngressRuleValue")
proto.RegisterType((*IngressSpec)(nil), "k8s.io.client-go.pkg.apis.extensions.v1beta1.IngressSpec")
proto.RegisterType((*IngressStatus)(nil), "k8s.io.client-go.pkg.apis.extensions.v1beta1.IngressStatus")
proto.RegisterType((*IngressTLS)(nil), "k8s.io.client-go.pkg.apis.extensions.v1beta1.IngressTLS")
proto.RegisterType((*NetworkPolicy)(nil), "k8s.io.client-go.pkg.apis.extensions.v1beta1.NetworkPolicy")
proto.RegisterType((*NetworkPolicyIngressRule)(nil), "k8s.io.client-go.pkg.apis.extensions.v1beta1.NetworkPolicyIngressRule")
proto.RegisterType((*NetworkPolicyList)(nil), "k8s.io.client-go.pkg.apis.extensions.v1beta1.NetworkPolicyList")
proto.RegisterType((*NetworkPolicyPeer)(nil), "k8s.io.client-go.pkg.apis.extensions.v1beta1.NetworkPolicyPeer")
proto.RegisterType((*NetworkPolicyPort)(nil), "k8s.io.client-go.pkg.apis.extensions.v1beta1.NetworkPolicyPort")
proto.RegisterType((*NetworkPolicySpec)(nil), "k8s.io.client-go.pkg.apis.extensions.v1beta1.NetworkPolicySpec")
proto.RegisterType((*PodSecurityPolicy)(nil), "k8s.io.client-go.pkg.apis.extensions.v1beta1.PodSecurityPolicy")
proto.RegisterType((*PodSecurityPolicyList)(nil), "k8s.io.client-go.pkg.apis.extensions.v1beta1.PodSecurityPolicyList")
proto.RegisterType((*PodSecurityPolicySpec)(nil), "k8s.io.client-go.pkg.apis.extensions.v1beta1.PodSecurityPolicySpec")
proto.RegisterType((*ReplicaSet)(nil), "k8s.io.client-go.pkg.apis.extensions.v1beta1.ReplicaSet")
proto.RegisterType((*ReplicaSetCondition)(nil), "k8s.io.client-go.pkg.apis.extensions.v1beta1.ReplicaSetCondition")
proto.RegisterType((*ReplicaSetList)(nil), "k8s.io.client-go.pkg.apis.extensions.v1beta1.ReplicaSetList")
proto.RegisterType((*ReplicaSetSpec)(nil), "k8s.io.client-go.pkg.apis.extensions.v1beta1.ReplicaSetSpec")
proto.RegisterType((*ReplicaSetStatus)(nil), "k8s.io.client-go.pkg.apis.extensions.v1beta1.ReplicaSetStatus")
proto.RegisterType((*ReplicationControllerDummy)(nil), "k8s.io.client-go.pkg.apis.extensions.v1beta1.ReplicationControllerDummy")
proto.RegisterType((*RollbackConfig)(nil), "k8s.io.client-go.pkg.apis.extensions.v1beta1.RollbackConfig")
proto.RegisterType((*RollingUpdateDaemonSet)(nil), "k8s.io.client-go.pkg.apis.extensions.v1beta1.RollingUpdateDaemonSet")
proto.RegisterType((*RollingUpdateDeployment)(nil), "k8s.io.client-go.pkg.apis.extensions.v1beta1.RollingUpdateDeployment")
proto.RegisterType((*RunAsUserStrategyOptions)(nil), "k8s.io.client-go.pkg.apis.extensions.v1beta1.RunAsUserStrategyOptions")
proto.RegisterType((*SELinuxStrategyOptions)(nil), "k8s.io.client-go.pkg.apis.extensions.v1beta1.SELinuxStrategyOptions")
proto.RegisterType((*Scale)(nil), "k8s.io.client-go.pkg.apis.extensions.v1beta1.Scale")
proto.RegisterType((*ScaleSpec)(nil), "k8s.io.client-go.pkg.apis.extensions.v1beta1.ScaleSpec")
proto.RegisterType((*ScaleStatus)(nil), "k8s.io.client-go.pkg.apis.extensions.v1beta1.ScaleStatus")
proto.RegisterType((*SupplementalGroupsStrategyOptions)(nil), "k8s.io.client-go.pkg.apis.extensions.v1beta1.SupplementalGroupsStrategyOptions")
proto.RegisterType((*ThirdPartyResource)(nil), "k8s.io.client-go.pkg.apis.extensions.v1beta1.ThirdPartyResource")
proto.RegisterType((*ThirdPartyResourceData)(nil), "k8s.io.client-go.pkg.apis.extensions.v1beta1.ThirdPartyResourceData")
proto.RegisterType((*ThirdPartyResourceDataList)(nil), "k8s.io.client-go.pkg.apis.extensions.v1beta1.ThirdPartyResourceDataList")
proto.RegisterType((*ThirdPartyResourceList)(nil), "k8s.io.client-go.pkg.apis.extensions.v1beta1.ThirdPartyResourceList")
}
2017-05-21 00:11:38 +00:00
func (m *APIVersion) Marshal() (dAtA []byte, err error) {
2017-04-01 14:42:02 +00:00
size := m.Size()
2017-05-21 00:11:38 +00:00
dAtA = make([]byte, size)
n, err := m.MarshalTo(dAtA)
2017-04-01 14:42:02 +00:00
if err != nil {
return nil, err
}
2017-05-21 00:11:38 +00:00
return dAtA[:n], nil
2017-04-01 14:42:02 +00:00
}
2017-05-21 00:11:38 +00:00
func (m *APIVersion) MarshalTo(dAtA []byte) (int, error) {
2017-04-01 14:42:02 +00:00
var i int
_ = i
var l int
_ = l
2017-05-21 00:11:38 +00:00
dAtA[i] = 0xa
2017-04-01 14:42:02 +00:00
i++
2017-05-21 00:11:38 +00:00
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Name)))
i += copy(dAtA[i:], m.Name)
2017-04-01 14:42:02 +00:00
return i, nil
}
2017-05-21 00:11:38 +00:00
func (m *CustomMetricCurrentStatus) Marshal() (dAtA []byte, err error) {
2017-04-01 14:42:02 +00:00
size := m.Size()
2017-05-21 00:11:38 +00:00
dAtA = make([]byte, size)
n, err := m.MarshalTo(dAtA)
2017-04-01 14:42:02 +00:00
if err != nil {
return nil, err
}
2017-05-21 00:11:38 +00:00
return dAtA[:n], nil
2017-04-01 14:42:02 +00:00
}
2017-05-21 00:11:38 +00:00
func (m *CustomMetricCurrentStatus) MarshalTo(dAtA []byte) (int, error) {
2017-04-01 14:42:02 +00:00
var i int
_ = i
var l int
_ = l
2017-05-21 00:11:38 +00:00
dAtA[i] = 0xa
2017-04-01 14:42:02 +00:00
i++
2017-05-21 00:11:38 +00:00
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Name)))
i += copy(dAtA[i:], m.Name)
dAtA[i] = 0x12
2017-04-01 14:42:02 +00:00
i++
2017-05-21 00:11:38 +00:00
i = encodeVarintGenerated(dAtA, i, uint64(m.CurrentValue.Size()))
n1, err := m.CurrentValue.MarshalTo(dAtA[i:])
2017-04-01 14:42:02 +00:00
if err != nil {
return 0, err
}
i += n1
return i, nil
}
2017-05-21 00:11:38 +00:00
func (m *CustomMetricCurrentStatusList) Marshal() (dAtA []byte, err error) {
2017-04-01 14:42:02 +00:00
size := m.Size()
2017-05-21 00:11:38 +00:00
dAtA = make([]byte, size)
n, err := m.MarshalTo(dAtA)
2017-04-01 14:42:02 +00:00
if err != nil {
return nil, err
}
2017-05-21 00:11:38 +00:00
return dAtA[:n], nil
2017-04-01 14:42:02 +00:00
}
2017-05-21 00:11:38 +00:00
func (m *CustomMetricCurrentStatusList) MarshalTo(dAtA []byte) (int, error) {
2017-04-01 14:42:02 +00:00
var i int
_ = i
var l int
_ = l
if len(m.Items) > 0 {
for _, msg := range m.Items {
2017-05-21 00:11:38 +00:00
dAtA[i] = 0xa
2017-04-01 14:42:02 +00:00
i++
2017-05-21 00:11:38 +00:00
i = encodeVarintGenerated(dAtA, i, uint64(msg.Size()))
n, err := msg.MarshalTo(dAtA[i:])
2017-04-01 14:42:02 +00:00
if err != nil {
return 0, err
}
i += n
}
}
return i, nil
}
2017-05-21 00:11:38 +00:00
func (m *CustomMetricTarget) Marshal() (dAtA []byte, err error) {
2017-04-01 14:42:02 +00:00
size := m.Size()
2017-05-21 00:11:38 +00:00
dAtA = make([]byte, size)
n, err := m.MarshalTo(dAtA)
2017-04-01 14:42:02 +00:00
if err != nil {
return nil, err
}
2017-05-21 00:11:38 +00:00
return dAtA[:n], nil
2017-04-01 14:42:02 +00:00
}
2017-05-21 00:11:38 +00:00
func (m *CustomMetricTarget) MarshalTo(dAtA []byte) (int, error) {
2017-04-01 14:42:02 +00:00
var i int
_ = i
var l int
_ = l
2017-05-21 00:11:38 +00:00
dAtA[i] = 0xa
2017-04-01 14:42:02 +00:00
i++
2017-05-21 00:11:38 +00:00
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Name)))
i += copy(dAtA[i:], m.Name)
dAtA[i] = 0x12
2017-04-01 14:42:02 +00:00
i++
2017-05-21 00:11:38 +00:00
i = encodeVarintGenerated(dAtA, i, uint64(m.TargetValue.Size()))
n2, err := m.TargetValue.MarshalTo(dAtA[i:])
2017-04-01 14:42:02 +00:00
if err != nil {
return 0, err
}
i += n2
return i, nil
}
2017-05-21 00:11:38 +00:00
func (m *CustomMetricTargetList) Marshal() (dAtA []byte, err error) {
2017-04-01 14:42:02 +00:00
size := m.Size()
2017-05-21 00:11:38 +00:00
dAtA = make([]byte, size)
n, err := m.MarshalTo(dAtA)
2017-04-01 14:42:02 +00:00
if err != nil {
return nil, err
}
2017-05-21 00:11:38 +00:00
return dAtA[:n], nil
2017-04-01 14:42:02 +00:00
}
2017-05-21 00:11:38 +00:00
func (m *CustomMetricTargetList) MarshalTo(dAtA []byte) (int, error) {
2017-04-01 14:42:02 +00:00
var i int
_ = i
var l int
_ = l
if len(m.Items) > 0 {
for _, msg := range m.Items {
2017-05-21 00:11:38 +00:00
dAtA[i] = 0xa
2017-04-01 14:42:02 +00:00
i++
2017-05-21 00:11:38 +00:00
i = encodeVarintGenerated(dAtA, i, uint64(msg.Size()))
n, err := msg.MarshalTo(dAtA[i:])
2017-04-01 14:42:02 +00:00
if err != nil {
return 0, err
}
i += n
}
}
return i, nil
}
2017-05-21 00:11:38 +00:00
func (m *DaemonSet) Marshal() (dAtA []byte, err error) {
2017-04-01 14:42:02 +00:00
size := m.Size()
2017-05-21 00:11:38 +00:00
dAtA = make([]byte, size)
n, err := m.MarshalTo(dAtA)
2017-04-01 14:42:02 +00:00
if err != nil {
return nil, err
}
2017-05-21 00:11:38 +00:00
return dAtA[:n], nil
2017-04-01 14:42:02 +00:00
}
2017-05-21 00:11:38 +00:00
func (m *DaemonSet) MarshalTo(dAtA []byte) (int, error) {
2017-04-01 14:42:02 +00:00
var i int
_ = i
var l int
_ = l
2017-05-21 00:11:38 +00:00
dAtA[i] = 0xa
2017-04-01 14:42:02 +00:00
i++
2017-05-21 00:11:38 +00:00
i = encodeVarintGenerated(dAtA, i, uint64(m.ObjectMeta.Size()))
n3, err := m.ObjectMeta.MarshalTo(dAtA[i:])
2017-04-01 14:42:02 +00:00
if err != nil {
return 0, err
}
i += n3
2017-05-21 00:11:38 +00:00
dAtA[i] = 0x12
2017-04-01 14:42:02 +00:00
i++
2017-05-21 00:11:38 +00:00
i = encodeVarintGenerated(dAtA, i, uint64(m.Spec.Size()))
n4, err := m.Spec.MarshalTo(dAtA[i:])
2017-04-01 14:42:02 +00:00
if err != nil {
return 0, err
}
i += n4
2017-05-21 00:11:38 +00:00
dAtA[i] = 0x1a
2017-04-01 14:42:02 +00:00
i++
2017-05-21 00:11:38 +00:00
i = encodeVarintGenerated(dAtA, i, uint64(m.Status.Size()))
n5, err := m.Status.MarshalTo(dAtA[i:])
2017-04-01 14:42:02 +00:00
if err != nil {
return 0, err
}
i += n5
return i, nil
}
2017-05-21 00:11:38 +00:00
func (m *DaemonSetList) Marshal() (dAtA []byte, err error) {
2017-04-01 14:42:02 +00:00
size := m.Size()
2017-05-21 00:11:38 +00:00
dAtA = make([]byte, size)
n, err := m.MarshalTo(dAtA)
2017-04-01 14:42:02 +00:00
if err != nil {
return nil, err
}
2017-05-21 00:11:38 +00:00
return dAtA[:n], nil
2017-04-01 14:42:02 +00:00
}
2017-05-21 00:11:38 +00:00
func (m *DaemonSetList) MarshalTo(dAtA []byte) (int, error) {
2017-04-01 14:42:02 +00:00
var i int
_ = i
var l int
_ = l
2017-05-21 00:11:38 +00:00
dAtA[i] = 0xa
2017-04-01 14:42:02 +00:00
i++
2017-05-21 00:11:38 +00:00
i = encodeVarintGenerated(dAtA, i, uint64(m.ListMeta.Size()))
n6, err := m.ListMeta.MarshalTo(dAtA[i:])
2017-04-01 14:42:02 +00:00
if err != nil {
return 0, err
}
i += n6
if len(m.Items) > 0 {
for _, msg := range m.Items {
2017-05-21 00:11:38 +00:00
dAtA[i] = 0x12
2017-04-01 14:42:02 +00:00
i++
2017-05-21 00:11:38 +00:00
i = encodeVarintGenerated(dAtA, i, uint64(msg.Size()))
n, err := msg.MarshalTo(dAtA[i:])
2017-04-01 14:42:02 +00:00
if err != nil {
return 0, err
}
i += n
}
}
return i, nil
}
2017-05-21 00:11:38 +00:00
func (m *DaemonSetSpec) Marshal() (dAtA []byte, err error) {
2017-04-01 14:42:02 +00:00
size := m.Size()
2017-05-21 00:11:38 +00:00
dAtA = make([]byte, size)
n, err := m.MarshalTo(dAtA)
2017-04-01 14:42:02 +00:00
if err != nil {
return nil, err
}
2017-05-21 00:11:38 +00:00
return dAtA[:n], nil
2017-04-01 14:42:02 +00:00
}
2017-05-21 00:11:38 +00:00
func (m *DaemonSetSpec) MarshalTo(dAtA []byte) (int, error) {
2017-04-01 14:42:02 +00:00
var i int
_ = i
var l int
_ = l
if m.Selector != nil {
2017-05-21 00:11:38 +00:00
dAtA[i] = 0xa
2017-04-01 14:42:02 +00:00
i++
2017-05-21 00:11:38 +00:00
i = encodeVarintGenerated(dAtA, i, uint64(m.Selector.Size()))
n7, err := m.Selector.MarshalTo(dAtA[i:])
2017-04-01 14:42:02 +00:00
if err != nil {
return 0, err
}
i += n7
}
2017-05-21 00:11:38 +00:00
dAtA[i] = 0x12
2017-04-01 14:42:02 +00:00
i++
2017-05-21 00:11:38 +00:00
i = encodeVarintGenerated(dAtA, i, uint64(m.Template.Size()))
n8, err := m.Template.MarshalTo(dAtA[i:])
2017-04-01 14:42:02 +00:00
if err != nil {
return 0, err
}
i += n8
2017-05-21 00:11:38 +00:00
dAtA[i] = 0x1a
2017-04-01 14:42:02 +00:00
i++
2017-05-21 00:11:38 +00:00
i = encodeVarintGenerated(dAtA, i, uint64(m.UpdateStrategy.Size()))
n9, err := m.UpdateStrategy.MarshalTo(dAtA[i:])
2017-04-01 14:42:02 +00:00
if err != nil {
return 0, err
}
i += n9
2017-05-21 00:11:38 +00:00
dAtA[i] = 0x20
2017-04-01 14:42:02 +00:00
i++
2017-05-21 00:11:38 +00:00
i = encodeVarintGenerated(dAtA, i, uint64(m.MinReadySeconds))
dAtA[i] = 0x28
2017-04-01 14:42:02 +00:00
i++
2017-05-21 00:11:38 +00:00
i = encodeVarintGenerated(dAtA, i, uint64(m.TemplateGeneration))
2017-04-01 14:42:02 +00:00
return i, nil
}
2017-05-21 00:11:38 +00:00
func (m *DaemonSetStatus) Marshal() (dAtA []byte, err error) {
2017-04-01 14:42:02 +00:00
size := m.Size()
2017-05-21 00:11:38 +00:00
dAtA = make([]byte, size)
n, err := m.MarshalTo(dAtA)
2017-04-01 14:42:02 +00:00
if err != nil {
return nil, err
}
2017-05-21 00:11:38 +00:00
return dAtA[:n], nil
2017-04-01 14:42:02 +00:00
}
2017-05-21 00:11:38 +00:00
func (m *DaemonSetStatus) MarshalTo(dAtA []byte) (int, error) {
2017-04-01 14:42:02 +00:00
var i int
_ = i
var l int
_ = l
2017-05-21 00:11:38 +00:00
dAtA[i] = 0x8
2017-04-01 14:42:02 +00:00
i++
2017-05-21 00:11:38 +00:00
i = encodeVarintGenerated(dAtA, i, uint64(m.CurrentNumberScheduled))
dAtA[i] = 0x10
2017-04-01 14:42:02 +00:00
i++
2017-05-21 00:11:38 +00:00
i = encodeVarintGenerated(dAtA, i, uint64(m.NumberMisscheduled))
dAtA[i] = 0x18
2017-04-01 14:42:02 +00:00
i++
2017-05-21 00:11:38 +00:00
i = encodeVarintGenerated(dAtA, i, uint64(m.DesiredNumberScheduled))
dAtA[i] = 0x20
2017-04-01 14:42:02 +00:00
i++
2017-05-21 00:11:38 +00:00
i = encodeVarintGenerated(dAtA, i, uint64(m.NumberReady))
dAtA[i] = 0x28
2017-04-01 14:42:02 +00:00
i++
2017-05-21 00:11:38 +00:00
i = encodeVarintGenerated(dAtA, i, uint64(m.ObservedGeneration))
dAtA[i] = 0x30
2017-04-01 14:42:02 +00:00
i++
2017-05-21 00:11:38 +00:00
i = encodeVarintGenerated(dAtA, i, uint64(m.UpdatedNumberScheduled))
dAtA[i] = 0x38
2017-04-01 14:42:02 +00:00
i++
2017-05-21 00:11:38 +00:00
i = encodeVarintGenerated(dAtA, i, uint64(m.NumberAvailable))
dAtA[i] = 0x40
2017-04-01 14:42:02 +00:00
i++
2017-05-21 00:11:38 +00:00
i = encodeVarintGenerated(dAtA, i, uint64(m.NumberUnavailable))
2017-04-01 14:42:02 +00:00
return i, nil
}
2017-05-21 00:11:38 +00:00
func (m *DaemonSetUpdateStrategy) Marshal() (dAtA []byte, err error) {
2017-04-01 14:42:02 +00:00
size := m.Size()
2017-05-21 00:11:38 +00:00
dAtA = make([]byte, size)
n, err := m.MarshalTo(dAtA)
2017-04-01 14:42:02 +00:00
if err != nil {
return nil, err
}
2017-05-21 00:11:38 +00:00
return dAtA[:n], nil
2017-04-01 14:42:02 +00:00
}
2017-05-21 00:11:38 +00:00
func (m *DaemonSetUpdateStrategy) MarshalTo(dAtA []byte) (int, error) {
2017-04-01 14:42:02 +00:00
var i int
_ = i
var l int
_ = l
2017-05-21 00:11:38 +00:00
dAtA[i] = 0xa
2017-04-01 14:42:02 +00:00
i++
2017-05-21 00:11:38 +00:00
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Type)))
i += copy(dAtA[i:], m.Type)
2017-04-01 14:42:02 +00:00
if m.RollingUpdate != nil {
2017-05-21 00:11:38 +00:00
dAtA[i] = 0x12
2017-04-01 14:42:02 +00:00
i++
2017-05-21 00:11:38 +00:00
i = encodeVarintGenerated(dAtA, i, uint64(m.RollingUpdate.Size()))
n10, err := m.RollingUpdate.MarshalTo(dAtA[i:])
2017-04-01 14:42:02 +00:00
if err != nil {
return 0, err
}
i += n10
}
return i, nil
}
2017-05-21 00:11:38 +00:00
func (m *Deployment) Marshal() (dAtA []byte, err error) {
2017-04-01 14:42:02 +00:00
size := m.Size()
2017-05-21 00:11:38 +00:00
dAtA = make([]byte, size)
n, err := m.MarshalTo(dAtA)
2017-04-01 14:42:02 +00:00
if err != nil {
return nil, err
}
2017-05-21 00:11:38 +00:00
return dAtA[:n], nil
2017-04-01 14:42:02 +00:00
}
2017-05-21 00:11:38 +00:00
func (m *Deployment) MarshalTo(dAtA []byte) (int, error) {
2017-04-01 14:42:02 +00:00
var i int
_ = i
var l int
_ = l
2017-05-21 00:11:38 +00:00
dAtA[i] = 0xa
2017-04-01 14:42:02 +00:00
i++
2017-05-21 00:11:38 +00:00
i = encodeVarintGenerated(dAtA, i, uint64(m.ObjectMeta.Size()))
n11, err := m.ObjectMeta.MarshalTo(dAtA[i:])
2017-04-01 14:42:02 +00:00
if err != nil {
return 0, err
}
i += n11
2017-05-21 00:11:38 +00:00
dAtA[i] = 0x12
2017-04-01 14:42:02 +00:00
i++
2017-05-21 00:11:38 +00:00
i = encodeVarintGenerated(dAtA, i, uint64(m.Spec.Size()))
n12, err := m.Spec.MarshalTo(dAtA[i:])
2017-04-01 14:42:02 +00:00
if err != nil {
return 0, err
}
i += n12
2017-05-21 00:11:38 +00:00
dAtA[i] = 0x1a
2017-04-01 14:42:02 +00:00
i++
2017-05-21 00:11:38 +00:00
i = encodeVarintGenerated(dAtA, i, uint64(m.Status.Size()))
n13, err := m.Status.MarshalTo(dAtA[i:])
2017-04-01 14:42:02 +00:00
if err != nil {
return 0, err
}
i += n13
return i, nil
}
2017-05-21 00:11:38 +00:00
func (m *DeploymentCondition) Marshal() (dAtA []byte, err error) {
2017-04-01 14:42:02 +00:00
size := m.Size()
2017-05-21 00:11:38 +00:00
dAtA = make([]byte, size)
n, err := m.MarshalTo(dAtA)
2017-04-01 14:42:02 +00:00
if err != nil {
return nil, err
}
2017-05-21 00:11:38 +00:00
return dAtA[:n], nil
2017-04-01 14:42:02 +00:00
}
2017-05-21 00:11:38 +00:00
func (m *DeploymentCondition) MarshalTo(dAtA []byte) (int, error) {
2017-04-01 14:42:02 +00:00
var i int
_ = i
var l int
_ = l
2017-05-21 00:11:38 +00:00
dAtA[i] = 0xa
2017-04-01 14:42:02 +00:00
i++
2017-05-21 00:11:38 +00:00
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Type)))
i += copy(dAtA[i:], m.Type)
dAtA[i] = 0x12
2017-04-01 14:42:02 +00:00
i++
2017-05-21 00:11:38 +00:00
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Status)))
i += copy(dAtA[i:], m.Status)
dAtA[i] = 0x22
2017-04-01 14:42:02 +00:00
i++
2017-05-21 00:11:38 +00:00
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Reason)))
i += copy(dAtA[i:], m.Reason)
dAtA[i] = 0x2a
2017-04-01 14:42:02 +00:00
i++
2017-05-21 00:11:38 +00:00
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Message)))
i += copy(dAtA[i:], m.Message)
dAtA[i] = 0x32
2017-04-01 14:42:02 +00:00
i++
2017-05-21 00:11:38 +00:00
i = encodeVarintGenerated(dAtA, i, uint64(m.LastUpdateTime.Size()))
n14, err := m.LastUpdateTime.MarshalTo(dAtA[i:])
2017-04-01 14:42:02 +00:00
if err != nil {
return 0, err
}
i += n14
2017-05-21 00:11:38 +00:00
dAtA[i] = 0x3a
2017-04-01 14:42:02 +00:00
i++
2017-05-21 00:11:38 +00:00
i = encodeVarintGenerated(dAtA, i, uint64(m.LastTransitionTime.Size()))
n15, err := m.LastTransitionTime.MarshalTo(dAtA[i:])
2017-04-01 14:42:02 +00:00
if err != nil {
return 0, err
}
i += n15
return i, nil
}
2017-05-21 00:11:38 +00:00
func (m *DeploymentList) Marshal() (dAtA []byte, err error) {
2017-04-01 14:42:02 +00:00
size := m.Size()
2017-05-21 00:11:38 +00:00
dAtA = make([]byte, size)
n, err := m.MarshalTo(dAtA)
2017-04-01 14:42:02 +00:00
if err != nil {
return nil, err
}
2017-05-21 00:11:38 +00:00
return dAtA[:n], nil
2017-04-01 14:42:02 +00:00
}
2017-05-21 00:11:38 +00:00
func (m *DeploymentList) MarshalTo(dAtA []byte) (int, error) {
2017-04-01 14:42:02 +00:00
var i int
_ = i
var l int
_ = l
2017-05-21 00:11:38 +00:00
dAtA[i] = 0xa
2017-04-01 14:42:02 +00:00
i++
2017-05-21 00:11:38 +00:00
i = encodeVarintGenerated(dAtA, i, uint64(m.ListMeta.Size()))
n16, err := m.ListMeta.MarshalTo(dAtA[i:])
2017-04-01 14:42:02 +00:00
if err != nil {
return 0, err
}
i += n16
if len(m.Items) > 0 {
for _, msg := range m.Items {
2017-05-21 00:11:38 +00:00
dAtA[i] = 0x12
2017-04-01 14:42:02 +00:00
i++
2017-05-21 00:11:38 +00:00
i = encodeVarintGenerated(dAtA, i, uint64(msg.Size()))
n, err := msg.MarshalTo(dAtA[i:])
2017-04-01 14:42:02 +00:00
if err != nil {
return 0, err
}
i += n
}
}
return i, nil
}
2017-05-21 00:11:38 +00:00
func (m *DeploymentRollback) Marshal() (dAtA []byte, err error) {
2017-04-01 14:42:02 +00:00
size := m.Size()
2017-05-21 00:11:38 +00:00
dAtA = make([]byte, size)
n, err := m.MarshalTo(dAtA)
2017-04-01 14:42:02 +00:00
if err != nil {
return nil, err
}
2017-05-21 00:11:38 +00:00
return dAtA[:n], nil
2017-04-01 14:42:02 +00:00
}
2017-05-21 00:11:38 +00:00
func (m *DeploymentRollback) MarshalTo(dAtA []byte) (int, error) {
2017-04-01 14:42:02 +00:00
var i int
_ = i
var l int
_ = l
2017-05-21 00:11:38 +00:00
dAtA[i] = 0xa
2017-04-01 14:42:02 +00:00
i++
2017-05-21 00:11:38 +00:00
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Name)))
i += copy(dAtA[i:], m.Name)
2017-04-01 14:42:02 +00:00
if len(m.UpdatedAnnotations) > 0 {
for k := range m.UpdatedAnnotations {
2017-05-21 00:11:38 +00:00
dAtA[i] = 0x12
2017-04-01 14:42:02 +00:00
i++
v := m.UpdatedAnnotations[k]
mapSize := 1 + len(k) + sovGenerated(uint64(len(k))) + 1 + len(v) + sovGenerated(uint64(len(v)))
2017-05-21 00:11:38 +00:00
i = encodeVarintGenerated(dAtA, i, uint64(mapSize))
dAtA[i] = 0xa
2017-04-01 14:42:02 +00:00
i++
2017-05-21 00:11:38 +00:00
i = encodeVarintGenerated(dAtA, i, uint64(len(k)))
i += copy(dAtA[i:], k)
dAtA[i] = 0x12
2017-04-01 14:42:02 +00:00
i++
2017-05-21 00:11:38 +00:00
i = encodeVarintGenerated(dAtA, i, uint64(len(v)))
i += copy(dAtA[i:], v)
2017-04-01 14:42:02 +00:00
}
}
2017-05-21 00:11:38 +00:00
dAtA[i] = 0x1a
2017-04-01 14:42:02 +00:00
i++
2017-05-21 00:11:38 +00:00
i = encodeVarintGenerated(dAtA, i, uint64(m.RollbackTo.Size()))
n17, err := m.RollbackTo.MarshalTo(dAtA[i:])
2017-04-01 14:42:02 +00:00
if err != nil {
return 0, err
}
i += n17
return i, nil
}
2017-05-21 00:11:38 +00:00
func (m *DeploymentSpec) Marshal() (dAtA []byte, err error) {
2017-04-01 14:42:02 +00:00
size := m.Size()
2017-05-21 00:11:38 +00:00
dAtA = make([]byte, size)
n, err := m.MarshalTo(dAtA)
2017-04-01 14:42:02 +00:00
if err != nil {
return nil, err
}
2017-05-21 00:11:38 +00:00
return dAtA[:n], nil
2017-04-01 14:42:02 +00:00
}
2017-05-21 00:11:38 +00:00
func (m *DeploymentSpec) MarshalTo(dAtA []byte) (int, error) {
2017-04-01 14:42:02 +00:00
var i int
_ = i
var l int
_ = l
if m.Replicas != nil {
2017-05-21 00:11:38 +00:00
dAtA[i] = 0x8
2017-04-01 14:42:02 +00:00
i++
2017-05-21 00:11:38 +00:00
i = encodeVarintGenerated(dAtA, i, uint64(*m.Replicas))
2017-04-01 14:42:02 +00:00
}
if m.Selector != nil {
2017-05-21 00:11:38 +00:00
dAtA[i] = 0x12
2017-04-01 14:42:02 +00:00
i++
2017-05-21 00:11:38 +00:00
i = encodeVarintGenerated(dAtA, i, uint64(m.Selector.Size()))
n18, err := m.Selector.MarshalTo(dAtA[i:])
2017-04-01 14:42:02 +00:00
if err != nil {
return 0, err
}
i += n18
}
2017-05-21 00:11:38 +00:00
dAtA[i] = 0x1a
2017-04-01 14:42:02 +00:00
i++
2017-05-21 00:11:38 +00:00
i = encodeVarintGenerated(dAtA, i, uint64(m.Template.Size()))
n19, err := m.Template.MarshalTo(dAtA[i:])
2017-04-01 14:42:02 +00:00
if err != nil {
return 0, err
}
i += n19
2017-05-21 00:11:38 +00:00
dAtA[i] = 0x22
2017-04-01 14:42:02 +00:00
i++
2017-05-21 00:11:38 +00:00
i = encodeVarintGenerated(dAtA, i, uint64(m.Strategy.Size()))
n20, err := m.Strategy.MarshalTo(dAtA[i:])
2017-04-01 14:42:02 +00:00
if err != nil {
return 0, err
}
i += n20
2017-05-21 00:11:38 +00:00
dAtA[i] = 0x28
2017-04-01 14:42:02 +00:00
i++
2017-05-21 00:11:38 +00:00
i = encodeVarintGenerated(dAtA, i, uint64(m.MinReadySeconds))
2017-04-01 14:42:02 +00:00
if m.RevisionHistoryLimit != nil {
2017-05-21 00:11:38 +00:00
dAtA[i] = 0x30
2017-04-01 14:42:02 +00:00
i++
2017-05-21 00:11:38 +00:00
i = encodeVarintGenerated(dAtA, i, uint64(*m.RevisionHistoryLimit))
2017-04-01 14:42:02 +00:00
}
2017-05-21 00:11:38 +00:00
dAtA[i] = 0x38
2017-04-01 14:42:02 +00:00
i++
if m.Paused {
2017-05-21 00:11:38 +00:00
dAtA[i] = 1
2017-04-01 14:42:02 +00:00
} else {
2017-05-21 00:11:38 +00:00
dAtA[i] = 0
2017-04-01 14:42:02 +00:00
}
i++
if m.RollbackTo != nil {
2017-05-21 00:11:38 +00:00
dAtA[i] = 0x42
2017-04-01 14:42:02 +00:00
i++
2017-05-21 00:11:38 +00:00
i = encodeVarintGenerated(dAtA, i, uint64(m.RollbackTo.Size()))
n21, err := m.RollbackTo.MarshalTo(dAtA[i:])
2017-04-01 14:42:02 +00:00
if err != nil {
return 0, err
}
i += n21
}
if m.ProgressDeadlineSeconds != nil {
2017-05-21 00:11:38 +00:00
dAtA[i] = 0x48
2017-04-01 14:42:02 +00:00
i++
2017-05-21 00:11:38 +00:00
i = encodeVarintGenerated(dAtA, i, uint64(*m.ProgressDeadlineSeconds))
2017-04-01 14:42:02 +00:00
}
return i, nil
}
2017-05-21 00:11:38 +00:00
func (m *DeploymentStatus) Marshal() (dAtA []byte, err error) {
2017-04-01 14:42:02 +00:00
size := m.Size()
2017-05-21 00:11:38 +00:00
dAtA = make([]byte, size)
n, err := m.MarshalTo(dAtA)
2017-04-01 14:42:02 +00:00
if err != nil {
return nil, err
}
2017-05-21 00:11:38 +00:00
return dAtA[:n], nil
2017-04-01 14:42:02 +00:00
}
2017-05-21 00:11:38 +00:00
func (m *DeploymentStatus) MarshalTo(dAtA []byte) (int, error) {
2017-04-01 14:42:02 +00:00
var i int
_ = i
var l int
_ = l
2017-05-21 00:11:38 +00:00
dAtA[i] = 0x8
2017-04-01 14:42:02 +00:00
i++
2017-05-21 00:11:38 +00:00
i = encodeVarintGenerated(dAtA, i, uint64(m.ObservedGeneration))
dAtA[i] = 0x10
2017-04-01 14:42:02 +00:00
i++
2017-05-21 00:11:38 +00:00
i = encodeVarintGenerated(dAtA, i, uint64(m.Replicas))
dAtA[i] = 0x18
2017-04-01 14:42:02 +00:00
i++
2017-05-21 00:11:38 +00:00
i = encodeVarintGenerated(dAtA, i, uint64(m.UpdatedReplicas))
dAtA[i] = 0x20
2017-04-01 14:42:02 +00:00
i++
2017-05-21 00:11:38 +00:00
i = encodeVarintGenerated(dAtA, i, uint64(m.AvailableReplicas))
dAtA[i] = 0x28
2017-04-01 14:42:02 +00:00
i++
2017-05-21 00:11:38 +00:00
i = encodeVarintGenerated(dAtA, i, uint64(m.UnavailableReplicas))
2017-04-01 14:42:02 +00:00
if len(m.Conditions) > 0 {
for _, msg := range m.Conditions {
2017-05-21 00:11:38 +00:00
dAtA[i] = 0x32
2017-04-01 14:42:02 +00:00
i++
2017-05-21 00:11:38 +00:00
i = encodeVarintGenerated(dAtA, i, uint64(msg.Size()))
n, err := msg.MarshalTo(dAtA[i:])
2017-04-01 14:42:02 +00:00
if err != nil {
return 0, err
}
i += n
}
}
2017-05-21 00:11:38 +00:00
dAtA[i] = 0x38
2017-04-01 14:42:02 +00:00
i++
2017-05-21 00:11:38 +00:00
i = encodeVarintGenerated(dAtA, i, uint64(m.ReadyReplicas))
2017-04-01 14:42:02 +00:00
return i, nil
}
2017-05-21 00:11:38 +00:00
func (m *DeploymentStrategy) Marshal() (dAtA []byte, err error) {
2017-04-01 14:42:02 +00:00
size := m.Size()
2017-05-21 00:11:38 +00:00
dAtA = make([]byte, size)
n, err := m.MarshalTo(dAtA)
2017-04-01 14:42:02 +00:00
if err != nil {
return nil, err
}
2017-05-21 00:11:38 +00:00
return dAtA[:n], nil
2017-04-01 14:42:02 +00:00
}
2017-05-21 00:11:38 +00:00
func (m *DeploymentStrategy) MarshalTo(dAtA []byte) (int, error) {
2017-04-01 14:42:02 +00:00
var i int
_ = i
var l int
_ = l
2017-05-21 00:11:38 +00:00
dAtA[i] = 0xa
2017-04-01 14:42:02 +00:00
i++
2017-05-21 00:11:38 +00:00
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Type)))
i += copy(dAtA[i:], m.Type)
2017-04-01 14:42:02 +00:00
if m.RollingUpdate != nil {
2017-05-21 00:11:38 +00:00
dAtA[i] = 0x12
2017-04-01 14:42:02 +00:00
i++
2017-05-21 00:11:38 +00:00
i = encodeVarintGenerated(dAtA, i, uint64(m.RollingUpdate.Size()))
n22, err := m.RollingUpdate.MarshalTo(dAtA[i:])
2017-04-01 14:42:02 +00:00
if err != nil {
return 0, err
}
i += n22
}
return i, nil
}
2017-05-21 00:11:38 +00:00
func (m *FSGroupStrategyOptions) Marshal() (dAtA []byte, err error) {
2017-04-01 14:42:02 +00:00
size := m.Size()
2017-05-21 00:11:38 +00:00
dAtA = make([]byte, size)
n, err := m.MarshalTo(dAtA)
2017-04-01 14:42:02 +00:00
if err != nil {
return nil, err
}
2017-05-21 00:11:38 +00:00
return dAtA[:n], nil
2017-04-01 14:42:02 +00:00
}
2017-05-21 00:11:38 +00:00
func (m *FSGroupStrategyOptions) MarshalTo(dAtA []byte) (int, error) {
2017-04-01 14:42:02 +00:00
var i int
_ = i
var l int
_ = l
2017-05-21 00:11:38 +00:00
dAtA[i] = 0xa
2017-04-01 14:42:02 +00:00
i++
2017-05-21 00:11:38 +00:00
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Rule)))
i += copy(dAtA[i:], m.Rule)
2017-04-01 14:42:02 +00:00
if len(m.Ranges) > 0 {
for _, msg := range m.Ranges {
2017-05-21 00:11:38 +00:00
dAtA[i] = 0x12
2017-04-01 14:42:02 +00:00
i++
2017-05-21 00:11:38 +00:00
i = encodeVarintGenerated(dAtA, i, uint64(msg.Size()))
n, err := msg.MarshalTo(dAtA[i:])
2017-04-01 14:42:02 +00:00
if err != nil {
return 0, err
}
i += n
}
}
return i, nil
}
2017-05-21 00:11:38 +00:00
func (m *HTTPIngressPath) Marshal() (dAtA []byte, err error) {
2017-04-01 14:42:02 +00:00
size := m.Size()
2017-05-21 00:11:38 +00:00
dAtA = make([]byte, size)
n, err := m.MarshalTo(dAtA)
2017-04-01 14:42:02 +00:00
if err != nil {
return nil, err
}
2017-05-21 00:11:38 +00:00
return dAtA[:n], nil
2017-04-01 14:42:02 +00:00
}
2017-05-21 00:11:38 +00:00
func (m *HTTPIngressPath) MarshalTo(dAtA []byte) (int, error) {
2017-04-01 14:42:02 +00:00
var i int
_ = i
var l int
_ = l
2017-05-21 00:11:38 +00:00
dAtA[i] = 0xa
2017-04-01 14:42:02 +00:00
i++
2017-05-21 00:11:38 +00:00
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Path)))
i += copy(dAtA[i:], m.Path)
dAtA[i] = 0x12
2017-04-01 14:42:02 +00:00
i++
2017-05-21 00:11:38 +00:00
i = encodeVarintGenerated(dAtA, i, uint64(m.Backend.Size()))
n23, err := m.Backend.MarshalTo(dAtA[i:])
2017-04-01 14:42:02 +00:00
if err != nil {
return 0, err
}
i += n23
return i, nil
}
2017-05-21 00:11:38 +00:00
func (m *HTTPIngressRuleValue) Marshal() (dAtA []byte, err error) {
2017-04-01 14:42:02 +00:00
size := m.Size()
2017-05-21 00:11:38 +00:00
dAtA = make([]byte, size)
n, err := m.MarshalTo(dAtA)
2017-04-01 14:42:02 +00:00
if err != nil {
return nil, err
}
2017-05-21 00:11:38 +00:00
return dAtA[:n], nil
2017-04-01 14:42:02 +00:00
}
2017-05-21 00:11:38 +00:00
func (m *HTTPIngressRuleValue) MarshalTo(dAtA []byte) (int, error) {
2017-04-01 14:42:02 +00:00
var i int
_ = i
var l int
_ = l
if len(m.Paths) > 0 {
for _, msg := range m.Paths {
2017-05-21 00:11:38 +00:00
dAtA[i] = 0xa
2017-04-01 14:42:02 +00:00
i++
2017-05-21 00:11:38 +00:00
i = encodeVarintGenerated(dAtA, i, uint64(msg.Size()))
n, err := msg.MarshalTo(dAtA[i:])
2017-04-01 14:42:02 +00:00
if err != nil {
return 0, err
}
i += n
}
}
return i, nil
}
2017-05-21 00:11:38 +00:00
func (m *HostPortRange) Marshal() (dAtA []byte, err error) {
2017-04-01 14:42:02 +00:00
size := m.Size()
2017-05-21 00:11:38 +00:00
dAtA = make([]byte, size)
n, err := m.MarshalTo(dAtA)
2017-04-01 14:42:02 +00:00
if err != nil {
return nil, err
}
2017-05-21 00:11:38 +00:00
return dAtA[:n], nil
2017-04-01 14:42:02 +00:00
}
2017-05-21 00:11:38 +00:00
func (m *HostPortRange) MarshalTo(dAtA []byte) (int, error) {
2017-04-01 14:42:02 +00:00
var i int
_ = i
var l int
_ = l
2017-05-21 00:11:38 +00:00
dAtA[i] = 0x8
2017-04-01 14:42:02 +00:00
i++
2017-05-21 00:11:38 +00:00
i = encodeVarintGenerated(dAtA, i, uint64(m.Min))
dAtA[i] = 0x10
2017-04-01 14:42:02 +00:00
i++
2017-05-21 00:11:38 +00:00
i = encodeVarintGenerated(dAtA, i, uint64(m.Max))
2017-04-01 14:42:02 +00:00
return i, nil
}
2017-05-21 00:11:38 +00:00
func (m *IDRange) Marshal() (dAtA []byte, err error) {
2017-04-01 14:42:02 +00:00
size := m.Size()
2017-05-21 00:11:38 +00:00
dAtA = make([]byte, size)
n, err := m.MarshalTo(dAtA)
2017-04-01 14:42:02 +00:00
if err != nil {
return nil, err
}
2017-05-21 00:11:38 +00:00
return dAtA[:n], nil
2017-04-01 14:42:02 +00:00
}
2017-05-21 00:11:38 +00:00
func (m *IDRange) MarshalTo(dAtA []byte) (int, error) {
2017-04-01 14:42:02 +00:00
var i int
_ = i
var l int
_ = l
2017-05-21 00:11:38 +00:00
dAtA[i] = 0x8
2017-04-01 14:42:02 +00:00
i++
2017-05-21 00:11:38 +00:00
i = encodeVarintGenerated(dAtA, i, uint64(m.Min))
dAtA[i] = 0x10
2017-04-01 14:42:02 +00:00
i++
2017-05-21 00:11:38 +00:00
i = encodeVarintGenerated(dAtA, i, uint64(m.Max))
2017-04-01 14:42:02 +00:00
return i, nil
}
2017-05-21 00:11:38 +00:00
func (m *Ingress) Marshal() (dAtA []byte, err error) {
2017-04-01 14:42:02 +00:00
size := m.Size()
2017-05-21 00:11:38 +00:00
dAtA = make([]byte, size)
n, err := m.MarshalTo(dAtA)
2017-04-01 14:42:02 +00:00
if err != nil {
return nil, err
}
2017-05-21 00:11:38 +00:00
return dAtA[:n], nil
2017-04-01 14:42:02 +00:00
}
2017-05-21 00:11:38 +00:00
func (m *Ingress) MarshalTo(dAtA []byte) (int, error) {
2017-04-01 14:42:02 +00:00
var i int
_ = i
var l int
_ = l
2017-05-21 00:11:38 +00:00
dAtA[i] = 0xa
2017-04-01 14:42:02 +00:00
i++
2017-05-21 00:11:38 +00:00
i = encodeVarintGenerated(dAtA, i, uint64(m.ObjectMeta.Size()))
n24, err := m.ObjectMeta.MarshalTo(dAtA[i:])
2017-04-01 14:42:02 +00:00
if err != nil {
return 0, err
}
i += n24
2017-05-21 00:11:38 +00:00
dAtA[i] = 0x12
2017-04-01 14:42:02 +00:00
i++
2017-05-21 00:11:38 +00:00
i = encodeVarintGenerated(dAtA, i, uint64(m.Spec.Size()))
n25, err := m.Spec.MarshalTo(dAtA[i:])
2017-04-01 14:42:02 +00:00
if err != nil {
return 0, err
}
i += n25
2017-05-21 00:11:38 +00:00
dAtA[i] = 0x1a
2017-04-01 14:42:02 +00:00
i++
2017-05-21 00:11:38 +00:00
i = encodeVarintGenerated(dAtA, i, uint64(m.Status.Size()))
n26, err := m.Status.MarshalTo(dAtA[i:])
2017-04-01 14:42:02 +00:00
if err != nil {
return 0, err
}
i += n26
return i, nil
}
2017-05-21 00:11:38 +00:00
func (m *IngressBackend) Marshal() (dAtA []byte, err error) {
2017-04-01 14:42:02 +00:00
size := m.Size()
2017-05-21 00:11:38 +00:00
dAtA = make([]byte, size)
n, err := m.MarshalTo(dAtA)
2017-04-01 14:42:02 +00:00
if err != nil {
return nil, err
}
2017-05-21 00:11:38 +00:00
return dAtA[:n], nil
2017-04-01 14:42:02 +00:00
}
2017-05-21 00:11:38 +00:00
func (m *IngressBackend) MarshalTo(dAtA []byte) (int, error) {
2017-04-01 14:42:02 +00:00
var i int
_ = i
var l int
_ = l
2017-05-21 00:11:38 +00:00
dAtA[i] = 0xa
2017-04-01 14:42:02 +00:00
i++
2017-05-21 00:11:38 +00:00
i = encodeVarintGenerated(dAtA, i, uint64(len(m.ServiceName)))
i += copy(dAtA[i:], m.ServiceName)
dAtA[i] = 0x12
2017-04-01 14:42:02 +00:00
i++
2017-05-21 00:11:38 +00:00
i = encodeVarintGenerated(dAtA, i, uint64(m.ServicePort.Size()))
n27, err := m.ServicePort.MarshalTo(dAtA[i:])
2017-04-01 14:42:02 +00:00
if err != nil {
return 0, err
}
i += n27
return i, nil
}
2017-05-21 00:11:38 +00:00
func (m *IngressList) Marshal() (dAtA []byte, err error) {
2017-04-01 14:42:02 +00:00
size := m.Size()
2017-05-21 00:11:38 +00:00
dAtA = make([]byte, size)
n, err := m.MarshalTo(dAtA)
2017-04-01 14:42:02 +00:00
if err != nil {
return nil, err
}
2017-05-21 00:11:38 +00:00
return dAtA[:n], nil
2017-04-01 14:42:02 +00:00
}
2017-05-21 00:11:38 +00:00
func (m *IngressList) MarshalTo(dAtA []byte) (int, error) {
2017-04-01 14:42:02 +00:00
var i int
_ = i
var l int
_ = l
2017-05-21 00:11:38 +00:00
dAtA[i] = 0xa
2017-04-01 14:42:02 +00:00
i++
2017-05-21 00:11:38 +00:00
i = encodeVarintGenerated(dAtA, i, uint64(m.ListMeta.Size()))
n28, err := m.ListMeta.MarshalTo(dAtA[i:])
2017-04-01 14:42:02 +00:00
if err != nil {
return 0, err
}
i += n28
if len(m.Items) > 0 {
for _, msg := range m.Items {
2017-05-21 00:11:38 +00:00
dAtA[i] = 0x12
2017-04-01 14:42:02 +00:00
i++
2017-05-21 00:11:38 +00:00
i = encodeVarintGenerated(dAtA, i, uint64(msg.Size()))
n, err := msg.MarshalTo(dAtA[i:])
2017-04-01 14:42:02 +00:00
if err != nil {
return 0, err
}
i += n
}
}
return i, nil
}
2017-05-21 00:11:38 +00:00
func (m *IngressRule) Marshal() (dAtA []byte, err error) {
2017-04-01 14:42:02 +00:00
size := m.Size()
2017-05-21 00:11:38 +00:00
dAtA = make([]byte, size)
n, err := m.MarshalTo(dAtA)
2017-04-01 14:42:02 +00:00
if err != nil {
return nil, err
}
2017-05-21 00:11:38 +00:00
return dAtA[:n], nil
2017-04-01 14:42:02 +00:00
}
2017-05-21 00:11:38 +00:00
func (m *IngressRule) MarshalTo(dAtA []byte) (int, error) {
2017-04-01 14:42:02 +00:00
var i int
_ = i
var l int
_ = l
2017-05-21 00:11:38 +00:00
dAtA[i] = 0xa
2017-04-01 14:42:02 +00:00
i++
2017-05-21 00:11:38 +00:00
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Host)))
i += copy(dAtA[i:], m.Host)
dAtA[i] = 0x12
2017-04-01 14:42:02 +00:00
i++
2017-05-21 00:11:38 +00:00
i = encodeVarintGenerated(dAtA, i, uint64(m.IngressRuleValue.Size()))
n29, err := m.IngressRuleValue.MarshalTo(dAtA[i:])
2017-04-01 14:42:02 +00:00
if err != nil {
return 0, err
}
i += n29
return i, nil
}
2017-05-21 00:11:38 +00:00
func (m *IngressRuleValue) Marshal() (dAtA []byte, err error) {
2017-04-01 14:42:02 +00:00
size := m.Size()
2017-05-21 00:11:38 +00:00
dAtA = make([]byte, size)
n, err := m.MarshalTo(dAtA)
2017-04-01 14:42:02 +00:00
if err != nil {
return nil, err
}
2017-05-21 00:11:38 +00:00
return dAtA[:n], nil
2017-04-01 14:42:02 +00:00
}
2017-05-21 00:11:38 +00:00
func (m *IngressRuleValue) MarshalTo(dAtA []byte) (int, error) {
2017-04-01 14:42:02 +00:00
var i int
_ = i
var l int
_ = l
if m.HTTP != nil {
2017-05-21 00:11:38 +00:00
dAtA[i] = 0xa
2017-04-01 14:42:02 +00:00
i++
2017-05-21 00:11:38 +00:00
i = encodeVarintGenerated(dAtA, i, uint64(m.HTTP.Size()))
n30, err := m.HTTP.MarshalTo(dAtA[i:])
2017-04-01 14:42:02 +00:00
if err != nil {
return 0, err
}
i += n30
}
return i, nil
}
2017-05-21 00:11:38 +00:00
func (m *IngressSpec) Marshal() (dAtA []byte, err error) {
2017-04-01 14:42:02 +00:00
size := m.Size()
2017-05-21 00:11:38 +00:00
dAtA = make([]byte, size)
n, err := m.MarshalTo(dAtA)
2017-04-01 14:42:02 +00:00
if err != nil {
return nil, err
}
2017-05-21 00:11:38 +00:00
return dAtA[:n], nil
2017-04-01 14:42:02 +00:00
}
2017-05-21 00:11:38 +00:00
func (m *IngressSpec) MarshalTo(dAtA []byte) (int, error) {
2017-04-01 14:42:02 +00:00
var i int
_ = i
var l int
_ = l
if m.Backend != nil {
2017-05-21 00:11:38 +00:00
dAtA[i] = 0xa
2017-04-01 14:42:02 +00:00
i++
2017-05-21 00:11:38 +00:00
i = encodeVarintGenerated(dAtA, i, uint64(m.Backend.Size()))
n31, err := m.Backend.MarshalTo(dAtA[i:])
2017-04-01 14:42:02 +00:00
if err != nil {
return 0, err
}
i += n31
}
if len(m.TLS) > 0 {
for _, msg := range m.TLS {
2017-05-21 00:11:38 +00:00
dAtA[i] = 0x12
2017-04-01 14:42:02 +00:00
i++
2017-05-21 00:11:38 +00:00
i = encodeVarintGenerated(dAtA, i, uint64(msg.Size()))
n, err := msg.MarshalTo(dAtA[i:])
2017-04-01 14:42:02 +00:00
if err != nil {
return 0, err
}
i += n
}
}
if len(m.Rules) > 0 {
for _, msg := range m.Rules {
2017-05-21 00:11:38 +00:00
dAtA[i] = 0x1a
2017-04-01 14:42:02 +00:00
i++
2017-05-21 00:11:38 +00:00
i = encodeVarintGenerated(dAtA, i, uint64(msg.Size()))
n, err := msg.MarshalTo(dAtA[i:])
2017-04-01 14:42:02 +00:00
if err != nil {
return 0, err
}
i += n
}
}
return i, nil
}
2017-05-21 00:11:38 +00:00
func (m *IngressStatus) Marshal() (dAtA []byte, err error) {
2017-04-01 14:42:02 +00:00
size := m.Size()
2017-05-21 00:11:38 +00:00
dAtA = make([]byte, size)
n, err := m.MarshalTo(dAtA)
2017-04-01 14:42:02 +00:00
if err != nil {
return nil, err
}
2017-05-21 00:11:38 +00:00
return dAtA[:n], nil
2017-04-01 14:42:02 +00:00
}
2017-05-21 00:11:38 +00:00
func (m *IngressStatus) MarshalTo(dAtA []byte) (int, error) {
2017-04-01 14:42:02 +00:00
var i int
_ = i
var l int
_ = l
2017-05-21 00:11:38 +00:00
dAtA[i] = 0xa
2017-04-01 14:42:02 +00:00
i++
2017-05-21 00:11:38 +00:00
i = encodeVarintGenerated(dAtA, i, uint64(m.LoadBalancer.Size()))
n32, err := m.LoadBalancer.MarshalTo(dAtA[i:])
2017-04-01 14:42:02 +00:00
if err != nil {
return 0, err
}
i += n32
return i, nil
}
2017-05-21 00:11:38 +00:00
func (m *IngressTLS) Marshal() (dAtA []byte, err error) {
2017-04-01 14:42:02 +00:00
size := m.Size()
2017-05-21 00:11:38 +00:00
dAtA = make([]byte, size)
n, err := m.MarshalTo(dAtA)
2017-04-01 14:42:02 +00:00
if err != nil {
return nil, err
}
2017-05-21 00:11:38 +00:00
return dAtA[:n], nil
2017-04-01 14:42:02 +00:00
}
2017-05-21 00:11:38 +00:00
func (m *IngressTLS) MarshalTo(dAtA []byte) (int, error) {
2017-04-01 14:42:02 +00:00
var i int
_ = i
var l int
_ = l
if len(m.Hosts) > 0 {
for _, s := range m.Hosts {
2017-05-21 00:11:38 +00:00
dAtA[i] = 0xa
2017-04-01 14:42:02 +00:00
i++
l = len(s)
for l >= 1<<7 {
2017-05-21 00:11:38 +00:00
dAtA[i] = uint8(uint64(l)&0x7f | 0x80)
2017-04-01 14:42:02 +00:00
l >>= 7
i++
}
2017-05-21 00:11:38 +00:00
dAtA[i] = uint8(l)
2017-04-01 14:42:02 +00:00
i++
2017-05-21 00:11:38 +00:00
i += copy(dAtA[i:], s)
2017-04-01 14:42:02 +00:00
}
}
2017-05-21 00:11:38 +00:00
dAtA[i] = 0x12
2017-04-01 14:42:02 +00:00
i++
2017-05-21 00:11:38 +00:00
i = encodeVarintGenerated(dAtA, i, uint64(len(m.SecretName)))
i += copy(dAtA[i:], m.SecretName)
2017-04-01 14:42:02 +00:00
return i, nil
}
2017-05-21 00:11:38 +00:00
func (m *NetworkPolicy) Marshal() (dAtA []byte, err error) {
2017-04-01 14:42:02 +00:00
size := m.Size()
2017-05-21 00:11:38 +00:00
dAtA = make([]byte, size)
n, err := m.MarshalTo(dAtA)
2017-04-01 14:42:02 +00:00
if err != nil {
return nil, err
}
2017-05-21 00:11:38 +00:00
return dAtA[:n], nil
2017-04-01 14:42:02 +00:00
}
2017-05-21 00:11:38 +00:00
func (m *NetworkPolicy) MarshalTo(dAtA []byte) (int, error) {
2017-04-01 14:42:02 +00:00
var i int
_ = i
var l int
_ = l
2017-05-21 00:11:38 +00:00
dAtA[i] = 0xa
2017-04-01 14:42:02 +00:00
i++
2017-05-21 00:11:38 +00:00
i = encodeVarintGenerated(dAtA, i, uint64(m.ObjectMeta.Size()))
n33, err := m.ObjectMeta.MarshalTo(dAtA[i:])
2017-04-01 14:42:02 +00:00
if err != nil {
return 0, err
}
i += n33
2017-05-21 00:11:38 +00:00
dAtA[i] = 0x12
2017-04-01 14:42:02 +00:00
i++
2017-05-21 00:11:38 +00:00
i = encodeVarintGenerated(dAtA, i, uint64(m.Spec.Size()))
n34, err := m.Spec.MarshalTo(dAtA[i:])
2017-04-01 14:42:02 +00:00
if err != nil {
return 0, err
}
i += n34
return i, nil
}
2017-05-21 00:11:38 +00:00
func (m *NetworkPolicyIngressRule) Marshal() (dAtA []byte, err error) {
2017-04-01 14:42:02 +00:00
size := m.Size()
2017-05-21 00:11:38 +00:00
dAtA = make([]byte, size)
n, err := m.MarshalTo(dAtA)
2017-04-01 14:42:02 +00:00
if err != nil {
return nil, err
}
2017-05-21 00:11:38 +00:00
return dAtA[:n], nil
2017-04-01 14:42:02 +00:00
}
2017-05-21 00:11:38 +00:00
func (m *NetworkPolicyIngressRule) MarshalTo(dAtA []byte) (int, error) {
2017-04-01 14:42:02 +00:00
var i int
_ = i
var l int
_ = l
if len(m.Ports) > 0 {
for _, msg := range m.Ports {
2017-05-21 00:11:38 +00:00
dAtA[i] = 0xa
2017-04-01 14:42:02 +00:00
i++
2017-05-21 00:11:38 +00:00
i = encodeVarintGenerated(dAtA, i, uint64(msg.Size()))
n, err := msg.MarshalTo(dAtA[i:])
2017-04-01 14:42:02 +00:00
if err != nil {
return 0, err
}
i += n
}
}
if len(m.From) > 0 {
for _, msg := range m.From {
2017-05-21 00:11:38 +00:00
dAtA[i] = 0x12
2017-04-01 14:42:02 +00:00
i++
2017-05-21 00:11:38 +00:00
i = encodeVarintGenerated(dAtA, i, uint64(msg.Size()))
n, err := msg.MarshalTo(dAtA[i:])
2017-04-01 14:42:02 +00:00
if err != nil {
return 0, err
}
i += n
}
}
return i, nil
}
2017-05-21 00:11:38 +00:00
func (m *NetworkPolicyList) Marshal() (dAtA []byte, err error) {
2017-04-01 14:42:02 +00:00
size := m.Size()
2017-05-21 00:11:38 +00:00
dAtA = make([]byte, size)
n, err := m.MarshalTo(dAtA)
2017-04-01 14:42:02 +00:00
if err != nil {
return nil, err
}
2017-05-21 00:11:38 +00:00
return dAtA[:n], nil
2017-04-01 14:42:02 +00:00
}
2017-05-21 00:11:38 +00:00
func (m *NetworkPolicyList) MarshalTo(dAtA []byte) (int, error) {
2017-04-01 14:42:02 +00:00
var i int
_ = i
var l int
_ = l
2017-05-21 00:11:38 +00:00
dAtA[i] = 0xa
2017-04-01 14:42:02 +00:00
i++
2017-05-21 00:11:38 +00:00
i = encodeVarintGenerated(dAtA, i, uint64(m.ListMeta.Size()))
n35, err := m.ListMeta.MarshalTo(dAtA[i:])
2017-04-01 14:42:02 +00:00
if err != nil {
return 0, err
}
i += n35
if len(m.Items) > 0 {
for _, msg := range m.Items {
2017-05-21 00:11:38 +00:00
dAtA[i] = 0x12
2017-04-01 14:42:02 +00:00
i++
2017-05-21 00:11:38 +00:00
i = encodeVarintGenerated(dAtA, i, uint64(msg.Size()))
n, err := msg.MarshalTo(dAtA[i:])
2017-04-01 14:42:02 +00:00
if err != nil {
return 0, err
}
i += n
}
}
return i, nil
}
2017-05-21 00:11:38 +00:00
func (m *NetworkPolicyPeer) Marshal() (dAtA []byte, err error) {
2017-04-01 14:42:02 +00:00
size := m.Size()
2017-05-21 00:11:38 +00:00
dAtA = make([]byte, size)
n, err := m.MarshalTo(dAtA)
2017-04-01 14:42:02 +00:00
if err != nil {
return nil, err
}
2017-05-21 00:11:38 +00:00
return dAtA[:n], nil
2017-04-01 14:42:02 +00:00
}
2017-05-21 00:11:38 +00:00
func (m *NetworkPolicyPeer) MarshalTo(dAtA []byte) (int, error) {
2017-04-01 14:42:02 +00:00
var i int
_ = i
var l int
_ = l
if m.PodSelector != nil {
2017-05-21 00:11:38 +00:00
dAtA[i] = 0xa
2017-04-01 14:42:02 +00:00
i++
2017-05-21 00:11:38 +00:00
i = encodeVarintGenerated(dAtA, i, uint64(m.PodSelector.Size()))
n36, err := m.PodSelector.MarshalTo(dAtA[i:])
2017-04-01 14:42:02 +00:00
if err != nil {
return 0, err
}
i += n36
}
if m.NamespaceSelector != nil {
2017-05-21 00:11:38 +00:00
dAtA[i] = 0x12
2017-04-01 14:42:02 +00:00
i++
2017-05-21 00:11:38 +00:00
i = encodeVarintGenerated(dAtA, i, uint64(m.NamespaceSelector.Size()))
n37, err := m.NamespaceSelector.MarshalTo(dAtA[i:])
2017-04-01 14:42:02 +00:00
if err != nil {
return 0, err
}
i += n37
}
return i, nil
}
2017-05-21 00:11:38 +00:00
func (m *NetworkPolicyPort) Marshal() (dAtA []byte, err error) {
2017-04-01 14:42:02 +00:00
size := m.Size()
2017-05-21 00:11:38 +00:00
dAtA = make([]byte, size)
n, err := m.MarshalTo(dAtA)
2017-04-01 14:42:02 +00:00
if err != nil {
return nil, err
}
2017-05-21 00:11:38 +00:00
return dAtA[:n], nil
2017-04-01 14:42:02 +00:00
}
2017-05-21 00:11:38 +00:00
func (m *NetworkPolicyPort) MarshalTo(dAtA []byte) (int, error) {
2017-04-01 14:42:02 +00:00
var i int
_ = i
var l int
_ = l
if m.Protocol != nil {
2017-05-21 00:11:38 +00:00
dAtA[i] = 0xa
2017-04-01 14:42:02 +00:00
i++
2017-05-21 00:11:38 +00:00
i = encodeVarintGenerated(dAtA, i, uint64(len(*m.Protocol)))
i += copy(dAtA[i:], *m.Protocol)
2017-04-01 14:42:02 +00:00
}
if m.Port != nil {
2017-05-21 00:11:38 +00:00
dAtA[i] = 0x12
2017-04-01 14:42:02 +00:00
i++
2017-05-21 00:11:38 +00:00
i = encodeVarintGenerated(dAtA, i, uint64(m.Port.Size()))
n38, err := m.Port.MarshalTo(dAtA[i:])
2017-04-01 14:42:02 +00:00
if err != nil {
return 0, err
}
i += n38
}
return i, nil
}
2017-05-21 00:11:38 +00:00
func (m *NetworkPolicySpec) Marshal() (dAtA []byte, err error) {
2017-04-01 14:42:02 +00:00
size := m.Size()
2017-05-21 00:11:38 +00:00
dAtA = make([]byte, size)
n, err := m.MarshalTo(dAtA)
2017-04-01 14:42:02 +00:00
if err != nil {
return nil, err
}
2017-05-21 00:11:38 +00:00
return dAtA[:n], nil
2017-04-01 14:42:02 +00:00
}
2017-05-21 00:11:38 +00:00
func (m *NetworkPolicySpec) MarshalTo(dAtA []byte) (int, error) {
2017-04-01 14:42:02 +00:00
var i int
_ = i
var l int
_ = l
2017-05-21 00:11:38 +00:00
dAtA[i] = 0xa
2017-04-01 14:42:02 +00:00
i++
2017-05-21 00:11:38 +00:00
i = encodeVarintGenerated(dAtA, i, uint64(m.PodSelector.Size()))
n39, err := m.PodSelector.MarshalTo(dAtA[i:])
2017-04-01 14:42:02 +00:00
if err != nil {
return 0, err
}
i += n39
if len(m.Ingress) > 0 {
for _, msg := range m.Ingress {
2017-05-21 00:11:38 +00:00
dAtA[i] = 0x12
2017-04-01 14:42:02 +00:00
i++
2017-05-21 00:11:38 +00:00
i = encodeVarintGenerated(dAtA, i, uint64(msg.Size()))
n, err := msg.MarshalTo(dAtA[i:])
2017-04-01 14:42:02 +00:00
if err != nil {
return 0, err
}
i += n
}
}
return i, nil
}
2017-05-21 00:11:38 +00:00
func (m *PodSecurityPolicy) Marshal() (dAtA []byte, err error) {
2017-04-01 14:42:02 +00:00
size := m.Size()
2017-05-21 00:11:38 +00:00
dAtA = make([]byte, size)
n, err := m.MarshalTo(dAtA)
2017-04-01 14:42:02 +00:00
if err != nil {
return nil, err
}
2017-05-21 00:11:38 +00:00
return dAtA[:n], nil
2017-04-01 14:42:02 +00:00
}
2017-05-21 00:11:38 +00:00
func (m *PodSecurityPolicy) MarshalTo(dAtA []byte) (int, error) {
2017-04-01 14:42:02 +00:00
var i int
_ = i
var l int
_ = l
2017-05-21 00:11:38 +00:00
dAtA[i] = 0xa
2017-04-01 14:42:02 +00:00
i++
2017-05-21 00:11:38 +00:00
i = encodeVarintGenerated(dAtA, i, uint64(m.ObjectMeta.Size()))
n40, err := m.ObjectMeta.MarshalTo(dAtA[i:])
2017-04-01 14:42:02 +00:00
if err != nil {
return 0, err
}
i += n40
2017-05-21 00:11:38 +00:00
dAtA[i] = 0x12
2017-04-01 14:42:02 +00:00
i++
2017-05-21 00:11:38 +00:00
i = encodeVarintGenerated(dAtA, i, uint64(m.Spec.Size()))
n41, err := m.Spec.MarshalTo(dAtA[i:])
2017-04-01 14:42:02 +00:00
if err != nil {
return 0, err
}
i += n41
return i, nil
}
2017-05-21 00:11:38 +00:00
func (m *PodSecurityPolicyList) Marshal() (dAtA []byte, err error) {
2017-04-01 14:42:02 +00:00
size := m.Size()
2017-05-21 00:11:38 +00:00
dAtA = make([]byte, size)
n, err := m.MarshalTo(dAtA)
2017-04-01 14:42:02 +00:00
if err != nil {
return nil, err
}
2017-05-21 00:11:38 +00:00
return dAtA[:n], nil
2017-04-01 14:42:02 +00:00
}
2017-05-21 00:11:38 +00:00
func (m *PodSecurityPolicyList) MarshalTo(dAtA []byte) (int, error) {
2017-04-01 14:42:02 +00:00
var i int
_ = i
var l int
_ = l
2017-05-21 00:11:38 +00:00
dAtA[i] = 0xa
2017-04-01 14:42:02 +00:00
i++
2017-05-21 00:11:38 +00:00
i = encodeVarintGenerated(dAtA, i, uint64(m.ListMeta.Size()))
n42, err := m.ListMeta.MarshalTo(dAtA[i:])
2017-04-01 14:42:02 +00:00
if err != nil {
return 0, err
}
i += n42
if len(m.Items) > 0 {
for _, msg := range m.Items {
2017-05-21 00:11:38 +00:00
dAtA[i] = 0x12
2017-04-01 14:42:02 +00:00
i++
2017-05-21 00:11:38 +00:00
i = encodeVarintGenerated(dAtA, i, uint64(msg.Size()))
n, err := msg.MarshalTo(dAtA[i:])
2017-04-01 14:42:02 +00:00
if err != nil {
return 0, err
}
i += n
}
}
return i, nil
}
2017-05-21 00:11:38 +00:00
func (m *PodSecurityPolicySpec) Marshal() (dAtA []byte, err error) {
2017-04-01 14:42:02 +00:00
size := m.Size()
2017-05-21 00:11:38 +00:00
dAtA = make([]byte, size)
n, err := m.MarshalTo(dAtA)
2017-04-01 14:42:02 +00:00
if err != nil {
return nil, err
}
2017-05-21 00:11:38 +00:00
return dAtA[:n], nil
2017-04-01 14:42:02 +00:00
}
2017-05-21 00:11:38 +00:00
func (m *PodSecurityPolicySpec) MarshalTo(dAtA []byte) (int, error) {
2017-04-01 14:42:02 +00:00
var i int
_ = i
var l int
_ = l
2017-05-21 00:11:38 +00:00
dAtA[i] = 0x8
2017-04-01 14:42:02 +00:00
i++
if m.Privileged {
2017-05-21 00:11:38 +00:00
dAtA[i] = 1
2017-04-01 14:42:02 +00:00
} else {
2017-05-21 00:11:38 +00:00
dAtA[i] = 0
2017-04-01 14:42:02 +00:00
}
i++
if len(m.DefaultAddCapabilities) > 0 {
for _, s := range m.DefaultAddCapabilities {
2017-05-21 00:11:38 +00:00
dAtA[i] = 0x12
2017-04-01 14:42:02 +00:00
i++
l = len(s)
for l >= 1<<7 {
2017-05-21 00:11:38 +00:00
dAtA[i] = uint8(uint64(l)&0x7f | 0x80)
2017-04-01 14:42:02 +00:00
l >>= 7
i++
}
2017-05-21 00:11:38 +00:00
dAtA[i] = uint8(l)
2017-04-01 14:42:02 +00:00
i++
2017-05-21 00:11:38 +00:00
i += copy(dAtA[i:], s)
2017-04-01 14:42:02 +00:00
}
}
if len(m.RequiredDropCapabilities) > 0 {
for _, s := range m.RequiredDropCapabilities {
2017-05-21 00:11:38 +00:00
dAtA[i] = 0x1a
2017-04-01 14:42:02 +00:00
i++
l = len(s)
for l >= 1<<7 {
2017-05-21 00:11:38 +00:00
dAtA[i] = uint8(uint64(l)&0x7f | 0x80)
2017-04-01 14:42:02 +00:00
l >>= 7
i++
}
2017-05-21 00:11:38 +00:00
dAtA[i] = uint8(l)
2017-04-01 14:42:02 +00:00
i++
2017-05-21 00:11:38 +00:00
i += copy(dAtA[i:], s)
2017-04-01 14:42:02 +00:00
}
}
if len(m.AllowedCapabilities) > 0 {
for _, s := range m.AllowedCapabilities {
2017-05-21 00:11:38 +00:00
dAtA[i] = 0x22
2017-04-01 14:42:02 +00:00
i++
l = len(s)
for l >= 1<<7 {
2017-05-21 00:11:38 +00:00
dAtA[i] = uint8(uint64(l)&0x7f | 0x80)
2017-04-01 14:42:02 +00:00
l >>= 7
i++
}
2017-05-21 00:11:38 +00:00
dAtA[i] = uint8(l)
2017-04-01 14:42:02 +00:00
i++
2017-05-21 00:11:38 +00:00
i += copy(dAtA[i:], s)
2017-04-01 14:42:02 +00:00
}
}
if len(m.Volumes) > 0 {
for _, s := range m.Volumes {
2017-05-21 00:11:38 +00:00
dAtA[i] = 0x2a
2017-04-01 14:42:02 +00:00
i++
l = len(s)
for l >= 1<<7 {
2017-05-21 00:11:38 +00:00
dAtA[i] = uint8(uint64(l)&0x7f | 0x80)
2017-04-01 14:42:02 +00:00
l >>= 7
i++
}
2017-05-21 00:11:38 +00:00
dAtA[i] = uint8(l)
2017-04-01 14:42:02 +00:00
i++
2017-05-21 00:11:38 +00:00
i += copy(dAtA[i:], s)
2017-04-01 14:42:02 +00:00
}
}
2017-05-21 00:11:38 +00:00
dAtA[i] = 0x30
2017-04-01 14:42:02 +00:00
i++
if m.HostNetwork {
2017-05-21 00:11:38 +00:00
dAtA[i] = 1
2017-04-01 14:42:02 +00:00
} else {
2017-05-21 00:11:38 +00:00
dAtA[i] = 0
2017-04-01 14:42:02 +00:00
}
i++
if len(m.HostPorts) > 0 {
for _, msg := range m.HostPorts {
2017-05-21 00:11:38 +00:00
dAtA[i] = 0x3a
2017-04-01 14:42:02 +00:00
i++
2017-05-21 00:11:38 +00:00
i = encodeVarintGenerated(dAtA, i, uint64(msg.Size()))
n, err := msg.MarshalTo(dAtA[i:])
2017-04-01 14:42:02 +00:00
if err != nil {
return 0, err
}
i += n
}
}
2017-05-21 00:11:38 +00:00
dAtA[i] = 0x40
2017-04-01 14:42:02 +00:00
i++
if m.HostPID {
2017-05-21 00:11:38 +00:00
dAtA[i] = 1
2017-04-01 14:42:02 +00:00
} else {
2017-05-21 00:11:38 +00:00
dAtA[i] = 0
2017-04-01 14:42:02 +00:00
}
i++
2017-05-21 00:11:38 +00:00
dAtA[i] = 0x48
2017-04-01 14:42:02 +00:00
i++
if m.HostIPC {
2017-05-21 00:11:38 +00:00
dAtA[i] = 1
2017-04-01 14:42:02 +00:00
} else {
2017-05-21 00:11:38 +00:00
dAtA[i] = 0
2017-04-01 14:42:02 +00:00
}
i++
2017-05-21 00:11:38 +00:00
dAtA[i] = 0x52
2017-04-01 14:42:02 +00:00
i++
2017-05-21 00:11:38 +00:00
i = encodeVarintGenerated(dAtA, i, uint64(m.SELinux.Size()))
n43, err := m.SELinux.MarshalTo(dAtA[i:])
2017-04-01 14:42:02 +00:00
if err != nil {
return 0, err
}
i += n43
2017-05-21 00:11:38 +00:00
dAtA[i] = 0x5a
2017-04-01 14:42:02 +00:00
i++
2017-05-21 00:11:38 +00:00
i = encodeVarintGenerated(dAtA, i, uint64(m.RunAsUser.Size()))
n44, err := m.RunAsUser.MarshalTo(dAtA[i:])
2017-04-01 14:42:02 +00:00
if err != nil {
return 0, err
}
i += n44
2017-05-21 00:11:38 +00:00
dAtA[i] = 0x62
2017-04-01 14:42:02 +00:00
i++
2017-05-21 00:11:38 +00:00
i = encodeVarintGenerated(dAtA, i, uint64(m.SupplementalGroups.Size()))
n45, err := m.SupplementalGroups.MarshalTo(dAtA[i:])
2017-04-01 14:42:02 +00:00
if err != nil {
return 0, err
}
i += n45
2017-05-21 00:11:38 +00:00
dAtA[i] = 0x6a
2017-04-01 14:42:02 +00:00
i++
2017-05-21 00:11:38 +00:00
i = encodeVarintGenerated(dAtA, i, uint64(m.FSGroup.Size()))
n46, err := m.FSGroup.MarshalTo(dAtA[i:])
2017-04-01 14:42:02 +00:00
if err != nil {
return 0, err
}
i += n46
2017-05-21 00:11:38 +00:00
dAtA[i] = 0x70
2017-04-01 14:42:02 +00:00
i++
if m.ReadOnlyRootFilesystem {
2017-05-21 00:11:38 +00:00
dAtA[i] = 1
2017-04-01 14:42:02 +00:00
} else {
2017-05-21 00:11:38 +00:00
dAtA[i] = 0
2017-04-01 14:42:02 +00:00
}
i++
return i, nil
}
2017-05-21 00:11:38 +00:00
func (m *ReplicaSet) Marshal() (dAtA []byte, err error) {
2017-04-01 14:42:02 +00:00
size := m.Size()
2017-05-21 00:11:38 +00:00
dAtA = make([]byte, size)
n, err := m.MarshalTo(dAtA)
2017-04-01 14:42:02 +00:00
if err != nil {
return nil, err
}
2017-05-21 00:11:38 +00:00
return dAtA[:n], nil
2017-04-01 14:42:02 +00:00
}
2017-05-21 00:11:38 +00:00
func (m *ReplicaSet) MarshalTo(dAtA []byte) (int, error) {
2017-04-01 14:42:02 +00:00
var i int
_ = i
var l int
_ = l
2017-05-21 00:11:38 +00:00
dAtA[i] = 0xa
2017-04-01 14:42:02 +00:00
i++
2017-05-21 00:11:38 +00:00
i = encodeVarintGenerated(dAtA, i, uint64(m.ObjectMeta.Size()))
n47, err := m.ObjectMeta.MarshalTo(dAtA[i:])
2017-04-01 14:42:02 +00:00
if err != nil {
return 0, err
}
i += n47
2017-05-21 00:11:38 +00:00
dAtA[i] = 0x12
2017-04-01 14:42:02 +00:00
i++
2017-05-21 00:11:38 +00:00
i = encodeVarintGenerated(dAtA, i, uint64(m.Spec.Size()))
n48, err := m.Spec.MarshalTo(dAtA[i:])
2017-04-01 14:42:02 +00:00
if err != nil {
return 0, err
}
i += n48
2017-05-21 00:11:38 +00:00
dAtA[i] = 0x1a
2017-04-01 14:42:02 +00:00
i++
2017-05-21 00:11:38 +00:00
i = encodeVarintGenerated(dAtA, i, uint64(m.Status.Size()))
n49, err := m.Status.MarshalTo(dAtA[i:])
2017-04-01 14:42:02 +00:00
if err != nil {
return 0, err
}
i += n49
return i, nil
}
2017-05-21 00:11:38 +00:00
func (m *ReplicaSetCondition) Marshal() (dAtA []byte, err error) {
2017-04-01 14:42:02 +00:00
size := m.Size()
2017-05-21 00:11:38 +00:00
dAtA = make([]byte, size)
n, err := m.MarshalTo(dAtA)
2017-04-01 14:42:02 +00:00
if err != nil {
return nil, err
}
2017-05-21 00:11:38 +00:00
return dAtA[:n], nil
2017-04-01 14:42:02 +00:00
}
2017-05-21 00:11:38 +00:00
func (m *ReplicaSetCondition) MarshalTo(dAtA []byte) (int, error) {
2017-04-01 14:42:02 +00:00
var i int
_ = i
var l int
_ = l
2017-05-21 00:11:38 +00:00
dAtA[i] = 0xa
2017-04-01 14:42:02 +00:00
i++
2017-05-21 00:11:38 +00:00
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Type)))
i += copy(dAtA[i:], m.Type)
dAtA[i] = 0x12
2017-04-01 14:42:02 +00:00
i++
2017-05-21 00:11:38 +00:00
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Status)))
i += copy(dAtA[i:], m.Status)
dAtA[i] = 0x1a
2017-04-01 14:42:02 +00:00
i++
2017-05-21 00:11:38 +00:00
i = encodeVarintGenerated(dAtA, i, uint64(m.LastTransitionTime.Size()))
n50, err := m.LastTransitionTime.MarshalTo(dAtA[i:])
2017-04-01 14:42:02 +00:00
if err != nil {
return 0, err
}
i += n50
2017-05-21 00:11:38 +00:00
dAtA[i] = 0x22
2017-04-01 14:42:02 +00:00
i++
2017-05-21 00:11:38 +00:00
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Reason)))
i += copy(dAtA[i:], m.Reason)
dAtA[i] = 0x2a
2017-04-01 14:42:02 +00:00
i++
2017-05-21 00:11:38 +00:00
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Message)))
i += copy(dAtA[i:], m.Message)
2017-04-01 14:42:02 +00:00
return i, nil
}
2017-05-21 00:11:38 +00:00
func (m *ReplicaSetList) Marshal() (dAtA []byte, err error) {
2017-04-01 14:42:02 +00:00
size := m.Size()
2017-05-21 00:11:38 +00:00
dAtA = make([]byte, size)
n, err := m.MarshalTo(dAtA)
2017-04-01 14:42:02 +00:00
if err != nil {
return nil, err
}
2017-05-21 00:11:38 +00:00
return dAtA[:n], nil
2017-04-01 14:42:02 +00:00
}
2017-05-21 00:11:38 +00:00
func (m *ReplicaSetList) MarshalTo(dAtA []byte) (int, error) {
2017-04-01 14:42:02 +00:00
var i int
_ = i
var l int
_ = l
2017-05-21 00:11:38 +00:00
dAtA[i] = 0xa
2017-04-01 14:42:02 +00:00
i++
2017-05-21 00:11:38 +00:00
i = encodeVarintGenerated(dAtA, i, uint64(m.ListMeta.Size()))
n51, err := m.ListMeta.MarshalTo(dAtA[i:])
2017-04-01 14:42:02 +00:00
if err != nil {
return 0, err
}
i += n51
if len(m.Items) > 0 {
for _, msg := range m.Items {
2017-05-21 00:11:38 +00:00
dAtA[i] = 0x12
2017-04-01 14:42:02 +00:00
i++
2017-05-21 00:11:38 +00:00
i = encodeVarintGenerated(dAtA, i, uint64(msg.Size()))
n, err := msg.MarshalTo(dAtA[i:])
2017-04-01 14:42:02 +00:00
if err != nil {
return 0, err
}
i += n
}
}
return i, nil
}
2017-05-21 00:11:38 +00:00
func (m *ReplicaSetSpec) Marshal() (dAtA []byte, err error) {
2017-04-01 14:42:02 +00:00
size := m.Size()
2017-05-21 00:11:38 +00:00
dAtA = make([]byte, size)
n, err := m.MarshalTo(dAtA)
2017-04-01 14:42:02 +00:00
if err != nil {
return nil, err
}
2017-05-21 00:11:38 +00:00
return dAtA[:n], nil
2017-04-01 14:42:02 +00:00
}
2017-05-21 00:11:38 +00:00
func (m *ReplicaSetSpec) MarshalTo(dAtA []byte) (int, error) {
2017-04-01 14:42:02 +00:00
var i int
_ = i
var l int
_ = l
if m.Replicas != nil {
2017-05-21 00:11:38 +00:00
dAtA[i] = 0x8
2017-04-01 14:42:02 +00:00
i++
2017-05-21 00:11:38 +00:00
i = encodeVarintGenerated(dAtA, i, uint64(*m.Replicas))
2017-04-01 14:42:02 +00:00
}
if m.Selector != nil {
2017-05-21 00:11:38 +00:00
dAtA[i] = 0x12
2017-04-01 14:42:02 +00:00
i++
2017-05-21 00:11:38 +00:00
i = encodeVarintGenerated(dAtA, i, uint64(m.Selector.Size()))
n52, err := m.Selector.MarshalTo(dAtA[i:])
2017-04-01 14:42:02 +00:00
if err != nil {
return 0, err
}
i += n52
}
2017-05-21 00:11:38 +00:00
dAtA[i] = 0x1a
2017-04-01 14:42:02 +00:00
i++
2017-05-21 00:11:38 +00:00
i = encodeVarintGenerated(dAtA, i, uint64(m.Template.Size()))
n53, err := m.Template.MarshalTo(dAtA[i:])
2017-04-01 14:42:02 +00:00
if err != nil {
return 0, err
}
i += n53
2017-05-21 00:11:38 +00:00
dAtA[i] = 0x20
2017-04-01 14:42:02 +00:00
i++
2017-05-21 00:11:38 +00:00
i = encodeVarintGenerated(dAtA, i, uint64(m.MinReadySeconds))
2017-04-01 14:42:02 +00:00
return i, nil
}
2017-05-21 00:11:38 +00:00
func (m *ReplicaSetStatus) Marshal() (dAtA []byte, err error) {
2017-04-01 14:42:02 +00:00
size := m.Size()
2017-05-21 00:11:38 +00:00
dAtA = make([]byte, size)
n, err := m.MarshalTo(dAtA)
2017-04-01 14:42:02 +00:00
if err != nil {
return nil, err
}
2017-05-21 00:11:38 +00:00
return dAtA[:n], nil
2017-04-01 14:42:02 +00:00
}
2017-05-21 00:11:38 +00:00
func (m *ReplicaSetStatus) MarshalTo(dAtA []byte) (int, error) {
2017-04-01 14:42:02 +00:00
var i int
_ = i
var l int
_ = l
2017-05-21 00:11:38 +00:00
dAtA[i] = 0x8
2017-04-01 14:42:02 +00:00
i++
2017-05-21 00:11:38 +00:00
i = encodeVarintGenerated(dAtA, i, uint64(m.Replicas))
dAtA[i] = 0x10
2017-04-01 14:42:02 +00:00
i++
2017-05-21 00:11:38 +00:00
i = encodeVarintGenerated(dAtA, i, uint64(m.FullyLabeledReplicas))
dAtA[i] = 0x18
2017-04-01 14:42:02 +00:00
i++
2017-05-21 00:11:38 +00:00
i = encodeVarintGenerated(dAtA, i, uint64(m.ObservedGeneration))
dAtA[i] = 0x20
2017-04-01 14:42:02 +00:00
i++
2017-05-21 00:11:38 +00:00
i = encodeVarintGenerated(dAtA, i, uint64(m.ReadyReplicas))
dAtA[i] = 0x28
2017-04-01 14:42:02 +00:00
i++
2017-05-21 00:11:38 +00:00
i = encodeVarintGenerated(dAtA, i, uint64(m.AvailableReplicas))
2017-04-01 14:42:02 +00:00
if len(m.Conditions) > 0 {
for _, msg := range m.Conditions {
2017-05-21 00:11:38 +00:00
dAtA[i] = 0x32
2017-04-01 14:42:02 +00:00
i++
2017-05-21 00:11:38 +00:00
i = encodeVarintGenerated(dAtA, i, uint64(msg.Size()))
n, err := msg.MarshalTo(dAtA[i:])
2017-04-01 14:42:02 +00:00
if err != nil {
return 0, err
}
i += n
}
}
return i, nil
}
2017-05-21 00:11:38 +00:00
func (m *ReplicationControllerDummy) Marshal() (dAtA []byte, err error) {
2017-04-01 14:42:02 +00:00
size := m.Size()
2017-05-21 00:11:38 +00:00
dAtA = make([]byte, size)
n, err := m.MarshalTo(dAtA)
2017-04-01 14:42:02 +00:00
if err != nil {
return nil, err
}
2017-05-21 00:11:38 +00:00
return dAtA[:n], nil
2017-04-01 14:42:02 +00:00
}
2017-05-21 00:11:38 +00:00
func (m *ReplicationControllerDummy) MarshalTo(dAtA []byte) (int, error) {
2017-04-01 14:42:02 +00:00
var i int
_ = i
var l int
_ = l
return i, nil
}
2017-05-21 00:11:38 +00:00
func (m *RollbackConfig) Marshal() (dAtA []byte, err error) {
2017-04-01 14:42:02 +00:00
size := m.Size()
2017-05-21 00:11:38 +00:00
dAtA = make([]byte, size)
n, err := m.MarshalTo(dAtA)
2017-04-01 14:42:02 +00:00
if err != nil {
return nil, err
}
2017-05-21 00:11:38 +00:00
return dAtA[:n], nil
2017-04-01 14:42:02 +00:00
}
2017-05-21 00:11:38 +00:00
func (m *RollbackConfig) MarshalTo(dAtA []byte) (int, error) {
2017-04-01 14:42:02 +00:00
var i int
_ = i
var l int
_ = l
2017-05-21 00:11:38 +00:00
dAtA[i] = 0x8
2017-04-01 14:42:02 +00:00
i++
2017-05-21 00:11:38 +00:00
i = encodeVarintGenerated(dAtA, i, uint64(m.Revision))
2017-04-01 14:42:02 +00:00
return i, nil
}
2017-05-21 00:11:38 +00:00
func (m *RollingUpdateDaemonSet) Marshal() (dAtA []byte, err error) {
2017-04-01 14:42:02 +00:00
size := m.Size()
2017-05-21 00:11:38 +00:00
dAtA = make([]byte, size)
n, err := m.MarshalTo(dAtA)
2017-04-01 14:42:02 +00:00
if err != nil {
return nil, err
}
2017-05-21 00:11:38 +00:00
return dAtA[:n], nil
2017-04-01 14:42:02 +00:00
}
2017-05-21 00:11:38 +00:00
func (m *RollingUpdateDaemonSet) MarshalTo(dAtA []byte) (int, error) {
2017-04-01 14:42:02 +00:00
var i int
_ = i
var l int
_ = l
if m.MaxUnavailable != nil {
2017-05-21 00:11:38 +00:00
dAtA[i] = 0xa
2017-04-01 14:42:02 +00:00
i++
2017-05-21 00:11:38 +00:00
i = encodeVarintGenerated(dAtA, i, uint64(m.MaxUnavailable.Size()))
n54, err := m.MaxUnavailable.MarshalTo(dAtA[i:])
2017-04-01 14:42:02 +00:00
if err != nil {
return 0, err
}
i += n54
}
return i, nil
}
2017-05-21 00:11:38 +00:00
func (m *RollingUpdateDeployment) Marshal() (dAtA []byte, err error) {
2017-04-01 14:42:02 +00:00
size := m.Size()
2017-05-21 00:11:38 +00:00
dAtA = make([]byte, size)
n, err := m.MarshalTo(dAtA)
2017-04-01 14:42:02 +00:00
if err != nil {
return nil, err
}
2017-05-21 00:11:38 +00:00
return dAtA[:n], nil
2017-04-01 14:42:02 +00:00
}
2017-05-21 00:11:38 +00:00
func (m *RollingUpdateDeployment) MarshalTo(dAtA []byte) (int, error) {
2017-04-01 14:42:02 +00:00
var i int
_ = i
var l int
_ = l
if m.MaxUnavailable != nil {
2017-05-21 00:11:38 +00:00
dAtA[i] = 0xa
2017-04-01 14:42:02 +00:00
i++
2017-05-21 00:11:38 +00:00
i = encodeVarintGenerated(dAtA, i, uint64(m.MaxUnavailable.Size()))
n55, err := m.MaxUnavailable.MarshalTo(dAtA[i:])
2017-04-01 14:42:02 +00:00
if err != nil {
return 0, err
}
i += n55
}
if m.MaxSurge != nil {
2017-05-21 00:11:38 +00:00
dAtA[i] = 0x12
2017-04-01 14:42:02 +00:00
i++
2017-05-21 00:11:38 +00:00
i = encodeVarintGenerated(dAtA, i, uint64(m.MaxSurge.Size()))
n56, err := m.MaxSurge.MarshalTo(dAtA[i:])
2017-04-01 14:42:02 +00:00
if err != nil {
return 0, err
}
i += n56
}
return i, nil
}
2017-05-21 00:11:38 +00:00
func (m *RunAsUserStrategyOptions) Marshal() (dAtA []byte, err error) {
2017-04-01 14:42:02 +00:00
size := m.Size()
2017-05-21 00:11:38 +00:00
dAtA = make([]byte, size)
n, err := m.MarshalTo(dAtA)
2017-04-01 14:42:02 +00:00
if err != nil {
return nil, err
}
2017-05-21 00:11:38 +00:00
return dAtA[:n], nil
2017-04-01 14:42:02 +00:00
}
2017-05-21 00:11:38 +00:00
func (m *RunAsUserStrategyOptions) MarshalTo(dAtA []byte) (int, error) {
2017-04-01 14:42:02 +00:00
var i int
_ = i
var l int
_ = l
2017-05-21 00:11:38 +00:00
dAtA[i] = 0xa
2017-04-01 14:42:02 +00:00
i++
2017-05-21 00:11:38 +00:00
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Rule)))
i += copy(dAtA[i:], m.Rule)
2017-04-01 14:42:02 +00:00
if len(m.Ranges) > 0 {
for _, msg := range m.Ranges {
2017-05-21 00:11:38 +00:00
dAtA[i] = 0x12
2017-04-01 14:42:02 +00:00
i++
2017-05-21 00:11:38 +00:00
i = encodeVarintGenerated(dAtA, i, uint64(msg.Size()))
n, err := msg.MarshalTo(dAtA[i:])
2017-04-01 14:42:02 +00:00
if err != nil {
return 0, err
}
i += n
}
}
return i, nil
}
2017-05-21 00:11:38 +00:00
func (m *SELinuxStrategyOptions) Marshal() (dAtA []byte, err error) {
2017-04-01 14:42:02 +00:00
size := m.Size()
2017-05-21 00:11:38 +00:00
dAtA = make([]byte, size)
n, err := m.MarshalTo(dAtA)
2017-04-01 14:42:02 +00:00
if err != nil {
return nil, err
}
2017-05-21 00:11:38 +00:00
return dAtA[:n], nil
2017-04-01 14:42:02 +00:00
}
2017-05-21 00:11:38 +00:00
func (m *SELinuxStrategyOptions) MarshalTo(dAtA []byte) (int, error) {
2017-04-01 14:42:02 +00:00
var i int
_ = i
var l int
_ = l
2017-05-21 00:11:38 +00:00
dAtA[i] = 0xa
2017-04-01 14:42:02 +00:00
i++
2017-05-21 00:11:38 +00:00
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Rule)))
i += copy(dAtA[i:], m.Rule)
2017-04-01 14:42:02 +00:00
if m.SELinuxOptions != nil {
2017-05-21 00:11:38 +00:00
dAtA[i] = 0x12
2017-04-01 14:42:02 +00:00
i++
2017-05-21 00:11:38 +00:00
i = encodeVarintGenerated(dAtA, i, uint64(m.SELinuxOptions.Size()))
n57, err := m.SELinuxOptions.MarshalTo(dAtA[i:])
2017-04-01 14:42:02 +00:00
if err != nil {
return 0, err
}
i += n57
}
return i, nil
}
2017-05-21 00:11:38 +00:00
func (m *Scale) Marshal() (dAtA []byte, err error) {
2017-04-01 14:42:02 +00:00
size := m.Size()
2017-05-21 00:11:38 +00:00
dAtA = make([]byte, size)
n, err := m.MarshalTo(dAtA)
2017-04-01 14:42:02 +00:00
if err != nil {
return nil, err
}
2017-05-21 00:11:38 +00:00
return dAtA[:n], nil
2017-04-01 14:42:02 +00:00
}
2017-05-21 00:11:38 +00:00
func (m *Scale) MarshalTo(dAtA []byte) (int, error) {
2017-04-01 14:42:02 +00:00
var i int
_ = i
var l int
_ = l
2017-05-21 00:11:38 +00:00
dAtA[i] = 0xa
2017-04-01 14:42:02 +00:00
i++
2017-05-21 00:11:38 +00:00
i = encodeVarintGenerated(dAtA, i, uint64(m.ObjectMeta.Size()))
n58, err := m.ObjectMeta.MarshalTo(dAtA[i:])
2017-04-01 14:42:02 +00:00
if err != nil {
return 0, err
}
i += n58
2017-05-21 00:11:38 +00:00
dAtA[i] = 0x12
2017-04-01 14:42:02 +00:00
i++
2017-05-21 00:11:38 +00:00
i = encodeVarintGenerated(dAtA, i, uint64(m.Spec.Size()))
n59, err := m.Spec.MarshalTo(dAtA[i:])
2017-04-01 14:42:02 +00:00
if err != nil {
return 0, err
}
i += n59
2017-05-21 00:11:38 +00:00
dAtA[i] = 0x1a
2017-04-01 14:42:02 +00:00
i++
2017-05-21 00:11:38 +00:00
i = encodeVarintGenerated(dAtA, i, uint64(m.Status.Size()))
n60, err := m.Status.MarshalTo(dAtA[i:])
2017-04-01 14:42:02 +00:00
if err != nil {
return 0, err
}
i += n60
return i, nil
}
2017-05-21 00:11:38 +00:00
func (m *ScaleSpec) Marshal() (dAtA []byte, err error) {
2017-04-01 14:42:02 +00:00
size := m.Size()
2017-05-21 00:11:38 +00:00
dAtA = make([]byte, size)
n, err := m.MarshalTo(dAtA)
2017-04-01 14:42:02 +00:00
if err != nil {
return nil, err
}
2017-05-21 00:11:38 +00:00
return dAtA[:n], nil
2017-04-01 14:42:02 +00:00
}
2017-05-21 00:11:38 +00:00
func (m *ScaleSpec) MarshalTo(dAtA []byte) (int, error) {
2017-04-01 14:42:02 +00:00
var i int
_ = i
var l int
_ = l
2017-05-21 00:11:38 +00:00
dAtA[i] = 0x8
2017-04-01 14:42:02 +00:00
i++
2017-05-21 00:11:38 +00:00
i = encodeVarintGenerated(dAtA, i, uint64(m.Replicas))
2017-04-01 14:42:02 +00:00
return i, nil
}
2017-05-21 00:11:38 +00:00
func (m *ScaleStatus) Marshal() (dAtA []byte, err error) {
2017-04-01 14:42:02 +00:00
size := m.Size()
2017-05-21 00:11:38 +00:00
dAtA = make([]byte, size)
n, err := m.MarshalTo(dAtA)
2017-04-01 14:42:02 +00:00
if err != nil {
return nil, err
}
2017-05-21 00:11:38 +00:00
return dAtA[:n], nil
2017-04-01 14:42:02 +00:00
}
2017-05-21 00:11:38 +00:00
func (m *ScaleStatus) MarshalTo(dAtA []byte) (int, error) {
2017-04-01 14:42:02 +00:00
var i int
_ = i
var l int
_ = l
2017-05-21 00:11:38 +00:00
dAtA[i] = 0x8
2017-04-01 14:42:02 +00:00
i++
2017-05-21 00:11:38 +00:00
i = encodeVarintGenerated(dAtA, i, uint64(m.Replicas))
2017-04-01 14:42:02 +00:00
if len(m.Selector) > 0 {
for k := range m.Selector {
2017-05-21 00:11:38 +00:00
dAtA[i] = 0x12
2017-04-01 14:42:02 +00:00
i++
v := m.Selector[k]
mapSize := 1 + len(k) + sovGenerated(uint64(len(k))) + 1 + len(v) + sovGenerated(uint64(len(v)))
2017-05-21 00:11:38 +00:00
i = encodeVarintGenerated(dAtA, i, uint64(mapSize))
dAtA[i] = 0xa
2017-04-01 14:42:02 +00:00
i++
2017-05-21 00:11:38 +00:00
i = encodeVarintGenerated(dAtA, i, uint64(len(k)))
i += copy(dAtA[i:], k)
dAtA[i] = 0x12
2017-04-01 14:42:02 +00:00
i++
2017-05-21 00:11:38 +00:00
i = encodeVarintGenerated(dAtA, i, uint64(len(v)))
i += copy(dAtA[i:], v)
2017-04-01 14:42:02 +00:00
}
}
2017-05-21 00:11:38 +00:00
dAtA[i] = 0x1a
2017-04-01 14:42:02 +00:00
i++
2017-05-21 00:11:38 +00:00
i = encodeVarintGenerated(dAtA, i, uint64(len(m.TargetSelector)))
i += copy(dAtA[i:], m.TargetSelector)
2017-04-01 14:42:02 +00:00
return i, nil
}
2017-05-21 00:11:38 +00:00
func (m *SupplementalGroupsStrategyOptions) Marshal() (dAtA []byte, err error) {
2017-04-01 14:42:02 +00:00
size := m.Size()
2017-05-21 00:11:38 +00:00
dAtA = make([]byte, size)
n, err := m.MarshalTo(dAtA)
2017-04-01 14:42:02 +00:00
if err != nil {
return nil, err
}
2017-05-21 00:11:38 +00:00
return dAtA[:n], nil
2017-04-01 14:42:02 +00:00
}
2017-05-21 00:11:38 +00:00
func (m *SupplementalGroupsStrategyOptions) MarshalTo(dAtA []byte) (int, error) {
2017-04-01 14:42:02 +00:00
var i int
_ = i
var l int
_ = l
2017-05-21 00:11:38 +00:00
dAtA[i] = 0xa
2017-04-01 14:42:02 +00:00
i++
2017-05-21 00:11:38 +00:00
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Rule)))
i += copy(dAtA[i:], m.Rule)
2017-04-01 14:42:02 +00:00
if len(m.Ranges) > 0 {
for _, msg := range m.Ranges {
2017-05-21 00:11:38 +00:00
dAtA[i] = 0x12
2017-04-01 14:42:02 +00:00
i++
2017-05-21 00:11:38 +00:00
i = encodeVarintGenerated(dAtA, i, uint64(msg.Size()))
n, err := msg.MarshalTo(dAtA[i:])
2017-04-01 14:42:02 +00:00
if err != nil {
return 0, err
}
i += n
}
}
return i, nil
}
2017-05-21 00:11:38 +00:00
func (m *ThirdPartyResource) Marshal() (dAtA []byte, err error) {
2017-04-01 14:42:02 +00:00
size := m.Size()
2017-05-21 00:11:38 +00:00
dAtA = make([]byte, size)
n, err := m.MarshalTo(dAtA)
2017-04-01 14:42:02 +00:00
if err != nil {
return nil, err
}
2017-05-21 00:11:38 +00:00
return dAtA[:n], nil
2017-04-01 14:42:02 +00:00
}
2017-05-21 00:11:38 +00:00
func (m *ThirdPartyResource) MarshalTo(dAtA []byte) (int, error) {
2017-04-01 14:42:02 +00:00
var i int
_ = i
var l int
_ = l
2017-05-21 00:11:38 +00:00
dAtA[i] = 0xa
2017-04-01 14:42:02 +00:00
i++
2017-05-21 00:11:38 +00:00
i = encodeVarintGenerated(dAtA, i, uint64(m.ObjectMeta.Size()))
n61, err := m.ObjectMeta.MarshalTo(dAtA[i:])
2017-04-01 14:42:02 +00:00
if err != nil {
return 0, err
}
i += n61
2017-05-21 00:11:38 +00:00
dAtA[i] = 0x12
2017-04-01 14:42:02 +00:00
i++
2017-05-21 00:11:38 +00:00
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Description)))
i += copy(dAtA[i:], m.Description)
2017-04-01 14:42:02 +00:00
if len(m.Versions) > 0 {
for _, msg := range m.Versions {
2017-05-21 00:11:38 +00:00
dAtA[i] = 0x1a
2017-04-01 14:42:02 +00:00
i++
2017-05-21 00:11:38 +00:00
i = encodeVarintGenerated(dAtA, i, uint64(msg.Size()))
n, err := msg.MarshalTo(dAtA[i:])
2017-04-01 14:42:02 +00:00
if err != nil {
return 0, err
}
i += n
}
}
return i, nil
}
2017-05-21 00:11:38 +00:00
func (m *ThirdPartyResourceData) Marshal() (dAtA []byte, err error) {
2017-04-01 14:42:02 +00:00
size := m.Size()
2017-05-21 00:11:38 +00:00
dAtA = make([]byte, size)
n, err := m.MarshalTo(dAtA)
2017-04-01 14:42:02 +00:00
if err != nil {
return nil, err
}
2017-05-21 00:11:38 +00:00
return dAtA[:n], nil
2017-04-01 14:42:02 +00:00
}
2017-05-21 00:11:38 +00:00
func (m *ThirdPartyResourceData) MarshalTo(dAtA []byte) (int, error) {
2017-04-01 14:42:02 +00:00
var i int
_ = i
var l int
_ = l
2017-05-21 00:11:38 +00:00
dAtA[i] = 0xa
2017-04-01 14:42:02 +00:00
i++
2017-05-21 00:11:38 +00:00
i = encodeVarintGenerated(dAtA, i, uint64(m.ObjectMeta.Size()))
n62, err := m.ObjectMeta.MarshalTo(dAtA[i:])
2017-04-01 14:42:02 +00:00
if err != nil {
return 0, err
}
i += n62
if m.Data != nil {
2017-05-21 00:11:38 +00:00
dAtA[i] = 0x12
2017-04-01 14:42:02 +00:00
i++
2017-05-21 00:11:38 +00:00
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Data)))
i += copy(dAtA[i:], m.Data)
2017-04-01 14:42:02 +00:00
}
return i, nil
}
2017-05-21 00:11:38 +00:00
func (m *ThirdPartyResourceDataList) Marshal() (dAtA []byte, err error) {
2017-04-01 14:42:02 +00:00
size := m.Size()
2017-05-21 00:11:38 +00:00
dAtA = make([]byte, size)
n, err := m.MarshalTo(dAtA)
2017-04-01 14:42:02 +00:00
if err != nil {
return nil, err
}
2017-05-21 00:11:38 +00:00
return dAtA[:n], nil
2017-04-01 14:42:02 +00:00
}
2017-05-21 00:11:38 +00:00
func (m *ThirdPartyResourceDataList) MarshalTo(dAtA []byte) (int, error) {
2017-04-01 14:42:02 +00:00
var i int
_ = i
var l int
_ = l
2017-05-21 00:11:38 +00:00
dAtA[i] = 0xa
2017-04-01 14:42:02 +00:00
i++
2017-05-21 00:11:38 +00:00
i = encodeVarintGenerated(dAtA, i, uint64(m.ListMeta.Size()))
n63, err := m.ListMeta.MarshalTo(dAtA[i:])
2017-04-01 14:42:02 +00:00
if err != nil {
return 0, err
}
i += n63
if len(m.Items) > 0 {
for _, msg := range m.Items {
2017-05-21 00:11:38 +00:00
dAtA[i] = 0x12
2017-04-01 14:42:02 +00:00
i++
2017-05-21 00:11:38 +00:00
i = encodeVarintGenerated(dAtA, i, uint64(msg.Size()))
n, err := msg.MarshalTo(dAtA[i:])
2017-04-01 14:42:02 +00:00
if err != nil {
return 0, err
}
i += n
}
}
return i, nil
}
2017-05-21 00:11:38 +00:00
func (m *ThirdPartyResourceList) Marshal() (dAtA []byte, err error) {
2017-04-01 14:42:02 +00:00
size := m.Size()
2017-05-21 00:11:38 +00:00
dAtA = make([]byte, size)
n, err := m.MarshalTo(dAtA)
2017-04-01 14:42:02 +00:00
if err != nil {
return nil, err
}
2017-05-21 00:11:38 +00:00
return dAtA[:n], nil
2017-04-01 14:42:02 +00:00
}
2017-05-21 00:11:38 +00:00
func (m *ThirdPartyResourceList) MarshalTo(dAtA []byte) (int, error) {
2017-04-01 14:42:02 +00:00
var i int
_ = i
var l int
_ = l
2017-05-21 00:11:38 +00:00
dAtA[i] = 0xa
2017-04-01 14:42:02 +00:00
i++
2017-05-21 00:11:38 +00:00
i = encodeVarintGenerated(dAtA, i, uint64(m.ListMeta.Size()))
n64, err := m.ListMeta.MarshalTo(dAtA[i:])
2017-04-01 14:42:02 +00:00
if err != nil {
return 0, err
}
i += n64
if len(m.Items) > 0 {
for _, msg := range m.Items {
2017-05-21 00:11:38 +00:00
dAtA[i] = 0x12
2017-04-01 14:42:02 +00:00
i++
2017-05-21 00:11:38 +00:00
i = encodeVarintGenerated(dAtA, i, uint64(msg.Size()))
n, err := msg.MarshalTo(dAtA[i:])
2017-04-01 14:42:02 +00:00
if err != nil {
return 0, err
}
i += n
}
}
return i, nil
}
2017-05-21 00:11:38 +00:00
func encodeFixed64Generated(dAtA []byte, offset int, v uint64) int {
dAtA[offset] = uint8(v)
dAtA[offset+1] = uint8(v >> 8)
dAtA[offset+2] = uint8(v >> 16)
dAtA[offset+3] = uint8(v >> 24)
dAtA[offset+4] = uint8(v >> 32)
dAtA[offset+5] = uint8(v >> 40)
dAtA[offset+6] = uint8(v >> 48)
dAtA[offset+7] = uint8(v >> 56)
2017-04-01 14:42:02 +00:00
return offset + 8
}
2017-05-21 00:11:38 +00:00
func encodeFixed32Generated(dAtA []byte, offset int, v uint32) int {
dAtA[offset] = uint8(v)
dAtA[offset+1] = uint8(v >> 8)
dAtA[offset+2] = uint8(v >> 16)
dAtA[offset+3] = uint8(v >> 24)
2017-04-01 14:42:02 +00:00
return offset + 4
}
2017-05-21 00:11:38 +00:00
func encodeVarintGenerated(dAtA []byte, offset int, v uint64) int {
2017-04-01 14:42:02 +00:00
for v >= 1<<7 {
2017-05-21 00:11:38 +00:00
dAtA[offset] = uint8(v&0x7f | 0x80)
2017-04-01 14:42:02 +00:00
v >>= 7
offset++
}
2017-05-21 00:11:38 +00:00
dAtA[offset] = uint8(v)
2017-04-01 14:42:02 +00:00
return offset + 1
}
func (m *APIVersion) Size() (n int) {
var l int
_ = l
l = len(m.Name)
n += 1 + l + sovGenerated(uint64(l))
return n
}
func (m *CustomMetricCurrentStatus) Size() (n int) {
var l int
_ = l
l = len(m.Name)
n += 1 + l + sovGenerated(uint64(l))
l = m.CurrentValue.Size()
n += 1 + l + sovGenerated(uint64(l))
return n
}
func (m *CustomMetricCurrentStatusList) Size() (n int) {
var l int
_ = l
if len(m.Items) > 0 {
for _, e := range m.Items {
l = e.Size()
n += 1 + l + sovGenerated(uint64(l))
}
}
return n
}
func (m *CustomMetricTarget) Size() (n int) {
var l int
_ = l
l = len(m.Name)
n += 1 + l + sovGenerated(uint64(l))
l = m.TargetValue.Size()
n += 1 + l + sovGenerated(uint64(l))
return n
}
func (m *CustomMetricTargetList) Size() (n int) {
var l int
_ = l
if len(m.Items) > 0 {
for _, e := range m.Items {
l = e.Size()
n += 1 + l + sovGenerated(uint64(l))
}
}
return n
}
func (m *DaemonSet) Size() (n int) {
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
}
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))
}
}
return n
}
func (m *DaemonSetSpec) Size() (n int) {
var l int
_ = l
if m.Selector != nil {
l = m.Selector.Size()
n += 1 + l + sovGenerated(uint64(l))
}
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))
return n
}
func (m *DaemonSetStatus) Size() (n int) {
var l int
_ = l
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))
return n
}
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))
}
return n
}
func (m *Deployment) Size() (n int) {
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
}
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
}
func (m *DeploymentList) Size() (n int) {
var l int
_ = l
l = m.ListMeta.Size()
n += 1 + l + sovGenerated(uint64(l))
if len(m.Items) > 0 {
for _, e := range m.Items {
l = e.Size()
n += 1 + l + sovGenerated(uint64(l))
}
}
return n
}
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))
}
}
l = m.RollbackTo.Size()
n += 1 + l + sovGenerated(uint64(l))
return n
}
func (m *DeploymentSpec) Size() (n int) {
var l int
_ = l
if m.Replicas != nil {
n += 1 + sovGenerated(uint64(*m.Replicas))
}
if m.Selector != nil {
l = m.Selector.Size()
n += 1 + l + sovGenerated(uint64(l))
}
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))
}
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
}
func (m *DeploymentStatus) Size() (n int) {
var l int
_ = l
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))
}
}
n += 1 + sovGenerated(uint64(m.ReadyReplicas))
return n
}
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))
}
return n
}
func (m *FSGroupStrategyOptions) 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
}
func (m *HTTPIngressPath) Size() (n int) {
var l int
_ = l
l = len(m.Path)
n += 1 + l + sovGenerated(uint64(l))
l = m.Backend.Size()
n += 1 + l + sovGenerated(uint64(l))
return n
}
func (m *HTTPIngressRuleValue) Size() (n int) {
var l int
_ = l
if len(m.Paths) > 0 {
for _, e := range m.Paths {
l = e.Size()
n += 1 + l + sovGenerated(uint64(l))
}
}
return n
}
func (m *HostPortRange) Size() (n int) {
var l int
_ = l
n += 1 + sovGenerated(uint64(m.Min))
n += 1 + sovGenerated(uint64(m.Max))
return n
}
func (m *IDRange) Size() (n int) {
var l int
_ = l
n += 1 + sovGenerated(uint64(m.Min))
n += 1 + sovGenerated(uint64(m.Max))
return n
}
func (m *Ingress) Size() (n int) {
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
}
func (m *IngressBackend) Size() (n int) {
var l int
_ = l
l = len(m.ServiceName)
n += 1 + l + sovGenerated(uint64(l))
l = m.ServicePort.Size()
n += 1 + l + sovGenerated(uint64(l))
return n
}
func (m *IngressList) Size() (n int) {
var l int
_ = l
l = m.ListMeta.Size()
n += 1 + l + sovGenerated(uint64(l))
if len(m.Items) > 0 {
for _, e := range m.Items {
l = e.Size()
n += 1 + l + sovGenerated(uint64(l))
}
}
return n
}
func (m *IngressRule) Size() (n int) {
var l int
_ = l
l = len(m.Host)
n += 1 + l + sovGenerated(uint64(l))
l = m.IngressRuleValue.Size()
n += 1 + l + sovGenerated(uint64(l))
return n
}
func (m *IngressRuleValue) Size() (n int) {
var l int
_ = l
if m.HTTP != nil {
l = m.HTTP.Size()
n += 1 + l + sovGenerated(uint64(l))
}
return n
}
func (m *IngressSpec) Size() (n int) {
var l int
_ = l
if m.Backend != nil {
l = m.Backend.Size()
n += 1 + l + sovGenerated(uint64(l))
}
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))
}
}
return n
}
func (m *IngressStatus) Size() (n int) {
var l int
_ = l
l = m.LoadBalancer.Size()
n += 1 + l + sovGenerated(uint64(l))
return n
}
func (m *IngressTLS) Size() (n int) {
var l int
_ = l
if len(m.Hosts) > 0 {
for _, s := range m.Hosts {
l = len(s)
n += 1 + l + sovGenerated(uint64(l))
}
}
l = len(m.SecretName)
n += 1 + l + sovGenerated(uint64(l))
return n
}
func (m *NetworkPolicy) Size() (n int) {
var l int
_ = l
l = m.ObjectMeta.Size()
n += 1 + l + sovGenerated(uint64(l))
l = m.Spec.Size()
n += 1 + l + sovGenerated(uint64(l))
return n
}
func (m *NetworkPolicyIngressRule) 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.From) > 0 {
for _, e := range m.From {
l = e.Size()
n += 1 + l + sovGenerated(uint64(l))
}
}
return n
}
func (m *NetworkPolicyList) Size() (n int) {
var l int
_ = l
l = m.ListMeta.Size()
n += 1 + l + sovGenerated(uint64(l))
if len(m.Items) > 0 {
for _, e := range m.Items {
l = e.Size()
n += 1 + l + sovGenerated(uint64(l))
}
}
return n
}
func (m *NetworkPolicyPeer) Size() (n int) {
var l int
_ = l
if m.PodSelector != nil {
l = m.PodSelector.Size()
n += 1 + l + sovGenerated(uint64(l))
}
if m.NamespaceSelector != nil {
l = m.NamespaceSelector.Size()
n += 1 + l + sovGenerated(uint64(l))
}
return n
}
func (m *NetworkPolicyPort) Size() (n int) {
var l int
_ = l
if m.Protocol != nil {
l = len(*m.Protocol)
n += 1 + l + sovGenerated(uint64(l))
}
if m.Port != nil {
l = m.Port.Size()
n += 1 + l + sovGenerated(uint64(l))
}
return n
}
func (m *NetworkPolicySpec) Size() (n int) {
var l int
_ = l
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))
}
}
return n
}
func (m *PodSecurityPolicy) Size() (n int) {
var l int
_ = l
l = m.ObjectMeta.Size()
n += 1 + l + sovGenerated(uint64(l))
l = m.Spec.Size()
n += 1 + l + sovGenerated(uint64(l))
return n
}
func (m *PodSecurityPolicyList) Size() (n int) {
var l int
_ = l
l = m.ListMeta.Size()
n += 1 + l + sovGenerated(uint64(l))
if len(m.Items) > 0 {
for _, e := range m.Items {
l = e.Size()
n += 1 + l + sovGenerated(uint64(l))
}
}
return n
}
func (m *PodSecurityPolicySpec) Size() (n int) {
var l int
_ = l
n += 2
if len(m.DefaultAddCapabilities) > 0 {
for _, s := range m.DefaultAddCapabilities {
l = len(s)
n += 1 + l + sovGenerated(uint64(l))
}
}
if len(m.RequiredDropCapabilities) > 0 {
for _, s := range m.RequiredDropCapabilities {
l = len(s)
n += 1 + l + sovGenerated(uint64(l))
}
}
if len(m.AllowedCapabilities) > 0 {
for _, s := range m.AllowedCapabilities {
l = len(s)
n += 1 + l + sovGenerated(uint64(l))
}
}
if len(m.Volumes) > 0 {
for _, s := range m.Volumes {
l = len(s)
n += 1 + l + sovGenerated(uint64(l))
}
}
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()
n += 1 + l + sovGenerated(uint64(l))
l = m.SupplementalGroups.Size()
n += 1 + l + sovGenerated(uint64(l))
l = m.FSGroup.Size()
n += 1 + l + sovGenerated(uint64(l))
n += 2
return n
}
func (m *ReplicaSet) Size() (n int) {
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
}
func (m *ReplicaSetCondition) 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
}
func (m *ReplicaSetList) Size() (n int) {
var l int
_ = l
l = m.ListMeta.Size()
n += 1 + l + sovGenerated(uint64(l))
if len(m.Items) > 0 {
for _, e := range m.Items {
l = e.Size()
n += 1 + l + sovGenerated(uint64(l))
}
}
return n
}
func (m *ReplicaSetSpec) Size() (n int) {
var l int
_ = l
if m.Replicas != nil {
n += 1 + sovGenerated(uint64(*m.Replicas))
}
if m.Selector != nil {
l = m.Selector.Size()
n += 1 + l + sovGenerated(uint64(l))
}
l = m.Template.Size()
n += 1 + l + sovGenerated(uint64(l))
n += 1 + sovGenerated(uint64(m.MinReadySeconds))
return n
}
func (m *ReplicaSetStatus) Size() (n int) {
var l int
_ = l
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))
if len(m.Conditions) > 0 {
for _, e := range m.Conditions {
l = e.Size()
n += 1 + l + sovGenerated(uint64(l))
}
}
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()
n += 1 + l + sovGenerated(uint64(l))
}
return n
}
func (m *RollingUpdateDeployment) Size() (n int) {
var l int
_ = l
if m.MaxUnavailable != nil {
l = m.MaxUnavailable.Size()
n += 1 + l + sovGenerated(uint64(l))
}
if m.MaxSurge != nil {
l = m.MaxSurge.Size()
n += 1 + l + sovGenerated(uint64(l))
}
return n
}
func (m *RunAsUserStrategyOptions) 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
}
func (m *SELinuxStrategyOptions) Size() (n int) {
var l int
_ = l
l = len(m.Rule)
n += 1 + l + sovGenerated(uint64(l))
if m.SELinuxOptions != nil {
l = m.SELinuxOptions.Size()
n += 1 + l + sovGenerated(uint64(l))
}
return n
}
func (m *Scale) Size() (n int) {
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
}
func (m *ScaleSpec) Size() (n int) {
var l int
_ = l
n += 1 + sovGenerated(uint64(m.Replicas))
return n
}
func (m *ScaleStatus) Size() (n int) {
var l int
_ = l
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))
}
}
l = len(m.TargetSelector)
n += 1 + l + sovGenerated(uint64(l))
return n
}
func (m *SupplementalGroupsStrategyOptions) 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
}
func (m *ThirdPartyResource) Size() (n int) {
var l int
_ = l
l = m.ObjectMeta.Size()
n += 1 + l + sovGenerated(uint64(l))
l = len(m.Description)
n += 1 + l + sovGenerated(uint64(l))
if len(m.Versions) > 0 {
for _, e := range m.Versions {
l = e.Size()
n += 1 + l + sovGenerated(uint64(l))
}
}
return n
}
func (m *ThirdPartyResourceData) Size() (n int) {
var l int
_ = l
l = m.ObjectMeta.Size()
n += 1 + l + sovGenerated(uint64(l))
if m.Data != nil {
l = len(m.Data)
n += 1 + l + sovGenerated(uint64(l))
}
return n
}
func (m *ThirdPartyResourceDataList) Size() (n int) {
var l int
_ = l
l = m.ListMeta.Size()
n += 1 + l + sovGenerated(uint64(l))
if len(m.Items) > 0 {
for _, e := range m.Items {
l = e.Size()
n += 1 + l + sovGenerated(uint64(l))
}
}
return n
}
func (m *ThirdPartyResourceList) Size() (n int) {
var l int
_ = l
l = m.ListMeta.Size()
n += 1 + l + sovGenerated(uint64(l))
if len(m.Items) > 0 {
for _, e := range m.Items {
l = e.Size()
n += 1 + l + sovGenerated(uint64(l))
}
}
return n
}
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 *APIVersion) String() string {
if this == nil {
return "nil"
}
s := strings.Join([]string{`&APIVersion{`,
`Name:` + fmt.Sprintf("%v", this.Name) + `,`,
`}`,
}, "")
return s
}
func (this *CustomMetricCurrentStatus) String() string {
if this == nil {
return "nil"
}
s := strings.Join([]string{`&CustomMetricCurrentStatus{`,
`Name:` + fmt.Sprintf("%v", this.Name) + `,`,
`CurrentValue:` + strings.Replace(strings.Replace(this.CurrentValue.String(), "Quantity", "k8s_io_apimachinery_pkg_api_resource.Quantity", 1), `&`, ``, 1) + `,`,
`}`,
}, "")
return s
}
func (this *CustomMetricCurrentStatusList) String() string {
if this == nil {
return "nil"
}
s := strings.Join([]string{`&CustomMetricCurrentStatusList{`,
`Items:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Items), "CustomMetricCurrentStatus", "CustomMetricCurrentStatus", 1), `&`, ``, 1) + `,`,
`}`,
}, "")
return s
}
func (this *CustomMetricTarget) String() string {
if this == nil {
return "nil"
}
s := strings.Join([]string{`&CustomMetricTarget{`,
`Name:` + fmt.Sprintf("%v", this.Name) + `,`,
`TargetValue:` + strings.Replace(strings.Replace(this.TargetValue.String(), "Quantity", "k8s_io_apimachinery_pkg_api_resource.Quantity", 1), `&`, ``, 1) + `,`,
`}`,
}, "")
return s
}
func (this *CustomMetricTargetList) String() string {
if this == nil {
return "nil"
}
s := strings.Join([]string{`&CustomMetricTargetList{`,
`Items:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Items), "CustomMetricTarget", "CustomMetricTarget", 1), `&`, ``, 1) + `,`,
`}`,
}, "")
return s
}
func (this *DaemonSet) String() string {
if this == nil {
return "nil"
}
s := strings.Join([]string{`&DaemonSet{`,
`ObjectMeta:` + strings.Replace(strings.Replace(this.ObjectMeta.String(), "ObjectMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.ObjectMeta", 1), `&`, ``, 1) + `,`,
`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 *DaemonSetList) String() string {
if this == nil {
return "nil"
}
s := strings.Join([]string{`&DaemonSetList{`,
`ListMeta:` + strings.Replace(strings.Replace(this.ListMeta.String(), "ListMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.ListMeta", 1), `&`, ``, 1) + `,`,
`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{`,
`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_kubernetes_pkg_api_v1.PodTemplateSpec", 1), `&`, ``, 1) + `,`,
`UpdateStrategy:` + strings.Replace(strings.Replace(this.UpdateStrategy.String(), "DaemonSetUpdateStrategy", "DaemonSetUpdateStrategy", 1), `&`, ``, 1) + `,`,
`MinReadySeconds:` + fmt.Sprintf("%v", this.MinReadySeconds) + `,`,
`TemplateGeneration:` + fmt.Sprintf("%v", this.TemplateGeneration) + `,`,
`}`,
}, "")
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) + `,`,
`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) + `,`,
`}`,
}, "")
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) + `,`,
`}`,
}, "")
return s
}
func (this *Deployment) String() string {
if this == nil {
return "nil"
}
s := strings.Join([]string{`&Deployment{`,
`ObjectMeta:` + strings.Replace(strings.Replace(this.ObjectMeta.String(), "ObjectMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.ObjectMeta", 1), `&`, ``, 1) + `,`,
`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
}
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
}
func (this *DeploymentList) String() string {
if this == nil {
return "nil"
}
s := strings.Join([]string{`&DeploymentList{`,
`ListMeta:` + strings.Replace(strings.Replace(this.ListMeta.String(), "ListMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.ListMeta", 1), `&`, ``, 1) + `,`,
`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) + `,`,
`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_kubernetes_pkg_api_v1.PodTemplateSpec", 1), `&`, ``, 1) + `,`,
`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) + `,`,
`ProgressDeadlineSeconds:` + valueToStringGenerated(this.ProgressDeadlineSeconds) + `,`,
`}`,
}, "")
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) + `,`,
`Conditions:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Conditions), "DeploymentCondition", "DeploymentCondition", 1), `&`, ``, 1) + `,`,
`ReadyReplicas:` + fmt.Sprintf("%v", this.ReadyReplicas) + `,`,
`}`,
}, "")
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 *Ingress) String() string {
if this == nil {
return "nil"
}
s := strings.Join([]string{`&Ingress{`,
`ObjectMeta:` + strings.Replace(strings.Replace(this.ObjectMeta.String(), "ObjectMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.ObjectMeta", 1), `&`, ``, 1) + `,`,
`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) + `,`,
`ServicePort:` + strings.Replace(strings.Replace(this.ServicePort.String(), "IntOrString", "k8s_io_apimachinery_pkg_util_intstr.IntOrString", 1), `&`, ``, 1) + `,`,
`}`,
}, "")
return s
}
func (this *IngressList) String() string {
if this == nil {
return "nil"
}
s := strings.Join([]string{`&IngressList{`,
`ListMeta:` + strings.Replace(strings.Replace(this.ListMeta.String(), "ListMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.ListMeta", 1), `&`, ``, 1) + `,`,
`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_kubernetes_pkg_api_v1.LoadBalancerStatus", 1), `&`, ``, 1) + `,`,
`}`,
}, "")
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{`,
`ObjectMeta:` + strings.Replace(strings.Replace(this.ObjectMeta.String(), "ObjectMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.ObjectMeta", 1), `&`, ``, 1) + `,`,
`Spec:` + strings.Replace(strings.Replace(this.Spec.String(), "NetworkPolicySpec", "NetworkPolicySpec", 1), `&`, ``, 1) + `,`,
`}`,
}, "")
return s
}
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{`,
`ListMeta:` + strings.Replace(strings.Replace(this.ListMeta.String(), "ListMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.ListMeta", 1), `&`, ``, 1) + `,`,
`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{`,
`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) + `,`,
`}`,
}, "")
return s
}
func (this *NetworkPolicyPort) String() string {
if this == nil {
return "nil"
}
s := strings.Join([]string{`&NetworkPolicyPort{`,
`Protocol:` + valueToStringGenerated(this.Protocol) + `,`,
`Port:` + strings.Replace(fmt.Sprintf("%v", this.Port), "IntOrString", "k8s_io_apimachinery_pkg_util_intstr.IntOrString", 1) + `,`,
`}`,
}, "")
return s
}
func (this *NetworkPolicySpec) String() string {
if this == nil {
return "nil"
}
s := strings.Join([]string{`&NetworkPolicySpec{`,
`PodSelector:` + strings.Replace(strings.Replace(this.PodSelector.String(), "LabelSelector", "k8s_io_apimachinery_pkg_apis_meta_v1.LabelSelector", 1), `&`, ``, 1) + `,`,
`Ingress:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Ingress), "NetworkPolicyIngressRule", "NetworkPolicyIngressRule", 1), `&`, ``, 1) + `,`,
`}`,
}, "")
return s
}
func (this *PodSecurityPolicy) String() string {
if this == nil {
return "nil"
}
s := strings.Join([]string{`&PodSecurityPolicy{`,
`ObjectMeta:` + strings.Replace(strings.Replace(this.ObjectMeta.String(), "ObjectMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.ObjectMeta", 1), `&`, ``, 1) + `,`,
`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{`,
`ListMeta:` + strings.Replace(strings.Replace(this.ListMeta.String(), "ListMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.ListMeta", 1), `&`, ``, 1) + `,`,
`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) + `,`,
`}`,
}, "")
return s
}
func (this *ReplicaSet) String() string {
if this == nil {
return "nil"
}
s := strings.Join([]string{`&ReplicaSet{`,
`ObjectMeta:` + strings.Replace(strings.Replace(this.ObjectMeta.String(), "ObjectMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.ObjectMeta", 1), `&`, ``, 1) + `,`,
`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
}
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
}
func (this *ReplicaSetList) String() string {
if this == nil {
return "nil"
}
s := strings.Join([]string{`&ReplicaSetList{`,
`ListMeta:` + strings.Replace(strings.Replace(this.ListMeta.String(), "ListMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.ListMeta", 1), `&`, ``, 1) + `,`,
`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) + `,`,
`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_kubernetes_pkg_api_v1.PodTemplateSpec", 1), `&`, ``, 1) + `,`,
`MinReadySeconds:` + fmt.Sprintf("%v", this.MinReadySeconds) + `,`,
`}`,
}, "")
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) + `,`,
`AvailableReplicas:` + fmt.Sprintf("%v", this.AvailableReplicas) + `,`,
`Conditions:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Conditions), "ReplicaSetCondition", "ReplicaSetCondition", 1), `&`, ``, 1) + `,`,
`}`,
}, "")
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
}
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
}
func (this *RollingUpdateDeployment) String() string {
if this == nil {
return "nil"
}
s := strings.Join([]string{`&RollingUpdateDeployment{`,
`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) + `,`,
`}`,
}, "")
return s
}
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_kubernetes_pkg_api_v1.SELinuxOptions", 1) + `,`,
`}`,
}, "")
return s
}
func (this *Scale) String() string {
if this == nil {
return "nil"
}
s := strings.Join([]string{`&Scale{`,
`ObjectMeta:` + strings.Replace(strings.Replace(this.ObjectMeta.String(), "ObjectMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.ObjectMeta", 1), `&`, ``, 1) + `,`,
`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 (this *ThirdPartyResource) String() string {
if this == nil {
return "nil"
}
s := strings.Join([]string{`&ThirdPartyResource{`,
`ObjectMeta:` + strings.Replace(strings.Replace(this.ObjectMeta.String(), "ObjectMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.ObjectMeta", 1), `&`, ``, 1) + `,`,
`Description:` + fmt.Sprintf("%v", this.Description) + `,`,
`Versions:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Versions), "APIVersion", "APIVersion", 1), `&`, ``, 1) + `,`,
`}`,
}, "")
return s
}
func (this *ThirdPartyResourceData) String() string {
if this == nil {
return "nil"
}
s := strings.Join([]string{`&ThirdPartyResourceData{`,
`ObjectMeta:` + strings.Replace(strings.Replace(this.ObjectMeta.String(), "ObjectMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.ObjectMeta", 1), `&`, ``, 1) + `,`,
`Data:` + valueToStringGenerated(this.Data) + `,`,
`}`,
}, "")
return s
}
func (this *ThirdPartyResourceDataList) String() string {
if this == nil {
return "nil"
}
s := strings.Join([]string{`&ThirdPartyResourceDataList{`,
`ListMeta:` + strings.Replace(strings.Replace(this.ListMeta.String(), "ListMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.ListMeta", 1), `&`, ``, 1) + `,`,
`Items:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Items), "ThirdPartyResourceData", "ThirdPartyResourceData", 1), `&`, ``, 1) + `,`,
`}`,
}, "")
return s
}
func (this *ThirdPartyResourceList) String() string {
if this == nil {
return "nil"
}
s := strings.Join([]string{`&ThirdPartyResourceList{`,
`ListMeta:` + strings.Replace(strings.Replace(this.ListMeta.String(), "ListMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.ListMeta", 1), `&`, ``, 1) + `,`,
`Items:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Items), "ThirdPartyResource", "ThirdPartyResource", 1), `&`, ``, 1) + `,`,
`}`,
}, "")
return s
}
func valueToStringGenerated(v interface{}) string {
rv := reflect.ValueOf(v)
if rv.IsNil() {
return "nil"
}
pv := reflect.Indirect(rv).Interface()
return fmt.Sprintf("*%v", pv)
}
2017-05-21 00:11:38 +00:00
func (m *APIVersion) Unmarshal(dAtA []byte) error {
l := len(dAtA)
2017-04-01 14:42:02 +00:00
iNdEx := 0
for iNdEx < l {
preIndex := iNdEx
var wire uint64
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowGenerated
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
2017-05-21 00:11:38 +00:00
b := dAtA[iNdEx]
2017-04-01 14:42:02 +00:00
iNdEx++
wire |= (uint64(b) & 0x7F) << shift
if b < 0x80 {
break
}
}
fieldNum := int32(wire >> 3)
wireType := int(wire & 0x7)
if wireType == 4 {
return fmt.Errorf("proto: APIVersion: wiretype end group for non-group")
}
if fieldNum <= 0 {
return fmt.Errorf("proto: APIVersion: illegal tag %d (wire type %d)", fieldNum, wire)
}
switch fieldNum {
case 1:
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType)
}
var stringLen uint64
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowGenerated
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
2017-05-21 00:11:38 +00:00
b := dAtA[iNdEx]
2017-04-01 14:42:02 +00:00
iNdEx++
stringLen |= (uint64(b) & 0x7F) << shift
if b < 0x80 {
break
}
}
intStringLen := int(stringLen)
if intStringLen < 0 {
return ErrInvalidLengthGenerated
}
postIndex := iNdEx + intStringLen
if postIndex > l {
return io.ErrUnexpectedEOF
}
2017-05-21 00:11:38 +00:00
m.Name = string(dAtA[iNdEx:postIndex])
2017-04-01 14:42:02 +00:00
iNdEx = postIndex
default:
iNdEx = preIndex
2017-05-21 00:11:38 +00:00
skippy, err := skipGenerated(dAtA[iNdEx:])
2017-04-01 14:42:02 +00:00
if err != nil {
return err
}
if skippy < 0 {
return ErrInvalidLengthGenerated
}
if (iNdEx + skippy) > l {
return io.ErrUnexpectedEOF
}
iNdEx += skippy
}
}
if iNdEx > l {
return io.ErrUnexpectedEOF
}
return nil
}
2017-05-21 00:11:38 +00:00
func (m *CustomMetricCurrentStatus) Unmarshal(dAtA []byte) error {
l := len(dAtA)
2017-04-01 14:42:02 +00:00
iNdEx := 0
for iNdEx < l {
preIndex := iNdEx
var wire uint64
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowGenerated
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
2017-05-21 00:11:38 +00:00
b := dAtA[iNdEx]
2017-04-01 14:42:02 +00:00
iNdEx++
wire |= (uint64(b) & 0x7F) << shift
if b < 0x80 {
break
}
}
fieldNum := int32(wire >> 3)
wireType := int(wire & 0x7)
if wireType == 4 {
return fmt.Errorf("proto: CustomMetricCurrentStatus: wiretype end group for non-group")
}
if fieldNum <= 0 {
return fmt.Errorf("proto: CustomMetricCurrentStatus: illegal tag %d (wire type %d)", fieldNum, wire)
}
switch fieldNum {
case 1:
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType)
}
var stringLen uint64
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowGenerated
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
2017-05-21 00:11:38 +00:00
b := dAtA[iNdEx]
2017-04-01 14:42:02 +00:00
iNdEx++
stringLen |= (uint64(b) & 0x7F) << shift
if b < 0x80 {
break
}
}
intStringLen := int(stringLen)
if intStringLen < 0 {
return ErrInvalidLengthGenerated
}
postIndex := iNdEx + intStringLen
if postIndex > l {
return io.ErrUnexpectedEOF
}
2017-05-21 00:11:38 +00:00
m.Name = string(dAtA[iNdEx:postIndex])
2017-04-01 14:42:02 +00:00
iNdEx = postIndex
case 2:
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field CurrentValue", wireType)
}
var msglen int
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowGenerated
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
2017-05-21 00:11:38 +00:00
b := dAtA[iNdEx]
2017-04-01 14:42:02 +00:00
iNdEx++
msglen |= (int(b) & 0x7F) << shift
if b < 0x80 {
break
}
}
if msglen < 0 {
return ErrInvalidLengthGenerated
}
postIndex := iNdEx + msglen
if postIndex > l {
return io.ErrUnexpectedEOF
}
2017-05-21 00:11:38 +00:00
if err := m.CurrentValue.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
2017-04-01 14:42:02 +00:00
return err
}
iNdEx = postIndex
default:
iNdEx = preIndex
2017-05-21 00:11:38 +00:00
skippy, err := skipGenerated(dAtA[iNdEx:])
2017-04-01 14:42:02 +00:00
if err != nil {
return err
}
if skippy < 0 {
return ErrInvalidLengthGenerated
}
if (iNdEx + skippy) > l {
return io.ErrUnexpectedEOF
}
iNdEx += skippy
}
}
if iNdEx > l {
return io.ErrUnexpectedEOF
}
return nil
}
2017-05-21 00:11:38 +00:00
func (m *CustomMetricCurrentStatusList) Unmarshal(dAtA []byte) error {
l := len(dAtA)
2017-04-01 14:42:02 +00:00
iNdEx := 0
for iNdEx < l {
preIndex := iNdEx
var wire uint64
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowGenerated
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
2017-05-21 00:11:38 +00:00
b := dAtA[iNdEx]
2017-04-01 14:42:02 +00:00
iNdEx++
wire |= (uint64(b) & 0x7F) << shift
if b < 0x80 {
break
}
}
fieldNum := int32(wire >> 3)
wireType := int(wire & 0x7)
if wireType == 4 {
return fmt.Errorf("proto: CustomMetricCurrentStatusList: wiretype end group for non-group")
}
if fieldNum <= 0 {
return fmt.Errorf("proto: CustomMetricCurrentStatusList: illegal tag %d (wire type %d)", fieldNum, wire)
}
switch fieldNum {
case 1:
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field Items", wireType)
}
var msglen int
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowGenerated
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
2017-05-21 00:11:38 +00:00
b := dAtA[iNdEx]
2017-04-01 14:42:02 +00:00
iNdEx++
msglen |= (int(b) & 0x7F) << shift
if b < 0x80 {
break
}
}
if msglen < 0 {
return ErrInvalidLengthGenerated
}
postIndex := iNdEx + msglen
if postIndex > l {
return io.ErrUnexpectedEOF
}
m.Items = append(m.Items, CustomMetricCurrentStatus{})
2017-05-21 00:11:38 +00:00
if err := m.Items[len(m.Items)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
2017-04-01 14:42:02 +00:00
return err
}
iNdEx = postIndex
default:
iNdEx = preIndex
2017-05-21 00:11:38 +00:00
skippy, err := skipGenerated(dAtA[iNdEx:])
2017-04-01 14:42:02 +00:00
if err != nil {
return err
}
if skippy < 0 {
return ErrInvalidLengthGenerated
}
if (iNdEx + skippy) > l {
return io.ErrUnexpectedEOF
}
iNdEx += skippy
}
}
if iNdEx > l {
return io.ErrUnexpectedEOF
}
return nil
}
2017-05-21 00:11:38 +00:00
func (m *CustomMetricTarget) Unmarshal(dAtA []byte) error {
l := len(dAtA)
2017-04-01 14:42:02 +00:00
iNdEx := 0
for iNdEx < l {
preIndex := iNdEx
var wire uint64
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowGenerated
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
2017-05-21 00:11:38 +00:00
b := dAtA[iNdEx]
2017-04-01 14:42:02 +00:00
iNdEx++
wire |= (uint64(b) & 0x7F) << shift
if b < 0x80 {
break
}
}
fieldNum := int32(wire >> 3)
wireType := int(wire & 0x7)
if wireType == 4 {
return fmt.Errorf("proto: CustomMetricTarget: wiretype end group for non-group")
}
if fieldNum <= 0 {
return fmt.Errorf("proto: CustomMetricTarget: illegal tag %d (wire type %d)", fieldNum, wire)
}
switch fieldNum {
case 1:
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType)
}
var stringLen uint64
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowGenerated
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
2017-05-21 00:11:38 +00:00
b := dAtA[iNdEx]
2017-04-01 14:42:02 +00:00
iNdEx++
stringLen |= (uint64(b) & 0x7F) << shift
if b < 0x80 {
break
}
}
intStringLen := int(stringLen)
if intStringLen < 0 {
return ErrInvalidLengthGenerated
}
postIndex := iNdEx + intStringLen
if postIndex > l {
return io.ErrUnexpectedEOF
}
2017-05-21 00:11:38 +00:00
m.Name = string(dAtA[iNdEx:postIndex])
2017-04-01 14:42:02 +00:00
iNdEx = postIndex
case 2:
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field TargetValue", wireType)
}
var msglen int
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowGenerated
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
2017-05-21 00:11:38 +00:00
b := dAtA[iNdEx]
2017-04-01 14:42:02 +00:00
iNdEx++
msglen |= (int(b) & 0x7F) << shift
if b < 0x80 {
break
}
}
if msglen < 0 {
return ErrInvalidLengthGenerated
}
postIndex := iNdEx + msglen
if postIndex > l {
return io.ErrUnexpectedEOF
}
2017-05-21 00:11:38 +00:00
if err := m.TargetValue.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
2017-04-01 14:42:02 +00:00
return err
}
iNdEx = postIndex
default:
iNdEx = preIndex
2017-05-21 00:11:38 +00:00
skippy, err := skipGenerated(dAtA[iNdEx:])
2017-04-01 14:42:02 +00:00
if err != nil {
return err
}
if skippy < 0 {
return ErrInvalidLengthGenerated
}
if (iNdEx + skippy) > l {
return io.ErrUnexpectedEOF
}
iNdEx += skippy
}
}
if iNdEx > l {
return io.ErrUnexpectedEOF
}
return nil
}
2017-05-21 00:11:38 +00:00
func (m *CustomMetricTargetList) Unmarshal(dAtA []byte) error {
l := len(dAtA)
2017-04-01 14:42:02 +00:00
iNdEx := 0
for iNdEx < l {
preIndex := iNdEx
var wire uint64
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowGenerated
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
2017-05-21 00:11:38 +00:00
b := dAtA[iNdEx]
2017-04-01 14:42:02 +00:00
iNdEx++
wire |= (uint64(b) & 0x7F) << shift
if b < 0x80 {
break
}
}
fieldNum := int32(wire >> 3)
wireType := int(wire & 0x7)
if wireType == 4 {
return fmt.Errorf("proto: CustomMetricTargetList: wiretype end group for non-group")
}
if fieldNum <= 0 {
return fmt.Errorf("proto: CustomMetricTargetList: illegal tag %d (wire type %d)", fieldNum, wire)
}
switch fieldNum {
case 1:
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field Items", wireType)
}
var msglen int
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowGenerated
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
2017-05-21 00:11:38 +00:00
b := dAtA[iNdEx]
2017-04-01 14:42:02 +00:00
iNdEx++
msglen |= (int(b) & 0x7F) << shift
if b < 0x80 {
break
}
}
if msglen < 0 {
return ErrInvalidLengthGenerated
}
postIndex := iNdEx + msglen
if postIndex > l {
return io.ErrUnexpectedEOF
}
m.Items = append(m.Items, CustomMetricTarget{})
2017-05-21 00:11:38 +00:00
if err := m.Items[len(m.Items)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
2017-04-01 14:42:02 +00:00
return err
}
iNdEx = postIndex
default:
iNdEx = preIndex
2017-05-21 00:11:38 +00:00
skippy, err := skipGenerated(dAtA[iNdEx:])
2017-04-01 14:42:02 +00:00
if err != nil {
return err
}
if skippy < 0 {
return ErrInvalidLengthGenerated
}
if (iNdEx + skippy) > l {
return io.ErrUnexpectedEOF
}
iNdEx += skippy
}
}
if iNdEx > l {
return io.ErrUnexpectedEOF
}
return nil
}
2017-05-21 00:11:38 +00:00
func (m *DaemonSet) Unmarshal(dAtA []byte) error {
l := len(dAtA)
2017-04-01 14:42:02 +00:00
iNdEx := 0
for iNdEx < l {
preIndex := iNdEx
var wire uint64
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowGenerated
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
2017-05-21 00:11:38 +00:00
b := dAtA[iNdEx]
2017-04-01 14:42:02 +00:00
iNdEx++
wire |= (uint64(b) & 0x7F) << shift
if b < 0x80 {
break
}
}
fieldNum := int32(wire >> 3)
wireType := int(wire & 0x7)
if wireType == 4 {
return fmt.Errorf("proto: 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)
}
var msglen int
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowGenerated
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
2017-05-21 00:11:38 +00:00
b := dAtA[iNdEx]
2017-04-01 14:42:02 +00:00
iNdEx++
msglen |= (int(b) & 0x7F) << shift
if b < 0x80 {
break
}
}
if msglen < 0 {
return ErrInvalidLengthGenerated
}
postIndex := iNdEx + msglen
if postIndex > l {
return io.ErrUnexpectedEOF
}
2017-05-21 00:11:38 +00:00
if err := m.ObjectMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
2017-04-01 14:42:02 +00: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
}
2017-05-21 00:11:38 +00:00
b := dAtA[iNdEx]
2017-04-01 14:42:02 +00:00
iNdEx++
msglen |= (int(b) & 0x7F) << shift
if b < 0x80 {
break
}
}
if msglen < 0 {
return ErrInvalidLengthGenerated
}
postIndex := iNdEx + msglen
if postIndex > l {
return io.ErrUnexpectedEOF
}
2017-05-21 00:11:38 +00:00
if err := m.Spec.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
2017-04-01 14:42:02 +00:00
return err
}
iNdEx = postIndex
case 3:
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType)
}
var msglen int
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowGenerated
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
2017-05-21 00:11:38 +00:00
b := dAtA[iNdEx]
2017-04-01 14:42:02 +00:00
iNdEx++
msglen |= (int(b) & 0x7F) << shift
if b < 0x80 {
break
}
}
if msglen < 0 {
return ErrInvalidLengthGenerated
}
postIndex := iNdEx + msglen
if postIndex > l {
return io.ErrUnexpectedEOF
}
2017-05-21 00:11:38 +00:00
if err := m.Status.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
2017-04-01 14:42:02 +00:00
return err
}
iNdEx = postIndex
default:
iNdEx = preIndex
2017-05-21 00:11:38 +00:00
skippy, err := skipGenerated(dAtA[iNdEx:])
2017-04-01 14:42:02 +00:00
if err != nil {
return err
}
if skippy < 0 {
return ErrInvalidLengthGenerated
}
if (iNdEx + skippy) > l {
return io.ErrUnexpectedEOF
}
iNdEx += skippy
}
}
if iNdEx > l {
return io.ErrUnexpectedEOF
}
return nil
}
2017-05-21 00:11:38 +00:00
func (m *DaemonSetList) Unmarshal(dAtA []byte) error {
l := len(dAtA)
2017-04-01 14:42:02 +00:00
iNdEx := 0
for iNdEx < l {
preIndex := iNdEx
var wire uint64
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowGenerated
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
2017-05-21 00:11:38 +00:00
b := dAtA[iNdEx]
2017-04-01 14:42:02 +00:00
iNdEx++
wire |= (uint64(b) & 0x7F) << shift
if b < 0x80 {
break
}
}
fieldNum := int32(wire >> 3)
wireType := int(wire & 0x7)
if wireType == 4 {
return fmt.Errorf("proto: DaemonSetList: wiretype end group for non-group")
}
if fieldNum <= 0 {
return fmt.Errorf("proto: DaemonSetList: illegal tag %d (wire type %d)", fieldNum, wire)
}
switch fieldNum {
case 1:
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field ListMeta", wireType)
}
var msglen int
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowGenerated
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
2017-05-21 00:11:38 +00:00
b := dAtA[iNdEx]
2017-04-01 14:42:02 +00:00
iNdEx++
msglen |= (int(b) & 0x7F) << shift
if b < 0x80 {
break
}
}
if msglen < 0 {
return ErrInvalidLengthGenerated
}
postIndex := iNdEx + msglen
if postIndex > l {
return io.ErrUnexpectedEOF
}
2017-05-21 00:11:38 +00:00
if err := m.ListMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
2017-04-01 14:42:02 +00:00
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
}
2017-05-21 00:11:38 +00:00
b := dAtA[iNdEx]
2017-04-01 14:42:02 +00:00
iNdEx++
msglen |= (int(b) & 0x7F) << shift
if b < 0x80 {
break
}
}
if msglen < 0 {
return ErrInvalidLengthGenerated
}
postIndex := iNdEx + msglen
if postIndex > l {
return io.ErrUnexpectedEOF
}
m.Items = append(m.Items, DaemonSet{})
2017-05-21 00:11:38 +00:00
if err := m.Items[len(m.Items)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
2017-04-01 14:42:02 +00:00
return err
}
iNdEx = postIndex
default:
iNdEx = preIndex
2017-05-21 00:11:38 +00:00
skippy, err := skipGenerated(dAtA[iNdEx:])
2017-04-01 14:42:02 +00:00
if err != nil {
return err
}
if skippy < 0 {
return ErrInvalidLengthGenerated
}
if (iNdEx + skippy) > l {
return io.ErrUnexpectedEOF
}
iNdEx += skippy
}
}
if iNdEx > l {
return io.ErrUnexpectedEOF
}
return nil
}
2017-05-21 00:11:38 +00:00
func (m *DaemonSetSpec) Unmarshal(dAtA []byte) error {
l := len(dAtA)
2017-04-01 14:42:02 +00:00
iNdEx := 0
for iNdEx < l {
preIndex := iNdEx
var wire uint64
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowGenerated
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
2017-05-21 00:11:38 +00:00
b := dAtA[iNdEx]
2017-04-01 14:42:02 +00:00
iNdEx++
wire |= (uint64(b) & 0x7F) << shift
if b < 0x80 {
break
}
}
fieldNum := int32(wire >> 3)
wireType := int(wire & 0x7)
if wireType == 4 {
return fmt.Errorf("proto: 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
}
2017-05-21 00:11:38 +00:00
b := dAtA[iNdEx]
2017-04-01 14:42:02 +00:00
iNdEx++
msglen |= (int(b) & 0x7F) << shift
if b < 0x80 {
break
}
}
if msglen < 0 {
return ErrInvalidLengthGenerated
}
postIndex := iNdEx + msglen
if postIndex > l {
return io.ErrUnexpectedEOF
}
if m.Selector == nil {
m.Selector = &k8s_io_apimachinery_pkg_apis_meta_v1.LabelSelector{}
}
2017-05-21 00:11:38 +00:00
if err := m.Selector.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
2017-04-01 14:42:02 +00:00
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
}
2017-05-21 00:11:38 +00:00
b := dAtA[iNdEx]
2017-04-01 14:42:02 +00:00
iNdEx++
msglen |= (int(b) & 0x7F) << shift
if b < 0x80 {
break
}
}
if msglen < 0 {
return ErrInvalidLengthGenerated
}
postIndex := iNdEx + msglen
if postIndex > l {
return io.ErrUnexpectedEOF
}
2017-05-21 00:11:38 +00:00
if err := m.Template.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
2017-04-01 14:42:02 +00:00
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 {
return ErrIntOverflowGenerated
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
2017-05-21 00:11:38 +00:00
b := dAtA[iNdEx]
2017-04-01 14:42:02 +00:00
iNdEx++
msglen |= (int(b) & 0x7F) << shift
if b < 0x80 {
break
}
}
if msglen < 0 {
return ErrInvalidLengthGenerated
}
postIndex := iNdEx + msglen
if postIndex > l {
return io.ErrUnexpectedEOF
}
2017-05-21 00:11:38 +00:00
if err := m.UpdateStrategy.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
2017-04-01 14:42:02 +00: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
}
2017-05-21 00:11:38 +00:00
b := dAtA[iNdEx]
2017-04-01 14:42:02 +00: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)
}
m.TemplateGeneration = 0
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowGenerated
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
2017-05-21 00:11:38 +00:00
b := dAtA[iNdEx]
2017-04-01 14:42:02 +00:00
iNdEx++
m.TemplateGeneration |= (int64(b) & 0x7F) << shift
if b < 0x80 {
break
}
}
default:
iNdEx = preIndex
2017-05-21 00:11:38 +00:00
skippy, err := skipGenerated(dAtA[iNdEx:])
2017-04-01 14:42:02 +00:00
if err != nil {
return err
}
if skippy < 0 {
return ErrInvalidLengthGenerated
}
if (iNdEx + skippy) > l {
return io.ErrUnexpectedEOF
}
iNdEx += skippy
}
}
if iNdEx > l {
return io.ErrUnexpectedEOF
}
return nil
}
2017-05-21 00:11:38 +00:00
func (m *DaemonSetStatus) Unmarshal(dAtA []byte) error {
l := len(dAtA)
2017-04-01 14:42:02 +00:00
iNdEx := 0
for iNdEx < l {
preIndex := iNdEx
var wire uint64
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowGenerated
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
2017-05-21 00:11:38 +00:00
b := dAtA[iNdEx]
2017-04-01 14:42:02 +00:00
iNdEx++
wire |= (uint64(b) & 0x7F) << shift
if b < 0x80 {
break
}
}
fieldNum := int32(wire >> 3)
wireType := int(wire & 0x7)
if wireType == 4 {
return fmt.Errorf("proto: DaemonSetStatus: wiretype end group for non-group")
}
if fieldNum <= 0 {
return fmt.Errorf("proto: DaemonSetStatus: illegal tag %d (wire type %d)", fieldNum, wire)
}
switch fieldNum {
case 1:
if wireType != 0 {
return fmt.Errorf("proto: wrong wireType = %d for field CurrentNumberScheduled", wireType)
}
m.CurrentNumberScheduled = 0
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowGenerated
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
2017-05-21 00:11:38 +00:00
b := dAtA[iNdEx]
2017-04-01 14:42:02 +00:00
iNdEx++
m.CurrentNumberScheduled |= (int32(b) & 0x7F) << shift
if b < 0x80 {
break
}
}
case 2:
if wireType != 0 {
return fmt.Errorf("proto: wrong wireType = %d for field NumberMisscheduled", wireType)
}
m.NumberMisscheduled = 0
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowGenerated
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
2017-05-21 00:11:38 +00:00
b := dAtA[iNdEx]
2017-04-01 14:42:02 +00:00
iNdEx++
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
}
2017-05-21 00:11:38 +00:00
b := dAtA[iNdEx]
2017-04-01 14:42:02 +00: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
}
2017-05-21 00:11:38 +00:00
b := dAtA[iNdEx]
2017-04-01 14:42:02 +00: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
}
2017-05-21 00:11:38 +00:00
b := dAtA[iNdEx]
2017-04-01 14:42:02 +00: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
}
2017-05-21 00:11:38 +00:00
b := dAtA[iNdEx]
2017-04-01 14:42:02 +00: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
}
2017-05-21 00:11:38 +00:00
b := dAtA[iNdEx]
2017-04-01 14:42:02 +00: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
}
2017-05-21 00:11:38 +00:00
b := dAtA[iNdEx]
2017-04-01 14:42:02 +00:00
iNdEx++
m.NumberUnavailable |= (int32(b) & 0x7F) << shift
if b < 0x80 {
break
}
}
default:
iNdEx = preIndex
2017-05-21 00:11:38 +00:00
skippy, err := skipGenerated(dAtA[iNdEx:])
2017-04-01 14:42:02 +00:00
if err != nil {
return err
}
if skippy < 0 {
return ErrInvalidLengthGenerated
}
if (iNdEx + skippy) > l {
return io.ErrUnexpectedEOF
}
iNdEx += skippy
}
}
if iNdEx > l {
return io.ErrUnexpectedEOF
}
return nil
}
2017-05-21 00:11:38 +00:00
func (m *DaemonSetUpdateStrategy) Unmarshal(dAtA []byte) error {
l := len(dAtA)
2017-04-01 14:42:02 +00:00
iNdEx := 0
for iNdEx < l {
preIndex := iNdEx
var wire uint64
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowGenerated
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
2017-05-21 00:11:38 +00:00
b := dAtA[iNdEx]
2017-04-01 14:42:02 +00:00
iNdEx++
wire |= (uint64(b) & 0x7F) << shift
if b < 0x80 {
break
}
}
fieldNum := int32(wire >> 3)
wireType := int(wire & 0x7)
if wireType == 4 {
return fmt.Errorf("proto: DaemonSetUpdateStrategy: wiretype end group for non-group")
}
if fieldNum <= 0 {
return fmt.Errorf("proto: DaemonSetUpdateStrategy: illegal tag %d (wire type %d)", fieldNum, wire)
}
switch fieldNum {
case 1:
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field Type", wireType)
}
var stringLen uint64
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowGenerated
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
2017-05-21 00:11:38 +00:00
b := dAtA[iNdEx]
2017-04-01 14:42:02 +00:00
iNdEx++
stringLen |= (uint64(b) & 0x7F) << shift
if b < 0x80 {
break
}
}
intStringLen := int(stringLen)
if intStringLen < 0 {
return ErrInvalidLengthGenerated
}
postIndex := iNdEx + intStringLen
if postIndex > l {
return io.ErrUnexpectedEOF
}
2017-05-21 00:11:38 +00:00
m.Type = DaemonSetUpdateStrategyType(dAtA[iNdEx:postIndex])
2017-04-01 14:42:02 +00:00
iNdEx = postIndex
case 2:
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field RollingUpdate", wireType)
}
var msglen int
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowGenerated
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
2017-05-21 00:11:38 +00:00
b := dAtA[iNdEx]
2017-04-01 14:42:02 +00:00
iNdEx++
msglen |= (int(b) & 0x7F) << shift
if b < 0x80 {
break
}
}
if msglen < 0 {
return ErrInvalidLengthGenerated
}
postIndex := iNdEx + msglen
if postIndex > l {
return io.ErrUnexpectedEOF
}
if m.RollingUpdate == nil {
m.RollingUpdate = &RollingUpdateDaemonSet{}
}
2017-05-21 00:11:38 +00:00
if err := m.RollingUpdate.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
2017-04-01 14:42:02 +00:00
return err
}
iNdEx = postIndex
default:
iNdEx = preIndex
2017-05-21 00:11:38 +00:00
skippy, err := skipGenerated(dAtA[iNdEx:])
2017-04-01 14:42:02 +00:00
if err != nil {
return err
}
if skippy < 0 {
return ErrInvalidLengthGenerated
}
if (iNdEx + skippy) > l {
return io.ErrUnexpectedEOF
}
iNdEx += skippy
}
}
if iNdEx > l {
return io.ErrUnexpectedEOF
}
return nil
}
2017-05-21 00:11:38 +00:00
func (m *Deployment) Unmarshal(dAtA []byte) error {
l := len(dAtA)
2017-04-01 14:42:02 +00:00
iNdEx := 0
for iNdEx < l {
preIndex := iNdEx
var wire uint64
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowGenerated
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
2017-05-21 00:11:38 +00:00
b := dAtA[iNdEx]
2017-04-01 14:42:02 +00:00
iNdEx++
wire |= (uint64(b) & 0x7F) << shift
if b < 0x80 {
break
}
}
fieldNum := int32(wire >> 3)
wireType := int(wire & 0x7)
if wireType == 4 {
return fmt.Errorf("proto: Deployment: wiretype end group for non-group")
}
if fieldNum <= 0 {
return fmt.Errorf("proto: Deployment: 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
}
2017-05-21 00:11:38 +00:00
b := dAtA[iNdEx]
2017-04-01 14:42:02 +00:00
iNdEx++
msglen |= (int(b) & 0x7F) << shift
if b < 0x80 {
break
}
}
if msglen < 0 {
return ErrInvalidLengthGenerated
}
postIndex := iNdEx + msglen
if postIndex > l {
return io.ErrUnexpectedEOF
}
2017-05-21 00:11:38 +00:00
if err := m.ObjectMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
2017-04-01 14:42:02 +00: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
}
2017-05-21 00:11:38 +00:00
b := dAtA[iNdEx]
2017-04-01 14:42:02 +00:00
iNdEx++
msglen |= (int(b) & 0x7F) << shift
if b < 0x80 {
break
}
}
if msglen < 0 {
return ErrInvalidLengthGenerated
}
postIndex := iNdEx + msglen
if postIndex > l {
return io.ErrUnexpectedEOF
}
2017-05-21 00:11:38 +00:00
if err := m.Spec.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
2017-04-01 14:42:02 +00:00
return err
}
iNdEx = postIndex
case 3:
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType)
}
var msglen int
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowGenerated
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
2017-05-21 00:11:38 +00:00
b := dAtA[iNdEx]
2017-04-01 14:42:02 +00:00
iNdEx++
msglen |= (int(b) & 0x7F) << shift
if b < 0x80 {
break
}
}
if msglen < 0 {
return ErrInvalidLengthGenerated
}
postIndex := iNdEx + msglen
if postIndex > l {
return io.ErrUnexpectedEOF
}
2017-05-21 00:11:38 +00:00
if err := m.Status.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
2017-04-01 14:42:02 +00:00
return err
}
iNdEx = postIndex
default:
iNdEx = preIndex
2017-05-21 00:11:38 +00:00
skippy, err := skipGenerated(dAtA[iNdEx:])
2017-04-01 14:42:02 +00:00
if err != nil {
return err
}
if skippy < 0 {
return ErrInvalidLengthGenerated
}
if (iNdEx + skippy) > l {
return io.ErrUnexpectedEOF
}
iNdEx += skippy
}
}
if iNdEx > l {
return io.ErrUnexpectedEOF
}
return nil
}
2017-05-21 00:11:38 +00:00
func (m *DeploymentCondition) Unmarshal(dAtA []byte) error {
l := len(dAtA)
2017-04-01 14:42:02 +00:00
iNdEx := 0
for iNdEx < l {
preIndex := iNdEx
var wire uint64
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowGenerated
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
2017-05-21 00:11:38 +00:00
b := dAtA[iNdEx]
2017-04-01 14:42:02 +00:00
iNdEx++
wire |= (uint64(b) & 0x7F) << shift
if b < 0x80 {
break
}
}
fieldNum := int32(wire >> 3)
wireType := int(wire & 0x7)
if wireType == 4 {
return fmt.Errorf("proto: DeploymentCondition: wiretype end group for non-group")
}
if fieldNum <= 0 {
return fmt.Errorf("proto: DeploymentCondition: illegal tag %d (wire type %d)", fieldNum, wire)
}
switch fieldNum {
case 1:
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field Type", wireType)
}
var stringLen uint64
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowGenerated
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
2017-05-21 00:11:38 +00:00
b := dAtA[iNdEx]
2017-04-01 14:42:02 +00:00
iNdEx++
stringLen |= (uint64(b) & 0x7F) << shift
if b < 0x80 {
break
}
}
intStringLen := int(stringLen)
if intStringLen < 0 {
return ErrInvalidLengthGenerated
}
postIndex := iNdEx + intStringLen
if postIndex > l {
return io.ErrUnexpectedEOF
}
2017-05-21 00:11:38 +00:00
m.Type = DeploymentConditionType(dAtA[iNdEx:postIndex])
2017-04-01 14:42:02 +00: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
}
2017-05-21 00:11:38 +00:00
b := dAtA[iNdEx]
2017-04-01 14:42:02 +00:00
iNdEx++
stringLen |= (uint64(b) & 0x7F) << shift
if b < 0x80 {
break
}
}
intStringLen := int(stringLen)
if intStringLen < 0 {
return ErrInvalidLengthGenerated
}
postIndex := iNdEx + intStringLen
if postIndex > l {
return io.ErrUnexpectedEOF
}
2017-05-21 00:11:38 +00:00
m.Status = k8s_io_kubernetes_pkg_api_v1.ConditionStatus(dAtA[iNdEx:postIndex])
2017-04-01 14:42:02 +00:00
iNdEx = postIndex
case 4:
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field Reason", wireType)
}
var stringLen uint64
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowGenerated
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
2017-05-21 00:11:38 +00:00
b := dAtA[iNdEx]
2017-04-01 14:42:02 +00:00
iNdEx++
stringLen |= (uint64(b) & 0x7F) << shift
if b < 0x80 {
break
}
}
intStringLen := int(stringLen)
if intStringLen < 0 {
return ErrInvalidLengthGenerated
}
postIndex := iNdEx + intStringLen
if postIndex > l {
return io.ErrUnexpectedEOF
}
2017-05-21 00:11:38 +00:00
m.Reason = string(dAtA[iNdEx:postIndex])
2017-04-01 14:42:02 +00:00
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
}
2017-05-21 00:11:38 +00:00
b := dAtA[iNdEx]
2017-04-01 14:42:02 +00:00
iNdEx++
stringLen |= (uint64(b) & 0x7F) << shift
if b < 0x80 {
break
}
}
intStringLen := int(stringLen)
if intStringLen < 0 {
return ErrInvalidLengthGenerated
}
postIndex := iNdEx + intStringLen
if postIndex > l {
return io.ErrUnexpectedEOF
}
2017-05-21 00:11:38 +00:00
m.Message = string(dAtA[iNdEx:postIndex])
2017-04-01 14:42:02 +00:00
iNdEx = postIndex
case 6:
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field LastUpdateTime", wireType)
}
var msglen int
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowGenerated
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
2017-05-21 00:11:38 +00:00
b := dAtA[iNdEx]
2017-04-01 14:42:02 +00:00
iNdEx++
msglen |= (int(b) & 0x7F) << shift
if b < 0x80 {
break
}
}
if msglen < 0 {
return ErrInvalidLengthGenerated
}
postIndex := iNdEx + msglen
if postIndex > l {
return io.ErrUnexpectedEOF
}
2017-05-21 00:11:38 +00:00
if err := m.LastUpdateTime.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
2017-04-01 14:42:02 +00:00
return err
}
iNdEx = postIndex
case 7:
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field LastTransitionTime", wireType)
}
var msglen int
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowGenerated
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
2017-05-21 00:11:38 +00:00
b := dAtA[iNdEx]
2017-04-01 14:42:02 +00:00
iNdEx++
msglen |= (int(b) & 0x7F) << shift
if b < 0x80 {
break
}
}
if msglen < 0 {
return ErrInvalidLengthGenerated
}
postIndex := iNdEx + msglen
if postIndex > l {
return io.ErrUnexpectedEOF
}
2017-05-21 00:11:38 +00:00
if err := m.LastTransitionTime.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
2017-04-01 14:42:02 +00:00
return err
}
iNdEx = postIndex
default:
iNdEx = preIndex
2017-05-21 00:11:38 +00:00
skippy, err := skipGenerated(dAtA[iNdEx:])
2017-04-01 14:42:02 +00:00
if err != nil {
return err
}
if skippy < 0 {
return ErrInvalidLengthGenerated
}
if (iNdEx + skippy) > l {
return io.ErrUnexpectedEOF
}
iNdEx += skippy
}
}
if iNdEx > l {
return io.ErrUnexpectedEOF
}
return nil
}
2017-05-21 00:11:38 +00:00
func (m *DeploymentList) Unmarshal(dAtA []byte) error {
l := len(dAtA)
2017-04-01 14:42:02 +00:00
iNdEx := 0
for iNdEx < l {
preIndex := iNdEx
var wire uint64
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowGenerated
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
2017-05-21 00:11:38 +00:00
b := dAtA[iNdEx]
2017-04-01 14:42:02 +00:00
iNdEx++
wire |= (uint64(b) & 0x7F) << shift
if b < 0x80 {
break
}
}
fieldNum := int32(wire >> 3)
wireType := int(wire & 0x7)
if wireType == 4 {
return fmt.Errorf("proto: DeploymentList: wiretype end group for non-group")
}
if fieldNum <= 0 {
return fmt.Errorf("proto: DeploymentList: illegal tag %d (wire type %d)", fieldNum, wire)
}
switch fieldNum {
case 1:
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field ListMeta", wireType)
}
var msglen int
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowGenerated
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
2017-05-21 00:11:38 +00:00
b := dAtA[iNdEx]
2017-04-01 14:42:02 +00:00
iNdEx++
msglen |= (int(b) & 0x7F) << shift
if b < 0x80 {
break
}
}
if msglen < 0 {
return ErrInvalidLengthGenerated
}
postIndex := iNdEx + msglen
if postIndex > l {
return io.ErrUnexpectedEOF
}
2017-05-21 00:11:38 +00:00
if err := m.ListMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
2017-04-01 14:42:02 +00:00
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
}
2017-05-21 00:11:38 +00:00
b := dAtA[iNdEx]
2017-04-01 14:42:02 +00:00
iNdEx++
msglen |= (int(b) & 0x7F) << shift
if b < 0x80 {
break
}
}
if msglen < 0 {
return ErrInvalidLengthGenerated
}
postIndex := iNdEx + msglen
if postIndex > l {
return io.ErrUnexpectedEOF
}
m.Items = append(m.Items, Deployment{})
2017-05-21 00:11:38 +00:00
if err := m.Items[len(m.Items)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
2017-04-01 14:42:02 +00:00
return err
}
iNdEx = postIndex
default:
iNdEx = preIndex
2017-05-21 00:11:38 +00:00
skippy, err := skipGenerated(dAtA[iNdEx:])
2017-04-01 14:42:02 +00:00
if err != nil {
return err
}
if skippy < 0 {
return ErrInvalidLengthGenerated
}
if (iNdEx + skippy) > l {
return io.ErrUnexpectedEOF
}
iNdEx += skippy
}
}
if iNdEx > l {
return io.ErrUnexpectedEOF
}
return nil
}
2017-05-21 00:11:38 +00:00
func (m *DeploymentRollback) Unmarshal(dAtA []byte) error {
l := len(dAtA)
2017-04-01 14:42:02 +00:00
iNdEx := 0
for iNdEx < l {
preIndex := iNdEx
var wire uint64
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowGenerated
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
2017-05-21 00:11:38 +00:00
b := dAtA[iNdEx]
2017-04-01 14:42:02 +00:00
iNdEx++
wire |= (uint64(b) & 0x7F) << shift
if b < 0x80 {
break
}
}
fieldNum := int32(wire >> 3)
wireType := int(wire & 0x7)
if wireType == 4 {
return fmt.Errorf("proto: DeploymentRollback: wiretype end group for non-group")
}
if fieldNum <= 0 {
return fmt.Errorf("proto: DeploymentRollback: illegal tag %d (wire type %d)", fieldNum, wire)
}
switch fieldNum {
case 1:
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType)
}
var stringLen uint64
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowGenerated
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
2017-05-21 00:11:38 +00:00
b := dAtA[iNdEx]
2017-04-01 14:42:02 +00:00
iNdEx++
stringLen |= (uint64(b) & 0x7F) << shift
if b < 0x80 {
break
}
}
intStringLen := int(stringLen)
if intStringLen < 0 {
return ErrInvalidLengthGenerated
}
postIndex := iNdEx + intStringLen
if postIndex > l {
return io.ErrUnexpectedEOF
}
2017-05-21 00:11:38 +00:00
m.Name = string(dAtA[iNdEx:postIndex])
2017-04-01 14:42:02 +00:00
iNdEx = postIndex
case 2:
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field UpdatedAnnotations", wireType)
}
var msglen int
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowGenerated
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
2017-05-21 00:11:38 +00:00
b := dAtA[iNdEx]
2017-04-01 14:42:02 +00:00
iNdEx++
msglen |= (int(b) & 0x7F) << shift
if b < 0x80 {
break
}
}
if msglen < 0 {
return ErrInvalidLengthGenerated
}
postIndex := iNdEx + msglen
if postIndex > l {
return io.ErrUnexpectedEOF
}
var keykey uint64
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowGenerated
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
2017-05-21 00:11:38 +00:00
b := dAtA[iNdEx]
2017-04-01 14:42:02 +00:00
iNdEx++
keykey |= (uint64(b) & 0x7F) << shift
if b < 0x80 {
break
}
}
var stringLenmapkey uint64
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowGenerated
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
2017-05-21 00:11:38 +00:00
b := dAtA[iNdEx]
2017-04-01 14:42:02 +00:00
iNdEx++
stringLenmapkey |= (uint64(b) & 0x7F) << shift
if b < 0x80 {
break
}
}
intStringLenmapkey := int(stringLenmapkey)
if intStringLenmapkey < 0 {
return ErrInvalidLengthGenerated
}
postStringIndexmapkey := iNdEx + intStringLenmapkey
if postStringIndexmapkey > l {
return io.ErrUnexpectedEOF
}
2017-05-21 00:11:38 +00:00
mapkey := string(dAtA[iNdEx:postStringIndexmapkey])
2017-04-01 14:42:02 +00:00
iNdEx = postStringIndexmapkey
2017-05-21 00:11:38 +00:00
if m.UpdatedAnnotations == nil {
m.UpdatedAnnotations = make(map[string]string)
}
if iNdEx < postIndex {
var valuekey uint64
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowGenerated
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
iNdEx++
valuekey |= (uint64(b) & 0x7F) << shift
if b < 0x80 {
break
}
2017-04-01 14:42:02 +00:00
}
2017-05-21 00:11:38 +00:00
var stringLenmapvalue uint64
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowGenerated
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
iNdEx++
stringLenmapvalue |= (uint64(b) & 0x7F) << shift
if b < 0x80 {
break
}
2017-04-01 14:42:02 +00:00
}
2017-05-21 00:11:38 +00:00
intStringLenmapvalue := int(stringLenmapvalue)
if intStringLenmapvalue < 0 {
return ErrInvalidLengthGenerated
2017-04-01 14:42:02 +00:00
}
2017-05-21 00:11:38 +00:00
postStringIndexmapvalue := iNdEx + intStringLenmapvalue
if postStringIndexmapvalue > l {
2017-04-01 14:42:02 +00:00
return io.ErrUnexpectedEOF
}
2017-05-21 00:11:38 +00:00
mapvalue := string(dAtA[iNdEx:postStringIndexmapvalue])
iNdEx = postStringIndexmapvalue
m.UpdatedAnnotations[mapkey] = mapvalue
} else {
var mapvalue string
m.UpdatedAnnotations[mapkey] = mapvalue
2017-04-01 14:42:02 +00:00
}
iNdEx = postIndex
case 3:
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field RollbackTo", wireType)
}
var msglen int
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowGenerated
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
2017-05-21 00:11:38 +00:00
b := dAtA[iNdEx]
2017-04-01 14:42:02 +00:00
iNdEx++
msglen |= (int(b) & 0x7F) << shift
if b < 0x80 {
break
}
}
if msglen < 0 {
return ErrInvalidLengthGenerated
}
postIndex := iNdEx + msglen
if postIndex > l {
return io.ErrUnexpectedEOF
}
2017-05-21 00:11:38 +00:00
if err := m.RollbackTo.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
2017-04-01 14:42:02 +00:00
return err
}
iNdEx = postIndex
default:
iNdEx = preIndex
2017-05-21 00:11:38 +00:00
skippy, err := skipGenerated(dAtA[iNdEx:])
2017-04-01 14:42:02 +00:00
if err != nil {
return err
}
if skippy < 0 {
return ErrInvalidLengthGenerated
}
if (iNdEx + skippy) > l {
return io.ErrUnexpectedEOF
}
iNdEx += skippy
}
}
if iNdEx > l {
return io.ErrUnexpectedEOF
}
return nil
}
2017-05-21 00:11:38 +00:00
func (m *DeploymentSpec) Unmarshal(dAtA []byte) error {
l := len(dAtA)
2017-04-01 14:42:02 +00:00
iNdEx := 0
for iNdEx < l {
preIndex := iNdEx
var wire uint64
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowGenerated
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
2017-05-21 00:11:38 +00:00
b := dAtA[iNdEx]
2017-04-01 14:42:02 +00:00
iNdEx++
wire |= (uint64(b) & 0x7F) << shift
if b < 0x80 {
break
}
}
fieldNum := int32(wire >> 3)
wireType := int(wire & 0x7)
if wireType == 4 {
return fmt.Errorf("proto: DeploymentSpec: wiretype end group for non-group")
}
if fieldNum <= 0 {
return fmt.Errorf("proto: DeploymentSpec: illegal tag %d (wire type %d)", fieldNum, wire)
}
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
}
2017-05-21 00:11:38 +00:00
b := dAtA[iNdEx]
2017-04-01 14:42:02 +00:00
iNdEx++
v |= (int32(b) & 0x7F) << shift
if b < 0x80 {
break
}
}
m.Replicas = &v
case 2:
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
}
2017-05-21 00:11:38 +00:00
b := dAtA[iNdEx]
2017-04-01 14:42:02 +00:00
iNdEx++
msglen |= (int(b) & 0x7F) << shift
if b < 0x80 {
break
}
}
if msglen < 0 {
return ErrInvalidLengthGenerated
}
postIndex := iNdEx + msglen
if postIndex > l {
return io.ErrUnexpectedEOF
}
if m.Selector == nil {
m.Selector = &k8s_io_apimachinery_pkg_apis_meta_v1.LabelSelector{}
}
2017-05-21 00:11:38 +00:00
if err := m.Selector.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
2017-04-01 14:42:02 +00:00
return err
}
iNdEx = postIndex
case 3:
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
}
2017-05-21 00:11:38 +00:00
b := dAtA[iNdEx]
2017-04-01 14:42:02 +00:00
iNdEx++
msglen |= (int(b) & 0x7F) << shift
if b < 0x80 {
break
}
}
if msglen < 0 {
return ErrInvalidLengthGenerated
}
postIndex := iNdEx + msglen
if postIndex > l {
return io.ErrUnexpectedEOF
}
2017-05-21 00:11:38 +00:00
if err := m.Template.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
2017-04-01 14:42:02 +00:00
return err
}
iNdEx = postIndex
case 4:
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field Strategy", wireType)
}
var msglen int
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowGenerated
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
2017-05-21 00:11:38 +00:00
b := dAtA[iNdEx]
2017-04-01 14:42:02 +00:00
iNdEx++
msglen |= (int(b) & 0x7F) << shift
if b < 0x80 {
break
}
}
if msglen < 0 {
return ErrInvalidLengthGenerated
}
postIndex := iNdEx + msglen
if postIndex > l {
return io.ErrUnexpectedEOF
}
2017-05-21 00:11:38 +00:00
if err := m.Strategy.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
2017-04-01 14:42:02 +00:00
return err
}
iNdEx = postIndex
case 5:
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
}
2017-05-21 00:11:38 +00:00
b := dAtA[iNdEx]
2017-04-01 14:42:02 +00:00
iNdEx++
m.MinReadySeconds |= (int32(b) & 0x7F) << shift
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
}
2017-05-21 00:11:38 +00:00
b := dAtA[iNdEx]
2017-04-01 14:42:02 +00:00
iNdEx++
v |= (int32(b) & 0x7F) << shift
if b < 0x80 {
break
}
}
m.RevisionHistoryLimit = &v
case 7:
if wireType != 0 {
return fmt.Errorf("proto: wrong wireType = %d for field Paused", wireType)
}
var v int
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowGenerated
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
2017-05-21 00:11:38 +00:00
b := dAtA[iNdEx]
2017-04-01 14:42:02 +00:00
iNdEx++
v |= (int(b) & 0x7F) << shift
if b < 0x80 {
break
}
}
m.Paused = bool(v != 0)
case 8:
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field RollbackTo", wireType)
}
var msglen int
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowGenerated
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
2017-05-21 00:11:38 +00:00
b := dAtA[iNdEx]
2017-04-01 14:42:02 +00:00
iNdEx++
msglen |= (int(b) & 0x7F) << shift
if b < 0x80 {
break
}
}
if msglen < 0 {
return ErrInvalidLengthGenerated
}
postIndex := iNdEx + msglen
if postIndex > l {
return io.ErrUnexpectedEOF
}
if m.RollbackTo == nil {
m.RollbackTo = &RollbackConfig{}
}
2017-05-21 00:11:38 +00:00
if err := m.RollbackTo.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
2017-04-01 14:42:02 +00:00
return err
}
iNdEx = postIndex
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
}
2017-05-21 00:11:38 +00:00
b := dAtA[iNdEx]
2017-04-01 14:42:02 +00:00
iNdEx++
v |= (int32(b) & 0x7F) << shift
if b < 0x80 {
break
}
}
m.ProgressDeadlineSeconds = &v
default:
iNdEx = preIndex
2017-05-21 00:11:38 +00:00
skippy, err := skipGenerated(dAtA[iNdEx:])
2017-04-01 14:42:02 +00:00
if err != nil {
return err
}
if skippy < 0 {
return ErrInvalidLengthGenerated
}
if (iNdEx + skippy) > l {
return io.ErrUnexpectedEOF
}
iNdEx += skippy
}
}
if iNdEx > l {
return io.ErrUnexpectedEOF
}
return nil
}
2017-05-21 00:11:38 +00:00
func (m *DeploymentStatus) Unmarshal(dAtA []byte) error {
l := len(dAtA)
2017-04-01 14:42:02 +00:00
iNdEx := 0
for iNdEx < l {
preIndex := iNdEx
var wire uint64
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowGenerated
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
2017-05-21 00:11:38 +00:00
b := dAtA[iNdEx]
2017-04-01 14:42:02 +00:00
iNdEx++
wire |= (uint64(b) & 0x7F) << shift
if b < 0x80 {
break
}
}
fieldNum := int32(wire >> 3)
wireType := int(wire & 0x7)
if wireType == 4 {
return fmt.Errorf("proto: DeploymentStatus: wiretype end group for non-group")
}
if fieldNum <= 0 {
return fmt.Errorf("proto: DeploymentStatus: illegal tag %d (wire type %d)", fieldNum, wire)
}
switch fieldNum {
case 1:
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
}
2017-05-21 00:11:38 +00:00
b := dAtA[iNdEx]
2017-04-01 14:42:02 +00:00
iNdEx++
m.ObservedGeneration |= (int64(b) & 0x7F) << shift
if b < 0x80 {
break
}
}
case 2:
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
}
2017-05-21 00:11:38 +00:00
b := dAtA[iNdEx]
2017-04-01 14:42:02 +00:00
iNdEx++
m.Replicas |= (int32(b) & 0x7F) << shift
if b < 0x80 {
break
}
}
case 3:
if wireType != 0 {
return fmt.Errorf("proto: wrong wireType = %d for field UpdatedReplicas", wireType)
}
m.UpdatedReplicas = 0
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowGenerated
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
2017-05-21 00:11:38 +00:00
b := dAtA[iNdEx]
2017-04-01 14:42:02 +00: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
}
2017-05-21 00:11:38 +00:00
b := dAtA[iNdEx]
2017-04-01 14:42:02 +00: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
}
2017-05-21 00:11:38 +00:00
b := dAtA[iNdEx]
2017-04-01 14:42:02 +00:00
iNdEx++
m.UnavailableReplicas |= (int32(b) & 0x7F) << shift
if b < 0x80 {
break
}
}
case 6:
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
}
2017-05-21 00:11:38 +00:00
b := dAtA[iNdEx]
2017-04-01 14:42:02 +00:00
iNdEx++
msglen |= (int(b) & 0x7F) << shift
if b < 0x80 {
break
}
}
if msglen < 0 {
return ErrInvalidLengthGenerated
}
postIndex := iNdEx + msglen
if postIndex > l {
return io.ErrUnexpectedEOF
}
m.Conditions = append(m.Conditions, DeploymentCondition{})
2017-05-21 00:11:38 +00:00
if err := m.Conditions[len(m.Conditions)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
2017-04-01 14:42:02 +00:00
return err
}
iNdEx = postIndex
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
}
2017-05-21 00:11:38 +00:00
b := dAtA[iNdEx]
2017-04-01 14:42:02 +00:00
iNdEx++
m.ReadyReplicas |= (int32(b) & 0x7F) << shift
if b < 0x80 {
break
}
}
default:
iNdEx = preIndex
2017-05-21 00:11:38 +00:00
skippy, err := skipGenerated(dAtA[iNdEx:])
2017-04-01 14:42:02 +00:00
if err != nil {
return err
}
if skippy < 0 {
return ErrInvalidLengthGenerated
}
if (iNdEx + skippy) > l {
return io.ErrUnexpectedEOF
}
iNdEx += skippy
}
}
if iNdEx > l {
return io.ErrUnexpectedEOF
}
return nil
}
2017-05-21 00:11:38 +00:00
func (m *DeploymentStrategy) Unmarshal(dAtA []byte) error {
l := len(dAtA)
2017-04-01 14:42:02 +00:00
iNdEx := 0
for iNdEx < l {
preIndex := iNdEx
var wire uint64
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowGenerated
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
2017-05-21 00:11:38 +00:00
b := dAtA[iNdEx]
2017-04-01 14:42:02 +00:00
iNdEx++
wire |= (uint64(b) & 0x7F) << shift
if b < 0x80 {
break
}
}
fieldNum := int32(wire >> 3)
wireType := int(wire & 0x7)
if wireType == 4 {
return fmt.Errorf("proto: DeploymentStrategy: wiretype end group for non-group")
}
if fieldNum <= 0 {
return fmt.Errorf("proto: DeploymentStrategy: illegal tag %d (wire type %d)", fieldNum, wire)
}
switch fieldNum {
case 1:
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field Type", wireType)
}
var stringLen uint64
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowGenerated
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
2017-05-21 00:11:38 +00:00
b := dAtA[iNdEx]
2017-04-01 14:42:02 +00:00
iNdEx++
stringLen |= (uint64(b) & 0x7F) << shift
if b < 0x80 {
break
}
}
intStringLen := int(stringLen)
if intStringLen < 0 {
return ErrInvalidLengthGenerated
}
postIndex := iNdEx + intStringLen
if postIndex > l {
return io.ErrUnexpectedEOF
}
2017-05-21 00:11:38 +00:00
m.Type = DeploymentStrategyType(dAtA[iNdEx:postIndex])
2017-04-01 14:42:02 +00:00
iNdEx = postIndex
case 2:
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field RollingUpdate", wireType)
}
var msglen int
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowGenerated
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
2017-05-21 00:11:38 +00:00
b := dAtA[iNdEx]
2017-04-01 14:42:02 +00:00
iNdEx++
msglen |= (int(b) & 0x7F) << shift
if b < 0x80 {
break
}
}
if msglen < 0 {
return ErrInvalidLengthGenerated
}
postIndex := iNdEx + msglen
if postIndex > l {
return io.ErrUnexpectedEOF
}
if m.RollingUpdate == nil {
m.RollingUpdate = &RollingUpdateDeployment{}
}
2017-05-21 00:11:38 +00:00
if err := m.RollingUpdate.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
2017-04-01 14:42:02 +00:00
return err
}
iNdEx = postIndex
default:
iNdEx = preIndex
2017-05-21 00:11:38 +00:00
skippy, err := skipGenerated(dAtA[iNdEx:])
2017-04-01 14:42:02 +00:00
if err != nil {
return err
}
if skippy < 0 {
return ErrInvalidLengthGenerated
}
if (iNdEx + skippy) > l {
return io.ErrUnexpectedEOF
}
iNdEx += skippy
}
}
if iNdEx > l {
return io.ErrUnexpectedEOF
}
return nil
}
2017-05-21 00:11:38 +00:00
func (m *FSGroupStrategyOptions) Unmarshal(dAtA []byte) error {
l := len(dAtA)
2017-04-01 14:42:02 +00:00
iNdEx := 0
for iNdEx < l {
preIndex := iNdEx
var wire uint64
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowGenerated
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
2017-05-21 00:11:38 +00:00
b := dAtA[iNdEx]
2017-04-01 14:42:02 +00:00
iNdEx++
wire |= (uint64(b) & 0x7F) << shift
if b < 0x80 {
break
}
}
fieldNum := int32(wire >> 3)
wireType := int(wire & 0x7)
if wireType == 4 {
return fmt.Errorf("proto: FSGroupStrategyOptions: wiretype end group for non-group")
}
if fieldNum <= 0 {
return fmt.Errorf("proto: FSGroupStrategyOptions: 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
}
2017-05-21 00:11:38 +00:00
b := dAtA[iNdEx]
2017-04-01 14:42:02 +00:00
iNdEx++
stringLen |= (uint64(b) & 0x7F) << shift
if b < 0x80 {
break
}
}
intStringLen := int(stringLen)
if intStringLen < 0 {
return ErrInvalidLengthGenerated
}
postIndex := iNdEx + intStringLen
if postIndex > l {
return io.ErrUnexpectedEOF
}
2017-05-21 00:11:38 +00:00
m.Rule = FSGroupStrategyType(dAtA[iNdEx:postIndex])
2017-04-01 14:42:02 +00:00
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
}
2017-05-21 00:11:38 +00:00
b := dAtA[iNdEx]
2017-04-01 14:42:02 +00:00
iNdEx++
msglen |= (int(b) & 0x7F) << shift
if b < 0x80 {
break
}
}
if msglen < 0 {
return ErrInvalidLengthGenerated
}
postIndex := iNdEx + msglen
if postIndex > l {
return io.ErrUnexpectedEOF
}
m.Ranges = append(m.Ranges, IDRange{})
2017-05-21 00:11:38 +00:00
if err := m.Ranges[len(m.Ranges)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
2017-04-01 14:42:02 +00:00
return err
}
iNdEx = postIndex
default:
iNdEx = preIndex
2017-05-21 00:11:38 +00:00
skippy, err := skipGenerated(dAtA[iNdEx:])
2017-04-01 14:42:02 +00:00
if err != nil {
return err
}
if skippy < 0 {
return ErrInvalidLengthGenerated
}
if (iNdEx + skippy) > l {
return io.ErrUnexpectedEOF
}
iNdEx += skippy
}
}
if iNdEx > l {
return io.ErrUnexpectedEOF
}
return nil
}
2017-05-21 00:11:38 +00:00
func (m *HTTPIngressPath) Unmarshal(dAtA []byte) error {
l := len(dAtA)
2017-04-01 14:42:02 +00:00
iNdEx := 0
for iNdEx < l {
preIndex := iNdEx
var wire uint64
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowGenerated
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
2017-05-21 00:11:38 +00:00
b := dAtA[iNdEx]
2017-04-01 14:42:02 +00:00
iNdEx++
wire |= (uint64(b) & 0x7F) << shift
if b < 0x80 {
break
}
}
fieldNum := int32(wire >> 3)
wireType := int(wire & 0x7)
if wireType == 4 {
return fmt.Errorf("proto: 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:
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field Path", wireType)
}
var stringLen uint64
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowGenerated
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
2017-05-21 00:11:38 +00:00
b := dAtA[iNdEx]
2017-04-01 14:42:02 +00:00
iNdEx++
stringLen |= (uint64(b) & 0x7F) << shift
if b < 0x80 {
break
}
}
intStringLen := int(stringLen)
if intStringLen < 0 {
return ErrInvalidLengthGenerated
}
postIndex := iNdEx + intStringLen
if postIndex > l {
return io.ErrUnexpectedEOF
}
2017-05-21 00:11:38 +00:00
m.Path = string(dAtA[iNdEx:postIndex])
2017-04-01 14:42:02 +00:00
iNdEx = postIndex
case 2:
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field Backend", wireType)
}
var msglen int
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowGenerated
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
2017-05-21 00:11:38 +00:00
b := dAtA[iNdEx]
2017-04-01 14:42:02 +00:00
iNdEx++
msglen |= (int(b) & 0x7F) << shift
if b < 0x80 {
break
}
}
if msglen < 0 {
return ErrInvalidLengthGenerated
}
postIndex := iNdEx + msglen
if postIndex > l {
return io.ErrUnexpectedEOF
}
2017-05-21 00:11:38 +00:00
if err := m.Backend.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
2017-04-01 14:42:02 +00:00
return err
}
iNdEx = postIndex
default:
iNdEx = preIndex
2017-05-21 00:11:38 +00:00
skippy, err := skipGenerated(dAtA[iNdEx:])
2017-04-01 14:42:02 +00:00
if err != nil {
return err
}
if skippy < 0 {
return ErrInvalidLengthGenerated
}
if (iNdEx + skippy) > l {
return io.ErrUnexpectedEOF
}
iNdEx += skippy
}
}
if iNdEx > l {
return io.ErrUnexpectedEOF
}
return nil
}
2017-05-21 00:11:38 +00:00
func (m *HTTPIngressRuleValue) Unmarshal(dAtA []byte) error {
l := len(dAtA)
2017-04-01 14:42:02 +00:00
iNdEx := 0
for iNdEx < l {
preIndex := iNdEx
var wire uint64
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowGenerated
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
2017-05-21 00:11:38 +00:00
b := dAtA[iNdEx]
2017-04-01 14:42:02 +00:00
iNdEx++
wire |= (uint64(b) & 0x7F) << shift
if b < 0x80 {
break
}
}
fieldNum := int32(wire >> 3)
wireType := int(wire & 0x7)
if wireType == 4 {
return fmt.Errorf("proto: HTTPIngressRuleValue: wiretype end group for non-group")
}
if fieldNum <= 0 {
return fmt.Errorf("proto: HTTPIngressRuleValue: illegal tag %d (wire type %d)", fieldNum, wire)
}
switch fieldNum {
case 1:
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field Paths", wireType)
}
var msglen int
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowGenerated
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
2017-05-21 00:11:38 +00:00
b := dAtA[iNdEx]
2017-04-01 14:42:02 +00:00
iNdEx++
msglen |= (int(b) & 0x7F) << shift
if b < 0x80 {
break
}
}
if msglen < 0 {
return ErrInvalidLengthGenerated
}
postIndex := iNdEx + msglen
if postIndex > l {
return io.ErrUnexpectedEOF
}
m.Paths = append(m.Paths, HTTPIngressPath{})
2017-05-21 00:11:38 +00:00
if err := m.Paths[len(m.Paths)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
2017-04-01 14:42:02 +00:00
return err
}
iNdEx = postIndex
default:
iNdEx = preIndex
2017-05-21 00:11:38 +00:00
skippy, err := skipGenerated(dAtA[iNdEx:])
2017-04-01 14:42:02 +00:00
if err != nil {
return err
}
if skippy < 0 {
return ErrInvalidLengthGenerated
}
if (iNdEx + skippy) > l {
return io.ErrUnexpectedEOF
}
iNdEx += skippy
}
}
if iNdEx > l {
return io.ErrUnexpectedEOF
}
return nil
}
2017-05-21 00:11:38 +00:00
func (m *HostPortRange) Unmarshal(dAtA []byte) error {
l := len(dAtA)
2017-04-01 14:42:02 +00:00
iNdEx := 0
for iNdEx < l {
preIndex := iNdEx
var wire uint64
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowGenerated
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
2017-05-21 00:11:38 +00:00
b := dAtA[iNdEx]
2017-04-01 14:42:02 +00:00
iNdEx++
wire |= (uint64(b) & 0x7F) << shift
if b < 0x80 {
break
}
}
fieldNum := int32(wire >> 3)
wireType := int(wire & 0x7)
if wireType == 4 {
return fmt.Errorf("proto: HostPortRange: wiretype end group for non-group")
}
if fieldNum <= 0 {
return fmt.Errorf("proto: HostPortRange: illegal tag %d (wire type %d)", fieldNum, wire)
}
switch fieldNum {
case 1:
if wireType != 0 {
return fmt.Errorf("proto: wrong wireType = %d for field Min", wireType)
}
m.Min = 0
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowGenerated
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
2017-05-21 00:11:38 +00:00
b := dAtA[iNdEx]
2017-04-01 14:42:02 +00:00
iNdEx++
m.Min |= (int32(b) & 0x7F) << shift
if b < 0x80 {
break
}
}
case 2:
if wireType != 0 {
return fmt.Errorf("proto: wrong wireType = %d for field Max", wireType)
}
m.Max = 0
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowGenerated
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
2017-05-21 00:11:38 +00:00
b := dAtA[iNdEx]
2017-04-01 14:42:02 +00:00
iNdEx++
m.Max |= (int32(b) & 0x7F) << shift
if b < 0x80 {
break
}
}
default:
iNdEx = preIndex
2017-05-21 00:11:38 +00:00
skippy, err := skipGenerated(dAtA[iNdEx:])
2017-04-01 14:42:02 +00:00
if err != nil {
return err
}
if skippy < 0 {
return ErrInvalidLengthGenerated
}
if (iNdEx + skippy) > l {
return io.ErrUnexpectedEOF
}
iNdEx += skippy
}
}
if iNdEx > l {
return io.ErrUnexpectedEOF
}
return nil
}
2017-05-21 00:11:38 +00:00
func (m *IDRange) Unmarshal(dAtA []byte) error {
l := len(dAtA)
2017-04-01 14:42:02 +00:00
iNdEx := 0
for iNdEx < l {
preIndex := iNdEx
var wire uint64
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowGenerated
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
2017-05-21 00:11:38 +00:00
b := dAtA[iNdEx]
2017-04-01 14:42:02 +00:00
iNdEx++
wire |= (uint64(b) & 0x7F) << shift
if b < 0x80 {
break
}
}
fieldNum := int32(wire >> 3)
wireType := int(wire & 0x7)
if wireType == 4 {
return fmt.Errorf("proto: IDRange: wiretype end group for non-group")
}
if fieldNum <= 0 {
return fmt.Errorf("proto: IDRange: illegal tag %d (wire type %d)", fieldNum, wire)
}
switch fieldNum {
case 1:
if wireType != 0 {
return fmt.Errorf("proto: wrong wireType = %d for field Min", wireType)
}
m.Min = 0
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowGenerated
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
2017-05-21 00:11:38 +00:00
b := dAtA[iNdEx]
2017-04-01 14:42:02 +00:00
iNdEx++
m.Min |= (int64(b) & 0x7F) << shift
if b < 0x80 {
break
}
}
case 2:
if wireType != 0 {
return fmt.Errorf("proto: wrong wireType = %d for field Max", wireType)
}
m.Max = 0
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowGenerated
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
2017-05-21 00:11:38 +00:00
b := dAtA[iNdEx]
2017-04-01 14:42:02 +00:00
iNdEx++
m.Max |= (int64(b) & 0x7F) << shift
if b < 0x80 {
break
}
}
default:
iNdEx = preIndex
2017-05-21 00:11:38 +00:00
skippy, err := skipGenerated(dAtA[iNdEx:])
2017-04-01 14:42:02 +00:00
if err != nil {
return err
}
if skippy < 0 {
return ErrInvalidLengthGenerated
}
if (iNdEx + skippy) > l {
return io.ErrUnexpectedEOF
}
iNdEx += skippy
}
}
if iNdEx > l {
return io.ErrUnexpectedEOF
}
return nil
}
2017-05-21 00:11:38 +00:00
func (m *Ingress) Unmarshal(dAtA []byte) error {
l := len(dAtA)
2017-04-01 14:42:02 +00:00
iNdEx := 0
for iNdEx < l {
preIndex := iNdEx
var wire uint64
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowGenerated
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
2017-05-21 00:11:38 +00:00
b := dAtA[iNdEx]
2017-04-01 14:42:02 +00:00
iNdEx++
wire |= (uint64(b) & 0x7F) << shift
if b < 0x80 {
break
}
}
fieldNum := int32(wire >> 3)
wireType := int(wire & 0x7)
if wireType == 4 {
return fmt.Errorf("proto: 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
}
2017-05-21 00:11:38 +00:00
b := dAtA[iNdEx]
2017-04-01 14:42:02 +00:00
iNdEx++
msglen |= (int(b) & 0x7F) << shift
if b < 0x80 {
break
}
}
if msglen < 0 {
return ErrInvalidLengthGenerated
}
postIndex := iNdEx + msglen
if postIndex > l {
return io.ErrUnexpectedEOF
}
2017-05-21 00:11:38 +00:00
if err := m.ObjectMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
2017-04-01 14:42:02 +00: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
}
2017-05-21 00:11:38 +00:00
b := dAtA[iNdEx]
2017-04-01 14:42:02 +00:00
iNdEx++
msglen |= (int(b) & 0x7F) << shift
if b < 0x80 {
break
}
}
if msglen < 0 {
return ErrInvalidLengthGenerated
}
postIndex := iNdEx + msglen
if postIndex > l {
return io.ErrUnexpectedEOF
}
2017-05-21 00:11:38 +00:00
if err := m.Spec.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
2017-04-01 14:42:02 +00:00
return err
}
iNdEx = postIndex
case 3:
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType)
}
var msglen int
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowGenerated
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
2017-05-21 00:11:38 +00:00
b := dAtA[iNdEx]
2017-04-01 14:42:02 +00:00
iNdEx++
msglen |= (int(b) & 0x7F) << shift
if b < 0x80 {
break
}
}
if msglen < 0 {
return ErrInvalidLengthGenerated
}
postIndex := iNdEx + msglen
if postIndex > l {
return io.ErrUnexpectedEOF
}
2017-05-21 00:11:38 +00:00
if err := m.Status.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
2017-04-01 14:42:02 +00:00
return err
}
iNdEx = postIndex
default:
iNdEx = preIndex
2017-05-21 00:11:38 +00:00
skippy, err := skipGenerated(dAtA[iNdEx:])
2017-04-01 14:42:02 +00:00
if err != nil {
return err
}
if skippy < 0 {
return ErrInvalidLengthGenerated
}
if (iNdEx + skippy) > l {
return io.ErrUnexpectedEOF
}
iNdEx += skippy
}
}
if iNdEx > l {
return io.ErrUnexpectedEOF
}
return nil
}
2017-05-21 00:11:38 +00:00
func (m *IngressBackend) Unmarshal(dAtA []byte) error {
l := len(dAtA)
2017-04-01 14:42:02 +00:00
iNdEx := 0
for iNdEx < l {
preIndex := iNdEx
var wire uint64
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowGenerated
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
2017-05-21 00:11:38 +00:00
b := dAtA[iNdEx]
2017-04-01 14:42:02 +00:00
iNdEx++
wire |= (uint64(b) & 0x7F) << shift
if b < 0x80 {
break
}
}
fieldNum := int32(wire >> 3)
wireType := int(wire & 0x7)
if wireType == 4 {
return fmt.Errorf("proto: IngressBackend: wiretype end group for non-group")
}
if fieldNum <= 0 {
return fmt.Errorf("proto: IngressBackend: illegal tag %d (wire type %d)", fieldNum, wire)
}
switch fieldNum {
case 1:
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field ServiceName", wireType)
}
var stringLen uint64
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowGenerated
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
2017-05-21 00:11:38 +00:00
b := dAtA[iNdEx]
2017-04-01 14:42:02 +00:00
iNdEx++
stringLen |= (uint64(b) & 0x7F) << shift
if b < 0x80 {
break
}
}
intStringLen := int(stringLen)
if intStringLen < 0 {
return ErrInvalidLengthGenerated
}
postIndex := iNdEx + intStringLen
if postIndex > l {
return io.ErrUnexpectedEOF
}
2017-05-21 00:11:38 +00:00
m.ServiceName = string(dAtA[iNdEx:postIndex])
2017-04-01 14:42:02 +00:00
iNdEx = postIndex
case 2:
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field ServicePort", wireType)
}
var msglen int
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowGenerated
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
2017-05-21 00:11:38 +00:00
b := dAtA[iNdEx]
2017-04-01 14:42:02 +00:00
iNdEx++
msglen |= (int(b) & 0x7F) << shift
if b < 0x80 {
break
}
}
if msglen < 0 {
return ErrInvalidLengthGenerated
}
postIndex := iNdEx + msglen
if postIndex > l {
return io.ErrUnexpectedEOF
}
2017-05-21 00:11:38 +00:00
if err := m.ServicePort.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
2017-04-01 14:42:02 +00:00
return err
}
iNdEx = postIndex
default:
iNdEx = preIndex
2017-05-21 00:11:38 +00:00
skippy, err := skipGenerated(dAtA[iNdEx:])
2017-04-01 14:42:02 +00:00
if err != nil {
return err
}
if skippy < 0 {
return ErrInvalidLengthGenerated
}
if (iNdEx + skippy) > l {
return io.ErrUnexpectedEOF
}
iNdEx += skippy
}
}
if iNdEx > l {
return io.ErrUnexpectedEOF
}
return nil
}
2017-05-21 00:11:38 +00:00
func (m *IngressList) Unmarshal(dAtA []byte) error {
l := len(dAtA)
2017-04-01 14:42:02 +00:00
iNdEx := 0
for iNdEx < l {
preIndex := iNdEx
var wire uint64
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowGenerated
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
2017-05-21 00:11:38 +00:00
b := dAtA[iNdEx]
2017-04-01 14:42:02 +00:00
iNdEx++
wire |= (uint64(b) & 0x7F) << shift
if b < 0x80 {
break
}
}
fieldNum := int32(wire >> 3)
wireType := int(wire & 0x7)
if wireType == 4 {
return fmt.Errorf("proto: IngressList: wiretype end group for non-group")
}
if fieldNum <= 0 {
return fmt.Errorf("proto: IngressList: illegal tag %d (wire type %d)", fieldNum, wire)
}
switch fieldNum {
case 1:
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field ListMeta", wireType)
}
var msglen int
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowGenerated
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
2017-05-21 00:11:38 +00:00
b := dAtA[iNdEx]
2017-04-01 14:42:02 +00:00
iNdEx++
msglen |= (int(b) & 0x7F) << shift
if b < 0x80 {
break
}
}
if msglen < 0 {
return ErrInvalidLengthGenerated
}
postIndex := iNdEx + msglen
if postIndex > l {
return io.ErrUnexpectedEOF
}
2017-05-21 00:11:38 +00:00
if err := m.ListMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
2017-04-01 14:42:02 +00:00
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
}
2017-05-21 00:11:38 +00:00
b := dAtA[iNdEx]
2017-04-01 14:42:02 +00:00
iNdEx++
msglen |= (int(b) & 0x7F) << shift
if b < 0x80 {
break
}
}
if msglen < 0 {
return ErrInvalidLengthGenerated
}
postIndex := iNdEx + msglen
if postIndex > l {
return io.ErrUnexpectedEOF
}
m.Items = append(m.Items, Ingress{})
2017-05-21 00:11:38 +00:00
if err := m.Items[len(m.Items)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
2017-04-01 14:42:02 +00:00
return err
}
iNdEx = postIndex
default:
iNdEx = preIndex
2017-05-21 00:11:38 +00:00
skippy, err := skipGenerated(dAtA[iNdEx:])
2017-04-01 14:42:02 +00:00
if err != nil {
return err
}
if skippy < 0 {
return ErrInvalidLengthGenerated
}
if (iNdEx + skippy) > l {
return io.ErrUnexpectedEOF
}
iNdEx += skippy
}
}
if iNdEx > l {
return io.ErrUnexpectedEOF
}
return nil
}
2017-05-21 00:11:38 +00:00
func (m *IngressRule) Unmarshal(dAtA []byte) error {
l := len(dAtA)
2017-04-01 14:42:02 +00:00
iNdEx := 0
for iNdEx < l {
preIndex := iNdEx
var wire uint64
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowGenerated
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
2017-05-21 00:11:38 +00:00
b := dAtA[iNdEx]
2017-04-01 14:42:02 +00:00
iNdEx++
wire |= (uint64(b) & 0x7F) << shift
if b < 0x80 {
break
}
}
fieldNum := int32(wire >> 3)
wireType := int(wire & 0x7)
if wireType == 4 {
return fmt.Errorf("proto: IngressRule: wiretype end group for non-group")
}
if fieldNum <= 0 {
return fmt.Errorf("proto: IngressRule: illegal tag %d (wire type %d)", fieldNum, wire)
}
switch fieldNum {
case 1:
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field Host", wireType)
}
var stringLen uint64
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowGenerated
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
2017-05-21 00:11:38 +00:00
b := dAtA[iNdEx]
2017-04-01 14:42:02 +00:00
iNdEx++
stringLen |= (uint64(b) & 0x7F) << shift
if b < 0x80 {
break
}
}
intStringLen := int(stringLen)
if intStringLen < 0 {
return ErrInvalidLengthGenerated
}
postIndex := iNdEx + intStringLen
if postIndex > l {
return io.ErrUnexpectedEOF
}
2017-05-21 00:11:38 +00:00
m.Host = string(dAtA[iNdEx:postIndex])
2017-04-01 14:42:02 +00:00
iNdEx = postIndex
case 2:
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field IngressRuleValue", wireType)
}
var msglen int
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowGenerated
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
2017-05-21 00:11:38 +00:00
b := dAtA[iNdEx]
2017-04-01 14:42:02 +00:00
iNdEx++
msglen |= (int(b) & 0x7F) << shift
if b < 0x80 {
break
}
}
if msglen < 0 {
return ErrInvalidLengthGenerated
}
postIndex := iNdEx + msglen
if postIndex > l {
return io.ErrUnexpectedEOF
}
2017-05-21 00:11:38 +00:00
if err := m.IngressRuleValue.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
2017-04-01 14:42:02 +00:00
return err
}
iNdEx = postIndex
default:
iNdEx = preIndex
2017-05-21 00:11:38 +00:00
skippy, err := skipGenerated(dAtA[iNdEx:])
2017-04-01 14:42:02 +00:00
if err != nil {
return err
}
if skippy < 0 {
return ErrInvalidLengthGenerated
}
if (iNdEx + skippy) > l {
return io.ErrUnexpectedEOF
}
iNdEx += skippy
}
}
if iNdEx > l {
return io.ErrUnexpectedEOF
}
return nil
}
2017-05-21 00:11:38 +00:00
func (m *IngressRuleValue) Unmarshal(dAtA []byte) error {
l := len(dAtA)
2017-04-01 14:42:02 +00:00
iNdEx := 0
for iNdEx < l {
preIndex := iNdEx
var wire uint64
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowGenerated
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
2017-05-21 00:11:38 +00:00
b := dAtA[iNdEx]
2017-04-01 14:42:02 +00:00
iNdEx++
wire |= (uint64(b) & 0x7F) << shift
if b < 0x80 {
break
}
}
fieldNum := int32(wire >> 3)
wireType := int(wire & 0x7)
if wireType == 4 {
return fmt.Errorf("proto: 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)
}
var msglen int
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowGenerated
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
2017-05-21 00:11:38 +00:00
b := dAtA[iNdEx]
2017-04-01 14:42:02 +00:00
iNdEx++
msglen |= (int(b) & 0x7F) << shift
if b < 0x80 {
break
}
}
if msglen < 0 {
return ErrInvalidLengthGenerated
}
postIndex := iNdEx + msglen
if postIndex > l {
return io.ErrUnexpectedEOF
}
if m.HTTP == nil {
m.HTTP = &HTTPIngressRuleValue{}
}
2017-05-21 00:11:38 +00:00
if err := m.HTTP.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
2017-04-01 14:42:02 +00:00
return err
}
iNdEx = postIndex
default:
iNdEx = preIndex
2017-05-21 00:11:38 +00:00
skippy, err := skipGenerated(dAtA[iNdEx:])
2017-04-01 14:42:02 +00:00
if err != nil {
return err
}
if skippy < 0 {
return ErrInvalidLengthGenerated
}
if (iNdEx + skippy) > l {
return io.ErrUnexpectedEOF
}
iNdEx += skippy
}
}
if iNdEx > l {
return io.ErrUnexpectedEOF
}
return nil
}
2017-05-21 00:11:38 +00:00
func (m *IngressSpec) Unmarshal(dAtA []byte) error {
l := len(dAtA)
2017-04-01 14:42:02 +00:00
iNdEx := 0
for iNdEx < l {
preIndex := iNdEx
var wire uint64
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowGenerated
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
2017-05-21 00:11:38 +00:00
b := dAtA[iNdEx]
2017-04-01 14:42:02 +00:00
iNdEx++
wire |= (uint64(b) & 0x7F) << shift
if b < 0x80 {
break
}
}
fieldNum := int32(wire >> 3)
wireType := int(wire & 0x7)
if wireType == 4 {
return fmt.Errorf("proto: IngressSpec: wiretype end group for non-group")
}
if fieldNum <= 0 {
return fmt.Errorf("proto: IngressSpec: illegal tag %d (wire type %d)", fieldNum, wire)
}
switch fieldNum {
case 1:
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field Backend", wireType)
}
var msglen int
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowGenerated
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
2017-05-21 00:11:38 +00:00
b := dAtA[iNdEx]
2017-04-01 14:42:02 +00:00
iNdEx++
msglen |= (int(b) & 0x7F) << shift
if b < 0x80 {
break
}
}
if msglen < 0 {
return ErrInvalidLengthGenerated
}
postIndex := iNdEx + msglen
if postIndex > l {
return io.ErrUnexpectedEOF
}
if m.Backend == nil {
m.Backend = &IngressBackend{}
}
2017-05-21 00:11:38 +00:00
if err := m.Backend.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
2017-04-01 14:42:02 +00:00
return err
}
iNdEx = postIndex
case 2:
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field TLS", wireType)
}
var msglen int
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowGenerated
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
2017-05-21 00:11:38 +00:00
b := dAtA[iNdEx]
2017-04-01 14:42:02 +00:00
iNdEx++
msglen |= (int(b) & 0x7F) << shift
if b < 0x80 {
break
}
}
if msglen < 0 {
return ErrInvalidLengthGenerated
}
postIndex := iNdEx + msglen
if postIndex > l {
return io.ErrUnexpectedEOF
}
m.TLS = append(m.TLS, IngressTLS{})
2017-05-21 00:11:38 +00:00
if err := m.TLS[len(m.TLS)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
2017-04-01 14:42:02 +00:00
return err
}
iNdEx = postIndex
case 3:
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field Rules", wireType)
}
var msglen int
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowGenerated
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
2017-05-21 00:11:38 +00:00
b := dAtA[iNdEx]
2017-04-01 14:42:02 +00:00
iNdEx++
msglen |= (int(b) & 0x7F) << shift
if b < 0x80 {
break
}
}
if msglen < 0 {
return ErrInvalidLengthGenerated
}
postIndex := iNdEx + msglen
if postIndex > l {
return io.ErrUnexpectedEOF
}
m.Rules = append(m.Rules, IngressRule{})
2017-05-21 00:11:38 +00:00
if err := m.Rules[len(m.Rules)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
2017-04-01 14:42:02 +00:00
return err
}
iNdEx = postIndex
default:
iNdEx = preIndex
2017-05-21 00:11:38 +00:00
skippy, err := skipGenerated(dAtA[iNdEx:])
2017-04-01 14:42:02 +00:00
if err != nil {
return err
}
if skippy < 0 {
return ErrInvalidLengthGenerated
}
if (iNdEx + skippy) > l {
return io.ErrUnexpectedEOF
}
iNdEx += skippy
}
}
if iNdEx > l {
return io.ErrUnexpectedEOF
}
return nil
}
2017-05-21 00:11:38 +00:00
func (m *IngressStatus) Unmarshal(dAtA []byte) error {
l := len(dAtA)
2017-04-01 14:42:02 +00:00
iNdEx := 0
for iNdEx < l {
preIndex := iNdEx
var wire uint64
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowGenerated
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
2017-05-21 00:11:38 +00:00
b := dAtA[iNdEx]
2017-04-01 14:42:02 +00:00
iNdEx++
wire |= (uint64(b) & 0x7F) << shift
if b < 0x80 {
break
}
}
fieldNum := int32(wire >> 3)
wireType := int(wire & 0x7)
if wireType == 4 {
return fmt.Errorf("proto: IngressStatus: wiretype end group for non-group")
}
if fieldNum <= 0 {
return fmt.Errorf("proto: IngressStatus: illegal tag %d (wire type %d)", fieldNum, wire)
}
switch fieldNum {
case 1:
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field LoadBalancer", wireType)
}
var msglen int
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowGenerated
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
2017-05-21 00:11:38 +00:00
b := dAtA[iNdEx]
2017-04-01 14:42:02 +00:00
iNdEx++
msglen |= (int(b) & 0x7F) << shift
if b < 0x80 {
break
}
}
if msglen < 0 {
return ErrInvalidLengthGenerated
}
postIndex := iNdEx + msglen
if postIndex > l {
return io.ErrUnexpectedEOF
}
2017-05-21 00:11:38 +00:00
if err := m.LoadBalancer.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
2017-04-01 14:42:02 +00:00
return err
}
iNdEx = postIndex
default:
iNdEx = preIndex
2017-05-21 00:11:38 +00:00
skippy, err := skipGenerated(dAtA[iNdEx:])
2017-04-01 14:42:02 +00:00
if err != nil {
return err
}
if skippy < 0 {
return ErrInvalidLengthGenerated
}
if (iNdEx + skippy) > l {
return io.ErrUnexpectedEOF
}
iNdEx += skippy
}
}
if iNdEx > l {
return io.ErrUnexpectedEOF
}
return nil
}
2017-05-21 00:11:38 +00:00
func (m *IngressTLS) Unmarshal(dAtA []byte) error {
l := len(dAtA)
2017-04-01 14:42:02 +00:00
iNdEx := 0
for iNdEx < l {
preIndex := iNdEx
var wire uint64
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowGenerated
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
2017-05-21 00:11:38 +00:00
b := dAtA[iNdEx]
2017-04-01 14:42:02 +00:00
iNdEx++
wire |= (uint64(b) & 0x7F) << shift
if b < 0x80 {
break
}
}
fieldNum := int32(wire >> 3)
wireType := int(wire & 0x7)
if wireType == 4 {
return fmt.Errorf("proto: IngressTLS: wiretype end group for non-group")
}
if fieldNum <= 0 {
return fmt.Errorf("proto: IngressTLS: illegal tag %d (wire type %d)", fieldNum, wire)
}
switch fieldNum {
case 1:
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field Hosts", wireType)
}
var stringLen uint64
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowGenerated
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
2017-05-21 00:11:38 +00:00
b := dAtA[iNdEx]
2017-04-01 14:42:02 +00:00
iNdEx++
stringLen |= (uint64(b) & 0x7F) << shift
if b < 0x80 {
break
}
}
intStringLen := int(stringLen)
if intStringLen < 0 {
return ErrInvalidLengthGenerated
}
postIndex := iNdEx + intStringLen
if postIndex > l {
return io.ErrUnexpectedEOF
}
2017-05-21 00:11:38 +00:00
m.Hosts = append(m.Hosts, string(dAtA[iNdEx:postIndex]))
2017-04-01 14:42:02 +00:00
iNdEx = postIndex
case 2:
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field SecretName", wireType)
}
var stringLen uint64
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowGenerated
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
2017-05-21 00:11:38 +00:00
b := dAtA[iNdEx]
2017-04-01 14:42:02 +00:00
iNdEx++
stringLen |= (uint64(b) & 0x7F) << shift
if b < 0x80 {
break
}
}
intStringLen := int(stringLen)
if intStringLen < 0 {
return ErrInvalidLengthGenerated
}
postIndex := iNdEx + intStringLen
if postIndex > l {
return io.ErrUnexpectedEOF
}
2017-05-21 00:11:38 +00:00
m.SecretName = string(dAtA[iNdEx:postIndex])
2017-04-01 14:42:02 +00:00
iNdEx = postIndex
default:
iNdEx = preIndex
2017-05-21 00:11:38 +00:00
skippy, err := skipGenerated(dAtA[iNdEx:])
2017-04-01 14:42:02 +00:00
if err != nil {
return err
}
if skippy < 0 {
return ErrInvalidLengthGenerated
}
if (iNdEx + skippy) > l {
return io.ErrUnexpectedEOF
}
iNdEx += skippy
}
}
if iNdEx > l {
return io.ErrUnexpectedEOF
}
return nil
}
2017-05-21 00:11:38 +00:00
func (m *NetworkPolicy) Unmarshal(dAtA []byte) error {
l := len(dAtA)
2017-04-01 14:42:02 +00:00
iNdEx := 0
for iNdEx < l {
preIndex := iNdEx
var wire uint64
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowGenerated
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
2017-05-21 00:11:38 +00:00
b := dAtA[iNdEx]
2017-04-01 14:42:02 +00:00
iNdEx++
wire |= (uint64(b) & 0x7F) << shift
if b < 0x80 {
break
}
}
fieldNum := int32(wire >> 3)
wireType := int(wire & 0x7)
if wireType == 4 {
return fmt.Errorf("proto: 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
}
2017-05-21 00:11:38 +00:00
b := dAtA[iNdEx]
2017-04-01 14:42:02 +00:00
iNdEx++
msglen |= (int(b) & 0x7F) << shift
if b < 0x80 {
break
}
}
if msglen < 0 {
return ErrInvalidLengthGenerated
}
postIndex := iNdEx + msglen
if postIndex > l {
return io.ErrUnexpectedEOF
}
2017-05-21 00:11:38 +00:00
if err := m.ObjectMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
2017-04-01 14:42:02 +00: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
}
2017-05-21 00:11:38 +00:00
b := dAtA[iNdEx]
2017-04-01 14:42:02 +00:00
iNdEx++
msglen |= (int(b) & 0x7F) << shift
if b < 0x80 {
break
}
}
if msglen < 0 {
return ErrInvalidLengthGenerated
}
postIndex := iNdEx + msglen
if postIndex > l {
return io.ErrUnexpectedEOF
}
2017-05-21 00:11:38 +00:00
if err := m.Spec.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
2017-04-01 14:42:02 +00:00
return err
}
iNdEx = postIndex
default:
iNdEx = preIndex
2017-05-21 00:11:38 +00:00
skippy, err := skipGenerated(dAtA[iNdEx:])
2017-04-01 14:42:02 +00:00
if err != nil {
return err
}
if skippy < 0 {
return ErrInvalidLengthGenerated
}
if (iNdEx + skippy) > l {
return io.ErrUnexpectedEOF
}
iNdEx += skippy
}
}
if iNdEx > l {
return io.ErrUnexpectedEOF
}
return nil
}
2017-05-21 00:11:38 +00:00
func (m *NetworkPolicyIngressRule) Unmarshal(dAtA []byte) error {
l := len(dAtA)
2017-04-01 14:42:02 +00:00
iNdEx := 0
for iNdEx < l {
preIndex := iNdEx
var wire uint64
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowGenerated
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
2017-05-21 00:11:38 +00:00
b := dAtA[iNdEx]
2017-04-01 14:42:02 +00:00
iNdEx++
wire |= (uint64(b) & 0x7F) << shift
if b < 0x80 {
break
}
}
fieldNum := int32(wire >> 3)
wireType := int(wire & 0x7)
if wireType == 4 {
return fmt.Errorf("proto: NetworkPolicyIngressRule: wiretype end group for non-group")
}
if fieldNum <= 0 {
return fmt.Errorf("proto: NetworkPolicyIngressRule: illegal tag %d (wire type %d)", fieldNum, wire)
}
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
}
2017-05-21 00:11:38 +00:00
b := dAtA[iNdEx]
2017-04-01 14:42:02 +00:00
iNdEx++
msglen |= (int(b) & 0x7F) << shift
if b < 0x80 {
break
}
}
if msglen < 0 {
return ErrInvalidLengthGenerated
}
postIndex := iNdEx + msglen
if postIndex > l {
return io.ErrUnexpectedEOF
}
m.Ports = append(m.Ports, NetworkPolicyPort{})
2017-05-21 00:11:38 +00:00
if err := m.Ports[len(m.Ports)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
2017-04-01 14:42:02 +00:00
return err
}
iNdEx = postIndex
case 2:
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field From", wireType)
}
var msglen int
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowGenerated
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
2017-05-21 00:11:38 +00:00
b := dAtA[iNdEx]
2017-04-01 14:42:02 +00:00
iNdEx++
msglen |= (int(b) & 0x7F) << shift
if b < 0x80 {
break
}
}
if msglen < 0 {
return ErrInvalidLengthGenerated
}
postIndex := iNdEx + msglen
if postIndex > l {
return io.ErrUnexpectedEOF
}
m.From = append(m.From, NetworkPolicyPeer{})
2017-05-21 00:11:38 +00:00
if err := m.From[len(m.From)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
2017-04-01 14:42:02 +00:00
return err
}
iNdEx = postIndex
default:
iNdEx = preIndex
2017-05-21 00:11:38 +00:00
skippy, err := skipGenerated(dAtA[iNdEx:])
2017-04-01 14:42:02 +00:00
if err != nil {
return err
}
if skippy < 0 {
return ErrInvalidLengthGenerated
}
if (iNdEx + skippy) > l {
return io.ErrUnexpectedEOF
}
iNdEx += skippy
}
}
if iNdEx > l {
return io.ErrUnexpectedEOF
}
return nil
}
2017-05-21 00:11:38 +00:00
func (m *NetworkPolicyList) Unmarshal(dAtA []byte) error {
l := len(dAtA)
2017-04-01 14:42:02 +00:00
iNdEx := 0
for iNdEx < l {
preIndex := iNdEx
var wire uint64
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowGenerated
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
2017-05-21 00:11:38 +00:00
b := dAtA[iNdEx]
2017-04-01 14:42:02 +00:00
iNdEx++
wire |= (uint64(b) & 0x7F) << shift
if b < 0x80 {
break
}
}
fieldNum := int32(wire >> 3)
wireType := int(wire & 0x7)
if wireType == 4 {
return fmt.Errorf("proto: NetworkPolicyList: wiretype end group for non-group")
}
if fieldNum <= 0 {
return fmt.Errorf("proto: NetworkPolicyList: illegal tag %d (wire type %d)", fieldNum, wire)
}
switch fieldNum {
case 1:
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field ListMeta", wireType)
}
var msglen int
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowGenerated
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
2017-05-21 00:11:38 +00:00
b := dAtA[iNdEx]
2017-04-01 14:42:02 +00:00
iNdEx++
msglen |= (int(b) & 0x7F) << shift
if b < 0x80 {
break
}
}
if msglen < 0 {
return ErrInvalidLengthGenerated
}
postIndex := iNdEx + msglen
if postIndex > l {
return io.ErrUnexpectedEOF
}
2017-05-21 00:11:38 +00:00
if err := m.ListMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
2017-04-01 14:42:02 +00:00
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
}
2017-05-21 00:11:38 +00:00
b := dAtA[iNdEx]
2017-04-01 14:42:02 +00:00
iNdEx++
msglen |= (int(b) & 0x7F) << shift
if b < 0x80 {
break
}
}
if msglen < 0 {
return ErrInvalidLengthGenerated
}
postIndex := iNdEx + msglen
if postIndex > l {
return io.ErrUnexpectedEOF
}
m.Items = append(m.Items, NetworkPolicy{})
2017-05-21 00:11:38 +00:00
if err := m.Items[len(m.Items)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
2017-04-01 14:42:02 +00:00
return err
}
iNdEx = postIndex
default:
iNdEx = preIndex
2017-05-21 00:11:38 +00:00
skippy, err := skipGenerated(dAtA[iNdEx:])
2017-04-01 14:42:02 +00:00
if err != nil {
return err
}
if skippy < 0 {
return ErrInvalidLengthGenerated
}
if (iNdEx + skippy) > l {
return io.ErrUnexpectedEOF
}
iNdEx += skippy
}
}
if iNdEx > l {
return io.ErrUnexpectedEOF
}
return nil
}
2017-05-21 00:11:38 +00:00
func (m *NetworkPolicyPeer) Unmarshal(dAtA []byte) error {
l := len(dAtA)
2017-04-01 14:42:02 +00:00
iNdEx := 0
for iNdEx < l {
preIndex := iNdEx
var wire uint64
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowGenerated
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
2017-05-21 00:11:38 +00:00
b := dAtA[iNdEx]
2017-04-01 14:42:02 +00:00
iNdEx++
wire |= (uint64(b) & 0x7F) << shift
if b < 0x80 {
break
}
}
fieldNum := int32(wire >> 3)
wireType := int(wire & 0x7)
if wireType == 4 {
return fmt.Errorf("proto: NetworkPolicyPeer: wiretype end group for non-group")
}
if fieldNum <= 0 {
return fmt.Errorf("proto: NetworkPolicyPeer: illegal tag %d (wire type %d)", fieldNum, wire)
}
switch fieldNum {
case 1:
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field PodSelector", wireType)
}
var msglen int
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowGenerated
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
2017-05-21 00:11:38 +00:00
b := dAtA[iNdEx]
2017-04-01 14:42:02 +00:00
iNdEx++
msglen |= (int(b) & 0x7F) << shift
if b < 0x80 {
break
}
}
if msglen < 0 {
return ErrInvalidLengthGenerated
}
postIndex := iNdEx + msglen
if postIndex > l {
return io.ErrUnexpectedEOF
}
if m.PodSelector == nil {
m.PodSelector = &k8s_io_apimachinery_pkg_apis_meta_v1.LabelSelector{}
}
2017-05-21 00:11:38 +00:00
if err := m.PodSelector.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
2017-04-01 14:42:02 +00:00
return err
}
iNdEx = postIndex
case 2:
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field NamespaceSelector", wireType)
}
var msglen int
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowGenerated
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
2017-05-21 00:11:38 +00:00
b := dAtA[iNdEx]
2017-04-01 14:42:02 +00:00
iNdEx++
msglen |= (int(b) & 0x7F) << shift
if b < 0x80 {
break
}
}
if msglen < 0 {
return ErrInvalidLengthGenerated
}
postIndex := iNdEx + msglen
if postIndex > l {
return io.ErrUnexpectedEOF
}
if m.NamespaceSelector == nil {
m.NamespaceSelector = &k8s_io_apimachinery_pkg_apis_meta_v1.LabelSelector{}
}
2017-05-21 00:11:38 +00:00
if err := m.NamespaceSelector.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
2017-04-01 14:42:02 +00:00
return err
}
iNdEx = postIndex
default:
iNdEx = preIndex
2017-05-21 00:11:38 +00:00
skippy, err := skipGenerated(dAtA[iNdEx:])
2017-04-01 14:42:02 +00:00
if err != nil {
return err
}
if skippy < 0 {
return ErrInvalidLengthGenerated
}
if (iNdEx + skippy) > l {
return io.ErrUnexpectedEOF
}
iNdEx += skippy
}
}
if iNdEx > l {
return io.ErrUnexpectedEOF
}
return nil
}
2017-05-21 00:11:38 +00:00
func (m *NetworkPolicyPort) Unmarshal(dAtA []byte) error {
l := len(dAtA)
2017-04-01 14:42:02 +00:00
iNdEx := 0
for iNdEx < l {
preIndex := iNdEx
var wire uint64
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowGenerated
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
2017-05-21 00:11:38 +00:00
b := dAtA[iNdEx]
2017-04-01 14:42:02 +00:00
iNdEx++
wire |= (uint64(b) & 0x7F) << shift
if b < 0x80 {
break
}
}
fieldNum := int32(wire >> 3)
wireType := int(wire & 0x7)
if wireType == 4 {
return fmt.Errorf("proto: NetworkPolicyPort: wiretype end group for non-group")
}
if fieldNum <= 0 {
return fmt.Errorf("proto: NetworkPolicyPort: illegal tag %d (wire type %d)", fieldNum, wire)
}
switch fieldNum {
case 1:
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field Protocol", wireType)
}
var stringLen uint64
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowGenerated
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
2017-05-21 00:11:38 +00:00
b := dAtA[iNdEx]
2017-04-01 14:42:02 +00:00
iNdEx++
stringLen |= (uint64(b) & 0x7F) << shift
if b < 0x80 {
break
}
}
intStringLen := int(stringLen)
if intStringLen < 0 {
return ErrInvalidLengthGenerated
}
postIndex := iNdEx + intStringLen
if postIndex > l {
return io.ErrUnexpectedEOF
}
2017-05-21 00:11:38 +00:00
s := k8s_io_kubernetes_pkg_api_v1.Protocol(dAtA[iNdEx:postIndex])
2017-04-01 14:42:02 +00:00
m.Protocol = &s
iNdEx = postIndex
case 2:
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field Port", wireType)
}
var msglen int
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowGenerated
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
2017-05-21 00:11:38 +00:00
b := dAtA[iNdEx]
2017-04-01 14:42:02 +00:00
iNdEx++
msglen |= (int(b) & 0x7F) << shift
if b < 0x80 {
break
}
}
if msglen < 0 {
return ErrInvalidLengthGenerated
}
postIndex := iNdEx + msglen
if postIndex > l {
return io.ErrUnexpectedEOF
}
if m.Port == nil {
m.Port = &k8s_io_apimachinery_pkg_util_intstr.IntOrString{}
}
2017-05-21 00:11:38 +00:00
if err := m.Port.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
2017-04-01 14:42:02 +00:00
return err
}
iNdEx = postIndex
default:
iNdEx = preIndex
2017-05-21 00:11:38 +00:00
skippy, err := skipGenerated(dAtA[iNdEx:])
2017-04-01 14:42:02 +00:00
if err != nil {
return err
}
if skippy < 0 {
return ErrInvalidLengthGenerated
}
if (iNdEx + skippy) > l {
return io.ErrUnexpectedEOF
}
iNdEx += skippy
}
}
if iNdEx > l {
return io.ErrUnexpectedEOF
}
return nil
}
2017-05-21 00:11:38 +00:00
func (m *NetworkPolicySpec) Unmarshal(dAtA []byte) error {
l := len(dAtA)
2017-04-01 14:42:02 +00:00
iNdEx := 0
for iNdEx < l {
preIndex := iNdEx
var wire uint64
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowGenerated
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
2017-05-21 00:11:38 +00:00
b := dAtA[iNdEx]
2017-04-01 14:42:02 +00:00
iNdEx++
wire |= (uint64(b) & 0x7F) << shift
if b < 0x80 {
break
}
}
fieldNum := int32(wire >> 3)
wireType := int(wire & 0x7)
if wireType == 4 {
return fmt.Errorf("proto: NetworkPolicySpec: wiretype end group for non-group")
}
if fieldNum <= 0 {
return fmt.Errorf("proto: NetworkPolicySpec: illegal tag %d (wire type %d)", fieldNum, wire)
}
switch fieldNum {
case 1:
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field PodSelector", wireType)
}
var msglen int
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowGenerated
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
2017-05-21 00:11:38 +00:00
b := dAtA[iNdEx]
2017-04-01 14:42:02 +00:00
iNdEx++
msglen |= (int(b) & 0x7F) << shift
if b < 0x80 {
break
}
}
if msglen < 0 {
return ErrInvalidLengthGenerated
}
postIndex := iNdEx + msglen
if postIndex > l {
return io.ErrUnexpectedEOF
}
2017-05-21 00:11:38 +00:00
if err := m.PodSelector.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
2017-04-01 14:42:02 +00: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
}
2017-05-21 00:11:38 +00:00
b := dAtA[iNdEx]
2017-04-01 14:42:02 +00:00
iNdEx++
msglen |= (int(b) & 0x7F) << shift
if b < 0x80 {
break
}
}
if msglen < 0 {
return ErrInvalidLengthGenerated
}
postIndex := iNdEx + msglen
if postIndex > l {
return io.ErrUnexpectedEOF
}
m.Ingress = append(m.Ingress, NetworkPolicyIngressRule{})
2017-05-21 00:11:38 +00:00
if err := m.Ingress[len(m.Ingress)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
2017-04-01 14:42:02 +00:00
return err
}
iNdEx = postIndex
default:
iNdEx = preIndex
2017-05-21 00:11:38 +00:00
skippy, err := skipGenerated(dAtA[iNdEx:])
2017-04-01 14:42:02 +00:00
if err != nil {
return err
}
if skippy < 0 {
return ErrInvalidLengthGenerated
}
if (iNdEx + skippy) > l {
return io.ErrUnexpectedEOF
}
iNdEx += skippy
}
}
if iNdEx > l {
return io.ErrUnexpectedEOF
}
return nil
}
2017-05-21 00:11:38 +00:00
func (m *PodSecurityPolicy) Unmarshal(dAtA []byte) error {
l := len(dAtA)
2017-04-01 14:42:02 +00:00
iNdEx := 0
for iNdEx < l {
preIndex := iNdEx
var wire uint64
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowGenerated
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
2017-05-21 00:11:38 +00:00
b := dAtA[iNdEx]
2017-04-01 14:42:02 +00:00
iNdEx++
wire |= (uint64(b) & 0x7F) << shift
if b < 0x80 {
break
}
}
fieldNum := int32(wire >> 3)
wireType := int(wire & 0x7)
if wireType == 4 {
return fmt.Errorf("proto: 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
}
2017-05-21 00:11:38 +00:00
b := dAtA[iNdEx]
2017-04-01 14:42:02 +00:00
iNdEx++
msglen |= (int(b) & 0x7F) << shift
if b < 0x80 {
break
}
}
if msglen < 0 {
return ErrInvalidLengthGenerated
}
postIndex := iNdEx + msglen
if postIndex > l {
return io.ErrUnexpectedEOF
}
2017-05-21 00:11:38 +00:00
if err := m.ObjectMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
2017-04-01 14:42:02 +00: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
}
2017-05-21 00:11:38 +00:00
b := dAtA[iNdEx]
2017-04-01 14:42:02 +00:00
iNdEx++
msglen |= (int(b) & 0x7F) << shift
if b < 0x80 {
break
}
}
if msglen < 0 {
return ErrInvalidLengthGenerated
}
postIndex := iNdEx + msglen
if postIndex > l {
return io.ErrUnexpectedEOF
}
2017-05-21 00:11:38 +00:00
if err := m.Spec.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
2017-04-01 14:42:02 +00:00
return err
}
iNdEx = postIndex
default:
iNdEx = preIndex
2017-05-21 00:11:38 +00:00
skippy, err := skipGenerated(dAtA[iNdEx:])
2017-04-01 14:42:02 +00:00
if err != nil {
return err
}
if skippy < 0 {
return ErrInvalidLengthGenerated
}
if (iNdEx + skippy) > l {
return io.ErrUnexpectedEOF
}
iNdEx += skippy
}
}
if iNdEx > l {
return io.ErrUnexpectedEOF
}
return nil
}
2017-05-21 00:11:38 +00:00
func (m *PodSecurityPolicyList) Unmarshal(dAtA []byte) error {
l := len(dAtA)
2017-04-01 14:42:02 +00:00
iNdEx := 0
for iNdEx < l {
preIndex := iNdEx
var wire uint64
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowGenerated
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
2017-05-21 00:11:38 +00:00
b := dAtA[iNdEx]
2017-04-01 14:42:02 +00:00
iNdEx++
wire |= (uint64(b) & 0x7F) << shift
if b < 0x80 {
break
}
}
fieldNum := int32(wire >> 3)
wireType := int(wire & 0x7)
if wireType == 4 {
return fmt.Errorf("proto: 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
}
2017-05-21 00:11:38 +00:00
b := dAtA[iNdEx]
2017-04-01 14:42:02 +00:00
iNdEx++
msglen |= (int(b) & 0x7F) << shift
if b < 0x80 {
break
}
}
if msglen < 0 {
return ErrInvalidLengthGenerated
}
postIndex := iNdEx + msglen
if postIndex > l {
return io.ErrUnexpectedEOF
}
2017-05-21 00:11:38 +00:00
if err := m.ListMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
2017-04-01 14:42:02 +00:00
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
}
2017-05-21 00:11:38 +00:00
b := dAtA[iNdEx]
2017-04-01 14:42:02 +00:00
iNdEx++
msglen |= (int(b) & 0x7F) << shift
if b < 0x80 {
break
}
}
if msglen < 0 {
return ErrInvalidLengthGenerated
}
postIndex := iNdEx + msglen
if postIndex > l {
return io.ErrUnexpectedEOF
}
m.Items = append(m.Items, PodSecurityPolicy{})
2017-05-21 00:11:38 +00:00
if err := m.Items[len(m.Items)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
2017-04-01 14:42:02 +00:00
return err
}
iNdEx = postIndex
default:
iNdEx = preIndex
2017-05-21 00:11:38 +00:00
skippy, err := skipGenerated(dAtA[iNdEx:])
2017-04-01 14:42:02 +00:00
if err != nil {
return err
}
if skippy < 0 {
return ErrInvalidLengthGenerated
}
if (iNdEx + skippy) > l {
return io.ErrUnexpectedEOF
}
iNdEx += skippy
}
}
if iNdEx > l {
return io.ErrUnexpectedEOF
}
return nil
}
2017-05-21 00:11:38 +00:00
func (m *PodSecurityPolicySpec) Unmarshal(dAtA []byte) error {
l := len(dAtA)
2017-04-01 14:42:02 +00:00
iNdEx := 0
for iNdEx < l {
preIndex := iNdEx
var wire uint64
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowGenerated
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
2017-05-21 00:11:38 +00:00
b := dAtA[iNdEx]
2017-04-01 14:42:02 +00:00
iNdEx++
wire |= (uint64(b) & 0x7F) << shift
if b < 0x80 {
break
}
}
fieldNum := int32(wire >> 3)
wireType := int(wire & 0x7)
if wireType == 4 {
return fmt.Errorf("proto: 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
}
2017-05-21 00:11:38 +00:00
b := dAtA[iNdEx]
2017-04-01 14:42:02 +00: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
}
2017-05-21 00:11:38 +00:00
b := dAtA[iNdEx]
2017-04-01 14:42:02 +00:00
iNdEx++
stringLen |= (uint64(b) & 0x7F) << shift
if b < 0x80 {
break
}
}
intStringLen := int(stringLen)
if intStringLen < 0 {
return ErrInvalidLengthGenerated
}
postIndex := iNdEx + intStringLen
if postIndex > l {
return io.ErrUnexpectedEOF
}
2017-05-21 00:11:38 +00:00
m.DefaultAddCapabilities = append(m.DefaultAddCapabilities, k8s_io_kubernetes_pkg_api_v1.Capability(dAtA[iNdEx:postIndex]))
2017-04-01 14:42:02 +00: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
}
2017-05-21 00:11:38 +00:00
b := dAtA[iNdEx]
2017-04-01 14:42:02 +00:00
iNdEx++
stringLen |= (uint64(b) & 0x7F) << shift
if b < 0x80 {
break
}
}
intStringLen := int(stringLen)
if intStringLen < 0 {
return ErrInvalidLengthGenerated
}
postIndex := iNdEx + intStringLen
if postIndex > l {
return io.ErrUnexpectedEOF
}
2017-05-21 00:11:38 +00:00
m.RequiredDropCapabilities = append(m.RequiredDropCapabilities, k8s_io_kubernetes_pkg_api_v1.Capability(dAtA[iNdEx:postIndex]))
2017-04-01 14:42:02 +00: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
}
2017-05-21 00:11:38 +00:00
b := dAtA[iNdEx]
2017-04-01 14:42:02 +00:00
iNdEx++
stringLen |= (uint64(b) & 0x7F) << shift
if b < 0x80 {
break
}
}
intStringLen := int(stringLen)
if intStringLen < 0 {
return ErrInvalidLengthGenerated
}
postIndex := iNdEx + intStringLen
if postIndex > l {
return io.ErrUnexpectedEOF
}
2017-05-21 00:11:38 +00:00
m.AllowedCapabilities = append(m.AllowedCapabilities, k8s_io_kubernetes_pkg_api_v1.Capability(dAtA[iNdEx:postIndex]))
2017-04-01 14:42:02 +00: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
}
2017-05-21 00:11:38 +00:00
b := dAtA[iNdEx]
2017-04-01 14:42:02 +00:00
iNdEx++
stringLen |= (uint64(b) & 0x7F) << shift
if b < 0x80 {
break
}
}
intStringLen := int(stringLen)
if intStringLen < 0 {
return ErrInvalidLengthGenerated
}
postIndex := iNdEx + intStringLen
if postIndex > l {
return io.ErrUnexpectedEOF
}
2017-05-21 00:11:38 +00:00
m.Volumes = append(m.Volumes, FSType(dAtA[iNdEx:postIndex]))
2017-04-01 14:42:02 +00: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
}
2017-05-21 00:11:38 +00:00
b := dAtA[iNdEx]
2017-04-01 14:42:02 +00: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
}
2017-05-21 00:11:38 +00:00
b := dAtA[iNdEx]
2017-04-01 14:42:02 +00:00
iNdEx++
msglen |= (int(b) & 0x7F) << shift
if b < 0x80 {
break
}
}
if msglen < 0 {
return ErrInvalidLengthGenerated
}
postIndex := iNdEx + msglen
if postIndex > l {
return io.ErrUnexpectedEOF
}
m.HostPorts = append(m.HostPorts, HostPortRange{})
2017-05-21 00:11:38 +00:00
if err := m.HostPorts[len(m.HostPorts)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
2017-04-01 14:42:02 +00: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
}
2017-05-21 00:11:38 +00:00
b := dAtA[iNdEx]
2017-04-01 14:42:02 +00: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
}
2017-05-21 00:11:38 +00:00
b := dAtA[iNdEx]
2017-04-01 14:42:02 +00: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
}
2017-05-21 00:11:38 +00:00
b := dAtA[iNdEx]
2017-04-01 14:42:02 +00:00
iNdEx++
msglen |= (int(b) & 0x7F) << shift
if b < 0x80 {
break
}
}
if msglen < 0 {
return ErrInvalidLengthGenerated
}
postIndex := iNdEx + msglen
if postIndex > l {
return io.ErrUnexpectedEOF
}
2017-05-21 00:11:38 +00:00
if err := m.SELinux.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
2017-04-01 14:42:02 +00: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
}
2017-05-21 00:11:38 +00:00
b := dAtA[iNdEx]
2017-04-01 14:42:02 +00:00
iNdEx++
msglen |= (int(b) & 0x7F) << shift
if b < 0x80 {
break
}
}
if msglen < 0 {
return ErrInvalidLengthGenerated
}
postIndex := iNdEx + msglen
if postIndex > l {
return io.ErrUnexpectedEOF
}
2017-05-21 00:11:38 +00:00
if err := m.RunAsUser.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
2017-04-01 14:42:02 +00: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
}
2017-05-21 00:11:38 +00:00
b := dAtA[iNdEx]
2017-04-01 14:42:02 +00:00
iNdEx++
msglen |= (int(b) & 0x7F) << shift
if b < 0x80 {
break
}
}
if msglen < 0 {
return ErrInvalidLengthGenerated
}
postIndex := iNdEx + msglen
if postIndex > l {
return io.ErrUnexpectedEOF
}
2017-05-21 00:11:38 +00:00
if err := m.SupplementalGroups.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
2017-04-01 14:42:02 +00: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
}
2017-05-21 00:11:38 +00:00
b := dAtA[iNdEx]
2017-04-01 14:42:02 +00:00
iNdEx++
msglen |= (int(b) & 0x7F) << shift
if b < 0x80 {
break
}
}
if msglen < 0 {
return ErrInvalidLengthGenerated
}
postIndex := iNdEx + msglen
if postIndex > l {
return io.ErrUnexpectedEOF
}
2017-05-21 00:11:38 +00:00
if err := m.FSGroup.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
2017-04-01 14:42:02 +00: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
}
2017-05-21 00:11:38 +00:00
b := dAtA[iNdEx]
2017-04-01 14:42:02 +00:00
iNdEx++
v |= (int(b) & 0x7F) << shift
if b < 0x80 {
break
}
}
m.ReadOnlyRootFilesystem = bool(v != 0)
default:
iNdEx = preIndex
2017-05-21 00:11:38 +00:00
skippy, err := skipGenerated(dAtA[iNdEx:])
2017-04-01 14:42:02 +00:00
if err != nil {
return err
}
if skippy < 0 {
return ErrInvalidLengthGenerated
}
if (iNdEx + skippy) > l {
return io.ErrUnexpectedEOF
}
iNdEx += skippy
}
}
if iNdEx > l {
return io.ErrUnexpectedEOF
}
return nil
}
2017-05-21 00:11:38 +00:00
func (m *ReplicaSet) Unmarshal(dAtA []byte) error {
l := len(dAtA)
2017-04-01 14:42:02 +00:00
iNdEx := 0
for iNdEx < l {
preIndex := iNdEx
var wire uint64
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowGenerated
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
2017-05-21 00:11:38 +00:00
b := dAtA[iNdEx]
2017-04-01 14:42:02 +00:00
iNdEx++
wire |= (uint64(b) & 0x7F) << shift
if b < 0x80 {
break
}
}
fieldNum := int32(wire >> 3)
wireType := int(wire & 0x7)
if wireType == 4 {
return fmt.Errorf("proto: ReplicaSet: wiretype end group for non-group")
}
if fieldNum <= 0 {
return fmt.Errorf("proto: ReplicaSet: 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
}
2017-05-21 00:11:38 +00:00
b := dAtA[iNdEx]
2017-04-01 14:42:02 +00:00
iNdEx++
msglen |= (int(b) & 0x7F) << shift
if b < 0x80 {
break
}
}
if msglen < 0 {
return ErrInvalidLengthGenerated
}
postIndex := iNdEx + msglen
if postIndex > l {
return io.ErrUnexpectedEOF
}
2017-05-21 00:11:38 +00:00
if err := m.ObjectMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
2017-04-01 14:42:02 +00: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
}
2017-05-21 00:11:38 +00:00
b := dAtA[iNdEx]
2017-04-01 14:42:02 +00:00
iNdEx++
msglen |= (int(b) & 0x7F) << shift
if b < 0x80 {
break
}
}
if msglen < 0 {
return ErrInvalidLengthGenerated
}
postIndex := iNdEx + msglen
if postIndex > l {
return io.ErrUnexpectedEOF
}
2017-05-21 00:11:38 +00:00
if err := m.Spec.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
2017-04-01 14:42:02 +00:00
return err
}
iNdEx = postIndex
case 3:
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType)
}
var msglen int
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowGenerated
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
2017-05-21 00:11:38 +00:00
b := dAtA[iNdEx]
2017-04-01 14:42:02 +00:00
iNdEx++
msglen |= (int(b) & 0x7F) << shift
if b < 0x80 {
break
}
}
if msglen < 0 {
return ErrInvalidLengthGenerated
}
postIndex := iNdEx + msglen
if postIndex > l {
return io.ErrUnexpectedEOF
}
2017-05-21 00:11:38 +00:00
if err := m.Status.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
2017-04-01 14:42:02 +00:00
return err
}
iNdEx = postIndex
default:
iNdEx = preIndex
2017-05-21 00:11:38 +00:00
skippy, err := skipGenerated(dAtA[iNdEx:])
2017-04-01 14:42:02 +00:00
if err != nil {
return err
}
if skippy < 0 {
return ErrInvalidLengthGenerated
}
if (iNdEx + skippy) > l {
return io.ErrUnexpectedEOF
}
iNdEx += skippy
}
}
if iNdEx > l {
return io.ErrUnexpectedEOF
}
return nil
}
2017-05-21 00:11:38 +00:00
func (m *ReplicaSetCondition) Unmarshal(dAtA []byte) error {
l := len(dAtA)
2017-04-01 14:42:02 +00:00
iNdEx := 0
for iNdEx < l {
preIndex := iNdEx
var wire uint64
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowGenerated
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
2017-05-21 00:11:38 +00:00
b := dAtA[iNdEx]
2017-04-01 14:42:02 +00:00
iNdEx++
wire |= (uint64(b) & 0x7F) << shift
if b < 0x80 {
break
}
}
fieldNum := int32(wire >> 3)
wireType := int(wire & 0x7)
if wireType == 4 {
return fmt.Errorf("proto: ReplicaSetCondition: wiretype end group for non-group")
}
if fieldNum <= 0 {
return fmt.Errorf("proto: ReplicaSetCondition: illegal tag %d (wire type %d)", fieldNum, wire)
}
switch fieldNum {
case 1:
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field Type", wireType)
}
var stringLen uint64
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowGenerated
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
2017-05-21 00:11:38 +00:00
b := dAtA[iNdEx]
2017-04-01 14:42:02 +00:00
iNdEx++
stringLen |= (uint64(b) & 0x7F) << shift
if b < 0x80 {
break
}
}
intStringLen := int(stringLen)
if intStringLen < 0 {
return ErrInvalidLengthGenerated
}
postIndex := iNdEx + intStringLen
if postIndex > l {
return io.ErrUnexpectedEOF
}
2017-05-21 00:11:38 +00:00
m.Type = ReplicaSetConditionType(dAtA[iNdEx:postIndex])
2017-04-01 14:42:02 +00: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
}
2017-05-21 00:11:38 +00:00
b := dAtA[iNdEx]
2017-04-01 14:42:02 +00:00
iNdEx++
stringLen |= (uint64(b) & 0x7F) << shift
if b < 0x80 {
break
}
}
intStringLen := int(stringLen)
if intStringLen < 0 {
return ErrInvalidLengthGenerated
}
postIndex := iNdEx + intStringLen
if postIndex > l {
return io.ErrUnexpectedEOF
}
2017-05-21 00:11:38 +00:00
m.Status = k8s_io_kubernetes_pkg_api_v1.ConditionStatus(dAtA[iNdEx:postIndex])
2017-04-01 14:42:02 +00:00
iNdEx = postIndex
case 3:
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field LastTransitionTime", wireType)
}
var msglen int
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowGenerated
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
2017-05-21 00:11:38 +00:00
b := dAtA[iNdEx]
2017-04-01 14:42:02 +00:00
iNdEx++
msglen |= (int(b) & 0x7F) << shift
if b < 0x80 {
break
}
}
if msglen < 0 {
return ErrInvalidLengthGenerated
}
postIndex := iNdEx + msglen
if postIndex > l {
return io.ErrUnexpectedEOF
}
2017-05-21 00:11:38 +00:00
if err := m.LastTransitionTime.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
2017-04-01 14:42:02 +00: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
}
2017-05-21 00:11:38 +00:00
b := dAtA[iNdEx]
2017-04-01 14:42:02 +00:00
iNdEx++
stringLen |= (uint64(b) & 0x7F) << shift
if b < 0x80 {
break
}
}
intStringLen := int(stringLen)
if intStringLen < 0 {
return ErrInvalidLengthGenerated
}
postIndex := iNdEx + intStringLen
if postIndex > l {
return io.ErrUnexpectedEOF
}
2017-05-21 00:11:38 +00:00
m.Reason = string(dAtA[iNdEx:postIndex])
2017-04-01 14:42:02 +00:00
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
}
2017-05-21 00:11:38 +00:00
b := dAtA[iNdEx]
2017-04-01 14:42:02 +00:00
iNdEx++
stringLen |= (uint64(b) & 0x7F) << shift
if b < 0x80 {
break
}
}
intStringLen := int(stringLen)
if intStringLen < 0 {
return ErrInvalidLengthGenerated
}
postIndex := iNdEx + intStringLen
if postIndex > l {
return io.ErrUnexpectedEOF
}
2017-05-21 00:11:38 +00:00
m.Message = string(dAtA[iNdEx:postIndex])
2017-04-01 14:42:02 +00:00
iNdEx = postIndex
default:
iNdEx = preIndex
2017-05-21 00:11:38 +00:00
skippy, err := skipGenerated(dAtA[iNdEx:])
2017-04-01 14:42:02 +00:00
if err != nil {
return err
}
if skippy < 0 {
return ErrInvalidLengthGenerated
}
if (iNdEx + skippy) > l {
return io.ErrUnexpectedEOF
}
iNdEx += skippy
}
}
if iNdEx > l {
return io.ErrUnexpectedEOF
}
return nil
}
2017-05-21 00:11:38 +00:00
func (m *ReplicaSetList) Unmarshal(dAtA []byte) error {
l := len(dAtA)
2017-04-01 14:42:02 +00:00
iNdEx := 0
for iNdEx < l {
preIndex := iNdEx
var wire uint64
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowGenerated
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
2017-05-21 00:11:38 +00:00
b := dAtA[iNdEx]
2017-04-01 14:42:02 +00:00
iNdEx++
wire |= (uint64(b) & 0x7F) << shift
if b < 0x80 {
break
}
}
fieldNum := int32(wire >> 3)
wireType := int(wire & 0x7)
if wireType == 4 {
return fmt.Errorf("proto: ReplicaSetList: wiretype end group for non-group")
}
if fieldNum <= 0 {
return fmt.Errorf("proto: ReplicaSetList: illegal tag %d (wire type %d)", fieldNum, wire)
}
switch fieldNum {
case 1:
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field ListMeta", wireType)
}
var msglen int
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowGenerated
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
2017-05-21 00:11:38 +00:00
b := dAtA[iNdEx]
2017-04-01 14:42:02 +00:00
iNdEx++
msglen |= (int(b) & 0x7F) << shift
if b < 0x80 {
break
}
}
if msglen < 0 {
return ErrInvalidLengthGenerated
}
postIndex := iNdEx + msglen
if postIndex > l {
return io.ErrUnexpectedEOF
}
2017-05-21 00:11:38 +00:00
if err := m.ListMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
2017-04-01 14:42:02 +00:00
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
}
2017-05-21 00:11:38 +00:00
b := dAtA[iNdEx]
2017-04-01 14:42:02 +00:00
iNdEx++
msglen |= (int(b) & 0x7F) << shift
if b < 0x80 {
break
}
}
if msglen < 0 {
return ErrInvalidLengthGenerated
}
postIndex := iNdEx + msglen
if postIndex > l {
return io.ErrUnexpectedEOF
}
m.Items = append(m.Items, ReplicaSet{})
2017-05-21 00:11:38 +00:00
if err := m.Items[len(m.Items)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
2017-04-01 14:42:02 +00:00
return err
}
iNdEx = postIndex
default:
iNdEx = preIndex
2017-05-21 00:11:38 +00:00
skippy, err := skipGenerated(dAtA[iNdEx:])
2017-04-01 14:42:02 +00:00
if err != nil {
return err
}
if skippy < 0 {
return ErrInvalidLengthGenerated
}
if (iNdEx + skippy) > l {
return io.ErrUnexpectedEOF
}
iNdEx += skippy
}
}
if iNdEx > l {
return io.ErrUnexpectedEOF
}
return nil
}
2017-05-21 00:11:38 +00:00
func (m *ReplicaSetSpec) Unmarshal(dAtA []byte) error {
l := len(dAtA)
2017-04-01 14:42:02 +00:00
iNdEx := 0
for iNdEx < l {
preIndex := iNdEx
var wire uint64
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowGenerated
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
2017-05-21 00:11:38 +00:00
b := dAtA[iNdEx]
2017-04-01 14:42:02 +00:00
iNdEx++
wire |= (uint64(b) & 0x7F) << shift
if b < 0x80 {
break
}
}
fieldNum := int32(wire >> 3)
wireType := int(wire & 0x7)
if wireType == 4 {
return fmt.Errorf("proto: ReplicaSetSpec: wiretype end group for non-group")
}
if fieldNum <= 0 {
return fmt.Errorf("proto: ReplicaSetSpec: illegal tag %d (wire type %d)", fieldNum, wire)
}
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
}
2017-05-21 00:11:38 +00:00
b := dAtA[iNdEx]
2017-04-01 14:42:02 +00:00
iNdEx++
v |= (int32(b) & 0x7F) << shift
if b < 0x80 {
break
}
}
m.Replicas = &v
case 2:
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
}
2017-05-21 00:11:38 +00:00
b := dAtA[iNdEx]
2017-04-01 14:42:02 +00:00
iNdEx++
msglen |= (int(b) & 0x7F) << shift
if b < 0x80 {
break
}
}
if msglen < 0 {
return ErrInvalidLengthGenerated
}
postIndex := iNdEx + msglen
if postIndex > l {
return io.ErrUnexpectedEOF
}
if m.Selector == nil {
m.Selector = &k8s_io_apimachinery_pkg_apis_meta_v1.LabelSelector{}
}
2017-05-21 00:11:38 +00:00
if err := m.Selector.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
2017-04-01 14:42:02 +00:00
return err
}
iNdEx = postIndex
case 3:
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
}
2017-05-21 00:11:38 +00:00
b := dAtA[iNdEx]
2017-04-01 14:42:02 +00:00
iNdEx++
msglen |= (int(b) & 0x7F) << shift
if b < 0x80 {
break
}
}
if msglen < 0 {
return ErrInvalidLengthGenerated
}
postIndex := iNdEx + msglen
if postIndex > l {
return io.ErrUnexpectedEOF
}
2017-05-21 00:11:38 +00:00
if err := m.Template.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
2017-04-01 14:42:02 +00: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
}
2017-05-21 00:11:38 +00:00
b := dAtA[iNdEx]
2017-04-01 14:42:02 +00:00
iNdEx++
m.MinReadySeconds |= (int32(b) & 0x7F) << shift
if b < 0x80 {
break
}
}
default:
iNdEx = preIndex
2017-05-21 00:11:38 +00:00
skippy, err := skipGenerated(dAtA[iNdEx:])
2017-04-01 14:42:02 +00:00
if err != nil {
return err
}
if skippy < 0 {
return ErrInvalidLengthGenerated
}
if (iNdEx + skippy) > l {
return io.ErrUnexpectedEOF
}
iNdEx += skippy
}
}
if iNdEx > l {
return io.ErrUnexpectedEOF
}
return nil
}
2017-05-21 00:11:38 +00:00
func (m *ReplicaSetStatus) Unmarshal(dAtA []byte) error {
l := len(dAtA)
2017-04-01 14:42:02 +00:00
iNdEx := 0
for iNdEx < l {
preIndex := iNdEx
var wire uint64
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowGenerated
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
2017-05-21 00:11:38 +00:00
b := dAtA[iNdEx]
2017-04-01 14:42:02 +00:00
iNdEx++
wire |= (uint64(b) & 0x7F) << shift
if b < 0x80 {
break
}
}
fieldNum := int32(wire >> 3)
wireType := int(wire & 0x7)
if wireType == 4 {
return fmt.Errorf("proto: ReplicaSetStatus: wiretype end group for non-group")
}
if fieldNum <= 0 {
return fmt.Errorf("proto: ReplicaSetStatus: illegal tag %d (wire type %d)", fieldNum, wire)
}
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
}
2017-05-21 00:11:38 +00:00
b := dAtA[iNdEx]
2017-04-01 14:42:02 +00:00
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
}
2017-05-21 00:11:38 +00:00
b := dAtA[iNdEx]
2017-04-01 14:42:02 +00:00
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
}
2017-05-21 00:11:38 +00:00
b := dAtA[iNdEx]
2017-04-01 14:42:02 +00:00
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
}
2017-05-21 00:11:38 +00:00
b := dAtA[iNdEx]
2017-04-01 14:42:02 +00:00
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
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowGenerated
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
2017-05-21 00:11:38 +00:00
b := dAtA[iNdEx]
2017-04-01 14:42:02 +00:00
iNdEx++
m.AvailableReplicas |= (int32(b) & 0x7F) << shift
if b < 0x80 {
break
}
}
case 6:
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
}
2017-05-21 00:11:38 +00:00
b := dAtA[iNdEx]
2017-04-01 14:42:02 +00:00
iNdEx++
msglen |= (int(b) & 0x7F) << shift
if b < 0x80 {
break
}
}
if msglen < 0 {
return ErrInvalidLengthGenerated
}
postIndex := iNdEx + msglen
if postIndex > l {
return io.ErrUnexpectedEOF
}
m.Conditions = append(m.Conditions, ReplicaSetCondition{})
2017-05-21 00:11:38 +00:00
if err := m.Conditions[len(m.Conditions)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
2017-04-01 14:42:02 +00:00
return err
}
iNdEx = postIndex
default:
iNdEx = preIndex
2017-05-21 00:11:38 +00:00
skippy, err := skipGenerated(dAtA[iNdEx:])
2017-04-01 14:42:02 +00:00
if err != nil {
return err
}
if skippy < 0 {
return ErrInvalidLengthGenerated
}
if (iNdEx + skippy) > l {
return io.ErrUnexpectedEOF
}
iNdEx += skippy
}
}
if iNdEx > l {
return io.ErrUnexpectedEOF
}
return nil
}
2017-05-21 00:11:38 +00:00
func (m *ReplicationControllerDummy) Unmarshal(dAtA []byte) error {
l := len(dAtA)
2017-04-01 14:42:02 +00:00
iNdEx := 0
for iNdEx < l {
preIndex := iNdEx
var wire uint64
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowGenerated
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
2017-05-21 00:11:38 +00:00
b := dAtA[iNdEx]
2017-04-01 14:42:02 +00:00
iNdEx++
wire |= (uint64(b) & 0x7F) << shift
if b < 0x80 {
break
}
}
fieldNum := int32(wire >> 3)
wireType := int(wire & 0x7)
if wireType == 4 {
return fmt.Errorf("proto: ReplicationControllerDummy: wiretype end group for non-group")
}
if fieldNum <= 0 {
return fmt.Errorf("proto: ReplicationControllerDummy: illegal tag %d (wire type %d)", fieldNum, wire)
}
switch fieldNum {
default:
iNdEx = preIndex
2017-05-21 00:11:38 +00:00
skippy, err := skipGenerated(dAtA[iNdEx:])
2017-04-01 14:42:02 +00:00
if err != nil {
return err
}
if skippy < 0 {
return ErrInvalidLengthGenerated
}
if (iNdEx + skippy) > l {
return io.ErrUnexpectedEOF
}
iNdEx += skippy
}
}
if iNdEx > l {
return io.ErrUnexpectedEOF
}
return nil
}
2017-05-21 00:11:38 +00:00
func (m *RollbackConfig) Unmarshal(dAtA []byte) error {
l := len(dAtA)
2017-04-01 14:42:02 +00:00
iNdEx := 0
for iNdEx < l {
preIndex := iNdEx
var wire uint64
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowGenerated
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
2017-05-21 00:11:38 +00:00
b := dAtA[iNdEx]
2017-04-01 14:42:02 +00:00
iNdEx++
wire |= (uint64(b) & 0x7F) << shift
if b < 0x80 {
break
}
}
fieldNum := int32(wire >> 3)
wireType := int(wire & 0x7)
if wireType == 4 {
return fmt.Errorf("proto: RollbackConfig: wiretype end group for non-group")
}
if fieldNum <= 0 {
return fmt.Errorf("proto: RollbackConfig: illegal tag %d (wire type %d)", fieldNum, wire)
}
switch fieldNum {
case 1:
if wireType != 0 {
return fmt.Errorf("proto: wrong wireType = %d for field Revision", wireType)
}
m.Revision = 0
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowGenerated
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
2017-05-21 00:11:38 +00:00
b := dAtA[iNdEx]
2017-04-01 14:42:02 +00:00
iNdEx++
m.Revision |= (int64(b) & 0x7F) << shift
if b < 0x80 {
break
}
}
default:
iNdEx = preIndex
2017-05-21 00:11:38 +00:00
skippy, err := skipGenerated(dAtA[iNdEx:])
2017-04-01 14:42:02 +00:00
if err != nil {
return err
}
if skippy < 0 {
return ErrInvalidLengthGenerated
}
if (iNdEx + skippy) > l {
return io.ErrUnexpectedEOF
}
iNdEx += skippy
}
}
if iNdEx > l {
return io.ErrUnexpectedEOF
}
return nil
}
2017-05-21 00:11:38 +00:00
func (m *RollingUpdateDaemonSet) Unmarshal(dAtA []byte) error {
l := len(dAtA)
2017-04-01 14:42:02 +00:00
iNdEx := 0
for iNdEx < l {
preIndex := iNdEx
var wire uint64
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowGenerated
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
2017-05-21 00:11:38 +00:00
b := dAtA[iNdEx]
2017-04-01 14:42:02 +00:00
iNdEx++
wire |= (uint64(b) & 0x7F) << shift
if b < 0x80 {
break
}
}
fieldNum := int32(wire >> 3)
wireType := int(wire & 0x7)
if wireType == 4 {
return fmt.Errorf("proto: RollingUpdateDaemonSet: wiretype end group for non-group")
}
if fieldNum <= 0 {
return fmt.Errorf("proto: RollingUpdateDaemonSet: illegal tag %d (wire type %d)", fieldNum, wire)
}
switch fieldNum {
case 1:
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field MaxUnavailable", wireType)
}
var msglen int
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowGenerated
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
2017-05-21 00:11:38 +00:00
b := dAtA[iNdEx]
2017-04-01 14:42:02 +00:00
iNdEx++
msglen |= (int(b) & 0x7F) << shift
if b < 0x80 {
break
}
}
if msglen < 0 {
return ErrInvalidLengthGenerated
}
postIndex := iNdEx + msglen
if postIndex > l {
return io.ErrUnexpectedEOF
}
if m.MaxUnavailable == nil {
m.MaxUnavailable = &k8s_io_apimachinery_pkg_util_intstr.IntOrString{}
}
2017-05-21 00:11:38 +00:00
if err := m.MaxUnavailable.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
2017-04-01 14:42:02 +00:00
return err
}
iNdEx = postIndex
default:
iNdEx = preIndex
2017-05-21 00:11:38 +00:00
skippy, err := skipGenerated(dAtA[iNdEx:])
2017-04-01 14:42:02 +00:00
if err != nil {
return err
}
if skippy < 0 {
return ErrInvalidLengthGenerated
}
if (iNdEx + skippy) > l {
return io.ErrUnexpectedEOF
}
iNdEx += skippy
}
}
if iNdEx > l {
return io.ErrUnexpectedEOF
}
return nil
}
2017-05-21 00:11:38 +00:00
func (m *RollingUpdateDeployment) Unmarshal(dAtA []byte) error {
l := len(dAtA)
2017-04-01 14:42:02 +00:00
iNdEx := 0
for iNdEx < l {
preIndex := iNdEx
var wire uint64
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowGenerated
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
2017-05-21 00:11:38 +00:00
b := dAtA[iNdEx]
2017-04-01 14:42:02 +00:00
iNdEx++
wire |= (uint64(b) & 0x7F) << shift
if b < 0x80 {
break
}
}
fieldNum := int32(wire >> 3)
wireType := int(wire & 0x7)
if wireType == 4 {
return fmt.Errorf("proto: RollingUpdateDeployment: wiretype end group for non-group")
}
if fieldNum <= 0 {
return fmt.Errorf("proto: RollingUpdateDeployment: illegal tag %d (wire type %d)", fieldNum, wire)
}
switch fieldNum {
case 1:
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field MaxUnavailable", wireType)
}
var msglen int
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowGenerated
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
2017-05-21 00:11:38 +00:00
b := dAtA[iNdEx]
2017-04-01 14:42:02 +00:00
iNdEx++
msglen |= (int(b) & 0x7F) << shift
if b < 0x80 {
break
}
}
if msglen < 0 {
return ErrInvalidLengthGenerated
}
postIndex := iNdEx + msglen
if postIndex > l {
return io.ErrUnexpectedEOF
}
if m.MaxUnavailable == nil {
m.MaxUnavailable = &k8s_io_apimachinery_pkg_util_intstr.IntOrString{}
}
2017-05-21 00:11:38 +00:00
if err := m.MaxUnavailable.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
2017-04-01 14:42:02 +00:00
return err
}
iNdEx = postIndex
case 2:
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field MaxSurge", wireType)
}
var msglen int
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowGenerated
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
2017-05-21 00:11:38 +00:00
b := dAtA[iNdEx]
2017-04-01 14:42:02 +00:00
iNdEx++
msglen |= (int(b) & 0x7F) << shift
if b < 0x80 {
break
}
}
if msglen < 0 {
return ErrInvalidLengthGenerated
}
postIndex := iNdEx + msglen
if postIndex > l {
return io.ErrUnexpectedEOF
}
if m.MaxSurge == nil {
m.MaxSurge = &k8s_io_apimachinery_pkg_util_intstr.IntOrString{}
}
2017-05-21 00:11:38 +00:00
if err := m.MaxSurge.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
2017-04-01 14:42:02 +00:00
return err
}
iNdEx = postIndex
default:
iNdEx = preIndex
2017-05-21 00:11:38 +00:00
skippy, err := skipGenerated(dAtA[iNdEx:])
2017-04-01 14:42:02 +00:00
if err != nil {
return err
}
if skippy < 0 {
return ErrInvalidLengthGenerated
}
if (iNdEx + skippy) > l {
return io.ErrUnexpectedEOF
}
iNdEx += skippy
}
}
if iNdEx > l {
return io.ErrUnexpectedEOF
}
return nil
}
2017-05-21 00:11:38 +00:00
func (m *RunAsUserStrategyOptions) Unmarshal(dAtA []byte) error {
l := len(dAtA)
2017-04-01 14:42:02 +00:00
iNdEx := 0
for iNdEx < l {
preIndex := iNdEx
var wire uint64
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowGenerated
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
2017-05-21 00:11:38 +00:00
b := dAtA[iNdEx]
2017-04-01 14:42:02 +00:00
iNdEx++
wire |= (uint64(b) & 0x7F) << shift
if b < 0x80 {
break
}
}
fieldNum := int32(wire >> 3)
wireType := int(wire & 0x7)
if wireType == 4 {
return fmt.Errorf("proto: 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)
}
var stringLen uint64
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowGenerated
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
2017-05-21 00:11:38 +00:00
b := dAtA[iNdEx]
2017-04-01 14:42:02 +00:00
iNdEx++
stringLen |= (uint64(b) & 0x7F) << shift
if b < 0x80 {
break
}
}
intStringLen := int(stringLen)
if intStringLen < 0 {
return ErrInvalidLengthGenerated
}
postIndex := iNdEx + intStringLen
if postIndex > l {
return io.ErrUnexpectedEOF
}
2017-05-21 00:11:38 +00:00
m.Rule = RunAsUserStrategy(dAtA[iNdEx:postIndex])
2017-04-01 14:42:02 +00:00
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
}
2017-05-21 00:11:38 +00:00
b := dAtA[iNdEx]
2017-04-01 14:42:02 +00:00
iNdEx++
msglen |= (int(b) & 0x7F) << shift
if b < 0x80 {
break
}
}
if msglen < 0 {
return ErrInvalidLengthGenerated
}
postIndex := iNdEx + msglen
if postIndex > l {
return io.ErrUnexpectedEOF
}
m.Ranges = append(m.Ranges, IDRange{})
2017-05-21 00:11:38 +00:00
if err := m.Ranges[len(m.Ranges)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
2017-04-01 14:42:02 +00:00
return err
}
iNdEx = postIndex
default:
iNdEx = preIndex
2017-05-21 00:11:38 +00:00
skippy, err := skipGenerated(dAtA[iNdEx:])
2017-04-01 14:42:02 +00:00
if err != nil {
return err
}
if skippy < 0 {
return ErrInvalidLengthGenerated
}
if (iNdEx + skippy) > l {
return io.ErrUnexpectedEOF
}
iNdEx += skippy
}
}
if iNdEx > l {
return io.ErrUnexpectedEOF
}
return nil
}
2017-05-21 00:11:38 +00:00
func (m *SELinuxStrategyOptions) Unmarshal(dAtA []byte) error {
l := len(dAtA)
2017-04-01 14:42:02 +00:00
iNdEx := 0
for iNdEx < l {
preIndex := iNdEx
var wire uint64
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowGenerated
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
2017-05-21 00:11:38 +00:00
b := dAtA[iNdEx]
2017-04-01 14:42:02 +00:00
iNdEx++
wire |= (uint64(b) & 0x7F) << shift
if b < 0x80 {
break
}
}
fieldNum := int32(wire >> 3)
wireType := int(wire & 0x7)
if wireType == 4 {
return fmt.Errorf("proto: SELinuxStrategyOptions: wiretype end group for non-group")
}
if fieldNum <= 0 {
return fmt.Errorf("proto: SELinuxStrategyOptions: 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
}
2017-05-21 00:11:38 +00:00
b := dAtA[iNdEx]
2017-04-01 14:42:02 +00:00
iNdEx++
stringLen |= (uint64(b) & 0x7F) << shift
if b < 0x80 {
break
}
}
intStringLen := int(stringLen)
if intStringLen < 0 {
return ErrInvalidLengthGenerated
}
postIndex := iNdEx + intStringLen
if postIndex > l {
return io.ErrUnexpectedEOF
}
2017-05-21 00:11:38 +00:00
m.Rule = SELinuxStrategy(dAtA[iNdEx:postIndex])
2017-04-01 14:42:02 +00:00
iNdEx = postIndex
case 2:
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field SELinuxOptions", wireType)
}
var msglen int
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowGenerated
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
2017-05-21 00:11:38 +00:00
b := dAtA[iNdEx]
2017-04-01 14:42:02 +00:00
iNdEx++
msglen |= (int(b) & 0x7F) << shift
if b < 0x80 {
break
}
}
if msglen < 0 {
return ErrInvalidLengthGenerated
}
postIndex := iNdEx + msglen
if postIndex > l {
return io.ErrUnexpectedEOF
}
if m.SELinuxOptions == nil {
m.SELinuxOptions = &k8s_io_kubernetes_pkg_api_v1.SELinuxOptions{}
}
2017-05-21 00:11:38 +00:00
if err := m.SELinuxOptions.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
2017-04-01 14:42:02 +00:00
return err
}
iNdEx = postIndex
default:
iNdEx = preIndex
2017-05-21 00:11:38 +00:00
skippy, err := skipGenerated(dAtA[iNdEx:])
2017-04-01 14:42:02 +00:00
if err != nil {
return err
}
if skippy < 0 {
return ErrInvalidLengthGenerated
}
if (iNdEx + skippy) > l {
return io.ErrUnexpectedEOF
}
iNdEx += skippy
}
}
if iNdEx > l {
return io.ErrUnexpectedEOF
}
return nil
}
2017-05-21 00:11:38 +00:00
func (m *Scale) Unmarshal(dAtA []byte) error {
l := len(dAtA)
2017-04-01 14:42:02 +00:00
iNdEx := 0
for iNdEx < l {
preIndex := iNdEx
var wire uint64
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowGenerated
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
2017-05-21 00:11:38 +00:00
b := dAtA[iNdEx]
2017-04-01 14:42:02 +00:00
iNdEx++
wire |= (uint64(b) & 0x7F) << shift
if b < 0x80 {
break
}
}
fieldNum := int32(wire >> 3)
wireType := int(wire & 0x7)
if wireType == 4 {
return fmt.Errorf("proto: Scale: wiretype end group for non-group")
}
if fieldNum <= 0 {
return fmt.Errorf("proto: Scale: 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
}
2017-05-21 00:11:38 +00:00
b := dAtA[iNdEx]
2017-04-01 14:42:02 +00:00
iNdEx++
msglen |= (int(b) & 0x7F) << shift
if b < 0x80 {
break
}
}
if msglen < 0 {
return ErrInvalidLengthGenerated
}
postIndex := iNdEx + msglen
if postIndex > l {
return io.ErrUnexpectedEOF
}
2017-05-21 00:11:38 +00:00
if err := m.ObjectMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
2017-04-01 14:42:02 +00: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
}
2017-05-21 00:11:38 +00:00
b := dAtA[iNdEx]
2017-04-01 14:42:02 +00:00
iNdEx++
msglen |= (int(b) & 0x7F) << shift
if b < 0x80 {
break
}
}
if msglen < 0 {
return ErrInvalidLengthGenerated
}
postIndex := iNdEx + msglen
if postIndex > l {
return io.ErrUnexpectedEOF
}
2017-05-21 00:11:38 +00:00
if err := m.Spec.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
2017-04-01 14:42:02 +00:00
return err
}
iNdEx = postIndex
case 3:
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType)
}
var msglen int
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowGenerated
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
2017-05-21 00:11:38 +00:00
b := dAtA[iNdEx]
2017-04-01 14:42:02 +00:00
iNdEx++
msglen |= (int(b) & 0x7F) << shift
if b < 0x80 {
break
}
}
if msglen < 0 {
return ErrInvalidLengthGenerated
}
postIndex := iNdEx + msglen
if postIndex > l {
return io.ErrUnexpectedEOF
}
2017-05-21 00:11:38 +00:00
if err := m.Status.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
2017-04-01 14:42:02 +00:00
return err
}
iNdEx = postIndex
default:
iNdEx = preIndex
2017-05-21 00:11:38 +00:00
skippy, err := skipGenerated(dAtA[iNdEx:])
2017-04-01 14:42:02 +00:00
if err != nil {
return err
}
if skippy < 0 {
return ErrInvalidLengthGenerated
}
if (iNdEx + skippy) > l {
return io.ErrUnexpectedEOF
}
iNdEx += skippy
}
}
if iNdEx > l {
return io.ErrUnexpectedEOF
}
return nil
}
2017-05-21 00:11:38 +00:00
func (m *ScaleSpec) Unmarshal(dAtA []byte) error {
l := len(dAtA)
2017-04-01 14:42:02 +00:00
iNdEx := 0
for iNdEx < l {
preIndex := iNdEx
var wire uint64
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowGenerated
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
2017-05-21 00:11:38 +00:00
b := dAtA[iNdEx]
2017-04-01 14:42:02 +00:00
iNdEx++
wire |= (uint64(b) & 0x7F) << shift
if b < 0x80 {
break
}
}
fieldNum := int32(wire >> 3)
wireType := int(wire & 0x7)
if wireType == 4 {
return fmt.Errorf("proto: ScaleSpec: wiretype end group for non-group")
}
if fieldNum <= 0 {
return fmt.Errorf("proto: ScaleSpec: illegal tag %d (wire type %d)", fieldNum, wire)
}
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
}
2017-05-21 00:11:38 +00:00
b := dAtA[iNdEx]
2017-04-01 14:42:02 +00:00
iNdEx++
m.Replicas |= (int32(b) & 0x7F) << shift
if b < 0x80 {
break
}
}
default:
iNdEx = preIndex
2017-05-21 00:11:38 +00:00
skippy, err := skipGenerated(dAtA[iNdEx:])
2017-04-01 14:42:02 +00:00
if err != nil {
return err
}
if skippy < 0 {
return ErrInvalidLengthGenerated
}
if (iNdEx + skippy) > l {
return io.ErrUnexpectedEOF
}
iNdEx += skippy
}
}
if iNdEx > l {
return io.ErrUnexpectedEOF
}
return nil
}
2017-05-21 00:11:38 +00:00
func (m *ScaleStatus) Unmarshal(dAtA []byte) error {
l := len(dAtA)
2017-04-01 14:42:02 +00:00
iNdEx := 0
for iNdEx < l {
preIndex := iNdEx
var wire uint64
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowGenerated
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
2017-05-21 00:11:38 +00:00
b := dAtA[iNdEx]
2017-04-01 14:42:02 +00:00
iNdEx++
wire |= (uint64(b) & 0x7F) << shift
if b < 0x80 {
break
}
}
fieldNum := int32(wire >> 3)
wireType := int(wire & 0x7)
if wireType == 4 {
return fmt.Errorf("proto: ScaleStatus: wiretype end group for non-group")
}
if fieldNum <= 0 {
return fmt.Errorf("proto: ScaleStatus: illegal tag %d (wire type %d)", fieldNum, wire)
}
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
}
2017-05-21 00:11:38 +00:00
b := dAtA[iNdEx]
2017-04-01 14:42:02 +00:00
iNdEx++
m.Replicas |= (int32(b) & 0x7F) << shift
if b < 0x80 {
break
}
}
case 2:
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
}
2017-05-21 00:11:38 +00:00
b := dAtA[iNdEx]
2017-04-01 14:42:02 +00:00
iNdEx++
msglen |= (int(b) & 0x7F) << shift
if b < 0x80 {
break
}
}
if msglen < 0 {
return ErrInvalidLengthGenerated
}
postIndex := iNdEx + msglen
if postIndex > l {
return io.ErrUnexpectedEOF
}
var keykey uint64
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowGenerated
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
2017-05-21 00:11:38 +00:00
b := dAtA[iNdEx]
2017-04-01 14:42:02 +00:00
iNdEx++
keykey |= (uint64(b) & 0x7F) << shift
if b < 0x80 {
break
}
}
var stringLenmapkey uint64
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowGenerated
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
2017-05-21 00:11:38 +00:00
b := dAtA[iNdEx]
2017-04-01 14:42:02 +00:00
iNdEx++
stringLenmapkey |= (uint64(b) & 0x7F) << shift
if b < 0x80 {
break
}
}
intStringLenmapkey := int(stringLenmapkey)
if intStringLenmapkey < 0 {
return ErrInvalidLengthGenerated
}
postStringIndexmapkey := iNdEx + intStringLenmapkey
if postStringIndexmapkey > l {
return io.ErrUnexpectedEOF
}
2017-05-21 00:11:38 +00:00
mapkey := string(dAtA[iNdEx:postStringIndexmapkey])
2017-04-01 14:42:02 +00:00
iNdEx = postStringIndexmapkey
2017-05-21 00:11:38 +00:00
if m.Selector == nil {
m.Selector = make(map[string]string)
}
if iNdEx < postIndex {
var valuekey uint64
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowGenerated
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
iNdEx++
valuekey |= (uint64(b) & 0x7F) << shift
if b < 0x80 {
break
}
2017-04-01 14:42:02 +00:00
}
2017-05-21 00:11:38 +00:00
var stringLenmapvalue uint64
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowGenerated
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
iNdEx++
stringLenmapvalue |= (uint64(b) & 0x7F) << shift
if b < 0x80 {
break
}
2017-04-01 14:42:02 +00:00
}
2017-05-21 00:11:38 +00:00
intStringLenmapvalue := int(stringLenmapvalue)
if intStringLenmapvalue < 0 {
return ErrInvalidLengthGenerated
2017-04-01 14:42:02 +00:00
}
2017-05-21 00:11:38 +00:00
postStringIndexmapvalue := iNdEx + intStringLenmapvalue
if postStringIndexmapvalue > l {
2017-04-01 14:42:02 +00:00
return io.ErrUnexpectedEOF
}
2017-05-21 00:11:38 +00:00
mapvalue := string(dAtA[iNdEx:postStringIndexmapvalue])
iNdEx = postStringIndexmapvalue
m.Selector[mapkey] = mapvalue
} else {
var mapvalue string
m.Selector[mapkey] = mapvalue
2017-04-01 14:42:02 +00:00
}
iNdEx = postIndex
case 3:
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field TargetSelector", wireType)
}
var stringLen uint64
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowGenerated
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
2017-05-21 00:11:38 +00:00
b := dAtA[iNdEx]
2017-04-01 14:42:02 +00:00
iNdEx++
stringLen |= (uint64(b) & 0x7F) << shift
if b < 0x80 {
break
}
}
intStringLen := int(stringLen)
if intStringLen < 0 {
return ErrInvalidLengthGenerated
}
postIndex := iNdEx + intStringLen
if postIndex > l {
return io.ErrUnexpectedEOF
}
2017-05-21 00:11:38 +00:00
m.TargetSelector = string(dAtA[iNdEx:postIndex])
2017-04-01 14:42:02 +00:00
iNdEx = postIndex
default:
iNdEx = preIndex
2017-05-21 00:11:38 +00:00
skippy, err := skipGenerated(dAtA[iNdEx:])
2017-04-01 14:42:02 +00:00
if err != nil {
return err
}
if skippy < 0 {
return ErrInvalidLengthGenerated
}
if (iNdEx + skippy) > l {
return io.ErrUnexpectedEOF
}
iNdEx += skippy
}
}
if iNdEx > l {
return io.ErrUnexpectedEOF
}
return nil
}
2017-05-21 00:11:38 +00:00
func (m *SupplementalGroupsStrategyOptions) Unmarshal(dAtA []byte) error {
l := len(dAtA)
2017-04-01 14:42:02 +00:00
iNdEx := 0
for iNdEx < l {
preIndex := iNdEx
var wire uint64
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowGenerated
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
2017-05-21 00:11:38 +00:00
b := dAtA[iNdEx]
2017-04-01 14:42:02 +00:00
iNdEx++
wire |= (uint64(b) & 0x7F) << shift
if b < 0x80 {
break
}
}
fieldNum := int32(wire >> 3)
wireType := int(wire & 0x7)
if wireType == 4 {
return fmt.Errorf("proto: SupplementalGroupsStrategyOptions: wiretype end group for non-group")
}
if fieldNum <= 0 {
return fmt.Errorf("proto: SupplementalGroupsStrategyOptions: 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
}
2017-05-21 00:11:38 +00:00
b := dAtA[iNdEx]
2017-04-01 14:42:02 +00:00
iNdEx++
stringLen |= (uint64(b) & 0x7F) << shift
if b < 0x80 {
break
}
}
intStringLen := int(stringLen)
if intStringLen < 0 {
return ErrInvalidLengthGenerated
}
postIndex := iNdEx + intStringLen
if postIndex > l {
return io.ErrUnexpectedEOF
}
2017-05-21 00:11:38 +00:00
m.Rule = SupplementalGroupsStrategyType(dAtA[iNdEx:postIndex])
2017-04-01 14:42:02 +00:00
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
}
2017-05-21 00:11:38 +00:00
b := dAtA[iNdEx]
2017-04-01 14:42:02 +00:00
iNdEx++
msglen |= (int(b) & 0x7F) << shift
if b < 0x80 {
break
}
}
if msglen < 0 {
return ErrInvalidLengthGenerated
}
postIndex := iNdEx + msglen
if postIndex > l {
return io.ErrUnexpectedEOF
}
m.Ranges = append(m.Ranges, IDRange{})
2017-05-21 00:11:38 +00:00
if err := m.Ranges[len(m.Ranges)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
2017-04-01 14:42:02 +00:00
return err
}
iNdEx = postIndex
default:
iNdEx = preIndex
2017-05-21 00:11:38 +00:00
skippy, err := skipGenerated(dAtA[iNdEx:])
2017-04-01 14:42:02 +00:00
if err != nil {
return err
}
if skippy < 0 {
return ErrInvalidLengthGenerated
}
if (iNdEx + skippy) > l {
return io.ErrUnexpectedEOF
}
iNdEx += skippy
}
}
if iNdEx > l {
return io.ErrUnexpectedEOF
}
return nil
}
2017-05-21 00:11:38 +00:00
func (m *ThirdPartyResource) Unmarshal(dAtA []byte) error {
l := len(dAtA)
2017-04-01 14:42:02 +00:00
iNdEx := 0
for iNdEx < l {
preIndex := iNdEx
var wire uint64
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowGenerated
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
2017-05-21 00:11:38 +00:00
b := dAtA[iNdEx]
2017-04-01 14:42:02 +00:00
iNdEx++
wire |= (uint64(b) & 0x7F) << shift
if b < 0x80 {
break
}
}
fieldNum := int32(wire >> 3)
wireType := int(wire & 0x7)
if wireType == 4 {
return fmt.Errorf("proto: ThirdPartyResource: wiretype end group for non-group")
}
if fieldNum <= 0 {
return fmt.Errorf("proto: ThirdPartyResource: 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
}
2017-05-21 00:11:38 +00:00
b := dAtA[iNdEx]
2017-04-01 14:42:02 +00:00
iNdEx++
msglen |= (int(b) & 0x7F) << shift
if b < 0x80 {
break
}
}
if msglen < 0 {
return ErrInvalidLengthGenerated
}
postIndex := iNdEx + msglen
if postIndex > l {
return io.ErrUnexpectedEOF
}
2017-05-21 00:11:38 +00:00
if err := m.ObjectMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
2017-04-01 14:42:02 +00:00
return err
}
iNdEx = postIndex
case 2:
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field Description", wireType)
}
var stringLen uint64
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowGenerated
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
2017-05-21 00:11:38 +00:00
b := dAtA[iNdEx]
2017-04-01 14:42:02 +00:00
iNdEx++
stringLen |= (uint64(b) & 0x7F) << shift
if b < 0x80 {
break
}
}
intStringLen := int(stringLen)
if intStringLen < 0 {
return ErrInvalidLengthGenerated
}
postIndex := iNdEx + intStringLen
if postIndex > l {
return io.ErrUnexpectedEOF
}
2017-05-21 00:11:38 +00:00
m.Description = string(dAtA[iNdEx:postIndex])
2017-04-01 14:42:02 +00:00
iNdEx = postIndex
case 3:
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field Versions", wireType)
}
var msglen int
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowGenerated
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
2017-05-21 00:11:38 +00:00
b := dAtA[iNdEx]
2017-04-01 14:42:02 +00:00
iNdEx++
msglen |= (int(b) & 0x7F) << shift
if b < 0x80 {
break
}
}
if msglen < 0 {
return ErrInvalidLengthGenerated
}
postIndex := iNdEx + msglen
if postIndex > l {
return io.ErrUnexpectedEOF
}
m.Versions = append(m.Versions, APIVersion{})
2017-05-21 00:11:38 +00:00
if err := m.Versions[len(m.Versions)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
2017-04-01 14:42:02 +00:00
return err
}
iNdEx = postIndex
default:
iNdEx = preIndex
2017-05-21 00:11:38 +00:00
skippy, err := skipGenerated(dAtA[iNdEx:])
2017-04-01 14:42:02 +00:00
if err != nil {
return err
}
if skippy < 0 {
return ErrInvalidLengthGenerated
}
if (iNdEx + skippy) > l {
return io.ErrUnexpectedEOF
}
iNdEx += skippy
}
}
if iNdEx > l {
return io.ErrUnexpectedEOF
}
return nil
}
2017-05-21 00:11:38 +00:00
func (m *ThirdPartyResourceData) Unmarshal(dAtA []byte) error {
l := len(dAtA)
2017-04-01 14:42:02 +00:00
iNdEx := 0
for iNdEx < l {
preIndex := iNdEx
var wire uint64
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowGenerated
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
2017-05-21 00:11:38 +00:00
b := dAtA[iNdEx]
2017-04-01 14:42:02 +00:00
iNdEx++
wire |= (uint64(b) & 0x7F) << shift
if b < 0x80 {
break
}
}
fieldNum := int32(wire >> 3)
wireType := int(wire & 0x7)
if wireType == 4 {
return fmt.Errorf("proto: ThirdPartyResourceData: wiretype end group for non-group")
}
if fieldNum <= 0 {
return fmt.Errorf("proto: ThirdPartyResourceData: 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
}
2017-05-21 00:11:38 +00:00
b := dAtA[iNdEx]
2017-04-01 14:42:02 +00:00
iNdEx++
msglen |= (int(b) & 0x7F) << shift
if b < 0x80 {
break
}
}
if msglen < 0 {
return ErrInvalidLengthGenerated
}
postIndex := iNdEx + msglen
if postIndex > l {
return io.ErrUnexpectedEOF
}
2017-05-21 00:11:38 +00:00
if err := m.ObjectMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
2017-04-01 14:42:02 +00:00
return err
}
iNdEx = postIndex
case 2:
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field Data", wireType)
}
var byteLen int
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowGenerated
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
2017-05-21 00:11:38 +00:00
b := dAtA[iNdEx]
2017-04-01 14:42:02 +00:00
iNdEx++
byteLen |= (int(b) & 0x7F) << shift
if b < 0x80 {
break
}
}
if byteLen < 0 {
return ErrInvalidLengthGenerated
}
postIndex := iNdEx + byteLen
if postIndex > l {
return io.ErrUnexpectedEOF
}
2017-05-21 00:11:38 +00:00
m.Data = append(m.Data[:0], dAtA[iNdEx:postIndex]...)
2017-04-01 14:42:02 +00:00
if m.Data == nil {
m.Data = []byte{}
}
iNdEx = postIndex
default:
iNdEx = preIndex
2017-05-21 00:11:38 +00:00
skippy, err := skipGenerated(dAtA[iNdEx:])
2017-04-01 14:42:02 +00:00
if err != nil {
return err
}
if skippy < 0 {
return ErrInvalidLengthGenerated
}
if (iNdEx + skippy) > l {
return io.ErrUnexpectedEOF
}
iNdEx += skippy
}
}
if iNdEx > l {
return io.ErrUnexpectedEOF
}
return nil
}
2017-05-21 00:11:38 +00:00
func (m *ThirdPartyResourceDataList) Unmarshal(dAtA []byte) error {
l := len(dAtA)
2017-04-01 14:42:02 +00:00
iNdEx := 0
for iNdEx < l {
preIndex := iNdEx
var wire uint64
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowGenerated
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
2017-05-21 00:11:38 +00:00
b := dAtA[iNdEx]
2017-04-01 14:42:02 +00:00
iNdEx++
wire |= (uint64(b) & 0x7F) << shift
if b < 0x80 {
break
}
}
fieldNum := int32(wire >> 3)
wireType := int(wire & 0x7)
if wireType == 4 {
return fmt.Errorf("proto: ThirdPartyResourceDataList: wiretype end group for non-group")
}
if fieldNum <= 0 {
return fmt.Errorf("proto: ThirdPartyResourceDataList: illegal tag %d (wire type %d)", fieldNum, wire)
}
switch fieldNum {
case 1:
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field ListMeta", wireType)
}
var msglen int
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowGenerated
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
2017-05-21 00:11:38 +00:00
b := dAtA[iNdEx]
2017-04-01 14:42:02 +00:00
iNdEx++
msglen |= (int(b) & 0x7F) << shift
if b < 0x80 {
break
}
}
if msglen < 0 {
return ErrInvalidLengthGenerated
}
postIndex := iNdEx + msglen
if postIndex > l {
return io.ErrUnexpectedEOF
}
2017-05-21 00:11:38 +00:00
if err := m.ListMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
2017-04-01 14:42:02 +00:00
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
}
2017-05-21 00:11:38 +00:00
b := dAtA[iNdEx]
2017-04-01 14:42:02 +00:00
iNdEx++
msglen |= (int(b) & 0x7F) << shift
if b < 0x80 {
break
}
}
if msglen < 0 {
return ErrInvalidLengthGenerated
}
postIndex := iNdEx + msglen
if postIndex > l {
return io.ErrUnexpectedEOF
}
m.Items = append(m.Items, ThirdPartyResourceData{})
2017-05-21 00:11:38 +00:00
if err := m.Items[len(m.Items)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
2017-04-01 14:42:02 +00:00
return err
}
iNdEx = postIndex
default:
iNdEx = preIndex
2017-05-21 00:11:38 +00:00
skippy, err := skipGenerated(dAtA[iNdEx:])
2017-04-01 14:42:02 +00:00
if err != nil {
return err
}
if skippy < 0 {
return ErrInvalidLengthGenerated
}
if (iNdEx + skippy) > l {
return io.ErrUnexpectedEOF
}
iNdEx += skippy
}
}
if iNdEx > l {
return io.ErrUnexpectedEOF
}
return nil
}
2017-05-21 00:11:38 +00:00
func (m *ThirdPartyResourceList) Unmarshal(dAtA []byte) error {
l := len(dAtA)
2017-04-01 14:42:02 +00:00
iNdEx := 0
for iNdEx < l {
preIndex := iNdEx
var wire uint64
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowGenerated
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
2017-05-21 00:11:38 +00:00
b := dAtA[iNdEx]
2017-04-01 14:42:02 +00:00
iNdEx++
wire |= (uint64(b) & 0x7F) << shift
if b < 0x80 {
break
}
}
fieldNum := int32(wire >> 3)
wireType := int(wire & 0x7)
if wireType == 4 {
return fmt.Errorf("proto: ThirdPartyResourceList: wiretype end group for non-group")
}
if fieldNum <= 0 {
return fmt.Errorf("proto: ThirdPartyResourceList: illegal tag %d (wire type %d)", fieldNum, wire)
}
switch fieldNum {
case 1:
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field ListMeta", wireType)
}
var msglen int
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowGenerated
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
2017-05-21 00:11:38 +00:00
b := dAtA[iNdEx]
2017-04-01 14:42:02 +00:00
iNdEx++
msglen |= (int(b) & 0x7F) << shift
if b < 0x80 {
break
}
}
if msglen < 0 {
return ErrInvalidLengthGenerated
}
postIndex := iNdEx + msglen
if postIndex > l {
return io.ErrUnexpectedEOF
}
2017-05-21 00:11:38 +00:00
if err := m.ListMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
2017-04-01 14:42:02 +00:00
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
}
2017-05-21 00:11:38 +00:00
b := dAtA[iNdEx]
2017-04-01 14:42:02 +00:00
iNdEx++
msglen |= (int(b) & 0x7F) << shift
if b < 0x80 {
break
}
}
if msglen < 0 {
return ErrInvalidLengthGenerated
}
postIndex := iNdEx + msglen
if postIndex > l {
return io.ErrUnexpectedEOF
}
m.Items = append(m.Items, ThirdPartyResource{})
2017-05-21 00:11:38 +00:00
if err := m.Items[len(m.Items)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
2017-04-01 14:42:02 +00:00
return err
}
iNdEx = postIndex
default:
iNdEx = preIndex
2017-05-21 00:11:38 +00:00
skippy, err := skipGenerated(dAtA[iNdEx:])
2017-04-01 14:42:02 +00:00
if err != nil {
return err
}
if skippy < 0 {
return ErrInvalidLengthGenerated
}
if (iNdEx + skippy) > l {
return io.ErrUnexpectedEOF
}
iNdEx += skippy
}
}
if iNdEx > l {
return io.ErrUnexpectedEOF
}
return nil
}
2017-05-21 00:11:38 +00:00
func skipGenerated(dAtA []byte) (n int, err error) {
l := len(dAtA)
2017-04-01 14:42:02 +00:00
iNdEx := 0
for iNdEx < l {
var wire uint64
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return 0, ErrIntOverflowGenerated
}
if iNdEx >= l {
return 0, io.ErrUnexpectedEOF
}
2017-05-21 00:11:38 +00:00
b := dAtA[iNdEx]
2017-04-01 14:42:02 +00:00
iNdEx++
wire |= (uint64(b) & 0x7F) << shift
if b < 0x80 {
break
}
}
wireType := int(wire & 0x7)
switch wireType {
case 0:
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return 0, ErrIntOverflowGenerated
}
if iNdEx >= l {
return 0, io.ErrUnexpectedEOF
}
iNdEx++
2017-05-21 00:11:38 +00:00
if dAtA[iNdEx-1] < 0x80 {
2017-04-01 14:42:02 +00:00
break
}
}
return iNdEx, nil
case 1:
iNdEx += 8
return iNdEx, nil
case 2:
var length int
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return 0, ErrIntOverflowGenerated
}
if iNdEx >= l {
return 0, io.ErrUnexpectedEOF
}
2017-05-21 00:11:38 +00:00
b := dAtA[iNdEx]
2017-04-01 14:42:02 +00:00
iNdEx++
length |= (int(b) & 0x7F) << shift
if b < 0x80 {
break
}
}
iNdEx += length
if length < 0 {
return 0, ErrInvalidLengthGenerated
}
return iNdEx, nil
case 3:
for {
var innerWire uint64
var start int = iNdEx
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return 0, ErrIntOverflowGenerated
}
if iNdEx >= l {
return 0, io.ErrUnexpectedEOF
}
2017-05-21 00:11:38 +00:00
b := dAtA[iNdEx]
2017-04-01 14:42:02 +00:00
iNdEx++
innerWire |= (uint64(b) & 0x7F) << shift
if b < 0x80 {
break
}
}
innerWireType := int(innerWire & 0x7)
if innerWireType == 4 {
break
}
2017-05-21 00:11:38 +00:00
next, err := skipGenerated(dAtA[start:])
2017-04-01 14:42:02 +00:00
if err != nil {
return 0, err
}
iNdEx = start + next
}
return iNdEx, nil
case 4:
return iNdEx, nil
case 5:
iNdEx += 4
return iNdEx, nil
default:
return 0, fmt.Errorf("proto: illegal wireType %d", wireType)
}
}
panic("unreachable")
}
var (
ErrInvalidLengthGenerated = fmt.Errorf("proto: negative length found during unmarshaling")
ErrIntOverflowGenerated = fmt.Errorf("proto: integer overflow")
)
2017-05-21 00:11:38 +00:00
func init() {
proto.RegisterFile("k8s.io/client-go/pkg/apis/extensions/v1beta1/generated.proto", fileDescriptorGenerated)
}
2017-04-01 14:42:02 +00:00
var fileDescriptorGenerated = []byte{
// 3369 bytes of a gzipped FileDescriptorProto
2017-05-21 00:11:38 +00:00
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe4, 0x5b, 0xdb, 0x6f, 0x1b, 0xc7,
2017-04-01 14:42:02 +00:00
0xd5, 0xf7, 0x8a, 0xa4, 0x45, 0x1d, 0x59, 0x92, 0x35, 0x72, 0x64, 0x46, 0x49, 0x44, 0x67, 0x3f,
0x7c, 0x89, 0xf3, 0x7d, 0x09, 0xf5, 0xc5, 0xf9, 0x9c, 0x26, 0x4e, 0xe2, 0x44, 0x94, 0x7c, 0x51,
0x21, 0xc9, 0xcc, 0x90, 0x32, 0x1a, 0xe7, 0xd6, 0x15, 0x39, 0xa2, 0xd6, 0xde, 0x5b, 0x76, 0x67,
0x15, 0x11, 0x41, 0xdb, 0x00, 0x45, 0xf3, 0x58, 0xb4, 0x2f, 0x45, 0x0a, 0xa4, 0x8f, 0x7d, 0xe8,
0x4b, 0x9b, 0x3c, 0xb4, 0x69, 0xff, 0x82, 0xfa, 0xa1, 0x28, 0x52, 0xa0, 0x05, 0x8a, 0x22, 0x15,
0x6a, 0x05, 0xcd, 0x3f, 0xd0, 0xe6, 0xc5, 0x4f, 0xc5, 0xcc, 0xce, 0xde, 0x77, 0x65, 0x93, 0xb2,
0x89, 0x02, 0x7d, 0xe3, 0xce, 0x9c, 0xf3, 0x3b, 0x97, 0x39, 0x73, 0xe6, 0xcc, 0x85, 0xf0, 0xd2,
0x8d, 0xe7, 0x9c, 0x9a, 0x6a, 0x2e, 0xdc, 0x70, 0x37, 0x89, 0x6d, 0x10, 0x4a, 0x9c, 0x05, 0xeb,
0x46, 0x77, 0x41, 0xb1, 0x54, 0x67, 0x81, 0xec, 0x52, 0x62, 0x38, 0xaa, 0x69, 0x38, 0x0b, 0x3b,
0x4f, 0x6f, 0x12, 0xaa, 0x3c, 0xbd, 0xd0, 0x25, 0x06, 0xb1, 0x15, 0x4a, 0x3a, 0x35, 0xcb, 0x36,
0xa9, 0x89, 0x9e, 0xf2, 0xd8, 0x6b, 0x21, 0x7b, 0xcd, 0xba, 0xd1, 0xad, 0x31, 0xf6, 0x5a, 0xc8,
0x5e, 0x13, 0xec, 0x73, 0x4f, 0x75, 0x55, 0xba, 0xed, 0x6e, 0xd6, 0xda, 0xa6, 0xbe, 0xd0, 0x35,
0xbb, 0xe6, 0x02, 0x47, 0xd9, 0x74, 0xb7, 0xf8, 0x17, 0xff, 0xe0, 0xbf, 0x3c, 0xf4, 0xb9, 0xff,
0x17, 0xca, 0x29, 0x96, 0xaa, 0x2b, 0xed, 0x6d, 0xd5, 0x20, 0x76, 0xcf, 0x57, 0x6f, 0xc1, 0x26,
0x8e, 0xe9, 0xda, 0x6d, 0x92, 0xd4, 0xe9, 0x40, 0x2e, 0x67, 0x41, 0x27, 0x54, 0x59, 0xd8, 0x49,
0x59, 0x32, 0xb7, 0x90, 0xc7, 0x65, 0xbb, 0x06, 0x55, 0xf5, 0xb4, 0x98, 0x67, 0xef, 0xc4, 0xe0,
0xb4, 0xb7, 0x89, 0xae, 0xa4, 0xf8, 0x9e, 0xc9, 0xe3, 0x73, 0xa9, 0xaa, 0x2d, 0xa8, 0x06, 0x75,
0xa8, 0x7d, 0x90, 0x4d, 0x0e, 0xb1, 0x77, 0x88, 0x1d, 0x1d, 0x25, 0x45, 0xb7, 0x34, 0x92, 0x65,
0xd3, 0x93, 0xb9, 0x83, 0x9b, 0x41, 0x2d, 0xd7, 0x00, 0x16, 0x1b, 0x2b, 0x57, 0x89, 0xcd, 0xc6,
0x0c, 0x9d, 0x82, 0xa2, 0xa1, 0xe8, 0xa4, 0x22, 0x9d, 0x92, 0x4e, 0x8f, 0xd5, 0x8f, 0xdd, 0xdc,
0xab, 0x1e, 0xd9, 0xdf, 0xab, 0x16, 0xd7, 0x15, 0x9d, 0x60, 0xde, 0x23, 0xff, 0x58, 0x82, 0x07,
0x97, 0x5c, 0x87, 0x9a, 0xfa, 0x1a, 0xa1, 0xb6, 0xda, 0x5e, 0x72, 0x6d, 0x9b, 0x18, 0xb4, 0x49,
0x15, 0xea, 0x3a, 0x77, 0xe6, 0x47, 0xd7, 0xa0, 0xb4, 0xa3, 0x68, 0x2e, 0xa9, 0x8c, 0x9c, 0x92,
0x4e, 0x8f, 0x9f, 0xa9, 0xd5, 0x44, 0x2c, 0x45, 0x1d, 0xe3, 0x47, 0x53, 0xcd, 0x1f, 0xed, 0xda,
0xab, 0xae, 0x62, 0x50, 0x95, 0xf6, 0xea, 0x27, 0x04, 0xe4, 0x31, 0x21, 0xf7, 0x2a, 0xc3, 0xc2,
0x1e, 0xa4, 0xfc, 0x7d, 0x09, 0x1e, 0xc9, 0xd5, 0x6d, 0x55, 0x75, 0x28, 0xd2, 0xa1, 0xa4, 0x52,
0xa2, 0x3b, 0x15, 0xe9, 0x54, 0xe1, 0xf4, 0xf8, 0x99, 0xcb, 0xb5, 0xbe, 0x22, 0xb9, 0x96, 0x0b,
0x5e, 0x9f, 0x10, 0x7a, 0x95, 0x56, 0x18, 0x3c, 0xf6, 0xa4, 0xc8, 0x3f, 0x94, 0x00, 0x45, 0x79,
0x5a, 0x8a, 0xdd, 0x25, 0xf4, 0x2e, 0xbc, 0xf4, 0xda, 0xe1, 0xbc, 0x34, 0x23, 0x20, 0xc7, 0x3d,
0x81, 0x31, 0x27, 0xbd, 0x2f, 0xc1, 0x6c, 0x5a, 0x27, 0xee, 0x9d, 0xad, 0xb8, 0x77, 0x16, 0x0f,
0xe1, 0x1d, 0x0f, 0x35, 0xc7, 0x2d, 0xbf, 0x1c, 0x81, 0xb1, 0x65, 0x85, 0xe8, 0xa6, 0xd1, 0x24,
0x14, 0x7d, 0x13, 0xca, 0x6c, 0x7a, 0x76, 0x14, 0xaa, 0x70, 0x8f, 0x8c, 0x9f, 0xf9, 0xbf, 0x83,
0xcc, 0x75, 0x6a, 0x8c, 0xba, 0xb6, 0xf3, 0x74, 0xed, 0xca, 0xe6, 0x75, 0xd2, 0xa6, 0x6b, 0x84,
0x2a, 0x75, 0x24, 0xe4, 0x40, 0xd8, 0x86, 0x03, 0x54, 0xf4, 0x16, 0x14, 0x1d, 0x8b, 0xb4, 0x85,
0x33, 0x5f, 0xec, 0xd3, 0xac, 0x40, 0xd3, 0xa6, 0x45, 0xda, 0xe1, 0x68, 0xb1, 0x2f, 0xcc, 0x71,
0xd1, 0x16, 0x1c, 0x75, 0x78, 0x18, 0x54, 0x0a, 0x5c, 0xc2, 0xf9, 0x81, 0x25, 0x78, 0xc1, 0x34,
0x29, 0x64, 0x1c, 0xf5, 0xbe, 0xb1, 0x40, 0x97, 0x7f, 0x27, 0xc1, 0x44, 0x40, 0xcb, 0x47, 0xec,
0x8d, 0x94, 0xef, 0x6a, 0x77, 0xe7, 0x3b, 0xc6, 0xcd, 0x3d, 0x77, 0x5c, 0xc8, 0x2a, 0xfb, 0x2d,
0x11, 0xbf, 0xbd, 0xe9, 0xc7, 0xc3, 0x08, 0x8f, 0x87, 0xe7, 0x06, 0x35, 0x2b, 0x27, 0x0c, 0xbe,
0x28, 0x44, 0xcc, 0x61, 0xee, 0x44, 0x6f, 0x42, 0xd9, 0x21, 0x1a, 0x69, 0x53, 0xd3, 0x16, 0xe6,
0x3c, 0x73, 0x97, 0xe6, 0x28, 0x9b, 0x44, 0x6b, 0x0a, 0xd6, 0xfa, 0x31, 0x66, 0x8f, 0xff, 0x85,
0x03, 0x48, 0xf4, 0x3a, 0x94, 0x29, 0xd1, 0x2d, 0x4d, 0xa1, 0xfe, 0xc4, 0x7a, 0x2a, 0xdf, 0x24,
0x06, 0xdb, 0x30, 0x3b, 0x2d, 0xc1, 0xc0, 0x07, 0x3f, 0x70, 0x96, 0xdf, 0x8a, 0x03, 0x40, 0xf4,
0x81, 0x04, 0x93, 0xae, 0xd5, 0x61, 0xa4, 0x94, 0x25, 0xd8, 0x6e, 0x4f, 0x44, 0xc3, 0xc5, 0x41,
0xdd, 0xb6, 0x11, 0x43, 0xab, 0xcf, 0x0a, 0xe1, 0x93, 0xf1, 0x76, 0x9c, 0x90, 0x8a, 0x16, 0x61,
0x4a, 0x57, 0x0d, 0x4c, 0x94, 0x4e, 0xaf, 0x49, 0xda, 0xa6, 0xd1, 0x71, 0x2a, 0xc5, 0x53, 0xd2,
0xe9, 0x52, 0xfd, 0xa4, 0x00, 0x98, 0x5a, 0x8b, 0x77, 0xe3, 0x24, 0x3d, 0xfa, 0x3a, 0x20, 0xdf,
0xae, 0x4b, 0xde, 0x7a, 0xa1, 0x9a, 0x46, 0xa5, 0x74, 0x4a, 0x3a, 0x5d, 0xa8, 0xcf, 0x09, 0x14,
0xd4, 0x4a, 0x51, 0xe0, 0x0c, 0x2e, 0xf9, 0x9f, 0x45, 0x98, 0x4a, 0x04, 0x38, 0xba, 0x0a, 0xb3,
0x6d, 0x2f, 0x7d, 0xae, 0xbb, 0xfa, 0x26, 0xb1, 0x9b, 0xed, 0x6d, 0xd2, 0x71, 0x35, 0xd2, 0xe1,
0xa3, 0x5e, 0xaa, 0xcf, 0x0b, 0x19, 0xb3, 0x4b, 0x99, 0x54, 0x38, 0x87, 0x9b, 0xe9, 0x6d, 0xf0,
0xa6, 0x35, 0xd5, 0x71, 0x02, 0xcc, 0x11, 0x8e, 0x19, 0xe8, 0xbd, 0x9e, 0xa2, 0xc0, 0x19, 0x5c,
0x4c, 0xc7, 0x0e, 0x71, 0x54, 0x9b, 0x74, 0x92, 0x3a, 0x16, 0xe2, 0x3a, 0x2e, 0x67, 0x52, 0xe1,
0x1c, 0x6e, 0x74, 0x16, 0xc6, 0x3d, 0x69, 0xdc, 0xe3, 0x62, 0x68, 0x82, 0x84, 0xbd, 0x1e, 0x76,
0xe1, 0x28, 0x1d, 0x33, 0xcd, 0xdc, 0xe4, 0x55, 0x40, 0x27, 0x7f, 0x48, 0xae, 0xa4, 0x28, 0x70,
0x06, 0x17, 0x33, 0xcd, 0x8b, 0x99, 0x94, 0x69, 0x47, 0xe3, 0xa6, 0x6d, 0x64, 0x52, 0xe1, 0x1c,
0x6e, 0x16, 0x79, 0x9e, 0xca, 0x8b, 0x3b, 0x8a, 0xaa, 0x29, 0x9b, 0x1a, 0xa9, 0x8c, 0xc6, 0x23,
0x6f, 0x3d, 0xde, 0x8d, 0x93, 0xf4, 0xe8, 0x12, 0x4c, 0x7b, 0x4d, 0x1b, 0x86, 0x12, 0x80, 0x94,
0x39, 0xc8, 0x83, 0x02, 0x64, 0x7a, 0x3d, 0x49, 0x80, 0xd3, 0x3c, 0xf2, 0x5f, 0x24, 0x38, 0x99,
0x33, 0x93, 0xd0, 0xcb, 0x50, 0xa4, 0x3d, 0xcb, 0x5f, 0x7f, 0xff, 0xd7, 0xcf, 0xe8, 0xad, 0x9e,
0x45, 0x6e, 0xef, 0x55, 0x1f, 0xca, 0x61, 0x63, 0xdd, 0x98, 0x33, 0xa2, 0x6f, 0xc3, 0x84, 0x6d,
0x6a, 0x9a, 0x6a, 0x74, 0x3d, 0x12, 0x91, 0x4d, 0x2e, 0xf4, 0x39, 0xd3, 0x71, 0x14, 0x23, 0xcc,
0x96, 0xd3, 0xfb, 0x7b, 0xd5, 0x89, 0x58, 0x1f, 0x8e, 0x8b, 0x93, 0x7f, 0x3d, 0x02, 0xb0, 0x4c,
0x2c, 0xcd, 0xec, 0xe9, 0xc4, 0x18, 0xc6, 0x0a, 0xfa, 0x76, 0x6c, 0x05, 0x7d, 0xa9, 0xdf, 0x8c,
0x16, 0xa8, 0x9a, 0xbb, 0x84, 0x76, 0x13, 0x4b, 0xe8, 0xcb, 0x83, 0x8b, 0x38, 0x78, 0x0d, 0xbd,
0x55, 0x80, 0x99, 0x90, 0x78, 0xc9, 0x34, 0x3a, 0x2a, 0x9f, 0x13, 0x2f, 0xc4, 0x62, 0xe2, 0xf1,
0x44, 0x4c, 0x9c, 0xcc, 0x60, 0x89, 0xc4, 0xc3, 0xd5, 0x40, 0xfb, 0x11, 0xce, 0x7e, 0x3e, 0x2e,
0xfc, 0xf6, 0x5e, 0xf5, 0xc0, 0xa2, 0xbc, 0x16, 0x60, 0xc6, 0x95, 0x45, 0x8f, 0xc1, 0x51, 0x9b,
0x28, 0x8e, 0x69, 0xf0, 0x34, 0x31, 0x16, 0x1a, 0x85, 0x79, 0x2b, 0x16, 0xbd, 0xe8, 0x09, 0x18,
0xd5, 0x89, 0xe3, 0x28, 0x5d, 0xc2, 0x33, 0xc2, 0x58, 0x7d, 0x4a, 0x10, 0x8e, 0xae, 0x79, 0xcd,
0xd8, 0xef, 0x47, 0xd7, 0x61, 0x52, 0x53, 0x1c, 0x11, 0xda, 0x2d, 0x55, 0x27, 0x7c, 0xce, 0x8f,
0x9f, 0xf9, 0x9f, 0xbb, 0x8b, 0x18, 0xc6, 0x11, 0xae, 0x44, 0xab, 0x31, 0x24, 0x9c, 0x40, 0x46,
0x3b, 0x80, 0x58, 0x4b, 0xcb, 0x56, 0x0c, 0xc7, 0x73, 0x19, 0x93, 0x37, 0xda, 0xb7, 0xbc, 0x20,
0xbf, 0xad, 0xa6, 0xd0, 0x70, 0x86, 0x04, 0xf9, 0xf7, 0x12, 0x4c, 0x86, 0x03, 0x36, 0x84, 0x42,
0xe9, 0xad, 0x78, 0xa1, 0xf4, 0xfc, 0xc0, 0xc1, 0x9b, 0x53, 0x29, 0x7d, 0x58, 0x00, 0x14, 0x12,
0xb1, 0xd4, 0xb0, 0xa9, 0xb4, 0x6f, 0xdc, 0xc5, 0x3e, 0xe2, 0xa7, 0x12, 0x20, 0x91, 0xac, 0x17,
0x0d, 0xc3, 0xa4, 0x3c, 0xff, 0xfb, 0x6a, 0xbe, 0x36, 0xb0, 0x9a, 0xbe, 0x06, 0xb5, 0x8d, 0x14,
0xf6, 0x05, 0x83, 0xda, 0xbd, 0x70, 0xc4, 0xd2, 0x04, 0x38, 0x43, 0x21, 0xf4, 0x0e, 0x80, 0x2d,
0x30, 0x5b, 0xa6, 0x48, 0x01, 0x2f, 0x0d, 0x90, 0x4d, 0x19, 0xc0, 0x92, 0x69, 0x6c, 0xa9, 0xdd,
0x30, 0xa1, 0xe1, 0x00, 0x18, 0x47, 0x84, 0xcc, 0x5d, 0x80, 0x93, 0x39, 0xda, 0xa3, 0xe3, 0x50,
0xb8, 0x41, 0x7a, 0x9e, 0x5b, 0x31, 0xfb, 0x89, 0x4e, 0x44, 0xf7, 0x63, 0x63, 0x62, 0x2b, 0x75,
0x6e, 0xe4, 0x39, 0x49, 0xfe, 0xb2, 0x14, 0x8d, 0x35, 0x5e, 0xc5, 0x9e, 0x86, 0xb2, 0x4d, 0x2c,
0x4d, 0x6d, 0x2b, 0x8e, 0xa8, 0x67, 0x78, 0x41, 0x8a, 0x45, 0x1b, 0x0e, 0x7a, 0x63, 0xf5, 0xee,
0xc8, 0xfd, 0xad, 0x77, 0x0b, 0xf7, 0xba, 0xde, 0x35, 0xa1, 0xec, 0xf8, 0x85, 0x6e, 0x91, 0x83,
0x2f, 0x1e, 0x22, 0x67, 0x8b, 0x1a, 0x37, 0x10, 0x18, 0x54, 0xb7, 0x81, 0x90, 0xac, 0xba, 0xb6,
0xd4, 0x67, 0x5d, 0xbb, 0x0a, 0x27, 0x6c, 0xb2, 0xa3, 0x32, 0x35, 0x2e, 0xab, 0x0e, 0x35, 0xed,
0xde, 0xaa, 0xaa, 0xab, 0x54, 0x94, 0x3d, 0x95, 0xfd, 0xbd, 0xea, 0x09, 0x9c, 0xd1, 0x8f, 0x33,
0xb9, 0x58, 0x76, 0xb6, 0x14, 0xd7, 0x21, 0x1d, 0x9e, 0xd2, 0xca, 0x61, 0x76, 0x6e, 0xf0, 0x56,
0x2c, 0x7a, 0x91, 0x1e, 0x0b, 0xee, 0xf2, 0xbd, 0x08, 0xee, 0xc9, 0xfc, 0xc0, 0x46, 0x1b, 0x70,
0xd2, 0xb2, 0xcd, 0xae, 0x4d, 0x1c, 0x67, 0x99, 0x28, 0x1d, 0x4d, 0x35, 0x88, 0xef, 0xaf, 0x31,
0x6e, 0xe7, 0x43, 0xfb, 0x7b, 0xd5, 0x93, 0x8d, 0x6c, 0x12, 0x9c, 0xc7, 0x2b, 0x7f, 0x54, 0x84,
0xe3, 0xc9, 0x55, 0x36, 0xa7, 0x2a, 0x95, 0x06, 0xaa, 0x4a, 0x9f, 0x8c, 0x4c, 0x1b, 0xaf, 0x64,
0x0f, 0xa2, 0x21, 0x63, 0xea, 0x2c, 0xc2, 0x94, 0xc8, 0x23, 0x7e, 0xa7, 0xa8, 0xcb, 0x83, 0x68,
0xd8, 0x88, 0x77, 0xe3, 0x24, 0x3d, 0xab, 0x35, 0xc3, 0x12, 0xd2, 0x07, 0x29, 0xc6, 0x6b, 0xcd,
0xc5, 0x24, 0x01, 0x4e, 0xf3, 0xa0, 0x35, 0x98, 0x71, 0x8d, 0x34, 0x94, 0x17, 0x9d, 0x0f, 0x09,
0xa8, 0x99, 0x8d, 0x34, 0x09, 0xce, 0xe2, 0x43, 0x3b, 0x00, 0x6d, 0xbf, 0x20, 0x70, 0x2a, 0x47,
0x79, 0xae, 0xae, 0x0f, 0x3c, 0xb7, 0x82, 0xda, 0x22, 0xcc, 0x88, 0x41, 0x93, 0x83, 0x23, 0x92,
0xd0, 0x0b, 0x30, 0x61, 0xf3, 0x8d, 0x87, 0x6f, 0x80, 0x57, 0xbc, 0x3f, 0x20, 0xd8, 0x26, 0x70,
0xb4, 0x13, 0xc7, 0x69, 0xe5, 0x3f, 0x48, 0xd1, 0x25, 0x2a, 0x28, 0xb5, 0xcf, 0xc5, 0xca, 0xaa,
0xc7, 0x12, 0x65, 0xd5, 0x6c, 0x9a, 0x23, 0x52, 0x55, 0x7d, 0x27, 0xbb, 0xca, 0xbe, 0x78, 0xa8,
0x2a, 0x3b, 0x5c, 0x6a, 0xef, 0x5c, 0x66, 0x7f, 0x22, 0xc1, 0xec, 0xc5, 0xe6, 0x25, 0xdb, 0x74,
0x2d, 0x5f, 0xbd, 0x2b, 0x96, 0xe7, 0xab, 0xaf, 0x41, 0xd1, 0x76, 0x35, 0xdf, 0xae, 0xff, 0xf2,
0xed, 0xc2, 0xae, 0xc6, 0xec, 0x9a, 0x49, 0x70, 0x79, 0x46, 0x31, 0x06, 0xf4, 0x16, 0x1c, 0xb5,
0x15, 0xa3, 0x4b, 0xfc, 0x45, 0xf8, 0xd9, 0x3e, 0xad, 0x59, 0x59, 0xc6, 0x8c, 0x3d, 0x52, 0x0a,
0x72, 0x34, 0x2c, 0x50, 0xe5, 0x9f, 0x48, 0x30, 0x75, 0xb9, 0xd5, 0x6a, 0xac, 0x18, 0x7c, 0x16,
0x37, 0x14, 0xba, 0xcd, 0xea, 0x04, 0x4b, 0xa1, 0xdb, 0xc9, 0x3a, 0x81, 0xf5, 0x61, 0xde, 0x83,
0xb6, 0x61, 0x94, 0x65, 0x0f, 0x62, 0x74, 0x06, 0x2c, 0xf1, 0x85, 0xb8, 0xba, 0x07, 0x12, 0xd6,
0x9f, 0xa2, 0x01, 0xfb, 0xf0, 0xf2, 0x7b, 0x70, 0x22, 0xa2, 0x1e, 0xf3, 0x17, 0x3f, 0x9d, 0x44,
0x6d, 0x28, 0x31, 0x4d, 0xfc, 0xb3, 0xc7, 0x7e, 0x8f, 0xd0, 0x12, 0x26, 0x87, 0x75, 0x14, 0xfb,
0x72, 0xb0, 0x87, 0x2d, 0xaf, 0xc1, 0xc4, 0x65, 0xd3, 0xa1, 0x0d, 0xd3, 0xa6, 0xdc, 0x6d, 0xe8,
0x11, 0x28, 0xe8, 0xaa, 0x21, 0x56, 0xe9, 0x71, 0xc1, 0x53, 0x60, 0xeb, 0x08, 0x6b, 0xe7, 0xdd,
0xca, 0xae, 0xc8, 0x46, 0x61, 0xb7, 0xb2, 0x8b, 0x59, 0xbb, 0x7c, 0x09, 0x46, 0xc5, 0x70, 0x44,
0x81, 0x0a, 0x07, 0x03, 0x15, 0x32, 0x80, 0x7e, 0x31, 0x02, 0xa3, 0x42, 0xfb, 0x21, 0x6c, 0xe6,
0xde, 0x88, 0x6d, 0xe6, 0xce, 0x0d, 0x36, 0xd2, 0xb9, 0x3b, 0xb9, 0x4e, 0x62, 0x27, 0xf7, 0xe2,
0x80, 0xf8, 0x07, 0x6f, 0xe3, 0x3e, 0x96, 0x60, 0x32, 0x1e, 0x73, 0xe8, 0x2c, 0x8c, 0xb3, 0x35,
0x45, 0x6d, 0x93, 0xf5, 0xb0, 0x28, 0x0e, 0x0e, 0x56, 0x9a, 0x61, 0x17, 0x8e, 0xd2, 0xa1, 0x6e,
0xc0, 0xc6, 0xc2, 0x42, 0x38, 0x25, 0xdf, 0xe5, 0x2e, 0x55, 0xb5, 0x9a, 0x77, 0x5f, 0x53, 0x5b,
0x31, 0xe8, 0x15, 0xbb, 0x49, 0x6d, 0xd5, 0xe8, 0xa6, 0x04, 0xf1, 0x18, 0x8b, 0x22, 0xcb, 0x37,
0x25, 0x18, 0x17, 0x2a, 0x0f, 0x61, 0x4b, 0xf2, 0x7a, 0x7c, 0x4b, 0xf2, 0xec, 0x80, 0xf3, 0x39,
0x7b, 0x3f, 0xf2, 0x69, 0x68, 0x0a, 0x9b, 0xc1, 0x2c, 0xc1, 0x6c, 0x9b, 0x0e, 0x4d, 0x26, 0x18,
0x36, 0xd7, 0x30, 0xef, 0x41, 0xdf, 0x93, 0xe0, 0xb8, 0x9a, 0x98, 0xf3, 0xc2, 0xd7, 0x2f, 0x0f,
0xa6, 0x5a, 0x00, 0x53, 0xaf, 0x08, 0x79, 0xc7, 0x93, 0x3d, 0x38, 0x25, 0x52, 0x76, 0x21, 0x45,
0x85, 0x14, 0x28, 0x6e, 0x53, 0x6a, 0x89, 0x41, 0x58, 0x1a, 0x3c, 0xf3, 0x84, 0x2a, 0x95, 0xb9,
0xf9, 0xad, 0x56, 0x03, 0x73, 0x68, 0xf9, 0xe7, 0x23, 0x81, 0xc3, 0x9a, 0xde, 0x24, 0x09, 0xf2,
0xad, 0x74, 0x2f, 0xf2, 0xed, 0x78, 0x56, 0xae, 0x45, 0xdf, 0x80, 0x02, 0xd5, 0x06, 0xdd, 0x94,
0x0a, 0x09, 0xad, 0xd5, 0x66, 0x98, 0xb0, 0x5a, 0xab, 0x4d, 0xcc, 0x20, 0xd1, 0xdb, 0x50, 0x62,
0xab, 0x19, 0x9b, 0xe3, 0x85, 0xc1, 0x73, 0x08, 0xf3, 0x57, 0x18, 0x61, 0xec, 0xcb, 0xc1, 0x1e,
0xae, 0xfc, 0x1e, 0x4c, 0xc4, 0x12, 0x01, 0xba, 0x0e, 0xc7, 0x34, 0x53, 0xe9, 0xd4, 0x15, 0x4d,
0x31, 0xda, 0xc4, 0x4e, 0xa6, 0xc6, 0xec, 0xfd, 0xcc, 0x6a, 0x84, 0x43, 0x24, 0x94, 0xe0, 0x02,
0x31, 0xda, 0x87, 0x63, 0xd8, 0xb2, 0x02, 0x10, 0x5a, 0x8f, 0xaa, 0x50, 0x62, 0x21, 0xec, 0xad,
0x4c, 0x63, 0xf5, 0x31, 0xa6, 0x2b, 0x8b, 0x6c, 0x07, 0x7b, 0xed, 0xe8, 0x0c, 0x80, 0x43, 0xda,
0x36, 0xa1, 0x3c, 0xef, 0x78, 0x27, 0x40, 0x41, 0x06, 0x6e, 0x06, 0x3d, 0x38, 0x42, 0x25, 0xff,
0x49, 0x82, 0x89, 0x75, 0x42, 0xdf, 0x35, 0xed, 0x1b, 0x0d, 0x53, 0x53, 0xdb, 0xbd, 0x21, 0xe4,
0xfd, 0xcd, 0x58, 0xde, 0x7f, 0xa5, 0xcf, 0x31, 0x8b, 0x69, 0x9b, 0x97, 0xfd, 0xe5, 0xbf, 0x4b,
0x50, 0x89, 0x51, 0x46, 0xd3, 0x04, 0x81, 0x92, 0x65, 0xda, 0xd4, 0x5f, 0xe3, 0x0f, 0xa5, 0x01,
0x4b, 0xa9, 0x91, 0x55, 0x9e, 0xc1, 0x62, 0x0f, 0x9d, 0xd9, 0xb9, 0x65, 0x9b, 0xba, 0x88, 0xfb,
0xc3, 0x49, 0x21, 0xc4, 0x0e, 0xed, 0xbc, 0x68, 0x9b, 0x3a, 0xe6, 0xd8, 0xf2, 0x1f, 0x25, 0x98,
0x8e, 0x51, 0x0e, 0x21, 0xa5, 0x2b, 0xf1, 0x94, 0xfe, 0xe2, 0x61, 0x0c, 0xcb, 0x49, 0xec, 0x5f,
0x25, 0xcd, 0x62, 0x0e, 0x40, 0x5b, 0x30, 0x6e, 0x99, 0x9d, 0xe6, 0x3d, 0xb8, 0x99, 0x9b, 0x62,
0x2b, 0x64, 0x23, 0xc4, 0xc2, 0x51, 0x60, 0xb4, 0x0b, 0xd3, 0x86, 0xa2, 0x13, 0xc7, 0x52, 0xda,
0xa4, 0x79, 0x0f, 0xce, 0x45, 0x1e, 0xe0, 0xb7, 0x05, 0x49, 0x44, 0x9c, 0x16, 0x22, 0xff, 0x2a,
0x65, 0xb7, 0x69, 0x53, 0xf4, 0x2a, 0x94, 0xf9, 0x23, 0x89, 0xb6, 0xa9, 0x89, 0xa5, 0xed, 0x2c,
0x1b, 0x9a, 0x86, 0x68, 0xbb, 0xbd, 0x57, 0xfd, 0xef, 0x03, 0x8f, 0x75, 0x7d, 0x42, 0x1c, 0xc0,
0xa0, 0x75, 0x28, 0x5a, 0x87, 0x29, 0x33, 0xf8, 0xc2, 0xc2, 0x6b, 0x0b, 0x8e, 0x23, 0xff, 0x23,
0xa9, 0x38, 0x5f, 0x5e, 0xae, 0xdf, 0xb3, 0x01, 0x0b, 0xca, 0x9a, 0xdc, 0x41, 0xb3, 0x61, 0x54,
0xac, 0xb2, 0x22, 0x2e, 0x2f, 0x1d, 0x26, 0x2e, 0xa3, 0x2b, 0x43, 0xb0, 0x89, 0xf0, 0x1b, 0x7d,
0x41, 0xf2, 0x5f, 0x25, 0x98, 0xe6, 0x0a, 0xb5, 0x5d, 0x5b, 0xa5, 0xbd, 0xa1, 0x65, 0xd0, 0xad,
0x58, 0x06, 0x5d, 0xee, 0xd3, 0xd0, 0x94, 0xc6, 0xb9, 0x59, 0xf4, 0x73, 0x09, 0x1e, 0x48, 0x51,
0x0f, 0x21, 0xc3, 0x90, 0x78, 0x86, 0x79, 0xe5, 0xb0, 0x06, 0xe6, 0x64, 0x99, 0x9b, 0x90, 0x61,
0x1e, 0x0f, 0xdc, 0x33, 0x00, 0x96, 0xad, 0xee, 0xa8, 0x1a, 0xe9, 0x8a, 0xcb, 0xe0, 0x72, 0x38,
0x24, 0x8d, 0xa0, 0x07, 0x47, 0xa8, 0xd0, 0xb7, 0x60, 0xb6, 0x43, 0xb6, 0x14, 0x57, 0xa3, 0x8b,
0x9d, 0xce, 0x92, 0x62, 0x29, 0x9b, 0xaa, 0xa6, 0x52, 0x55, 0xec, 0xb0, 0xc7, 0xea, 0x17, 0xbc,
0x4b, 0xda, 0x2c, 0x8a, 0xdb, 0x7b, 0xd5, 0xc7, 0x0f, 0xbe, 0x98, 0xf1, 0x89, 0x7b, 0x38, 0x47,
0x08, 0xfa, 0xae, 0x04, 0x15, 0x9b, 0xbc, 0xe3, 0xaa, 0x36, 0xe9, 0x2c, 0xdb, 0xa6, 0x15, 0xd3,
0xa0, 0xc0, 0x35, 0xb8, 0xb4, 0xbf, 0x57, 0xad, 0xe0, 0x1c, 0x9a, 0x7e, 0x74, 0xc8, 0x15, 0x84,
0x28, 0xcc, 0x28, 0x9a, 0x66, 0xbe, 0x4b, 0xe2, 0x1e, 0x28, 0x72, 0xf9, 0xf5, 0xfd, 0xbd, 0xea,
0xcc, 0x62, 0xba, 0xbb, 0x1f, 0xd1, 0x59, 0xf0, 0x68, 0x01, 0x46, 0x77, 0x4c, 0xcd, 0xd5, 0x89,
0x53, 0x29, 0x71, 0x49, 0x2c, 0xe3, 0x8e, 0x5e, 0xf5, 0x9a, 0x6e, 0xef, 0x55, 0x8f, 0x5e, 0x6c,
0xf2, 0xa3, 0x0f, 0x9f, 0x8a, 0xed, 0xd1, 0x58, 0xcd, 0x24, 0xa6, 0x3c, 0x3f, 0x77, 0x2d, 0x87,
0x39, 0xe6, 0x72, 0xd8, 0x85, 0xa3, 0x74, 0x48, 0x87, 0xb1, 0x6d, 0xb1, 0x6f, 0x77, 0x2a, 0xa3,
0x03, 0xad, 0x7e, 0xb1, 0x7d, 0x7f, 0x7d, 0x5a, 0x88, 0x1c, 0xf3, 0x9b, 0x1d, 0x1c, 0x4a, 0x40,
0x4f, 0xc0, 0x28, 0xff, 0x58, 0x59, 0xe6, 0xa7, 0xb5, 0xe5, 0x30, 0x13, 0x5d, 0xf6, 0x9a, 0xb1,
0xdf, 0xef, 0x93, 0xae, 0x34, 0x96, 0xf8, 0xe1, 0x6a, 0x82, 0x74, 0xa5, 0xb1, 0x84, 0xfd, 0x7e,
0x64, 0xc1, 0xa8, 0x43, 0x56, 0x55, 0xc3, 0xdd, 0xad, 0xc0, 0x40, 0xd7, 0xc5, 0xcd, 0x0b, 0x9c,
0x3b, 0x71, 0x14, 0x15, 0x4a, 0x14, 0xfd, 0xd8, 0x17, 0x83, 0x76, 0x61, 0xcc, 0x76, 0x8d, 0x45,
0x67, 0xc3, 0x21, 0x76, 0x65, 0x9c, 0xcb, 0xec, 0x37, 0x39, 0x63, 0x9f, 0x3f, 0x29, 0x35, 0xf0,
0x60, 0x40, 0x81, 0x43, 0x61, 0xe8, 0x23, 0x09, 0x90, 0xe3, 0x5a, 0x96, 0x46, 0x74, 0x62, 0x50,
0x45, 0xe3, 0xa7, 0x61, 0x4e, 0xe5, 0x18, 0xd7, 0xa1, 0xd1, 0xaf, 0xdd, 0x29, 0xa0, 0xa4, 0x32,
0xc1, 0x51, 0x73, 0x9a, 0x14, 0x67, 0xe8, 0xc1, 0x86, 0x62, 0xcb, 0xe1, 0xbf, 0x2b, 0x13, 0x03,
0x0d, 0x45, 0xf6, 0xa9, 0x60, 0x38, 0x14, 0xa2, 0x1f, 0xfb, 0x62, 0xd0, 0x55, 0x98, 0xb5, 0x89,
0xd2, 0xb9, 0x62, 0x68, 0x3d, 0x6c, 0x9a, 0xf4, 0xa2, 0xaa, 0x11, 0xa7, 0xe7, 0x50, 0xa2, 0x57,
0x26, 0x79, 0xd8, 0x04, 0x4f, 0x2e, 0x70, 0x26, 0x15, 0xce, 0xe1, 0xe6, 0x2f, 0x01, 0xc4, 0x19,
0xec, 0x70, 0xde, 0xd2, 0x1d, 0xee, 0x25, 0x40, 0xa8, 0xea, 0x7d, 0x7b, 0x09, 0x10, 0x11, 0x71,
0xf0, 0x11, 0xd2, 0x57, 0x23, 0x30, 0x13, 0x12, 0xdf, 0xf5, 0x4b, 0x80, 0x0c, 0x96, 0x21, 0xbc,
0x04, 0xc8, 0xbe, 0x4a, 0x2f, 0xdc, 0xef, 0xab, 0xf4, 0xfb, 0xf0, 0x02, 0x81, 0xdf, 0xce, 0x87,
0x4e, 0xfc, 0xf7, 0xbf, 0x9d, 0x0f, 0x75, 0xcd, 0x29, 0x67, 0x7e, 0x33, 0x12, 0x35, 0xe8, 0x3f,
0xe8, 0x0a, 0xf8, 0xf0, 0x2f, 0x0d, 0xe5, 0xcf, 0x0b, 0x70, 0x3c, 0x39, 0x63, 0x63, 0x37, 0x81,
0xd2, 0x1d, 0x6f, 0x02, 0x1b, 0x70, 0x62, 0xcb, 0xd5, 0xb4, 0x1e, 0x77, 0x48, 0xe4, 0x3a, 0xd0,
0x3b, 0xb5, 0x7f, 0x58, 0x70, 0x9e, 0xb8, 0x98, 0x41, 0x83, 0x33, 0x39, 0x73, 0x6e, 0x35, 0x0b,
0x03, 0xdd, 0x6a, 0xa6, 0x2e, 0xd5, 0x8a, 0x77, 0x7f, 0xa9, 0x96, 0x7d, 0x43, 0x59, 0x1a, 0xe0,
0x86, 0xf2, 0x5e, 0x5c, 0x29, 0x66, 0x24, 0xbe, 0x3b, 0x5d, 0x29, 0xca, 0x0f, 0xc3, 0x9c, 0x60,
0x63, 0xdf, 0x4b, 0xa6, 0x41, 0x6d, 0x53, 0xd3, 0x88, 0xbd, 0xec, 0xea, 0x7a, 0x4f, 0x3e, 0x0f,
0x93, 0xf1, 0x7b, 0x6d, 0x6f, 0xe4, 0xbd, 0xab, 0x76, 0x71, 0x97, 0x12, 0x19, 0x79, 0xaf, 0x1d,
0x07, 0x14, 0xf2, 0x07, 0x12, 0xcc, 0x66, 0xbf, 0xa1, 0x43, 0x1a, 0x4c, 0xea, 0xca, 0x6e, 0xf4,
0x11, 0xa1, 0x34, 0xe0, 0x8e, 0x1b, 0xed, 0xef, 0x55, 0x27, 0xd7, 0x62, 0x58, 0x38, 0x81, 0x2d,
0x7f, 0x21, 0xc1, 0xc9, 0x9c, 0x6b, 0xc6, 0xe1, 0x6a, 0x82, 0xae, 0x41, 0x59, 0x57, 0x76, 0x9b,
0xae, 0xdd, 0x25, 0x03, 0x9f, 0x31, 0xf0, 0x5c, 0xb2, 0x26, 0x50, 0x70, 0x80, 0x27, 0x7f, 0x22,
0x41, 0x25, 0xaf, 0x1e, 0x44, 0x67, 0x63, 0x17, 0xa2, 0x8f, 0x26, 0x2e, 0x44, 0xa7, 0x53, 0x7c,
0x43, 0xba, 0x0e, 0xfd, 0x54, 0x82, 0xd9, 0xec, 0xba, 0x19, 0x3d, 0x13, 0xd3, 0xb8, 0x9a, 0xd0,
0x78, 0x2a, 0xc1, 0x25, 0xf4, 0xdd, 0x86, 0x49, 0x51, 0x5d, 0x0b, 0x18, 0xe1, 0xe5, 0x27, 0x0f,
0xce, 0xaa, 0x02, 0xcc, 0xaf, 0x13, 0xf9, 0x48, 0xc6, 0xdb, 0x70, 0x02, 0x57, 0xfe, 0xd9, 0x08,
0x94, 0x9a, 0x6d, 0x45, 0x23, 0x43, 0x28, 0xea, 0xae, 0xc5, 0x8a, 0xba, 0x7e, 0xdf, 0xf9, 0x73,
0x2d, 0x73, 0xeb, 0xb9, 0xcd, 0x44, 0x3d, 0x77, 0x6e, 0x20, 0xf4, 0x83, 0x4b, 0xb9, 0xe7, 0x61,
0x2c, 0x50, 0xa2, 0xbf, 0xd5, 0x43, 0xfe, 0x78, 0x04, 0xc6, 0x23, 0x22, 0xfa, 0x5c, 0x7b, 0x76,
0x62, 0xab, 0xf7, 0x20, 0x7f, 0x29, 0x8a, 0xc8, 0xae, 0xf9, 0xeb, 0xb7, 0xf7, 0x86, 0x2e, 0x7c,
0x0b, 0x95, 0x5e, 0xd6, 0xcf, 0xc3, 0x24, 0xe5, 0xff, 0xb0, 0x09, 0xce, 0xf8, 0x0a, 0x3c, 0x8a,
0x83, 0x97, 0x99, 0xad, 0x58, 0x2f, 0x4e, 0x50, 0xcf, 0xbd, 0x00, 0x13, 0x31, 0x61, 0x7d, 0x3d,
0x79, 0xfb, 0xad, 0x04, 0x8f, 0xde, 0x71, 0x4f, 0x86, 0xea, 0xb1, 0xe9, 0x55, 0x4b, 0x4c, 0xaf,
0xf9, 0x7c, 0x80, 0x21, 0x3e, 0x96, 0xf8, 0xd1, 0x08, 0xa0, 0xd6, 0xb6, 0x6a, 0x77, 0x1a, 0x8a,
0x4d, 0x7b, 0x58, 0xfc, 0x8f, 0x6a, 0x08, 0x13, 0xee, 0x2c, 0x8c, 0x77, 0x88, 0xd3, 0xb6, 0x55,
0xee, 0x2c, 0xb1, 0x57, 0x08, 0xce, 0x41, 0x96, 0xc3, 0x2e, 0x1c, 0xa5, 0x43, 0x5d, 0x28, 0xef,
0x78, 0xff, 0xd4, 0xf3, 0x6f, 0xde, 0xfa, 0x2d, 0x66, 0xc3, 0xff, 0xfa, 0x85, 0xf1, 0x25, 0x1a,
0x1c, 0x1c, 0x80, 0xcb, 0x1f, 0x4a, 0x30, 0x9b, 0x76, 0xcc, 0x32, 0x53, 0xfd, 0xfe, 0x3b, 0xe7,
0x61, 0x28, 0x72, 0x74, 0xe6, 0x95, 0x63, 0xde, 0x89, 0x37, 0x93, 0x8c, 0x79, 0xab, 0xfc, 0xa5,
0x04, 0x73, 0xd9, 0xaa, 0x0d, 0x61, 0x2b, 0x71, 0x3d, 0xbe, 0x95, 0xe8, 0xf7, 0xd8, 0x20, 0x5b,
0xef, 0x9c, 0x6d, 0xc5, 0x5e, 0xe6, 0x18, 0x0c, 0xc1, 0xc8, 0xad, 0xb8, 0x91, 0x8b, 0x87, 0x36,
0x32, 0xdb, 0xc0, 0xfa, 0x13, 0x37, 0x6f, 0xcd, 0x1f, 0xf9, 0xec, 0xd6, 0xfc, 0x91, 0x3f, 0xdf,
0x9a, 0x3f, 0xf2, 0xfe, 0xfe, 0xbc, 0x74, 0x73, 0x7f, 0x5e, 0xfa, 0x6c, 0x7f, 0x5e, 0xfa, 0xdb,
0xfe, 0xbc, 0xf4, 0x83, 0x2f, 0xe6, 0x8f, 0x5c, 0x1b, 0x15, 0x98, 0xff, 0x0a, 0x00, 0x00, 0xff,
0xff, 0x56, 0x18, 0xbd, 0xf5, 0xb1, 0x3c, 0x00, 0x00,
}