2018-12-19 14:29:25 +00:00
|
|
|
/*
|
2019-01-15 16:20:41 +00:00
|
|
|
Copyright The Kubernetes Authors.
|
2018-12-19 14:29:25 +00:00
|
|
|
|
|
|
|
Licensed under the Apache License, Version 2.0 (the "License");
|
|
|
|
you may not use this file except in compliance with the License.
|
|
|
|
You may obtain a copy of the License at
|
|
|
|
|
|
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
|
|
|
|
Unless required by applicable law or agreed to in writing, software
|
|
|
|
distributed under the License is distributed on an "AS IS" BASIS,
|
|
|
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
|
|
See the License for the specific language governing permissions and
|
|
|
|
limitations under the License.
|
|
|
|
*/
|
|
|
|
|
2019-01-15 16:20:41 +00:00
|
|
|
// Code generated by protoc-gen-gogo. DO NOT EDIT.
|
2018-12-19 14:29:25 +00:00
|
|
|
// source: k8s.io/kubernetes/vendor/k8s.io/api/apps/v1beta2/generated.proto
|
|
|
|
|
|
|
|
package v1beta2
|
|
|
|
|
2020-01-14 10:38:55 +00:00
|
|
|
import (
|
|
|
|
fmt "fmt"
|
2018-12-19 14:29:25 +00:00
|
|
|
|
2020-01-14 10:38:55 +00:00
|
|
|
io "io"
|
2018-12-19 14:29:25 +00:00
|
|
|
|
2020-01-14 10:38:55 +00:00
|
|
|
proto "github.com/gogo/protobuf/proto"
|
|
|
|
github_com_gogo_protobuf_sortkeys "github.com/gogo/protobuf/sortkeys"
|
|
|
|
k8s_io_api_core_v1 "k8s.io/api/core/v1"
|
|
|
|
v11 "k8s.io/api/core/v1"
|
|
|
|
v1 "k8s.io/apimachinery/pkg/apis/meta/v1"
|
2018-12-19 14:29:25 +00:00
|
|
|
|
2020-01-14 10:38:55 +00:00
|
|
|
math "math"
|
|
|
|
math_bits "math/bits"
|
|
|
|
reflect "reflect"
|
|
|
|
strings "strings"
|
2018-12-19 14:29:25 +00:00
|
|
|
|
2020-01-14 10:38:55 +00:00
|
|
|
intstr "k8s.io/apimachinery/pkg/util/intstr"
|
|
|
|
)
|
2018-12-19 14:29:25 +00:00
|
|
|
|
|
|
|
// Reference imports to suppress errors if they are not otherwise used.
|
|
|
|
var _ = proto.Marshal
|
|
|
|
var _ = fmt.Errorf
|
|
|
|
var _ = math.Inf
|
|
|
|
|
|
|
|
// This is a compile-time assertion to ensure that this generated file
|
|
|
|
// is compatible with the proto package it is being compiled against.
|
|
|
|
// A compilation error at this line likely means your copy of the
|
|
|
|
// proto package needs to be updated.
|
2020-04-14 07:04:33 +00:00
|
|
|
const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package
|
2018-12-19 14:29:25 +00:00
|
|
|
|
2020-01-14 10:38:55 +00:00
|
|
|
func (m *ControllerRevision) Reset() { *m = ControllerRevision{} }
|
|
|
|
func (*ControllerRevision) ProtoMessage() {}
|
|
|
|
func (*ControllerRevision) Descriptor() ([]byte, []int) {
|
|
|
|
return fileDescriptor_42fe616264472f7e, []int{0}
|
|
|
|
}
|
|
|
|
func (m *ControllerRevision) XXX_Unmarshal(b []byte) error {
|
|
|
|
return m.Unmarshal(b)
|
|
|
|
}
|
|
|
|
func (m *ControllerRevision) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
b = b[:cap(b)]
|
|
|
|
n, err := m.MarshalToSizedBuffer(b)
|
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
return b[:n], nil
|
|
|
|
}
|
|
|
|
func (m *ControllerRevision) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_ControllerRevision.Merge(m, src)
|
|
|
|
}
|
|
|
|
func (m *ControllerRevision) XXX_Size() int {
|
|
|
|
return m.Size()
|
|
|
|
}
|
|
|
|
func (m *ControllerRevision) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_ControllerRevision.DiscardUnknown(m)
|
|
|
|
}
|
|
|
|
|
|
|
|
var xxx_messageInfo_ControllerRevision proto.InternalMessageInfo
|
|
|
|
|
|
|
|
func (m *ControllerRevisionList) Reset() { *m = ControllerRevisionList{} }
|
|
|
|
func (*ControllerRevisionList) ProtoMessage() {}
|
|
|
|
func (*ControllerRevisionList) Descriptor() ([]byte, []int) {
|
|
|
|
return fileDescriptor_42fe616264472f7e, []int{1}
|
|
|
|
}
|
|
|
|
func (m *ControllerRevisionList) XXX_Unmarshal(b []byte) error {
|
|
|
|
return m.Unmarshal(b)
|
|
|
|
}
|
|
|
|
func (m *ControllerRevisionList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
b = b[:cap(b)]
|
|
|
|
n, err := m.MarshalToSizedBuffer(b)
|
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
return b[:n], nil
|
|
|
|
}
|
|
|
|
func (m *ControllerRevisionList) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_ControllerRevisionList.Merge(m, src)
|
|
|
|
}
|
|
|
|
func (m *ControllerRevisionList) XXX_Size() int {
|
|
|
|
return m.Size()
|
|
|
|
}
|
|
|
|
func (m *ControllerRevisionList) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_ControllerRevisionList.DiscardUnknown(m)
|
|
|
|
}
|
|
|
|
|
|
|
|
var xxx_messageInfo_ControllerRevisionList proto.InternalMessageInfo
|
2018-12-19 14:29:25 +00:00
|
|
|
|
2020-01-14 10:38:55 +00:00
|
|
|
func (m *DaemonSet) Reset() { *m = DaemonSet{} }
|
|
|
|
func (*DaemonSet) ProtoMessage() {}
|
|
|
|
func (*DaemonSet) Descriptor() ([]byte, []int) {
|
|
|
|
return fileDescriptor_42fe616264472f7e, []int{2}
|
|
|
|
}
|
|
|
|
func (m *DaemonSet) XXX_Unmarshal(b []byte) error {
|
|
|
|
return m.Unmarshal(b)
|
|
|
|
}
|
|
|
|
func (m *DaemonSet) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
b = b[:cap(b)]
|
|
|
|
n, err := m.MarshalToSizedBuffer(b)
|
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
return b[:n], nil
|
|
|
|
}
|
|
|
|
func (m *DaemonSet) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_DaemonSet.Merge(m, src)
|
|
|
|
}
|
|
|
|
func (m *DaemonSet) XXX_Size() int {
|
|
|
|
return m.Size()
|
|
|
|
}
|
|
|
|
func (m *DaemonSet) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_DaemonSet.DiscardUnknown(m)
|
|
|
|
}
|
|
|
|
|
|
|
|
var xxx_messageInfo_DaemonSet proto.InternalMessageInfo
|
2018-12-19 14:29:25 +00:00
|
|
|
|
2020-01-14 10:38:55 +00:00
|
|
|
func (m *DaemonSetCondition) Reset() { *m = DaemonSetCondition{} }
|
|
|
|
func (*DaemonSetCondition) ProtoMessage() {}
|
|
|
|
func (*DaemonSetCondition) Descriptor() ([]byte, []int) {
|
|
|
|
return fileDescriptor_42fe616264472f7e, []int{3}
|
|
|
|
}
|
|
|
|
func (m *DaemonSetCondition) XXX_Unmarshal(b []byte) error {
|
|
|
|
return m.Unmarshal(b)
|
|
|
|
}
|
|
|
|
func (m *DaemonSetCondition) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
b = b[:cap(b)]
|
|
|
|
n, err := m.MarshalToSizedBuffer(b)
|
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
return b[:n], nil
|
|
|
|
}
|
|
|
|
func (m *DaemonSetCondition) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_DaemonSetCondition.Merge(m, src)
|
|
|
|
}
|
|
|
|
func (m *DaemonSetCondition) XXX_Size() int {
|
|
|
|
return m.Size()
|
|
|
|
}
|
|
|
|
func (m *DaemonSetCondition) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_DaemonSetCondition.DiscardUnknown(m)
|
|
|
|
}
|
|
|
|
|
|
|
|
var xxx_messageInfo_DaemonSetCondition proto.InternalMessageInfo
|
|
|
|
|
|
|
|
func (m *DaemonSetList) Reset() { *m = DaemonSetList{} }
|
|
|
|
func (*DaemonSetList) ProtoMessage() {}
|
|
|
|
func (*DaemonSetList) Descriptor() ([]byte, []int) {
|
|
|
|
return fileDescriptor_42fe616264472f7e, []int{4}
|
|
|
|
}
|
|
|
|
func (m *DaemonSetList) XXX_Unmarshal(b []byte) error {
|
|
|
|
return m.Unmarshal(b)
|
|
|
|
}
|
|
|
|
func (m *DaemonSetList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
b = b[:cap(b)]
|
|
|
|
n, err := m.MarshalToSizedBuffer(b)
|
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
return b[:n], nil
|
|
|
|
}
|
|
|
|
func (m *DaemonSetList) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_DaemonSetList.Merge(m, src)
|
|
|
|
}
|
|
|
|
func (m *DaemonSetList) XXX_Size() int {
|
|
|
|
return m.Size()
|
|
|
|
}
|
|
|
|
func (m *DaemonSetList) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_DaemonSetList.DiscardUnknown(m)
|
|
|
|
}
|
|
|
|
|
|
|
|
var xxx_messageInfo_DaemonSetList proto.InternalMessageInfo
|
|
|
|
|
|
|
|
func (m *DaemonSetSpec) Reset() { *m = DaemonSetSpec{} }
|
|
|
|
func (*DaemonSetSpec) ProtoMessage() {}
|
|
|
|
func (*DaemonSetSpec) Descriptor() ([]byte, []int) {
|
|
|
|
return fileDescriptor_42fe616264472f7e, []int{5}
|
|
|
|
}
|
|
|
|
func (m *DaemonSetSpec) XXX_Unmarshal(b []byte) error {
|
|
|
|
return m.Unmarshal(b)
|
|
|
|
}
|
|
|
|
func (m *DaemonSetSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
b = b[:cap(b)]
|
|
|
|
n, err := m.MarshalToSizedBuffer(b)
|
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
return b[:n], nil
|
|
|
|
}
|
|
|
|
func (m *DaemonSetSpec) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_DaemonSetSpec.Merge(m, src)
|
|
|
|
}
|
|
|
|
func (m *DaemonSetSpec) XXX_Size() int {
|
|
|
|
return m.Size()
|
|
|
|
}
|
|
|
|
func (m *DaemonSetSpec) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_DaemonSetSpec.DiscardUnknown(m)
|
|
|
|
}
|
|
|
|
|
|
|
|
var xxx_messageInfo_DaemonSetSpec proto.InternalMessageInfo
|
|
|
|
|
|
|
|
func (m *DaemonSetStatus) Reset() { *m = DaemonSetStatus{} }
|
|
|
|
func (*DaemonSetStatus) ProtoMessage() {}
|
|
|
|
func (*DaemonSetStatus) Descriptor() ([]byte, []int) {
|
|
|
|
return fileDescriptor_42fe616264472f7e, []int{6}
|
|
|
|
}
|
|
|
|
func (m *DaemonSetStatus) XXX_Unmarshal(b []byte) error {
|
|
|
|
return m.Unmarshal(b)
|
|
|
|
}
|
|
|
|
func (m *DaemonSetStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
b = b[:cap(b)]
|
|
|
|
n, err := m.MarshalToSizedBuffer(b)
|
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
return b[:n], nil
|
|
|
|
}
|
|
|
|
func (m *DaemonSetStatus) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_DaemonSetStatus.Merge(m, src)
|
|
|
|
}
|
|
|
|
func (m *DaemonSetStatus) XXX_Size() int {
|
|
|
|
return m.Size()
|
|
|
|
}
|
|
|
|
func (m *DaemonSetStatus) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_DaemonSetStatus.DiscardUnknown(m)
|
|
|
|
}
|
|
|
|
|
|
|
|
var xxx_messageInfo_DaemonSetStatus proto.InternalMessageInfo
|
|
|
|
|
|
|
|
func (m *DaemonSetUpdateStrategy) Reset() { *m = DaemonSetUpdateStrategy{} }
|
|
|
|
func (*DaemonSetUpdateStrategy) ProtoMessage() {}
|
|
|
|
func (*DaemonSetUpdateStrategy) Descriptor() ([]byte, []int) {
|
|
|
|
return fileDescriptor_42fe616264472f7e, []int{7}
|
|
|
|
}
|
|
|
|
func (m *DaemonSetUpdateStrategy) XXX_Unmarshal(b []byte) error {
|
|
|
|
return m.Unmarshal(b)
|
|
|
|
}
|
|
|
|
func (m *DaemonSetUpdateStrategy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
b = b[:cap(b)]
|
|
|
|
n, err := m.MarshalToSizedBuffer(b)
|
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
return b[:n], nil
|
|
|
|
}
|
|
|
|
func (m *DaemonSetUpdateStrategy) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_DaemonSetUpdateStrategy.Merge(m, src)
|
|
|
|
}
|
|
|
|
func (m *DaemonSetUpdateStrategy) XXX_Size() int {
|
|
|
|
return m.Size()
|
|
|
|
}
|
|
|
|
func (m *DaemonSetUpdateStrategy) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_DaemonSetUpdateStrategy.DiscardUnknown(m)
|
|
|
|
}
|
2018-12-19 14:29:25 +00:00
|
|
|
|
2020-01-14 10:38:55 +00:00
|
|
|
var xxx_messageInfo_DaemonSetUpdateStrategy proto.InternalMessageInfo
|
2018-12-19 14:29:25 +00:00
|
|
|
|
2020-01-14 10:38:55 +00:00
|
|
|
func (m *Deployment) Reset() { *m = Deployment{} }
|
|
|
|
func (*Deployment) ProtoMessage() {}
|
|
|
|
func (*Deployment) Descriptor() ([]byte, []int) {
|
|
|
|
return fileDescriptor_42fe616264472f7e, []int{8}
|
|
|
|
}
|
|
|
|
func (m *Deployment) XXX_Unmarshal(b []byte) error {
|
|
|
|
return m.Unmarshal(b)
|
|
|
|
}
|
|
|
|
func (m *Deployment) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
b = b[:cap(b)]
|
|
|
|
n, err := m.MarshalToSizedBuffer(b)
|
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
return b[:n], nil
|
|
|
|
}
|
|
|
|
func (m *Deployment) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_Deployment.Merge(m, src)
|
|
|
|
}
|
|
|
|
func (m *Deployment) XXX_Size() int {
|
|
|
|
return m.Size()
|
|
|
|
}
|
|
|
|
func (m *Deployment) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_Deployment.DiscardUnknown(m)
|
|
|
|
}
|
2018-12-19 14:29:25 +00:00
|
|
|
|
2020-01-14 10:38:55 +00:00
|
|
|
var xxx_messageInfo_Deployment proto.InternalMessageInfo
|
2018-12-19 14:29:25 +00:00
|
|
|
|
2020-01-14 10:38:55 +00:00
|
|
|
func (m *DeploymentCondition) Reset() { *m = DeploymentCondition{} }
|
|
|
|
func (*DeploymentCondition) ProtoMessage() {}
|
|
|
|
func (*DeploymentCondition) Descriptor() ([]byte, []int) {
|
|
|
|
return fileDescriptor_42fe616264472f7e, []int{9}
|
|
|
|
}
|
|
|
|
func (m *DeploymentCondition) XXX_Unmarshal(b []byte) error {
|
|
|
|
return m.Unmarshal(b)
|
|
|
|
}
|
|
|
|
func (m *DeploymentCondition) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
b = b[:cap(b)]
|
|
|
|
n, err := m.MarshalToSizedBuffer(b)
|
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
return b[:n], nil
|
|
|
|
}
|
|
|
|
func (m *DeploymentCondition) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_DeploymentCondition.Merge(m, src)
|
|
|
|
}
|
|
|
|
func (m *DeploymentCondition) XXX_Size() int {
|
|
|
|
return m.Size()
|
|
|
|
}
|
|
|
|
func (m *DeploymentCondition) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_DeploymentCondition.DiscardUnknown(m)
|
|
|
|
}
|
2018-12-19 14:29:25 +00:00
|
|
|
|
2020-01-14 10:38:55 +00:00
|
|
|
var xxx_messageInfo_DeploymentCondition proto.InternalMessageInfo
|
2018-12-19 14:29:25 +00:00
|
|
|
|
2020-01-14 10:38:55 +00:00
|
|
|
func (m *DeploymentList) Reset() { *m = DeploymentList{} }
|
|
|
|
func (*DeploymentList) ProtoMessage() {}
|
|
|
|
func (*DeploymentList) Descriptor() ([]byte, []int) {
|
|
|
|
return fileDescriptor_42fe616264472f7e, []int{10}
|
|
|
|
}
|
|
|
|
func (m *DeploymentList) XXX_Unmarshal(b []byte) error {
|
|
|
|
return m.Unmarshal(b)
|
|
|
|
}
|
|
|
|
func (m *DeploymentList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
b = b[:cap(b)]
|
|
|
|
n, err := m.MarshalToSizedBuffer(b)
|
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
return b[:n], nil
|
|
|
|
}
|
|
|
|
func (m *DeploymentList) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_DeploymentList.Merge(m, src)
|
|
|
|
}
|
|
|
|
func (m *DeploymentList) XXX_Size() int {
|
|
|
|
return m.Size()
|
|
|
|
}
|
|
|
|
func (m *DeploymentList) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_DeploymentList.DiscardUnknown(m)
|
|
|
|
}
|
2018-12-19 14:29:25 +00:00
|
|
|
|
2020-01-14 10:38:55 +00:00
|
|
|
var xxx_messageInfo_DeploymentList proto.InternalMessageInfo
|
2018-12-19 14:29:25 +00:00
|
|
|
|
2020-01-14 10:38:55 +00:00
|
|
|
func (m *DeploymentSpec) Reset() { *m = DeploymentSpec{} }
|
|
|
|
func (*DeploymentSpec) ProtoMessage() {}
|
|
|
|
func (*DeploymentSpec) Descriptor() ([]byte, []int) {
|
|
|
|
return fileDescriptor_42fe616264472f7e, []int{11}
|
|
|
|
}
|
|
|
|
func (m *DeploymentSpec) XXX_Unmarshal(b []byte) error {
|
|
|
|
return m.Unmarshal(b)
|
|
|
|
}
|
|
|
|
func (m *DeploymentSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
b = b[:cap(b)]
|
|
|
|
n, err := m.MarshalToSizedBuffer(b)
|
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
return b[:n], nil
|
|
|
|
}
|
|
|
|
func (m *DeploymentSpec) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_DeploymentSpec.Merge(m, src)
|
|
|
|
}
|
|
|
|
func (m *DeploymentSpec) XXX_Size() int {
|
|
|
|
return m.Size()
|
|
|
|
}
|
|
|
|
func (m *DeploymentSpec) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_DeploymentSpec.DiscardUnknown(m)
|
|
|
|
}
|
2018-12-19 14:29:25 +00:00
|
|
|
|
2020-01-14 10:38:55 +00:00
|
|
|
var xxx_messageInfo_DeploymentSpec proto.InternalMessageInfo
|
2018-12-19 14:29:25 +00:00
|
|
|
|
2020-01-14 10:38:55 +00:00
|
|
|
func (m *DeploymentStatus) Reset() { *m = DeploymentStatus{} }
|
|
|
|
func (*DeploymentStatus) ProtoMessage() {}
|
|
|
|
func (*DeploymentStatus) Descriptor() ([]byte, []int) {
|
|
|
|
return fileDescriptor_42fe616264472f7e, []int{12}
|
|
|
|
}
|
|
|
|
func (m *DeploymentStatus) XXX_Unmarshal(b []byte) error {
|
|
|
|
return m.Unmarshal(b)
|
|
|
|
}
|
|
|
|
func (m *DeploymentStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
b = b[:cap(b)]
|
|
|
|
n, err := m.MarshalToSizedBuffer(b)
|
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
return b[:n], nil
|
|
|
|
}
|
|
|
|
func (m *DeploymentStatus) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_DeploymentStatus.Merge(m, src)
|
|
|
|
}
|
|
|
|
func (m *DeploymentStatus) XXX_Size() int {
|
|
|
|
return m.Size()
|
|
|
|
}
|
|
|
|
func (m *DeploymentStatus) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_DeploymentStatus.DiscardUnknown(m)
|
|
|
|
}
|
2018-12-19 14:29:25 +00:00
|
|
|
|
2020-01-14 10:38:55 +00:00
|
|
|
var xxx_messageInfo_DeploymentStatus proto.InternalMessageInfo
|
2018-12-19 14:29:25 +00:00
|
|
|
|
2020-01-14 10:38:55 +00:00
|
|
|
func (m *DeploymentStrategy) Reset() { *m = DeploymentStrategy{} }
|
|
|
|
func (*DeploymentStrategy) ProtoMessage() {}
|
|
|
|
func (*DeploymentStrategy) Descriptor() ([]byte, []int) {
|
|
|
|
return fileDescriptor_42fe616264472f7e, []int{13}
|
|
|
|
}
|
|
|
|
func (m *DeploymentStrategy) XXX_Unmarshal(b []byte) error {
|
|
|
|
return m.Unmarshal(b)
|
|
|
|
}
|
|
|
|
func (m *DeploymentStrategy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
b = b[:cap(b)]
|
|
|
|
n, err := m.MarshalToSizedBuffer(b)
|
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
return b[:n], nil
|
|
|
|
}
|
|
|
|
func (m *DeploymentStrategy) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_DeploymentStrategy.Merge(m, src)
|
|
|
|
}
|
|
|
|
func (m *DeploymentStrategy) XXX_Size() int {
|
|
|
|
return m.Size()
|
|
|
|
}
|
|
|
|
func (m *DeploymentStrategy) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_DeploymentStrategy.DiscardUnknown(m)
|
|
|
|
}
|
2018-12-19 14:29:25 +00:00
|
|
|
|
2020-01-14 10:38:55 +00:00
|
|
|
var xxx_messageInfo_DeploymentStrategy proto.InternalMessageInfo
|
2018-12-19 14:29:25 +00:00
|
|
|
|
2020-01-14 10:38:55 +00:00
|
|
|
func (m *ReplicaSet) Reset() { *m = ReplicaSet{} }
|
|
|
|
func (*ReplicaSet) ProtoMessage() {}
|
|
|
|
func (*ReplicaSet) Descriptor() ([]byte, []int) {
|
|
|
|
return fileDescriptor_42fe616264472f7e, []int{14}
|
|
|
|
}
|
|
|
|
func (m *ReplicaSet) XXX_Unmarshal(b []byte) error {
|
|
|
|
return m.Unmarshal(b)
|
|
|
|
}
|
|
|
|
func (m *ReplicaSet) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
b = b[:cap(b)]
|
|
|
|
n, err := m.MarshalToSizedBuffer(b)
|
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
return b[:n], nil
|
|
|
|
}
|
|
|
|
func (m *ReplicaSet) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_ReplicaSet.Merge(m, src)
|
|
|
|
}
|
|
|
|
func (m *ReplicaSet) XXX_Size() int {
|
|
|
|
return m.Size()
|
|
|
|
}
|
|
|
|
func (m *ReplicaSet) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_ReplicaSet.DiscardUnknown(m)
|
|
|
|
}
|
2018-12-19 14:29:25 +00:00
|
|
|
|
2020-01-14 10:38:55 +00:00
|
|
|
var xxx_messageInfo_ReplicaSet proto.InternalMessageInfo
|
2018-12-19 14:29:25 +00:00
|
|
|
|
2020-01-14 10:38:55 +00:00
|
|
|
func (m *ReplicaSetCondition) Reset() { *m = ReplicaSetCondition{} }
|
|
|
|
func (*ReplicaSetCondition) ProtoMessage() {}
|
|
|
|
func (*ReplicaSetCondition) Descriptor() ([]byte, []int) {
|
|
|
|
return fileDescriptor_42fe616264472f7e, []int{15}
|
|
|
|
}
|
|
|
|
func (m *ReplicaSetCondition) XXX_Unmarshal(b []byte) error {
|
|
|
|
return m.Unmarshal(b)
|
|
|
|
}
|
|
|
|
func (m *ReplicaSetCondition) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
b = b[:cap(b)]
|
|
|
|
n, err := m.MarshalToSizedBuffer(b)
|
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
return b[:n], nil
|
|
|
|
}
|
|
|
|
func (m *ReplicaSetCondition) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_ReplicaSetCondition.Merge(m, src)
|
|
|
|
}
|
|
|
|
func (m *ReplicaSetCondition) XXX_Size() int {
|
|
|
|
return m.Size()
|
|
|
|
}
|
|
|
|
func (m *ReplicaSetCondition) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_ReplicaSetCondition.DiscardUnknown(m)
|
|
|
|
}
|
2018-12-19 14:29:25 +00:00
|
|
|
|
2020-01-14 10:38:55 +00:00
|
|
|
var xxx_messageInfo_ReplicaSetCondition proto.InternalMessageInfo
|
|
|
|
|
|
|
|
func (m *ReplicaSetList) Reset() { *m = ReplicaSetList{} }
|
|
|
|
func (*ReplicaSetList) ProtoMessage() {}
|
|
|
|
func (*ReplicaSetList) Descriptor() ([]byte, []int) {
|
|
|
|
return fileDescriptor_42fe616264472f7e, []int{16}
|
|
|
|
}
|
|
|
|
func (m *ReplicaSetList) XXX_Unmarshal(b []byte) error {
|
|
|
|
return m.Unmarshal(b)
|
|
|
|
}
|
|
|
|
func (m *ReplicaSetList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
b = b[:cap(b)]
|
|
|
|
n, err := m.MarshalToSizedBuffer(b)
|
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
return b[:n], nil
|
|
|
|
}
|
|
|
|
func (m *ReplicaSetList) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_ReplicaSetList.Merge(m, src)
|
|
|
|
}
|
|
|
|
func (m *ReplicaSetList) XXX_Size() int {
|
|
|
|
return m.Size()
|
|
|
|
}
|
|
|
|
func (m *ReplicaSetList) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_ReplicaSetList.DiscardUnknown(m)
|
|
|
|
}
|
|
|
|
|
|
|
|
var xxx_messageInfo_ReplicaSetList proto.InternalMessageInfo
|
|
|
|
|
|
|
|
func (m *ReplicaSetSpec) Reset() { *m = ReplicaSetSpec{} }
|
|
|
|
func (*ReplicaSetSpec) ProtoMessage() {}
|
|
|
|
func (*ReplicaSetSpec) Descriptor() ([]byte, []int) {
|
|
|
|
return fileDescriptor_42fe616264472f7e, []int{17}
|
|
|
|
}
|
|
|
|
func (m *ReplicaSetSpec) XXX_Unmarshal(b []byte) error {
|
|
|
|
return m.Unmarshal(b)
|
|
|
|
}
|
|
|
|
func (m *ReplicaSetSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
b = b[:cap(b)]
|
|
|
|
n, err := m.MarshalToSizedBuffer(b)
|
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
return b[:n], nil
|
|
|
|
}
|
|
|
|
func (m *ReplicaSetSpec) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_ReplicaSetSpec.Merge(m, src)
|
|
|
|
}
|
|
|
|
func (m *ReplicaSetSpec) XXX_Size() int {
|
|
|
|
return m.Size()
|
|
|
|
}
|
|
|
|
func (m *ReplicaSetSpec) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_ReplicaSetSpec.DiscardUnknown(m)
|
|
|
|
}
|
|
|
|
|
|
|
|
var xxx_messageInfo_ReplicaSetSpec proto.InternalMessageInfo
|
|
|
|
|
|
|
|
func (m *ReplicaSetStatus) Reset() { *m = ReplicaSetStatus{} }
|
|
|
|
func (*ReplicaSetStatus) ProtoMessage() {}
|
|
|
|
func (*ReplicaSetStatus) Descriptor() ([]byte, []int) {
|
|
|
|
return fileDescriptor_42fe616264472f7e, []int{18}
|
|
|
|
}
|
|
|
|
func (m *ReplicaSetStatus) XXX_Unmarshal(b []byte) error {
|
|
|
|
return m.Unmarshal(b)
|
|
|
|
}
|
|
|
|
func (m *ReplicaSetStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
b = b[:cap(b)]
|
|
|
|
n, err := m.MarshalToSizedBuffer(b)
|
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
return b[:n], nil
|
|
|
|
}
|
|
|
|
func (m *ReplicaSetStatus) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_ReplicaSetStatus.Merge(m, src)
|
|
|
|
}
|
|
|
|
func (m *ReplicaSetStatus) XXX_Size() int {
|
|
|
|
return m.Size()
|
|
|
|
}
|
|
|
|
func (m *ReplicaSetStatus) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_ReplicaSetStatus.DiscardUnknown(m)
|
|
|
|
}
|
|
|
|
|
|
|
|
var xxx_messageInfo_ReplicaSetStatus proto.InternalMessageInfo
|
|
|
|
|
|
|
|
func (m *RollingUpdateDaemonSet) Reset() { *m = RollingUpdateDaemonSet{} }
|
|
|
|
func (*RollingUpdateDaemonSet) ProtoMessage() {}
|
|
|
|
func (*RollingUpdateDaemonSet) Descriptor() ([]byte, []int) {
|
|
|
|
return fileDescriptor_42fe616264472f7e, []int{19}
|
|
|
|
}
|
|
|
|
func (m *RollingUpdateDaemonSet) XXX_Unmarshal(b []byte) error {
|
|
|
|
return m.Unmarshal(b)
|
|
|
|
}
|
|
|
|
func (m *RollingUpdateDaemonSet) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
b = b[:cap(b)]
|
|
|
|
n, err := m.MarshalToSizedBuffer(b)
|
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
return b[:n], nil
|
|
|
|
}
|
|
|
|
func (m *RollingUpdateDaemonSet) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_RollingUpdateDaemonSet.Merge(m, src)
|
|
|
|
}
|
|
|
|
func (m *RollingUpdateDaemonSet) XXX_Size() int {
|
|
|
|
return m.Size()
|
|
|
|
}
|
|
|
|
func (m *RollingUpdateDaemonSet) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_RollingUpdateDaemonSet.DiscardUnknown(m)
|
|
|
|
}
|
|
|
|
|
|
|
|
var xxx_messageInfo_RollingUpdateDaemonSet proto.InternalMessageInfo
|
2018-12-19 14:29:25 +00:00
|
|
|
|
|
|
|
func (m *RollingUpdateDeployment) Reset() { *m = RollingUpdateDeployment{} }
|
|
|
|
func (*RollingUpdateDeployment) ProtoMessage() {}
|
|
|
|
func (*RollingUpdateDeployment) Descriptor() ([]byte, []int) {
|
2020-01-14 10:38:55 +00:00
|
|
|
return fileDescriptor_42fe616264472f7e, []int{20}
|
|
|
|
}
|
|
|
|
func (m *RollingUpdateDeployment) XXX_Unmarshal(b []byte) error {
|
|
|
|
return m.Unmarshal(b)
|
2018-12-19 14:29:25 +00:00
|
|
|
}
|
2020-01-14 10:38:55 +00:00
|
|
|
func (m *RollingUpdateDeployment) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
b = b[:cap(b)]
|
|
|
|
n, err := m.MarshalToSizedBuffer(b)
|
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
return b[:n], nil
|
|
|
|
}
|
|
|
|
func (m *RollingUpdateDeployment) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_RollingUpdateDeployment.Merge(m, src)
|
|
|
|
}
|
|
|
|
func (m *RollingUpdateDeployment) XXX_Size() int {
|
|
|
|
return m.Size()
|
|
|
|
}
|
|
|
|
func (m *RollingUpdateDeployment) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_RollingUpdateDeployment.DiscardUnknown(m)
|
|
|
|
}
|
|
|
|
|
|
|
|
var xxx_messageInfo_RollingUpdateDeployment proto.InternalMessageInfo
|
2018-12-19 14:29:25 +00:00
|
|
|
|
|
|
|
func (m *RollingUpdateStatefulSetStrategy) Reset() { *m = RollingUpdateStatefulSetStrategy{} }
|
|
|
|
func (*RollingUpdateStatefulSetStrategy) ProtoMessage() {}
|
|
|
|
func (*RollingUpdateStatefulSetStrategy) Descriptor() ([]byte, []int) {
|
2020-01-14 10:38:55 +00:00
|
|
|
return fileDescriptor_42fe616264472f7e, []int{21}
|
|
|
|
}
|
|
|
|
func (m *RollingUpdateStatefulSetStrategy) XXX_Unmarshal(b []byte) error {
|
|
|
|
return m.Unmarshal(b)
|
|
|
|
}
|
|
|
|
func (m *RollingUpdateStatefulSetStrategy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
b = b[:cap(b)]
|
|
|
|
n, err := m.MarshalToSizedBuffer(b)
|
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
return b[:n], nil
|
|
|
|
}
|
|
|
|
func (m *RollingUpdateStatefulSetStrategy) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_RollingUpdateStatefulSetStrategy.Merge(m, src)
|
|
|
|
}
|
|
|
|
func (m *RollingUpdateStatefulSetStrategy) XXX_Size() int {
|
|
|
|
return m.Size()
|
|
|
|
}
|
|
|
|
func (m *RollingUpdateStatefulSetStrategy) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_RollingUpdateStatefulSetStrategy.DiscardUnknown(m)
|
2018-12-19 14:29:25 +00:00
|
|
|
}
|
|
|
|
|
2020-01-14 10:38:55 +00:00
|
|
|
var xxx_messageInfo_RollingUpdateStatefulSetStrategy proto.InternalMessageInfo
|
2018-12-19 14:29:25 +00:00
|
|
|
|
2020-01-14 10:38:55 +00:00
|
|
|
func (m *Scale) Reset() { *m = Scale{} }
|
|
|
|
func (*Scale) ProtoMessage() {}
|
|
|
|
func (*Scale) Descriptor() ([]byte, []int) {
|
|
|
|
return fileDescriptor_42fe616264472f7e, []int{22}
|
|
|
|
}
|
|
|
|
func (m *Scale) XXX_Unmarshal(b []byte) error {
|
|
|
|
return m.Unmarshal(b)
|
|
|
|
}
|
|
|
|
func (m *Scale) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
b = b[:cap(b)]
|
|
|
|
n, err := m.MarshalToSizedBuffer(b)
|
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
return b[:n], nil
|
|
|
|
}
|
|
|
|
func (m *Scale) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_Scale.Merge(m, src)
|
|
|
|
}
|
|
|
|
func (m *Scale) XXX_Size() int {
|
|
|
|
return m.Size()
|
|
|
|
}
|
|
|
|
func (m *Scale) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_Scale.DiscardUnknown(m)
|
|
|
|
}
|
2018-12-19 14:29:25 +00:00
|
|
|
|
2020-01-14 10:38:55 +00:00
|
|
|
var xxx_messageInfo_Scale proto.InternalMessageInfo
|
2018-12-19 14:29:25 +00:00
|
|
|
|
2020-01-14 10:38:55 +00:00
|
|
|
func (m *ScaleSpec) Reset() { *m = ScaleSpec{} }
|
|
|
|
func (*ScaleSpec) ProtoMessage() {}
|
|
|
|
func (*ScaleSpec) Descriptor() ([]byte, []int) {
|
|
|
|
return fileDescriptor_42fe616264472f7e, []int{23}
|
|
|
|
}
|
|
|
|
func (m *ScaleSpec) XXX_Unmarshal(b []byte) error {
|
|
|
|
return m.Unmarshal(b)
|
|
|
|
}
|
|
|
|
func (m *ScaleSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
b = b[:cap(b)]
|
|
|
|
n, err := m.MarshalToSizedBuffer(b)
|
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
return b[:n], nil
|
|
|
|
}
|
|
|
|
func (m *ScaleSpec) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_ScaleSpec.Merge(m, src)
|
|
|
|
}
|
|
|
|
func (m *ScaleSpec) XXX_Size() int {
|
|
|
|
return m.Size()
|
|
|
|
}
|
|
|
|
func (m *ScaleSpec) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_ScaleSpec.DiscardUnknown(m)
|
|
|
|
}
|
2018-12-19 14:29:25 +00:00
|
|
|
|
2020-01-14 10:38:55 +00:00
|
|
|
var xxx_messageInfo_ScaleSpec proto.InternalMessageInfo
|
2018-12-19 14:29:25 +00:00
|
|
|
|
2020-01-14 10:38:55 +00:00
|
|
|
func (m *ScaleStatus) Reset() { *m = ScaleStatus{} }
|
|
|
|
func (*ScaleStatus) ProtoMessage() {}
|
|
|
|
func (*ScaleStatus) Descriptor() ([]byte, []int) {
|
|
|
|
return fileDescriptor_42fe616264472f7e, []int{24}
|
|
|
|
}
|
|
|
|
func (m *ScaleStatus) XXX_Unmarshal(b []byte) error {
|
|
|
|
return m.Unmarshal(b)
|
|
|
|
}
|
|
|
|
func (m *ScaleStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
b = b[:cap(b)]
|
|
|
|
n, err := m.MarshalToSizedBuffer(b)
|
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
return b[:n], nil
|
|
|
|
}
|
|
|
|
func (m *ScaleStatus) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_ScaleStatus.Merge(m, src)
|
|
|
|
}
|
|
|
|
func (m *ScaleStatus) XXX_Size() int {
|
|
|
|
return m.Size()
|
|
|
|
}
|
|
|
|
func (m *ScaleStatus) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_ScaleStatus.DiscardUnknown(m)
|
|
|
|
}
|
2018-12-19 14:29:25 +00:00
|
|
|
|
2020-01-14 10:38:55 +00:00
|
|
|
var xxx_messageInfo_ScaleStatus proto.InternalMessageInfo
|
2018-12-19 14:29:25 +00:00
|
|
|
|
2020-01-14 10:38:55 +00:00
|
|
|
func (m *StatefulSet) Reset() { *m = StatefulSet{} }
|
|
|
|
func (*StatefulSet) ProtoMessage() {}
|
|
|
|
func (*StatefulSet) Descriptor() ([]byte, []int) {
|
|
|
|
return fileDescriptor_42fe616264472f7e, []int{25}
|
|
|
|
}
|
|
|
|
func (m *StatefulSet) XXX_Unmarshal(b []byte) error {
|
|
|
|
return m.Unmarshal(b)
|
|
|
|
}
|
|
|
|
func (m *StatefulSet) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
b = b[:cap(b)]
|
|
|
|
n, err := m.MarshalToSizedBuffer(b)
|
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
return b[:n], nil
|
|
|
|
}
|
|
|
|
func (m *StatefulSet) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_StatefulSet.Merge(m, src)
|
|
|
|
}
|
|
|
|
func (m *StatefulSet) XXX_Size() int {
|
|
|
|
return m.Size()
|
|
|
|
}
|
|
|
|
func (m *StatefulSet) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_StatefulSet.DiscardUnknown(m)
|
|
|
|
}
|
|
|
|
|
|
|
|
var xxx_messageInfo_StatefulSet proto.InternalMessageInfo
|
|
|
|
|
|
|
|
func (m *StatefulSetCondition) Reset() { *m = StatefulSetCondition{} }
|
|
|
|
func (*StatefulSetCondition) ProtoMessage() {}
|
|
|
|
func (*StatefulSetCondition) Descriptor() ([]byte, []int) {
|
|
|
|
return fileDescriptor_42fe616264472f7e, []int{26}
|
|
|
|
}
|
|
|
|
func (m *StatefulSetCondition) XXX_Unmarshal(b []byte) error {
|
|
|
|
return m.Unmarshal(b)
|
|
|
|
}
|
|
|
|
func (m *StatefulSetCondition) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
b = b[:cap(b)]
|
|
|
|
n, err := m.MarshalToSizedBuffer(b)
|
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
return b[:n], nil
|
|
|
|
}
|
|
|
|
func (m *StatefulSetCondition) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_StatefulSetCondition.Merge(m, src)
|
|
|
|
}
|
|
|
|
func (m *StatefulSetCondition) XXX_Size() int {
|
|
|
|
return m.Size()
|
|
|
|
}
|
|
|
|
func (m *StatefulSetCondition) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_StatefulSetCondition.DiscardUnknown(m)
|
|
|
|
}
|
|
|
|
|
|
|
|
var xxx_messageInfo_StatefulSetCondition proto.InternalMessageInfo
|
|
|
|
|
|
|
|
func (m *StatefulSetList) Reset() { *m = StatefulSetList{} }
|
|
|
|
func (*StatefulSetList) ProtoMessage() {}
|
|
|
|
func (*StatefulSetList) Descriptor() ([]byte, []int) {
|
|
|
|
return fileDescriptor_42fe616264472f7e, []int{27}
|
|
|
|
}
|
|
|
|
func (m *StatefulSetList) XXX_Unmarshal(b []byte) error {
|
|
|
|
return m.Unmarshal(b)
|
|
|
|
}
|
|
|
|
func (m *StatefulSetList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
b = b[:cap(b)]
|
|
|
|
n, err := m.MarshalToSizedBuffer(b)
|
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
return b[:n], nil
|
|
|
|
}
|
|
|
|
func (m *StatefulSetList) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_StatefulSetList.Merge(m, src)
|
|
|
|
}
|
|
|
|
func (m *StatefulSetList) XXX_Size() int {
|
|
|
|
return m.Size()
|
|
|
|
}
|
|
|
|
func (m *StatefulSetList) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_StatefulSetList.DiscardUnknown(m)
|
|
|
|
}
|
|
|
|
|
|
|
|
var xxx_messageInfo_StatefulSetList proto.InternalMessageInfo
|
|
|
|
|
2023-02-01 17:06:36 +00:00
|
|
|
func (m *StatefulSetOrdinals) Reset() { *m = StatefulSetOrdinals{} }
|
|
|
|
func (*StatefulSetOrdinals) ProtoMessage() {}
|
|
|
|
func (*StatefulSetOrdinals) Descriptor() ([]byte, []int) {
|
|
|
|
return fileDescriptor_42fe616264472f7e, []int{28}
|
|
|
|
}
|
|
|
|
func (m *StatefulSetOrdinals) XXX_Unmarshal(b []byte) error {
|
|
|
|
return m.Unmarshal(b)
|
|
|
|
}
|
|
|
|
func (m *StatefulSetOrdinals) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
b = b[:cap(b)]
|
|
|
|
n, err := m.MarshalToSizedBuffer(b)
|
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
return b[:n], nil
|
|
|
|
}
|
|
|
|
func (m *StatefulSetOrdinals) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_StatefulSetOrdinals.Merge(m, src)
|
|
|
|
}
|
|
|
|
func (m *StatefulSetOrdinals) XXX_Size() int {
|
|
|
|
return m.Size()
|
|
|
|
}
|
|
|
|
func (m *StatefulSetOrdinals) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_StatefulSetOrdinals.DiscardUnknown(m)
|
|
|
|
}
|
|
|
|
|
|
|
|
var xxx_messageInfo_StatefulSetOrdinals proto.InternalMessageInfo
|
|
|
|
|
2021-12-08 13:50:47 +00:00
|
|
|
func (m *StatefulSetPersistentVolumeClaimRetentionPolicy) Reset() {
|
|
|
|
*m = StatefulSetPersistentVolumeClaimRetentionPolicy{}
|
|
|
|
}
|
|
|
|
func (*StatefulSetPersistentVolumeClaimRetentionPolicy) ProtoMessage() {}
|
|
|
|
func (*StatefulSetPersistentVolumeClaimRetentionPolicy) Descriptor() ([]byte, []int) {
|
2023-02-01 17:06:36 +00:00
|
|
|
return fileDescriptor_42fe616264472f7e, []int{29}
|
2021-12-08 13:50:47 +00:00
|
|
|
}
|
|
|
|
func (m *StatefulSetPersistentVolumeClaimRetentionPolicy) XXX_Unmarshal(b []byte) error {
|
|
|
|
return m.Unmarshal(b)
|
|
|
|
}
|
|
|
|
func (m *StatefulSetPersistentVolumeClaimRetentionPolicy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
b = b[:cap(b)]
|
|
|
|
n, err := m.MarshalToSizedBuffer(b)
|
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
return b[:n], nil
|
|
|
|
}
|
|
|
|
func (m *StatefulSetPersistentVolumeClaimRetentionPolicy) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_StatefulSetPersistentVolumeClaimRetentionPolicy.Merge(m, src)
|
|
|
|
}
|
|
|
|
func (m *StatefulSetPersistentVolumeClaimRetentionPolicy) XXX_Size() int {
|
|
|
|
return m.Size()
|
|
|
|
}
|
|
|
|
func (m *StatefulSetPersistentVolumeClaimRetentionPolicy) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_StatefulSetPersistentVolumeClaimRetentionPolicy.DiscardUnknown(m)
|
|
|
|
}
|
|
|
|
|
|
|
|
var xxx_messageInfo_StatefulSetPersistentVolumeClaimRetentionPolicy proto.InternalMessageInfo
|
|
|
|
|
2020-01-14 10:38:55 +00:00
|
|
|
func (m *StatefulSetSpec) Reset() { *m = StatefulSetSpec{} }
|
|
|
|
func (*StatefulSetSpec) ProtoMessage() {}
|
|
|
|
func (*StatefulSetSpec) Descriptor() ([]byte, []int) {
|
2023-02-01 17:06:36 +00:00
|
|
|
return fileDescriptor_42fe616264472f7e, []int{30}
|
2020-01-14 10:38:55 +00:00
|
|
|
}
|
|
|
|
func (m *StatefulSetSpec) XXX_Unmarshal(b []byte) error {
|
|
|
|
return m.Unmarshal(b)
|
|
|
|
}
|
|
|
|
func (m *StatefulSetSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
b = b[:cap(b)]
|
|
|
|
n, err := m.MarshalToSizedBuffer(b)
|
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
return b[:n], nil
|
|
|
|
}
|
|
|
|
func (m *StatefulSetSpec) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_StatefulSetSpec.Merge(m, src)
|
|
|
|
}
|
|
|
|
func (m *StatefulSetSpec) XXX_Size() int {
|
|
|
|
return m.Size()
|
|
|
|
}
|
|
|
|
func (m *StatefulSetSpec) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_StatefulSetSpec.DiscardUnknown(m)
|
|
|
|
}
|
|
|
|
|
|
|
|
var xxx_messageInfo_StatefulSetSpec proto.InternalMessageInfo
|
|
|
|
|
|
|
|
func (m *StatefulSetStatus) Reset() { *m = StatefulSetStatus{} }
|
|
|
|
func (*StatefulSetStatus) ProtoMessage() {}
|
|
|
|
func (*StatefulSetStatus) Descriptor() ([]byte, []int) {
|
2023-02-01 17:06:36 +00:00
|
|
|
return fileDescriptor_42fe616264472f7e, []int{31}
|
2020-01-14 10:38:55 +00:00
|
|
|
}
|
|
|
|
func (m *StatefulSetStatus) XXX_Unmarshal(b []byte) error {
|
|
|
|
return m.Unmarshal(b)
|
|
|
|
}
|
|
|
|
func (m *StatefulSetStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
b = b[:cap(b)]
|
|
|
|
n, err := m.MarshalToSizedBuffer(b)
|
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
return b[:n], nil
|
|
|
|
}
|
|
|
|
func (m *StatefulSetStatus) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_StatefulSetStatus.Merge(m, src)
|
|
|
|
}
|
|
|
|
func (m *StatefulSetStatus) XXX_Size() int {
|
|
|
|
return m.Size()
|
|
|
|
}
|
|
|
|
func (m *StatefulSetStatus) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_StatefulSetStatus.DiscardUnknown(m)
|
|
|
|
}
|
|
|
|
|
|
|
|
var xxx_messageInfo_StatefulSetStatus proto.InternalMessageInfo
|
2018-12-19 14:29:25 +00:00
|
|
|
|
|
|
|
func (m *StatefulSetUpdateStrategy) Reset() { *m = StatefulSetUpdateStrategy{} }
|
|
|
|
func (*StatefulSetUpdateStrategy) ProtoMessage() {}
|
|
|
|
func (*StatefulSetUpdateStrategy) Descriptor() ([]byte, []int) {
|
2023-02-01 17:06:36 +00:00
|
|
|
return fileDescriptor_42fe616264472f7e, []int{32}
|
2020-01-14 10:38:55 +00:00
|
|
|
}
|
|
|
|
func (m *StatefulSetUpdateStrategy) XXX_Unmarshal(b []byte) error {
|
|
|
|
return m.Unmarshal(b)
|
|
|
|
}
|
|
|
|
func (m *StatefulSetUpdateStrategy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
b = b[:cap(b)]
|
|
|
|
n, err := m.MarshalToSizedBuffer(b)
|
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
return b[:n], nil
|
|
|
|
}
|
|
|
|
func (m *StatefulSetUpdateStrategy) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_StatefulSetUpdateStrategy.Merge(m, src)
|
|
|
|
}
|
|
|
|
func (m *StatefulSetUpdateStrategy) XXX_Size() int {
|
|
|
|
return m.Size()
|
2018-12-19 14:29:25 +00:00
|
|
|
}
|
2020-01-14 10:38:55 +00:00
|
|
|
func (m *StatefulSetUpdateStrategy) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_StatefulSetUpdateStrategy.DiscardUnknown(m)
|
|
|
|
}
|
|
|
|
|
|
|
|
var xxx_messageInfo_StatefulSetUpdateStrategy proto.InternalMessageInfo
|
2018-12-19 14:29:25 +00:00
|
|
|
|
|
|
|
func init() {
|
|
|
|
proto.RegisterType((*ControllerRevision)(nil), "k8s.io.api.apps.v1beta2.ControllerRevision")
|
|
|
|
proto.RegisterType((*ControllerRevisionList)(nil), "k8s.io.api.apps.v1beta2.ControllerRevisionList")
|
|
|
|
proto.RegisterType((*DaemonSet)(nil), "k8s.io.api.apps.v1beta2.DaemonSet")
|
|
|
|
proto.RegisterType((*DaemonSetCondition)(nil), "k8s.io.api.apps.v1beta2.DaemonSetCondition")
|
|
|
|
proto.RegisterType((*DaemonSetList)(nil), "k8s.io.api.apps.v1beta2.DaemonSetList")
|
|
|
|
proto.RegisterType((*DaemonSetSpec)(nil), "k8s.io.api.apps.v1beta2.DaemonSetSpec")
|
|
|
|
proto.RegisterType((*DaemonSetStatus)(nil), "k8s.io.api.apps.v1beta2.DaemonSetStatus")
|
|
|
|
proto.RegisterType((*DaemonSetUpdateStrategy)(nil), "k8s.io.api.apps.v1beta2.DaemonSetUpdateStrategy")
|
|
|
|
proto.RegisterType((*Deployment)(nil), "k8s.io.api.apps.v1beta2.Deployment")
|
|
|
|
proto.RegisterType((*DeploymentCondition)(nil), "k8s.io.api.apps.v1beta2.DeploymentCondition")
|
|
|
|
proto.RegisterType((*DeploymentList)(nil), "k8s.io.api.apps.v1beta2.DeploymentList")
|
|
|
|
proto.RegisterType((*DeploymentSpec)(nil), "k8s.io.api.apps.v1beta2.DeploymentSpec")
|
|
|
|
proto.RegisterType((*DeploymentStatus)(nil), "k8s.io.api.apps.v1beta2.DeploymentStatus")
|
|
|
|
proto.RegisterType((*DeploymentStrategy)(nil), "k8s.io.api.apps.v1beta2.DeploymentStrategy")
|
|
|
|
proto.RegisterType((*ReplicaSet)(nil), "k8s.io.api.apps.v1beta2.ReplicaSet")
|
|
|
|
proto.RegisterType((*ReplicaSetCondition)(nil), "k8s.io.api.apps.v1beta2.ReplicaSetCondition")
|
|
|
|
proto.RegisterType((*ReplicaSetList)(nil), "k8s.io.api.apps.v1beta2.ReplicaSetList")
|
|
|
|
proto.RegisterType((*ReplicaSetSpec)(nil), "k8s.io.api.apps.v1beta2.ReplicaSetSpec")
|
|
|
|
proto.RegisterType((*ReplicaSetStatus)(nil), "k8s.io.api.apps.v1beta2.ReplicaSetStatus")
|
|
|
|
proto.RegisterType((*RollingUpdateDaemonSet)(nil), "k8s.io.api.apps.v1beta2.RollingUpdateDaemonSet")
|
|
|
|
proto.RegisterType((*RollingUpdateDeployment)(nil), "k8s.io.api.apps.v1beta2.RollingUpdateDeployment")
|
|
|
|
proto.RegisterType((*RollingUpdateStatefulSetStrategy)(nil), "k8s.io.api.apps.v1beta2.RollingUpdateStatefulSetStrategy")
|
|
|
|
proto.RegisterType((*Scale)(nil), "k8s.io.api.apps.v1beta2.Scale")
|
|
|
|
proto.RegisterType((*ScaleSpec)(nil), "k8s.io.api.apps.v1beta2.ScaleSpec")
|
|
|
|
proto.RegisterType((*ScaleStatus)(nil), "k8s.io.api.apps.v1beta2.ScaleStatus")
|
2020-01-14 10:38:55 +00:00
|
|
|
proto.RegisterMapType((map[string]string)(nil), "k8s.io.api.apps.v1beta2.ScaleStatus.SelectorEntry")
|
2018-12-19 14:29:25 +00:00
|
|
|
proto.RegisterType((*StatefulSet)(nil), "k8s.io.api.apps.v1beta2.StatefulSet")
|
|
|
|
proto.RegisterType((*StatefulSetCondition)(nil), "k8s.io.api.apps.v1beta2.StatefulSetCondition")
|
|
|
|
proto.RegisterType((*StatefulSetList)(nil), "k8s.io.api.apps.v1beta2.StatefulSetList")
|
2023-02-01 17:06:36 +00:00
|
|
|
proto.RegisterType((*StatefulSetOrdinals)(nil), "k8s.io.api.apps.v1beta2.StatefulSetOrdinals")
|
2021-12-08 13:50:47 +00:00
|
|
|
proto.RegisterType((*StatefulSetPersistentVolumeClaimRetentionPolicy)(nil), "k8s.io.api.apps.v1beta2.StatefulSetPersistentVolumeClaimRetentionPolicy")
|
2018-12-19 14:29:25 +00:00
|
|
|
proto.RegisterType((*StatefulSetSpec)(nil), "k8s.io.api.apps.v1beta2.StatefulSetSpec")
|
|
|
|
proto.RegisterType((*StatefulSetStatus)(nil), "k8s.io.api.apps.v1beta2.StatefulSetStatus")
|
|
|
|
proto.RegisterType((*StatefulSetUpdateStrategy)(nil), "k8s.io.api.apps.v1beta2.StatefulSetUpdateStrategy")
|
|
|
|
}
|
2020-01-14 10:38:55 +00:00
|
|
|
|
|
|
|
func init() {
|
|
|
|
proto.RegisterFile("k8s.io/kubernetes/vendor/k8s.io/api/apps/v1beta2/generated.proto", fileDescriptor_42fe616264472f7e)
|
|
|
|
}
|
|
|
|
|
|
|
|
var fileDescriptor_42fe616264472f7e = []byte{
|
2023-02-01 17:06:36 +00:00
|
|
|
// 2345 bytes of a gzipped FileDescriptorProto
|
|
|
|
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xec, 0x5a, 0xcd, 0x6f, 0x1b, 0xc7,
|
|
|
|
0x15, 0xf7, 0xf2, 0x43, 0x26, 0x87, 0x96, 0x64, 0x8f, 0x54, 0x89, 0x91, 0x5b, 0xd2, 0x58, 0x1b,
|
|
|
|
0x8e, 0x12, 0xdb, 0xa4, 0xad, 0x7c, 0x20, 0xb1, 0xdb, 0xa4, 0xa2, 0x94, 0xda, 0x0e, 0xf4, 0xc1,
|
|
|
|
0x0c, 0x2d, 0x07, 0x0d, 0xfa, 0xe1, 0x11, 0x39, 0xa6, 0x36, 0x5a, 0xee, 0x2e, 0x76, 0x87, 0x8c,
|
|
|
|
0x89, 0x5e, 0x7a, 0x2d, 0x50, 0xa0, 0xed, 0xb5, 0xff, 0x44, 0xd1, 0x4b, 0x51, 0x34, 0xe8, 0xa5,
|
|
|
|
0x08, 0x02, 0x1f, 0x83, 0x5e, 0x92, 0x13, 0x51, 0x33, 0xa7, 0xa2, 0xe8, 0xad, 0xbd, 0x18, 0x28,
|
|
|
|
0x50, 0xcc, 0xec, 0xec, 0xf7, 0xae, 0xb9, 0x54, 0x6c, 0xe5, 0x03, 0xb9, 0x71, 0xe7, 0xbd, 0xf7,
|
|
|
|
0x9b, 0x37, 0x33, 0xef, 0xcd, 0xfb, 0xcd, 0x0c, 0xc1, 0x0f, 0x0f, 0x5f, 0xb3, 0x6a, 0x8a, 0x5e,
|
|
|
|
0x3f, 0xec, 0xef, 0x13, 0x53, 0x23, 0x94, 0x58, 0xf5, 0x01, 0xd1, 0x3a, 0xba, 0x59, 0x17, 0x02,
|
|
|
|
0x6c, 0x28, 0x75, 0x6c, 0x18, 0x56, 0x7d, 0x70, 0x6d, 0x9f, 0x50, 0xbc, 0x56, 0xef, 0x12, 0x8d,
|
|
|
|
0x98, 0x98, 0x92, 0x4e, 0xcd, 0x30, 0x75, 0xaa, 0xc3, 0x65, 0x5b, 0xb1, 0x86, 0x0d, 0xa5, 0xc6,
|
|
|
|
0x14, 0x6b, 0x42, 0x71, 0xe5, 0x4a, 0x57, 0xa1, 0x07, 0xfd, 0xfd, 0x5a, 0x5b, 0xef, 0xd5, 0xbb,
|
|
|
|
0x7a, 0x57, 0xaf, 0x73, 0xfd, 0xfd, 0xfe, 0x7d, 0xfe, 0xc5, 0x3f, 0xf8, 0x2f, 0x1b, 0x67, 0x45,
|
|
|
|
0xf6, 0x75, 0xd8, 0xd6, 0x4d, 0x52, 0x1f, 0x5c, 0x0b, 0xf7, 0xb5, 0xf2, 0xb2, 0xa7, 0xd3, 0xc3,
|
|
|
|
0xed, 0x03, 0x45, 0x23, 0xe6, 0xb0, 0x6e, 0x1c, 0x76, 0x59, 0x83, 0x55, 0xef, 0x11, 0x8a, 0xe3,
|
|
|
|
0xac, 0xea, 0x49, 0x56, 0x66, 0x5f, 0xa3, 0x4a, 0x8f, 0x44, 0x0c, 0x5e, 0x9d, 0x64, 0x60, 0xb5,
|
|
|
|
0x0f, 0x48, 0x0f, 0x47, 0xec, 0x5e, 0x4a, 0xb2, 0xeb, 0x53, 0x45, 0xad, 0x2b, 0x1a, 0xb5, 0xa8,
|
|
|
|
0x19, 0x36, 0x92, 0xff, 0x2b, 0x01, 0xb8, 0xa1, 0x6b, 0xd4, 0xd4, 0x55, 0x95, 0x98, 0x88, 0x0c,
|
|
|
|
0x14, 0x4b, 0xd1, 0x35, 0x78, 0x0f, 0x14, 0xd8, 0x78, 0x3a, 0x98, 0xe2, 0xb2, 0x74, 0x4e, 0x5a,
|
|
|
|
0x2d, 0xad, 0x5d, 0xad, 0x79, 0x33, 0xed, 0xc2, 0xd7, 0x8c, 0xc3, 0x2e, 0x6b, 0xb0, 0x6a, 0x4c,
|
|
|
|
0xbb, 0x36, 0xb8, 0x56, 0xdb, 0xdd, 0x7f, 0x9f, 0xb4, 0xe9, 0x36, 0xa1, 0xb8, 0x01, 0x1f, 0x8e,
|
|
|
|
0xaa, 0x27, 0xc6, 0xa3, 0x2a, 0xf0, 0xda, 0x90, 0x8b, 0x0a, 0x77, 0x41, 0x8e, 0xa3, 0x67, 0x38,
|
|
|
|
0xfa, 0x95, 0x44, 0x74, 0x31, 0xe8, 0x1a, 0xc2, 0x1f, 0xbc, 0xf5, 0x80, 0x12, 0x8d, 0xb9, 0xd7,
|
|
|
|
0x38, 0x25, 0xa0, 0x73, 0x9b, 0x98, 0x62, 0xc4, 0x81, 0xe0, 0x65, 0x50, 0x30, 0x85, 0xfb, 0xe5,
|
|
|
|
0xec, 0x39, 0x69, 0x35, 0xdb, 0x38, 0x2d, 0xb4, 0x0a, 0xce, 0xb0, 0x90, 0xab, 0x21, 0x3f, 0x94,
|
|
|
|
0xc0, 0x52, 0x74, 0xdc, 0x5b, 0x8a, 0x45, 0xe1, 0x4f, 0x22, 0x63, 0xaf, 0xa5, 0x1b, 0x3b, 0xb3,
|
|
|
|
0xe6, 0x23, 0x77, 0x3b, 0x76, 0x5a, 0x7c, 0xe3, 0x6e, 0x82, 0xbc, 0x42, 0x49, 0xcf, 0x2a, 0x67,
|
|
|
|
0xce, 0x65, 0x57, 0x4b, 0x6b, 0x97, 0x6a, 0x09, 0x01, 0x5c, 0x8b, 0x7a, 0xd7, 0x98, 0x15, 0xb8,
|
|
|
|
0xf9, 0xdb, 0x0c, 0x01, 0xd9, 0x40, 0xf2, 0xaf, 0x32, 0xa0, 0xb8, 0x89, 0x49, 0x4f, 0xd7, 0x5a,
|
|
|
|
0x84, 0x1e, 0xc3, 0xca, 0xdd, 0x02, 0x39, 0xcb, 0x20, 0x6d, 0xb1, 0x72, 0x17, 0x13, 0x07, 0xe0,
|
|
|
|
0xfa, 0xd4, 0x32, 0x48, 0xdb, 0x5b, 0x32, 0xf6, 0x85, 0x38, 0x02, 0x6c, 0x82, 0x19, 0x8b, 0x62,
|
|
|
|
0xda, 0xb7, 0xf8, 0x82, 0x95, 0xd6, 0x56, 0x53, 0x60, 0x71, 0xfd, 0xc6, 0x9c, 0x40, 0x9b, 0xb1,
|
|
|
|
0xbf, 0x91, 0xc0, 0x91, 0xff, 0x99, 0x01, 0xd0, 0xd5, 0xdd, 0xd0, 0xb5, 0x8e, 0x42, 0x59, 0x38,
|
|
|
|
0x5f, 0x07, 0x39, 0x3a, 0x34, 0x08, 0x9f, 0x90, 0x62, 0xe3, 0xa2, 0xe3, 0xca, 0x9d, 0xa1, 0x41,
|
|
|
|
0x1e, 0x8f, 0xaa, 0x4b, 0x51, 0x0b, 0x26, 0x41, 0xdc, 0x06, 0x6e, 0xb9, 0x4e, 0x66, 0xb8, 0xf5,
|
|
|
|
0xcb, 0xc1, 0xae, 0x1f, 0x8f, 0xaa, 0x31, 0x7b, 0x47, 0xcd, 0x45, 0x0a, 0x3a, 0x08, 0x07, 0x00,
|
|
|
|
0xaa, 0xd8, 0xa2, 0x77, 0x4c, 0xac, 0x59, 0x76, 0x4f, 0x4a, 0x8f, 0x88, 0xe1, 0xbf, 0x98, 0x6e,
|
|
|
|
0xa1, 0x98, 0x45, 0x63, 0x45, 0x78, 0x01, 0xb7, 0x22, 0x68, 0x28, 0xa6, 0x07, 0x78, 0x11, 0xcc,
|
|
|
|
0x98, 0x04, 0x5b, 0xba, 0x56, 0xce, 0xf1, 0x51, 0xb8, 0x13, 0x88, 0x78, 0x2b, 0x12, 0x52, 0xf8,
|
|
|
|
0x02, 0x38, 0xd9, 0x23, 0x96, 0x85, 0xbb, 0xa4, 0x9c, 0xe7, 0x8a, 0xf3, 0x42, 0xf1, 0xe4, 0xb6,
|
|
|
|
0xdd, 0x8c, 0x1c, 0xb9, 0xfc, 0x27, 0x09, 0xcc, 0xba, 0x33, 0x77, 0x0c, 0x99, 0x73, 0x33, 0x98,
|
|
|
|
0x39, 0xf2, 0xe4, 0x60, 0x49, 0x48, 0x98, 0x8f, 0xb2, 0x3e, 0xc7, 0x59, 0x38, 0xc2, 0x9f, 0x82,
|
|
|
|
0x82, 0x45, 0x54, 0xd2, 0xa6, 0xba, 0x29, 0x1c, 0x7f, 0x29, 0xa5, 0xe3, 0x78, 0x9f, 0xa8, 0x2d,
|
|
|
|
0x61, 0xda, 0x38, 0xc5, 0x3c, 0x77, 0xbe, 0x90, 0x0b, 0x09, 0xdf, 0x01, 0x05, 0x4a, 0x7a, 0x86,
|
|
|
|
0x8a, 0x29, 0x11, 0x59, 0x73, 0xde, 0xef, 0x3c, 0x8b, 0x19, 0x06, 0xd6, 0xd4, 0x3b, 0x77, 0x84,
|
|
|
|
0x1a, 0x4f, 0x19, 0x77, 0x32, 0x9c, 0x56, 0xe4, 0xc2, 0x40, 0x03, 0xcc, 0xf5, 0x8d, 0x0e, 0xd3,
|
|
|
|
0xa4, 0x6c, 0x3b, 0xef, 0x0e, 0x45, 0x0c, 0x5d, 0x9d, 0x3c, 0x2b, 0x7b, 0x01, 0xbb, 0xc6, 0x92,
|
|
|
|
0xe8, 0x65, 0x2e, 0xd8, 0x8e, 0x42, 0xf8, 0x70, 0x1d, 0xcc, 0xf7, 0x14, 0x0d, 0x11, 0xdc, 0x19,
|
|
|
|
0xb6, 0x48, 0x5b, 0xd7, 0x3a, 0x16, 0x0f, 0xa5, 0x7c, 0x63, 0x59, 0x00, 0xcc, 0x6f, 0x07, 0xc5,
|
|
|
|
0x28, 0xac, 0x0f, 0xb7, 0xc0, 0xa2, 0xb3, 0x01, 0xdf, 0x52, 0x2c, 0xaa, 0x9b, 0xc3, 0x2d, 0xa5,
|
|
|
|
0xa7, 0xd0, 0xf2, 0x0c, 0xc7, 0x29, 0x8f, 0x47, 0xd5, 0x45, 0x14, 0x23, 0x47, 0xb1, 0x56, 0xf2,
|
|
|
|
0xef, 0x66, 0xc0, 0x7c, 0x68, 0x5f, 0x80, 0x77, 0xc1, 0x52, 0xbb, 0x6f, 0x9a, 0x44, 0xa3, 0x3b,
|
|
|
|
0xfd, 0xde, 0x3e, 0x31, 0x5b, 0xed, 0x03, 0xd2, 0xe9, 0xab, 0xa4, 0xc3, 0x97, 0x35, 0xdf, 0xa8,
|
|
|
|
0x08, 0x5f, 0x97, 0x36, 0x62, 0xb5, 0x50, 0x82, 0x35, 0x7c, 0x1b, 0x40, 0x8d, 0x37, 0x6d, 0x2b,
|
|
|
|
0x96, 0xe5, 0x62, 0x66, 0x38, 0xa6, 0x9b, 0x8a, 0x3b, 0x11, 0x0d, 0x14, 0x63, 0xc5, 0x7c, 0xec,
|
|
|
|
0x10, 0x4b, 0x31, 0x49, 0x27, 0xec, 0x63, 0x36, 0xe8, 0xe3, 0x66, 0xac, 0x16, 0x4a, 0xb0, 0x86,
|
|
|
|
0xaf, 0x80, 0x92, 0xdd, 0x1b, 0x9f, 0x73, 0xb1, 0x38, 0x0b, 0x02, 0xac, 0xb4, 0xe3, 0x89, 0x90,
|
|
|
|
0x5f, 0x8f, 0x0d, 0x4d, 0xdf, 0xb7, 0x88, 0x39, 0x20, 0x9d, 0x9b, 0x36, 0x39, 0x60, 0x15, 0x34,
|
|
|
|
0xcf, 0x2b, 0xa8, 0x3b, 0xb4, 0xdd, 0x88, 0x06, 0x8a, 0xb1, 0x62, 0x43, 0xb3, 0xa3, 0x26, 0x32,
|
|
|
|
0xb4, 0x99, 0xe0, 0xd0, 0xf6, 0x62, 0xb5, 0x50, 0x82, 0x35, 0x8b, 0x3d, 0xdb, 0xe5, 0xf5, 0x01,
|
|
|
|
0x56, 0x54, 0xbc, 0xaf, 0x92, 0xf2, 0xc9, 0x60, 0xec, 0xed, 0x04, 0xc5, 0x28, 0xac, 0x0f, 0x6f,
|
|
|
|
0x82, 0x33, 0x76, 0xd3, 0x9e, 0x86, 0x5d, 0x90, 0x02, 0x07, 0x79, 0x4e, 0x80, 0x9c, 0xd9, 0x09,
|
|
|
|
0x2b, 0xa0, 0xa8, 0x0d, 0xbc, 0x0e, 0xe6, 0xda, 0xba, 0xaa, 0xf2, 0x78, 0xdc, 0xd0, 0xfb, 0x1a,
|
|
|
|
0x2d, 0x17, 0x39, 0x0a, 0x64, 0x39, 0xb4, 0x11, 0x90, 0xa0, 0x90, 0x26, 0xfc, 0x39, 0x00, 0x6d,
|
|
|
|
0xa7, 0x30, 0x58, 0x65, 0x30, 0x81, 0x01, 0x44, 0xcb, 0x92, 0x57, 0x99, 0xdd, 0x26, 0x0b, 0xf9,
|
|
|
|
0x20, 0xe5, 0x8f, 0x24, 0xb0, 0x9c, 0x90, 0xe8, 0xf0, 0xcd, 0x40, 0x11, 0xbc, 0x14, 0x2a, 0x82,
|
|
|
|
0x67, 0x13, 0xcc, 0x7c, 0x95, 0xf0, 0x00, 0xcc, 0x32, 0x42, 0xa2, 0x68, 0x5d, 0x5b, 0x45, 0xec,
|
|
|
|
0x65, 0xf5, 0xc4, 0x01, 0x20, 0xbf, 0xb6, 0xb7, 0x2b, 0x9f, 0x19, 0x8f, 0xaa, 0xb3, 0x01, 0x19,
|
|
|
|
0x0a, 0x02, 0xcb, 0xbf, 0xce, 0x00, 0xb0, 0x49, 0x0c, 0x55, 0x1f, 0xf6, 0x88, 0x76, 0x1c, 0x9c,
|
|
|
|
0xe6, 0x76, 0x80, 0xd3, 0x3c, 0x9f, 0xbc, 0x24, 0xae, 0x53, 0x89, 0xa4, 0xe6, 0x9d, 0x10, 0xa9,
|
|
|
|
0x79, 0x21, 0x0d, 0xd8, 0x93, 0x59, 0xcd, 0xa7, 0x59, 0xb0, 0xe0, 0x29, 0x7b, 0xb4, 0xe6, 0x46,
|
|
|
|
0x60, 0x45, 0x9f, 0x0f, 0xad, 0xe8, 0x72, 0x8c, 0xc9, 0x33, 0xe3, 0x35, 0xef, 0x83, 0x39, 0xc6,
|
|
|
|
0x3a, 0xec, 0xf5, 0xe3, 0x9c, 0x66, 0x66, 0x6a, 0x4e, 0xe3, 0x56, 0xa2, 0xad, 0x00, 0x12, 0x0a,
|
|
|
|
0x21, 0x27, 0x70, 0xa8, 0x93, 0x5f, 0x47, 0x0e, 0xf5, 0x67, 0x09, 0xcc, 0x79, 0xcb, 0x74, 0x0c,
|
|
|
|
0x24, 0xea, 0x56, 0x90, 0x44, 0x9d, 0x4f, 0x11, 0x9c, 0x09, 0x2c, 0xea, 0xd3, 0x9c, 0xdf, 0x75,
|
|
|
|
0x4e, 0xa3, 0x56, 0xd9, 0x11, 0xcc, 0x50, 0x95, 0x36, 0xb6, 0x44, 0xbd, 0x3d, 0x65, 0x1f, 0xbf,
|
|
|
|
0xec, 0x36, 0xe4, 0x4a, 0x03, 0x84, 0x2b, 0xf3, 0x6c, 0x09, 0x57, 0xf6, 0xe9, 0x10, 0xae, 0x1f,
|
|
|
|
0x83, 0x82, 0xe5, 0x50, 0xad, 0x1c, 0x87, 0xbc, 0x94, 0x2a, 0xb1, 0x05, 0xcb, 0x72, 0xa1, 0x5d,
|
|
|
|
0x7e, 0xe5, 0xc2, 0xc5, 0x31, 0xab, 0xfc, 0x97, 0xc9, 0xac, 0x58, 0xa0, 0x1b, 0xb8, 0x6f, 0x91,
|
|
|
|
0x0e, 0x4f, 0xaa, 0x82, 0x17, 0xe8, 0x4d, 0xde, 0x8a, 0x84, 0x14, 0xee, 0x81, 0x65, 0xc3, 0xd4,
|
|
|
|
0xbb, 0x26, 0xb1, 0xac, 0x4d, 0x82, 0x3b, 0xaa, 0xa2, 0x11, 0x67, 0x00, 0x76, 0x4d, 0x3c, 0x3b,
|
|
|
|
0x1e, 0x55, 0x97, 0x9b, 0xf1, 0x2a, 0x28, 0xc9, 0x56, 0xfe, 0x5b, 0x0e, 0x9c, 0x0e, 0xef, 0x8d,
|
|
|
|
0x09, 0x34, 0x45, 0x3a, 0x12, 0x4d, 0xb9, 0xec, 0x8b, 0x53, 0x9b, 0xc3, 0xf9, 0xae, 0x0a, 0x22,
|
|
|
|
0xb1, 0xba, 0x0e, 0xe6, 0x05, 0x2d, 0x71, 0x84, 0x82, 0xa8, 0xb9, 0xcb, 0xb3, 0x17, 0x14, 0xa3,
|
|
|
|
0xb0, 0x3e, 0xbc, 0x01, 0x66, 0x4d, 0xce, 0xbc, 0x1c, 0x00, 0x9b, 0xbd, 0x7c, 0x47, 0x00, 0xcc,
|
|
|
|
0x22, 0xbf, 0x10, 0x05, 0x75, 0x19, 0x73, 0xf1, 0x08, 0x89, 0x03, 0x90, 0x0b, 0x32, 0x97, 0xf5,
|
|
|
|
0xb0, 0x02, 0x8a, 0xda, 0xc0, 0x6d, 0xb0, 0xd0, 0xd7, 0xa2, 0x50, 0x76, 0xac, 0x9d, 0x15, 0x50,
|
|
|
|
0x0b, 0x7b, 0x51, 0x15, 0x14, 0x67, 0x07, 0xef, 0x05, 0xc8, 0xcc, 0x0c, 0xdf, 0x4f, 0x2e, 0xa7,
|
|
|
|
0xc8, 0x89, 0xd4, 0x6c, 0x26, 0x86, 0x6a, 0x15, 0xd2, 0x52, 0x2d, 0xf9, 0x43, 0x09, 0xc0, 0x68,
|
|
|
|
0x1e, 0x4e, 0xbc, 0x09, 0x88, 0x58, 0xf8, 0x2a, 0xa6, 0x12, 0xcf, 0x7f, 0xae, 0xa6, 0xe4, 0x3f,
|
|
|
|
0xde, 0x86, 0x9a, 0x8e, 0x00, 0x89, 0x89, 0x3e, 0x9e, 0x4b, 0x9d, 0xb4, 0x04, 0xc8, 0x73, 0xea,
|
|
|
|
0x29, 0x10, 0x20, 0x1f, 0xd8, 0x93, 0x09, 0xd0, 0xbf, 0x32, 0x60, 0xc1, 0x53, 0x4e, 0x4d, 0x80,
|
|
|
|
0x62, 0x4c, 0xbe, 0xbd, 0xd8, 0x49, 0x47, 0x4a, 0xbc, 0xa9, 0xfb, 0x2a, 0x91, 0x12, 0xcf, 0xab,
|
|
|
|
0x04, 0x52, 0xf2, 0x87, 0x8c, 0xdf, 0xf5, 0x29, 0x49, 0xc9, 0x53, 0xb8, 0xe1, 0xf8, 0xda, 0xf1,
|
|
|
|
0x1a, 0xf9, 0xe3, 0x2c, 0x38, 0x1d, 0xce, 0xc3, 0x40, 0x81, 0x94, 0x26, 0x16, 0xc8, 0x26, 0x58,
|
|
|
|
0xbc, 0xdf, 0x57, 0xd5, 0x21, 0x1f, 0x83, 0xaf, 0x4a, 0xda, 0xa5, 0xf5, 0xbb, 0xc2, 0x72, 0xf1,
|
|
|
|
0x47, 0x31, 0x3a, 0x28, 0xd6, 0x32, 0x5a, 0x2f, 0x73, 0x5f, 0xb4, 0x5e, 0xe6, 0x8f, 0x50, 0x2f,
|
|
|
|
0xe3, 0x29, 0x47, 0xf6, 0x48, 0x94, 0x63, 0xba, 0x62, 0x19, 0xb3, 0x71, 0x4d, 0x3c, 0xfa, 0x8f,
|
|
|
|
0x25, 0xb0, 0x14, 0x7f, 0xe0, 0x86, 0x2a, 0x98, 0xeb, 0xe1, 0x07, 0xfe, 0x8b, 0x8f, 0x49, 0x45,
|
|
|
|
0xa4, 0x4f, 0x15, 0xb5, 0x66, 0x3f, 0x19, 0xd5, 0x6e, 0x6b, 0x74, 0xd7, 0x6c, 0x51, 0x53, 0xd1,
|
|
|
|
0xba, 0x76, 0xe5, 0xdd, 0x0e, 0x60, 0xa1, 0x10, 0x36, 0x7c, 0x0f, 0x14, 0x7a, 0xf8, 0x41, 0xab,
|
|
|
|
0x6f, 0x76, 0xe3, 0x2a, 0x64, 0xba, 0x7e, 0x78, 0x02, 0x6c, 0x0b, 0x14, 0xe4, 0xe2, 0xc9, 0x9f,
|
|
|
|
0x4b, 0x60, 0x39, 0xa1, 0xaa, 0x7e, 0x83, 0x46, 0xf9, 0x57, 0x09, 0x9c, 0x0b, 0x8c, 0x92, 0xa5,
|
|
|
|
0x25, 0xb9, 0xdf, 0x57, 0x79, 0x86, 0x0a, 0x26, 0x73, 0x09, 0x14, 0x0d, 0x6c, 0x52, 0xc5, 0xe5,
|
|
|
|
0xc1, 0xf9, 0xc6, 0xec, 0x78, 0x54, 0x2d, 0x36, 0x9d, 0x46, 0xe4, 0xc9, 0x63, 0xe6, 0x26, 0xf3,
|
|
|
|
0xec, 0xe6, 0x46, 0xfe, 0x9f, 0x04, 0xf2, 0xad, 0x36, 0x56, 0xc9, 0x31, 0x10, 0x97, 0xcd, 0x00,
|
|
|
|
0x71, 0x49, 0x7e, 0x14, 0xe0, 0xfe, 0x24, 0x72, 0x96, 0xad, 0x10, 0x67, 0xb9, 0x30, 0x01, 0xe7,
|
|
|
|
0xc9, 0x74, 0xe5, 0x75, 0x50, 0x74, 0xbb, 0x9b, 0x6e, 0x2f, 0x95, 0x7f, 0x9f, 0x01, 0x25, 0x5f,
|
|
|
|
0x17, 0x53, 0xee, 0xc4, 0xf7, 0x02, 0xe5, 0x87, 0xed, 0x31, 0x6b, 0x69, 0x06, 0x52, 0x73, 0x4a,
|
|
|
|
0xcd, 0x5b, 0x1a, 0x35, 0xfd, 0x67, 0xd5, 0x68, 0x05, 0x7a, 0x03, 0xcc, 0x51, 0x6c, 0x76, 0x09,
|
|
|
|
0x75, 0x64, 0x7c, 0xc2, 0x8a, 0xde, 0xdd, 0xcd, 0x9d, 0x80, 0x14, 0x85, 0xb4, 0x57, 0x6e, 0x80,
|
|
|
|
0xd9, 0x40, 0x67, 0xf0, 0x34, 0xc8, 0x1e, 0x92, 0xa1, 0xcd, 0xe0, 0x10, 0xfb, 0x09, 0x17, 0x41,
|
|
|
|
0x7e, 0x80, 0xd5, 0xbe, 0x1d, 0xa2, 0x45, 0x64, 0x7f, 0x5c, 0xcf, 0xbc, 0x26, 0xc9, 0xbf, 0x61,
|
|
|
|
0x93, 0xe3, 0xa5, 0xc2, 0x31, 0x44, 0xd7, 0xdb, 0x81, 0xe8, 0x4a, 0x7e, 0x9f, 0xf4, 0x27, 0x68,
|
|
|
|
0x52, 0x8c, 0xa1, 0x50, 0x8c, 0xbd, 0x98, 0x0a, 0xed, 0xc9, 0x91, 0xf6, 0xef, 0x0c, 0x58, 0xf4,
|
|
|
|
0x69, 0x7b, 0xcc, 0xf8, 0xfb, 0x01, 0x66, 0xbc, 0x1a, 0x62, 0xc6, 0xe5, 0x38, 0x9b, 0x6f, 0xa9,
|
|
|
|
0xf1, 0x64, 0x6a, 0xfc, 0x17, 0x09, 0xcc, 0xfb, 0xe6, 0xee, 0x18, 0xb8, 0xf1, 0xed, 0x20, 0x37,
|
|
|
|
0xbe, 0x90, 0x26, 0x68, 0x12, 0xc8, 0xf1, 0x75, 0xb0, 0xe0, 0x53, 0xda, 0x35, 0x3b, 0x8a, 0x86,
|
|
|
|
0x55, 0x0b, 0x9e, 0x07, 0x79, 0x8b, 0x62, 0x93, 0x3a, 0x45, 0xc4, 0xb1, 0x6d, 0xb1, 0x46, 0x64,
|
|
|
|
0xcb, 0xe4, 0xff, 0x48, 0xa0, 0xee, 0x33, 0x6e, 0x12, 0xd3, 0x52, 0x2c, 0x4a, 0x34, 0x7a, 0x57,
|
|
|
|
0x57, 0xfb, 0x3d, 0xb2, 0xa1, 0x62, 0xa5, 0x87, 0x08, 0x6b, 0x50, 0x74, 0xad, 0xa9, 0xab, 0x4a,
|
|
|
|
0x7b, 0x08, 0x31, 0x28, 0x7d, 0x70, 0x40, 0xb4, 0x4d, 0xa2, 0x12, 0x2a, 0x5e, 0xe0, 0x8a, 0x8d,
|
|
|
|
0x37, 0x9d, 0x07, 0xa9, 0x77, 0x3d, 0xd1, 0xe3, 0x51, 0x75, 0x35, 0x0d, 0x22, 0x8f, 0x50, 0x3f,
|
|
|
|
0x26, 0xfc, 0x19, 0x00, 0xec, 0x93, 0xef, 0x65, 0x1d, 0x11, 0xac, 0x6f, 0x38, 0x19, 0xfd, 0xae,
|
|
|
|
0x2b, 0x99, 0xaa, 0x03, 0x1f, 0xa2, 0xfc, 0xc7, 0x42, 0x60, 0xbd, 0xbf, 0xf1, 0xb7, 0x9c, 0xbf,
|
|
|
|
0x00, 0x8b, 0x03, 0x6f, 0x76, 0x1c, 0x05, 0xc6, 0xbf, 0xb3, 0xe1, 0x93, 0xbc, 0x0b, 0x1f, 0x37,
|
|
|
|
0xaf, 0x1e, 0xeb, 0xbf, 0x1b, 0x03, 0x87, 0x62, 0x3b, 0x81, 0xaf, 0x80, 0x12, 0xe3, 0xcd, 0x4a,
|
|
|
|
0x9b, 0xec, 0xe0, 0x9e, 0x93, 0x8b, 0xee, 0x03, 0x66, 0xcb, 0x13, 0x21, 0xbf, 0x1e, 0x3c, 0x00,
|
|
|
|
0x0b, 0x86, 0xde, 0xd9, 0xc6, 0x1a, 0xee, 0x12, 0x46, 0x04, 0xed, 0xa5, 0xe4, 0x57, 0x9f, 0xc5,
|
|
|
|
0xc6, 0xab, 0xce, 0xb5, 0x56, 0x33, 0xaa, 0xf2, 0x78, 0x54, 0x5d, 0x8e, 0x69, 0xe6, 0x41, 0x10,
|
|
|
|
0x07, 0x09, 0xcd, 0xc8, 0xa3, 0xbb, 0xfd, 0xe8, 0xb0, 0x96, 0x26, 0x29, 0x8f, 0xf8, 0xec, 0x9e,
|
|
|
|
0x74, 0xb3, 0x5b, 0x38, 0xd2, 0xcd, 0x6e, 0xcc, 0x11, 0xb7, 0x38, 0xe5, 0x11, 0xf7, 0x63, 0x09,
|
|
|
|
0x5c, 0x30, 0x52, 0xe4, 0x52, 0x19, 0xf0, 0xb9, 0xb9, 0x95, 0x66, 0x6e, 0xd2, 0xe4, 0x66, 0x63,
|
|
|
|
0x75, 0x3c, 0xaa, 0x5e, 0x48, 0xa3, 0x89, 0x52, 0xf9, 0x07, 0xef, 0x82, 0x82, 0x2e, 0xf6, 0xc0,
|
|
|
|
0x72, 0x89, 0xfb, 0x7a, 0x39, 0x8d, 0xaf, 0xce, 0xbe, 0x69, 0xa7, 0xa5, 0xf3, 0x85, 0x5c, 0x2c,
|
|
|
|
0xf9, 0xc3, 0x3c, 0x38, 0x13, 0xa9, 0xe0, 0x5f, 0xe2, 0xfd, 0x75, 0xe4, 0x30, 0x9d, 0x9d, 0xe2,
|
|
|
|
0x30, 0xbd, 0x0e, 0xe6, 0xc5, 0x5f, 0x22, 0x42, 0x67, 0x71, 0x37, 0x60, 0x36, 0x82, 0x62, 0x14,
|
|
|
|
0xd6, 0x8f, 0xbb, 0x3f, 0xcf, 0x4f, 0x79, 0x7f, 0xee, 0xf7, 0x42, 0xfc, 0xc5, 0xcf, 0x4e, 0xef,
|
|
|
|
0xa8, 0x17, 0xe2, 0x9f, 0x7e, 0x61, 0x7d, 0x46, 0x5c, 0x6d, 0x54, 0x17, 0xe1, 0x64, 0x90, 0xb8,
|
|
|
|
0xee, 0x05, 0xa4, 0x28, 0xa4, 0xfd, 0x85, 0x9e, 0xfd, 0x71, 0xcc, 0xb3, 0xff, 0x95, 0x34, 0xb1,
|
|
|
|
0x96, 0xfe, 0xaa, 0x3c, 0xf6, 0xd2, 0xa3, 0x34, 0xfd, 0xa5, 0x87, 0xfc, 0x77, 0x09, 0x3c, 0x97,
|
|
|
|
0xb8, 0x6b, 0xc1, 0xf5, 0x00, 0xad, 0xbc, 0x12, 0xa2, 0x95, 0xdf, 0x4b, 0x34, 0xf4, 0x71, 0x4b,
|
|
|
|
0x33, 0xfe, 0x16, 0xfd, 0xf5, 0x74, 0xb7, 0xe8, 0x31, 0x27, 0xe1, 0xc9, 0xd7, 0xe9, 0x8d, 0x1f,
|
|
|
|
0x3c, 0x7c, 0x54, 0x39, 0xf1, 0xc9, 0xa3, 0xca, 0x89, 0xcf, 0x1e, 0x55, 0x4e, 0xfc, 0x72, 0x5c,
|
|
|
|
0x91, 0x1e, 0x8e, 0x2b, 0xd2, 0x27, 0xe3, 0x8a, 0xf4, 0xd9, 0xb8, 0x22, 0xfd, 0x63, 0x5c, 0x91,
|
|
|
|
0x7e, 0xfb, 0x79, 0xe5, 0xc4, 0x7b, 0xcb, 0x09, 0x7f, 0x3a, 0xfe, 0x7f, 0x00, 0x00, 0x00, 0xff,
|
|
|
|
0xff, 0xd1, 0xcb, 0x7d, 0xc7, 0xa7, 0x2c, 0x00, 0x00,
|
2020-01-14 10:38:55 +00:00
|
|
|
}
|
|
|
|
|
2018-12-19 14:29:25 +00:00
|
|
|
func (m *ControllerRevision) Marshal() (dAtA []byte, err error) {
|
|
|
|
size := m.Size()
|
|
|
|
dAtA = make([]byte, size)
|
2020-01-14 10:38:55 +00:00
|
|
|
n, err := m.MarshalToSizedBuffer(dAtA[:size])
|
2018-12-19 14:29:25 +00:00
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
return dAtA[:n], nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *ControllerRevision) MarshalTo(dAtA []byte) (int, error) {
|
2020-01-14 10:38:55 +00:00
|
|
|
size := m.Size()
|
|
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *ControllerRevision) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
|
|
i := len(dAtA)
|
2018-12-19 14:29:25 +00:00
|
|
|
_ = i
|
|
|
|
var l int
|
|
|
|
_ = l
|
2020-01-14 10:38:55 +00:00
|
|
|
i = encodeVarintGenerated(dAtA, i, uint64(m.Revision))
|
|
|
|
i--
|
|
|
|
dAtA[i] = 0x18
|
|
|
|
{
|
|
|
|
size, err := m.Data.MarshalToSizedBuffer(dAtA[:i])
|
|
|
|
if err != nil {
|
|
|
|
return 0, err
|
|
|
|
}
|
|
|
|
i -= size
|
|
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
2018-12-19 14:29:25 +00:00
|
|
|
}
|
2020-01-14 10:38:55 +00:00
|
|
|
i--
|
2018-12-19 14:29:25 +00:00
|
|
|
dAtA[i] = 0x12
|
2020-01-14 10:38:55 +00:00
|
|
|
{
|
|
|
|
size, err := m.ObjectMeta.MarshalToSizedBuffer(dAtA[:i])
|
|
|
|
if err != nil {
|
|
|
|
return 0, err
|
|
|
|
}
|
|
|
|
i -= size
|
|
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
2018-12-19 14:29:25 +00:00
|
|
|
}
|
2020-01-14 10:38:55 +00:00
|
|
|
i--
|
|
|
|
dAtA[i] = 0xa
|
|
|
|
return len(dAtA) - i, nil
|
2018-12-19 14:29:25 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
func (m *ControllerRevisionList) Marshal() (dAtA []byte, err error) {
|
|
|
|
size := m.Size()
|
|
|
|
dAtA = make([]byte, size)
|
2020-01-14 10:38:55 +00:00
|
|
|
n, err := m.MarshalToSizedBuffer(dAtA[:size])
|
2018-12-19 14:29:25 +00:00
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
return dAtA[:n], nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *ControllerRevisionList) MarshalTo(dAtA []byte) (int, error) {
|
2020-01-14 10:38:55 +00:00
|
|
|
size := m.Size()
|
|
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *ControllerRevisionList) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
|
|
i := len(dAtA)
|
2018-12-19 14:29:25 +00:00
|
|
|
_ = i
|
|
|
|
var l int
|
|
|
|
_ = l
|
|
|
|
if len(m.Items) > 0 {
|
2020-01-14 10:38:55 +00:00
|
|
|
for iNdEx := len(m.Items) - 1; iNdEx >= 0; iNdEx-- {
|
|
|
|
{
|
|
|
|
size, err := m.Items[iNdEx].MarshalToSizedBuffer(dAtA[:i])
|
|
|
|
if err != nil {
|
|
|
|
return 0, err
|
|
|
|
}
|
|
|
|
i -= size
|
|
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
2018-12-19 14:29:25 +00:00
|
|
|
}
|
2020-01-14 10:38:55 +00:00
|
|
|
i--
|
|
|
|
dAtA[i] = 0x12
|
|
|
|
}
|
|
|
|
}
|
|
|
|
{
|
|
|
|
size, err := m.ListMeta.MarshalToSizedBuffer(dAtA[:i])
|
|
|
|
if err != nil {
|
|
|
|
return 0, err
|
2018-12-19 14:29:25 +00:00
|
|
|
}
|
2020-01-14 10:38:55 +00:00
|
|
|
i -= size
|
|
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
2018-12-19 14:29:25 +00:00
|
|
|
}
|
2020-01-14 10:38:55 +00:00
|
|
|
i--
|
|
|
|
dAtA[i] = 0xa
|
|
|
|
return len(dAtA) - i, nil
|
2018-12-19 14:29:25 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
func (m *DaemonSet) Marshal() (dAtA []byte, err error) {
|
|
|
|
size := m.Size()
|
|
|
|
dAtA = make([]byte, size)
|
2020-01-14 10:38:55 +00:00
|
|
|
n, err := m.MarshalToSizedBuffer(dAtA[:size])
|
2018-12-19 14:29:25 +00:00
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
return dAtA[:n], nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *DaemonSet) MarshalTo(dAtA []byte) (int, error) {
|
2020-01-14 10:38:55 +00:00
|
|
|
size := m.Size()
|
|
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *DaemonSet) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
|
|
i := len(dAtA)
|
2018-12-19 14:29:25 +00:00
|
|
|
_ = i
|
|
|
|
var l int
|
|
|
|
_ = l
|
2020-01-14 10:38:55 +00:00
|
|
|
{
|
|
|
|
size, err := m.Status.MarshalToSizedBuffer(dAtA[:i])
|
|
|
|
if err != nil {
|
|
|
|
return 0, err
|
|
|
|
}
|
|
|
|
i -= size
|
|
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
2018-12-19 14:29:25 +00:00
|
|
|
}
|
2020-01-14 10:38:55 +00:00
|
|
|
i--
|
2018-12-19 14:29:25 +00:00
|
|
|
dAtA[i] = 0x1a
|
2020-01-14 10:38:55 +00:00
|
|
|
{
|
|
|
|
size, err := m.Spec.MarshalToSizedBuffer(dAtA[:i])
|
|
|
|
if err != nil {
|
|
|
|
return 0, err
|
|
|
|
}
|
|
|
|
i -= size
|
|
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
|
|
|
}
|
|
|
|
i--
|
|
|
|
dAtA[i] = 0x12
|
|
|
|
{
|
|
|
|
size, err := m.ObjectMeta.MarshalToSizedBuffer(dAtA[:i])
|
|
|
|
if err != nil {
|
|
|
|
return 0, err
|
|
|
|
}
|
|
|
|
i -= size
|
|
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
2018-12-19 14:29:25 +00:00
|
|
|
}
|
2020-01-14 10:38:55 +00:00
|
|
|
i--
|
|
|
|
dAtA[i] = 0xa
|
|
|
|
return len(dAtA) - i, nil
|
2018-12-19 14:29:25 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
func (m *DaemonSetCondition) Marshal() (dAtA []byte, err error) {
|
|
|
|
size := m.Size()
|
|
|
|
dAtA = make([]byte, size)
|
2020-01-14 10:38:55 +00:00
|
|
|
n, err := m.MarshalToSizedBuffer(dAtA[:size])
|
2018-12-19 14:29:25 +00:00
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
return dAtA[:n], nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *DaemonSetCondition) MarshalTo(dAtA []byte) (int, error) {
|
2020-01-14 10:38:55 +00:00
|
|
|
size := m.Size()
|
|
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *DaemonSetCondition) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
|
|
i := len(dAtA)
|
2018-12-19 14:29:25 +00:00
|
|
|
_ = i
|
|
|
|
var l int
|
|
|
|
_ = l
|
2020-01-14 10:38:55 +00:00
|
|
|
i -= len(m.Message)
|
|
|
|
copy(dAtA[i:], m.Message)
|
2018-12-19 14:29:25 +00:00
|
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Message)))
|
2020-01-14 10:38:55 +00:00
|
|
|
i--
|
|
|
|
dAtA[i] = 0x2a
|
|
|
|
i -= len(m.Reason)
|
|
|
|
copy(dAtA[i:], m.Reason)
|
|
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Reason)))
|
|
|
|
i--
|
|
|
|
dAtA[i] = 0x22
|
|
|
|
{
|
|
|
|
size, err := m.LastTransitionTime.MarshalToSizedBuffer(dAtA[:i])
|
|
|
|
if err != nil {
|
|
|
|
return 0, err
|
|
|
|
}
|
|
|
|
i -= size
|
|
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
|
|
|
}
|
|
|
|
i--
|
|
|
|
dAtA[i] = 0x1a
|
|
|
|
i -= len(m.Status)
|
|
|
|
copy(dAtA[i:], m.Status)
|
|
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Status)))
|
|
|
|
i--
|
|
|
|
dAtA[i] = 0x12
|
|
|
|
i -= len(m.Type)
|
|
|
|
copy(dAtA[i:], m.Type)
|
|
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Type)))
|
|
|
|
i--
|
|
|
|
dAtA[i] = 0xa
|
|
|
|
return len(dAtA) - i, nil
|
2018-12-19 14:29:25 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
func (m *DaemonSetList) Marshal() (dAtA []byte, err error) {
|
|
|
|
size := m.Size()
|
|
|
|
dAtA = make([]byte, size)
|
2020-01-14 10:38:55 +00:00
|
|
|
n, err := m.MarshalToSizedBuffer(dAtA[:size])
|
2018-12-19 14:29:25 +00:00
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
return dAtA[:n], nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *DaemonSetList) MarshalTo(dAtA []byte) (int, error) {
|
2020-01-14 10:38:55 +00:00
|
|
|
size := m.Size()
|
|
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *DaemonSetList) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
|
|
i := len(dAtA)
|
2018-12-19 14:29:25 +00:00
|
|
|
_ = i
|
|
|
|
var l int
|
|
|
|
_ = l
|
|
|
|
if len(m.Items) > 0 {
|
2020-01-14 10:38:55 +00:00
|
|
|
for iNdEx := len(m.Items) - 1; iNdEx >= 0; iNdEx-- {
|
|
|
|
{
|
|
|
|
size, err := m.Items[iNdEx].MarshalToSizedBuffer(dAtA[:i])
|
|
|
|
if err != nil {
|
|
|
|
return 0, err
|
|
|
|
}
|
|
|
|
i -= size
|
|
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
2018-12-19 14:29:25 +00:00
|
|
|
}
|
2020-01-14 10:38:55 +00:00
|
|
|
i--
|
|
|
|
dAtA[i] = 0x12
|
|
|
|
}
|
|
|
|
}
|
|
|
|
{
|
|
|
|
size, err := m.ListMeta.MarshalToSizedBuffer(dAtA[:i])
|
|
|
|
if err != nil {
|
|
|
|
return 0, err
|
2018-12-19 14:29:25 +00:00
|
|
|
}
|
2020-01-14 10:38:55 +00:00
|
|
|
i -= size
|
|
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
2018-12-19 14:29:25 +00:00
|
|
|
}
|
2020-01-14 10:38:55 +00:00
|
|
|
i--
|
|
|
|
dAtA[i] = 0xa
|
|
|
|
return len(dAtA) - i, nil
|
2018-12-19 14:29:25 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
func (m *DaemonSetSpec) Marshal() (dAtA []byte, err error) {
|
|
|
|
size := m.Size()
|
|
|
|
dAtA = make([]byte, size)
|
2020-01-14 10:38:55 +00:00
|
|
|
n, err := m.MarshalToSizedBuffer(dAtA[:size])
|
2018-12-19 14:29:25 +00:00
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
return dAtA[:n], nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *DaemonSetSpec) MarshalTo(dAtA []byte) (int, error) {
|
2020-01-14 10:38:55 +00:00
|
|
|
size := m.Size()
|
|
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *DaemonSetSpec) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
|
|
i := len(dAtA)
|
2018-12-19 14:29:25 +00:00
|
|
|
_ = i
|
|
|
|
var l int
|
|
|
|
_ = l
|
2020-01-14 10:38:55 +00:00
|
|
|
if m.RevisionHistoryLimit != nil {
|
|
|
|
i = encodeVarintGenerated(dAtA, i, uint64(*m.RevisionHistoryLimit))
|
|
|
|
i--
|
|
|
|
dAtA[i] = 0x30
|
|
|
|
}
|
|
|
|
i = encodeVarintGenerated(dAtA, i, uint64(m.MinReadySeconds))
|
|
|
|
i--
|
|
|
|
dAtA[i] = 0x20
|
|
|
|
{
|
|
|
|
size, err := m.UpdateStrategy.MarshalToSizedBuffer(dAtA[:i])
|
2018-12-19 14:29:25 +00:00
|
|
|
if err != nil {
|
|
|
|
return 0, err
|
|
|
|
}
|
2020-01-14 10:38:55 +00:00
|
|
|
i -= size
|
|
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
2018-12-19 14:29:25 +00:00
|
|
|
}
|
2020-01-14 10:38:55 +00:00
|
|
|
i--
|
2018-12-19 14:29:25 +00:00
|
|
|
dAtA[i] = 0x1a
|
2020-01-14 10:38:55 +00:00
|
|
|
{
|
|
|
|
size, err := m.Template.MarshalToSizedBuffer(dAtA[:i])
|
|
|
|
if err != nil {
|
|
|
|
return 0, err
|
|
|
|
}
|
|
|
|
i -= size
|
|
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
2018-12-19 14:29:25 +00:00
|
|
|
}
|
2020-01-14 10:38:55 +00:00
|
|
|
i--
|
|
|
|
dAtA[i] = 0x12
|
|
|
|
if m.Selector != nil {
|
|
|
|
{
|
|
|
|
size, err := m.Selector.MarshalToSizedBuffer(dAtA[:i])
|
|
|
|
if err != nil {
|
|
|
|
return 0, err
|
|
|
|
}
|
|
|
|
i -= size
|
|
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
|
|
|
}
|
|
|
|
i--
|
|
|
|
dAtA[i] = 0xa
|
2018-12-19 14:29:25 +00:00
|
|
|
}
|
2020-01-14 10:38:55 +00:00
|
|
|
return len(dAtA) - i, nil
|
2018-12-19 14:29:25 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
func (m *DaemonSetStatus) Marshal() (dAtA []byte, err error) {
|
|
|
|
size := m.Size()
|
|
|
|
dAtA = make([]byte, size)
|
2020-01-14 10:38:55 +00:00
|
|
|
n, err := m.MarshalToSizedBuffer(dAtA[:size])
|
2018-12-19 14:29:25 +00:00
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
return dAtA[:n], nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *DaemonSetStatus) MarshalTo(dAtA []byte) (int, error) {
|
2020-01-14 10:38:55 +00:00
|
|
|
size := m.Size()
|
|
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *DaemonSetStatus) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
|
|
i := len(dAtA)
|
2018-12-19 14:29:25 +00:00
|
|
|
_ = i
|
|
|
|
var l int
|
|
|
|
_ = l
|
|
|
|
if len(m.Conditions) > 0 {
|
2020-01-14 10:38:55 +00:00
|
|
|
for iNdEx := len(m.Conditions) - 1; iNdEx >= 0; iNdEx-- {
|
|
|
|
{
|
|
|
|
size, err := m.Conditions[iNdEx].MarshalToSizedBuffer(dAtA[:i])
|
|
|
|
if err != nil {
|
|
|
|
return 0, err
|
|
|
|
}
|
|
|
|
i -= size
|
|
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
2018-12-19 14:29:25 +00:00
|
|
|
}
|
2020-01-14 10:38:55 +00:00
|
|
|
i--
|
|
|
|
dAtA[i] = 0x52
|
2018-12-19 14:29:25 +00:00
|
|
|
}
|
|
|
|
}
|
2020-01-14 10:38:55 +00:00
|
|
|
if m.CollisionCount != nil {
|
|
|
|
i = encodeVarintGenerated(dAtA, i, uint64(*m.CollisionCount))
|
|
|
|
i--
|
|
|
|
dAtA[i] = 0x48
|
|
|
|
}
|
|
|
|
i = encodeVarintGenerated(dAtA, i, uint64(m.NumberUnavailable))
|
|
|
|
i--
|
|
|
|
dAtA[i] = 0x40
|
|
|
|
i = encodeVarintGenerated(dAtA, i, uint64(m.NumberAvailable))
|
|
|
|
i--
|
|
|
|
dAtA[i] = 0x38
|
|
|
|
i = encodeVarintGenerated(dAtA, i, uint64(m.UpdatedNumberScheduled))
|
|
|
|
i--
|
|
|
|
dAtA[i] = 0x30
|
|
|
|
i = encodeVarintGenerated(dAtA, i, uint64(m.ObservedGeneration))
|
|
|
|
i--
|
|
|
|
dAtA[i] = 0x28
|
|
|
|
i = encodeVarintGenerated(dAtA, i, uint64(m.NumberReady))
|
|
|
|
i--
|
|
|
|
dAtA[i] = 0x20
|
|
|
|
i = encodeVarintGenerated(dAtA, i, uint64(m.DesiredNumberScheduled))
|
|
|
|
i--
|
|
|
|
dAtA[i] = 0x18
|
|
|
|
i = encodeVarintGenerated(dAtA, i, uint64(m.NumberMisscheduled))
|
|
|
|
i--
|
|
|
|
dAtA[i] = 0x10
|
|
|
|
i = encodeVarintGenerated(dAtA, i, uint64(m.CurrentNumberScheduled))
|
|
|
|
i--
|
|
|
|
dAtA[i] = 0x8
|
|
|
|
return len(dAtA) - i, nil
|
2018-12-19 14:29:25 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
func (m *DaemonSetUpdateStrategy) Marshal() (dAtA []byte, err error) {
|
|
|
|
size := m.Size()
|
|
|
|
dAtA = make([]byte, size)
|
2020-01-14 10:38:55 +00:00
|
|
|
n, err := m.MarshalToSizedBuffer(dAtA[:size])
|
2018-12-19 14:29:25 +00:00
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
return dAtA[:n], nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *DaemonSetUpdateStrategy) MarshalTo(dAtA []byte) (int, error) {
|
2020-01-14 10:38:55 +00:00
|
|
|
size := m.Size()
|
|
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *DaemonSetUpdateStrategy) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
|
|
i := len(dAtA)
|
2018-12-19 14:29:25 +00:00
|
|
|
_ = i
|
|
|
|
var l int
|
|
|
|
_ = l
|
|
|
|
if m.RollingUpdate != nil {
|
2020-01-14 10:38:55 +00:00
|
|
|
{
|
|
|
|
size, err := m.RollingUpdate.MarshalToSizedBuffer(dAtA[:i])
|
|
|
|
if err != nil {
|
|
|
|
return 0, err
|
|
|
|
}
|
|
|
|
i -= size
|
|
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
2018-12-19 14:29:25 +00:00
|
|
|
}
|
2020-01-14 10:38:55 +00:00
|
|
|
i--
|
|
|
|
dAtA[i] = 0x12
|
2018-12-19 14:29:25 +00:00
|
|
|
}
|
2020-01-14 10:38:55 +00:00
|
|
|
i -= len(m.Type)
|
|
|
|
copy(dAtA[i:], m.Type)
|
|
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Type)))
|
|
|
|
i--
|
|
|
|
dAtA[i] = 0xa
|
|
|
|
return len(dAtA) - i, nil
|
2018-12-19 14:29:25 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
func (m *Deployment) Marshal() (dAtA []byte, err error) {
|
|
|
|
size := m.Size()
|
|
|
|
dAtA = make([]byte, size)
|
2020-01-14 10:38:55 +00:00
|
|
|
n, err := m.MarshalToSizedBuffer(dAtA[:size])
|
2018-12-19 14:29:25 +00:00
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
return dAtA[:n], nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *Deployment) MarshalTo(dAtA []byte) (int, error) {
|
2020-01-14 10:38:55 +00:00
|
|
|
size := m.Size()
|
|
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *Deployment) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
|
|
i := len(dAtA)
|
2018-12-19 14:29:25 +00:00
|
|
|
_ = i
|
|
|
|
var l int
|
|
|
|
_ = l
|
2020-01-14 10:38:55 +00:00
|
|
|
{
|
|
|
|
size, err := m.Status.MarshalToSizedBuffer(dAtA[:i])
|
|
|
|
if err != nil {
|
|
|
|
return 0, err
|
|
|
|
}
|
|
|
|
i -= size
|
|
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
2018-12-19 14:29:25 +00:00
|
|
|
}
|
2020-01-14 10:38:55 +00:00
|
|
|
i--
|
2018-12-19 14:29:25 +00:00
|
|
|
dAtA[i] = 0x1a
|
2020-01-14 10:38:55 +00:00
|
|
|
{
|
|
|
|
size, err := m.Spec.MarshalToSizedBuffer(dAtA[:i])
|
|
|
|
if err != nil {
|
|
|
|
return 0, err
|
|
|
|
}
|
|
|
|
i -= size
|
|
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
2018-12-19 14:29:25 +00:00
|
|
|
}
|
2020-01-14 10:38:55 +00:00
|
|
|
i--
|
|
|
|
dAtA[i] = 0x12
|
|
|
|
{
|
|
|
|
size, err := m.ObjectMeta.MarshalToSizedBuffer(dAtA[:i])
|
|
|
|
if err != nil {
|
|
|
|
return 0, err
|
|
|
|
}
|
|
|
|
i -= size
|
|
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
|
|
|
}
|
|
|
|
i--
|
|
|
|
dAtA[i] = 0xa
|
|
|
|
return len(dAtA) - i, nil
|
2018-12-19 14:29:25 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
func (m *DeploymentCondition) Marshal() (dAtA []byte, err error) {
|
|
|
|
size := m.Size()
|
|
|
|
dAtA = make([]byte, size)
|
2020-01-14 10:38:55 +00:00
|
|
|
n, err := m.MarshalToSizedBuffer(dAtA[:size])
|
2018-12-19 14:29:25 +00:00
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
return dAtA[:n], nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *DeploymentCondition) MarshalTo(dAtA []byte) (int, error) {
|
2020-01-14 10:38:55 +00:00
|
|
|
size := m.Size()
|
|
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *DeploymentCondition) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
|
|
i := len(dAtA)
|
2018-12-19 14:29:25 +00:00
|
|
|
_ = i
|
|
|
|
var l int
|
|
|
|
_ = l
|
2020-01-14 10:38:55 +00:00
|
|
|
{
|
|
|
|
size, err := m.LastTransitionTime.MarshalToSizedBuffer(dAtA[:i])
|
|
|
|
if err != nil {
|
|
|
|
return 0, err
|
|
|
|
}
|
|
|
|
i -= size
|
|
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
2018-12-19 14:29:25 +00:00
|
|
|
}
|
2020-01-14 10:38:55 +00:00
|
|
|
i--
|
2018-12-19 14:29:25 +00:00
|
|
|
dAtA[i] = 0x3a
|
2020-01-14 10:38:55 +00:00
|
|
|
{
|
|
|
|
size, err := m.LastUpdateTime.MarshalToSizedBuffer(dAtA[:i])
|
|
|
|
if err != nil {
|
|
|
|
return 0, err
|
|
|
|
}
|
|
|
|
i -= size
|
|
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
2018-12-19 14:29:25 +00:00
|
|
|
}
|
2020-01-14 10:38:55 +00:00
|
|
|
i--
|
|
|
|
dAtA[i] = 0x32
|
|
|
|
i -= len(m.Message)
|
|
|
|
copy(dAtA[i:], m.Message)
|
|
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Message)))
|
|
|
|
i--
|
|
|
|
dAtA[i] = 0x2a
|
|
|
|
i -= len(m.Reason)
|
|
|
|
copy(dAtA[i:], m.Reason)
|
|
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Reason)))
|
|
|
|
i--
|
|
|
|
dAtA[i] = 0x22
|
|
|
|
i -= len(m.Status)
|
|
|
|
copy(dAtA[i:], m.Status)
|
|
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Status)))
|
|
|
|
i--
|
|
|
|
dAtA[i] = 0x12
|
|
|
|
i -= len(m.Type)
|
|
|
|
copy(dAtA[i:], m.Type)
|
|
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Type)))
|
|
|
|
i--
|
|
|
|
dAtA[i] = 0xa
|
|
|
|
return len(dAtA) - i, nil
|
2018-12-19 14:29:25 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
func (m *DeploymentList) Marshal() (dAtA []byte, err error) {
|
|
|
|
size := m.Size()
|
|
|
|
dAtA = make([]byte, size)
|
2020-01-14 10:38:55 +00:00
|
|
|
n, err := m.MarshalToSizedBuffer(dAtA[:size])
|
2018-12-19 14:29:25 +00:00
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
return dAtA[:n], nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *DeploymentList) MarshalTo(dAtA []byte) (int, error) {
|
2020-01-14 10:38:55 +00:00
|
|
|
size := m.Size()
|
|
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *DeploymentList) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
|
|
i := len(dAtA)
|
2018-12-19 14:29:25 +00:00
|
|
|
_ = i
|
|
|
|
var l int
|
|
|
|
_ = l
|
|
|
|
if len(m.Items) > 0 {
|
2020-01-14 10:38:55 +00:00
|
|
|
for iNdEx := len(m.Items) - 1; iNdEx >= 0; iNdEx-- {
|
|
|
|
{
|
|
|
|
size, err := m.Items[iNdEx].MarshalToSizedBuffer(dAtA[:i])
|
|
|
|
if err != nil {
|
|
|
|
return 0, err
|
|
|
|
}
|
|
|
|
i -= size
|
|
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
2018-12-19 14:29:25 +00:00
|
|
|
}
|
2020-01-14 10:38:55 +00:00
|
|
|
i--
|
|
|
|
dAtA[i] = 0x12
|
2018-12-19 14:29:25 +00:00
|
|
|
}
|
|
|
|
}
|
2020-01-14 10:38:55 +00:00
|
|
|
{
|
|
|
|
size, err := m.ListMeta.MarshalToSizedBuffer(dAtA[:i])
|
|
|
|
if err != nil {
|
|
|
|
return 0, err
|
|
|
|
}
|
|
|
|
i -= size
|
|
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
|
|
|
}
|
|
|
|
i--
|
|
|
|
dAtA[i] = 0xa
|
|
|
|
return len(dAtA) - i, nil
|
2018-12-19 14:29:25 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
func (m *DeploymentSpec) Marshal() (dAtA []byte, err error) {
|
|
|
|
size := m.Size()
|
|
|
|
dAtA = make([]byte, size)
|
2020-01-14 10:38:55 +00:00
|
|
|
n, err := m.MarshalToSizedBuffer(dAtA[:size])
|
2018-12-19 14:29:25 +00:00
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
return dAtA[:n], nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *DeploymentSpec) MarshalTo(dAtA []byte) (int, error) {
|
2020-01-14 10:38:55 +00:00
|
|
|
size := m.Size()
|
|
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *DeploymentSpec) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
|
|
i := len(dAtA)
|
2018-12-19 14:29:25 +00:00
|
|
|
_ = i
|
|
|
|
var l int
|
|
|
|
_ = l
|
2020-01-14 10:38:55 +00:00
|
|
|
if m.ProgressDeadlineSeconds != nil {
|
|
|
|
i = encodeVarintGenerated(dAtA, i, uint64(*m.ProgressDeadlineSeconds))
|
|
|
|
i--
|
|
|
|
dAtA[i] = 0x48
|
|
|
|
}
|
|
|
|
i--
|
|
|
|
if m.Paused {
|
|
|
|
dAtA[i] = 1
|
|
|
|
} else {
|
|
|
|
dAtA[i] = 0
|
2018-12-19 14:29:25 +00:00
|
|
|
}
|
2020-01-14 10:38:55 +00:00
|
|
|
i--
|
|
|
|
dAtA[i] = 0x38
|
|
|
|
if m.RevisionHistoryLimit != nil {
|
|
|
|
i = encodeVarintGenerated(dAtA, i, uint64(*m.RevisionHistoryLimit))
|
|
|
|
i--
|
|
|
|
dAtA[i] = 0x30
|
|
|
|
}
|
|
|
|
i = encodeVarintGenerated(dAtA, i, uint64(m.MinReadySeconds))
|
|
|
|
i--
|
|
|
|
dAtA[i] = 0x28
|
|
|
|
{
|
|
|
|
size, err := m.Strategy.MarshalToSizedBuffer(dAtA[:i])
|
2018-12-19 14:29:25 +00:00
|
|
|
if err != nil {
|
|
|
|
return 0, err
|
|
|
|
}
|
2020-01-14 10:38:55 +00:00
|
|
|
i -= size
|
|
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
2018-12-19 14:29:25 +00:00
|
|
|
}
|
2020-01-14 10:38:55 +00:00
|
|
|
i--
|
2018-12-19 14:29:25 +00:00
|
|
|
dAtA[i] = 0x22
|
2020-01-14 10:38:55 +00:00
|
|
|
{
|
|
|
|
size, err := m.Template.MarshalToSizedBuffer(dAtA[:i])
|
|
|
|
if err != nil {
|
|
|
|
return 0, err
|
|
|
|
}
|
|
|
|
i -= size
|
|
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
2018-12-19 14:29:25 +00:00
|
|
|
}
|
2020-01-14 10:38:55 +00:00
|
|
|
i--
|
|
|
|
dAtA[i] = 0x1a
|
|
|
|
if m.Selector != nil {
|
|
|
|
{
|
|
|
|
size, err := m.Selector.MarshalToSizedBuffer(dAtA[:i])
|
|
|
|
if err != nil {
|
|
|
|
return 0, err
|
|
|
|
}
|
|
|
|
i -= size
|
|
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
|
|
|
}
|
|
|
|
i--
|
|
|
|
dAtA[i] = 0x12
|
2018-12-19 14:29:25 +00:00
|
|
|
}
|
2020-01-14 10:38:55 +00:00
|
|
|
if m.Replicas != nil {
|
|
|
|
i = encodeVarintGenerated(dAtA, i, uint64(*m.Replicas))
|
|
|
|
i--
|
|
|
|
dAtA[i] = 0x8
|
2018-12-19 14:29:25 +00:00
|
|
|
}
|
2020-01-14 10:38:55 +00:00
|
|
|
return len(dAtA) - i, nil
|
2018-12-19 14:29:25 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
func (m *DeploymentStatus) Marshal() (dAtA []byte, err error) {
|
|
|
|
size := m.Size()
|
|
|
|
dAtA = make([]byte, size)
|
2020-01-14 10:38:55 +00:00
|
|
|
n, err := m.MarshalToSizedBuffer(dAtA[:size])
|
2018-12-19 14:29:25 +00:00
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
return dAtA[:n], nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *DeploymentStatus) MarshalTo(dAtA []byte) (int, error) {
|
2020-01-14 10:38:55 +00:00
|
|
|
size := m.Size()
|
|
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *DeploymentStatus) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
|
|
i := len(dAtA)
|
2018-12-19 14:29:25 +00:00
|
|
|
_ = i
|
|
|
|
var l int
|
|
|
|
_ = l
|
2020-01-14 10:38:55 +00:00
|
|
|
if m.CollisionCount != nil {
|
|
|
|
i = encodeVarintGenerated(dAtA, i, uint64(*m.CollisionCount))
|
|
|
|
i--
|
|
|
|
dAtA[i] = 0x40
|
|
|
|
}
|
|
|
|
i = encodeVarintGenerated(dAtA, i, uint64(m.ReadyReplicas))
|
|
|
|
i--
|
|
|
|
dAtA[i] = 0x38
|
2018-12-19 14:29:25 +00:00
|
|
|
if len(m.Conditions) > 0 {
|
2020-01-14 10:38:55 +00:00
|
|
|
for iNdEx := len(m.Conditions) - 1; iNdEx >= 0; iNdEx-- {
|
|
|
|
{
|
|
|
|
size, err := m.Conditions[iNdEx].MarshalToSizedBuffer(dAtA[:i])
|
|
|
|
if err != nil {
|
|
|
|
return 0, err
|
|
|
|
}
|
|
|
|
i -= size
|
|
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
2018-12-19 14:29:25 +00:00
|
|
|
}
|
2020-01-14 10:38:55 +00:00
|
|
|
i--
|
|
|
|
dAtA[i] = 0x32
|
2018-12-19 14:29:25 +00:00
|
|
|
}
|
|
|
|
}
|
2020-01-14 10:38:55 +00:00
|
|
|
i = encodeVarintGenerated(dAtA, i, uint64(m.UnavailableReplicas))
|
|
|
|
i--
|
|
|
|
dAtA[i] = 0x28
|
|
|
|
i = encodeVarintGenerated(dAtA, i, uint64(m.AvailableReplicas))
|
|
|
|
i--
|
|
|
|
dAtA[i] = 0x20
|
|
|
|
i = encodeVarintGenerated(dAtA, i, uint64(m.UpdatedReplicas))
|
|
|
|
i--
|
|
|
|
dAtA[i] = 0x18
|
|
|
|
i = encodeVarintGenerated(dAtA, i, uint64(m.Replicas))
|
|
|
|
i--
|
|
|
|
dAtA[i] = 0x10
|
|
|
|
i = encodeVarintGenerated(dAtA, i, uint64(m.ObservedGeneration))
|
|
|
|
i--
|
|
|
|
dAtA[i] = 0x8
|
|
|
|
return len(dAtA) - i, nil
|
2018-12-19 14:29:25 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
func (m *DeploymentStrategy) Marshal() (dAtA []byte, err error) {
|
|
|
|
size := m.Size()
|
|
|
|
dAtA = make([]byte, size)
|
2020-01-14 10:38:55 +00:00
|
|
|
n, err := m.MarshalToSizedBuffer(dAtA[:size])
|
2018-12-19 14:29:25 +00:00
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
return dAtA[:n], nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *DeploymentStrategy) MarshalTo(dAtA []byte) (int, error) {
|
2020-01-14 10:38:55 +00:00
|
|
|
size := m.Size()
|
|
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *DeploymentStrategy) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
|
|
i := len(dAtA)
|
2018-12-19 14:29:25 +00:00
|
|
|
_ = i
|
|
|
|
var l int
|
|
|
|
_ = l
|
|
|
|
if m.RollingUpdate != nil {
|
2020-01-14 10:38:55 +00:00
|
|
|
{
|
|
|
|
size, err := m.RollingUpdate.MarshalToSizedBuffer(dAtA[:i])
|
|
|
|
if err != nil {
|
|
|
|
return 0, err
|
|
|
|
}
|
|
|
|
i -= size
|
|
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
2018-12-19 14:29:25 +00:00
|
|
|
}
|
2020-01-14 10:38:55 +00:00
|
|
|
i--
|
|
|
|
dAtA[i] = 0x12
|
2018-12-19 14:29:25 +00:00
|
|
|
}
|
2020-01-14 10:38:55 +00:00
|
|
|
i -= len(m.Type)
|
|
|
|
copy(dAtA[i:], m.Type)
|
|
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Type)))
|
|
|
|
i--
|
|
|
|
dAtA[i] = 0xa
|
|
|
|
return len(dAtA) - i, nil
|
2018-12-19 14:29:25 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
func (m *ReplicaSet) Marshal() (dAtA []byte, err error) {
|
|
|
|
size := m.Size()
|
|
|
|
dAtA = make([]byte, size)
|
2020-01-14 10:38:55 +00:00
|
|
|
n, err := m.MarshalToSizedBuffer(dAtA[:size])
|
2018-12-19 14:29:25 +00:00
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
return dAtA[:n], nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *ReplicaSet) MarshalTo(dAtA []byte) (int, error) {
|
2020-01-14 10:38:55 +00:00
|
|
|
size := m.Size()
|
|
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *ReplicaSet) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
|
|
i := len(dAtA)
|
2018-12-19 14:29:25 +00:00
|
|
|
_ = i
|
|
|
|
var l int
|
|
|
|
_ = l
|
2020-01-14 10:38:55 +00:00
|
|
|
{
|
|
|
|
size, err := m.Status.MarshalToSizedBuffer(dAtA[:i])
|
|
|
|
if err != nil {
|
|
|
|
return 0, err
|
|
|
|
}
|
|
|
|
i -= size
|
|
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
2018-12-19 14:29:25 +00:00
|
|
|
}
|
2020-01-14 10:38:55 +00:00
|
|
|
i--
|
2018-12-19 14:29:25 +00:00
|
|
|
dAtA[i] = 0x1a
|
2020-01-14 10:38:55 +00:00
|
|
|
{
|
|
|
|
size, err := m.Spec.MarshalToSizedBuffer(dAtA[:i])
|
|
|
|
if err != nil {
|
|
|
|
return 0, err
|
|
|
|
}
|
|
|
|
i -= size
|
|
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
|
|
|
}
|
|
|
|
i--
|
|
|
|
dAtA[i] = 0x12
|
|
|
|
{
|
|
|
|
size, err := m.ObjectMeta.MarshalToSizedBuffer(dAtA[:i])
|
|
|
|
if err != nil {
|
|
|
|
return 0, err
|
|
|
|
}
|
|
|
|
i -= size
|
|
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
2018-12-19 14:29:25 +00:00
|
|
|
}
|
2020-01-14 10:38:55 +00:00
|
|
|
i--
|
|
|
|
dAtA[i] = 0xa
|
|
|
|
return len(dAtA) - i, nil
|
2018-12-19 14:29:25 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
func (m *ReplicaSetCondition) Marshal() (dAtA []byte, err error) {
|
|
|
|
size := m.Size()
|
|
|
|
dAtA = make([]byte, size)
|
2020-01-14 10:38:55 +00:00
|
|
|
n, err := m.MarshalToSizedBuffer(dAtA[:size])
|
2018-12-19 14:29:25 +00:00
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
return dAtA[:n], nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *ReplicaSetCondition) MarshalTo(dAtA []byte) (int, error) {
|
2020-01-14 10:38:55 +00:00
|
|
|
size := m.Size()
|
|
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *ReplicaSetCondition) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
|
|
i := len(dAtA)
|
2018-12-19 14:29:25 +00:00
|
|
|
_ = i
|
|
|
|
var l int
|
|
|
|
_ = l
|
2020-01-14 10:38:55 +00:00
|
|
|
i -= len(m.Message)
|
|
|
|
copy(dAtA[i:], m.Message)
|
2018-12-19 14:29:25 +00:00
|
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Message)))
|
2020-01-14 10:38:55 +00:00
|
|
|
i--
|
|
|
|
dAtA[i] = 0x2a
|
|
|
|
i -= len(m.Reason)
|
|
|
|
copy(dAtA[i:], m.Reason)
|
|
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Reason)))
|
|
|
|
i--
|
|
|
|
dAtA[i] = 0x22
|
|
|
|
{
|
|
|
|
size, err := m.LastTransitionTime.MarshalToSizedBuffer(dAtA[:i])
|
|
|
|
if err != nil {
|
|
|
|
return 0, err
|
|
|
|
}
|
|
|
|
i -= size
|
|
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
|
|
|
}
|
|
|
|
i--
|
|
|
|
dAtA[i] = 0x1a
|
|
|
|
i -= len(m.Status)
|
|
|
|
copy(dAtA[i:], m.Status)
|
|
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Status)))
|
|
|
|
i--
|
|
|
|
dAtA[i] = 0x12
|
|
|
|
i -= len(m.Type)
|
|
|
|
copy(dAtA[i:], m.Type)
|
|
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Type)))
|
|
|
|
i--
|
|
|
|
dAtA[i] = 0xa
|
|
|
|
return len(dAtA) - i, nil
|
2018-12-19 14:29:25 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
func (m *ReplicaSetList) Marshal() (dAtA []byte, err error) {
|
|
|
|
size := m.Size()
|
|
|
|
dAtA = make([]byte, size)
|
2020-01-14 10:38:55 +00:00
|
|
|
n, err := m.MarshalToSizedBuffer(dAtA[:size])
|
2018-12-19 14:29:25 +00:00
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
return dAtA[:n], nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *ReplicaSetList) MarshalTo(dAtA []byte) (int, error) {
|
2020-01-14 10:38:55 +00:00
|
|
|
size := m.Size()
|
|
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *ReplicaSetList) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
|
|
i := len(dAtA)
|
2018-12-19 14:29:25 +00:00
|
|
|
_ = i
|
|
|
|
var l int
|
|
|
|
_ = l
|
|
|
|
if len(m.Items) > 0 {
|
2020-01-14 10:38:55 +00:00
|
|
|
for iNdEx := len(m.Items) - 1; iNdEx >= 0; iNdEx-- {
|
|
|
|
{
|
|
|
|
size, err := m.Items[iNdEx].MarshalToSizedBuffer(dAtA[:i])
|
|
|
|
if err != nil {
|
|
|
|
return 0, err
|
|
|
|
}
|
|
|
|
i -= size
|
|
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
2018-12-19 14:29:25 +00:00
|
|
|
}
|
2020-01-14 10:38:55 +00:00
|
|
|
i--
|
|
|
|
dAtA[i] = 0x12
|
|
|
|
}
|
|
|
|
}
|
|
|
|
{
|
|
|
|
size, err := m.ListMeta.MarshalToSizedBuffer(dAtA[:i])
|
|
|
|
if err != nil {
|
|
|
|
return 0, err
|
2018-12-19 14:29:25 +00:00
|
|
|
}
|
2020-01-14 10:38:55 +00:00
|
|
|
i -= size
|
|
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
2018-12-19 14:29:25 +00:00
|
|
|
}
|
2020-01-14 10:38:55 +00:00
|
|
|
i--
|
|
|
|
dAtA[i] = 0xa
|
|
|
|
return len(dAtA) - i, nil
|
2018-12-19 14:29:25 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
func (m *ReplicaSetSpec) Marshal() (dAtA []byte, err error) {
|
|
|
|
size := m.Size()
|
|
|
|
dAtA = make([]byte, size)
|
2020-01-14 10:38:55 +00:00
|
|
|
n, err := m.MarshalToSizedBuffer(dAtA[:size])
|
2018-12-19 14:29:25 +00:00
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
return dAtA[:n], nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *ReplicaSetSpec) MarshalTo(dAtA []byte) (int, error) {
|
2020-01-14 10:38:55 +00:00
|
|
|
size := m.Size()
|
|
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *ReplicaSetSpec) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
|
|
i := len(dAtA)
|
2018-12-19 14:29:25 +00:00
|
|
|
_ = i
|
|
|
|
var l int
|
|
|
|
_ = l
|
2020-01-14 10:38:55 +00:00
|
|
|
i = encodeVarintGenerated(dAtA, i, uint64(m.MinReadySeconds))
|
|
|
|
i--
|
|
|
|
dAtA[i] = 0x20
|
|
|
|
{
|
|
|
|
size, err := m.Template.MarshalToSizedBuffer(dAtA[:i])
|
2018-12-19 14:29:25 +00:00
|
|
|
if err != nil {
|
|
|
|
return 0, err
|
|
|
|
}
|
2020-01-14 10:38:55 +00:00
|
|
|
i -= size
|
|
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
2018-12-19 14:29:25 +00:00
|
|
|
}
|
2020-01-14 10:38:55 +00:00
|
|
|
i--
|
2018-12-19 14:29:25 +00:00
|
|
|
dAtA[i] = 0x1a
|
2020-01-14 10:38:55 +00:00
|
|
|
if m.Selector != nil {
|
|
|
|
{
|
|
|
|
size, err := m.Selector.MarshalToSizedBuffer(dAtA[:i])
|
|
|
|
if err != nil {
|
|
|
|
return 0, err
|
|
|
|
}
|
|
|
|
i -= size
|
|
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
|
|
|
}
|
|
|
|
i--
|
|
|
|
dAtA[i] = 0x12
|
2018-12-19 14:29:25 +00:00
|
|
|
}
|
2020-01-14 10:38:55 +00:00
|
|
|
if m.Replicas != nil {
|
|
|
|
i = encodeVarintGenerated(dAtA, i, uint64(*m.Replicas))
|
|
|
|
i--
|
|
|
|
dAtA[i] = 0x8
|
|
|
|
}
|
|
|
|
return len(dAtA) - i, nil
|
2018-12-19 14:29:25 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
func (m *ReplicaSetStatus) Marshal() (dAtA []byte, err error) {
|
|
|
|
size := m.Size()
|
|
|
|
dAtA = make([]byte, size)
|
2020-01-14 10:38:55 +00:00
|
|
|
n, err := m.MarshalToSizedBuffer(dAtA[:size])
|
2018-12-19 14:29:25 +00:00
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
return dAtA[:n], nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *ReplicaSetStatus) MarshalTo(dAtA []byte) (int, error) {
|
2020-01-14 10:38:55 +00:00
|
|
|
size := m.Size()
|
|
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *ReplicaSetStatus) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
|
|
i := len(dAtA)
|
2018-12-19 14:29:25 +00:00
|
|
|
_ = i
|
|
|
|
var l int
|
|
|
|
_ = l
|
|
|
|
if len(m.Conditions) > 0 {
|
2020-01-14 10:38:55 +00:00
|
|
|
for iNdEx := len(m.Conditions) - 1; iNdEx >= 0; iNdEx-- {
|
|
|
|
{
|
|
|
|
size, err := m.Conditions[iNdEx].MarshalToSizedBuffer(dAtA[:i])
|
|
|
|
if err != nil {
|
|
|
|
return 0, err
|
|
|
|
}
|
|
|
|
i -= size
|
|
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
2018-12-19 14:29:25 +00:00
|
|
|
}
|
2020-01-14 10:38:55 +00:00
|
|
|
i--
|
|
|
|
dAtA[i] = 0x32
|
2018-12-19 14:29:25 +00:00
|
|
|
}
|
|
|
|
}
|
2020-01-14 10:38:55 +00:00
|
|
|
i = encodeVarintGenerated(dAtA, i, uint64(m.AvailableReplicas))
|
|
|
|
i--
|
|
|
|
dAtA[i] = 0x28
|
|
|
|
i = encodeVarintGenerated(dAtA, i, uint64(m.ReadyReplicas))
|
|
|
|
i--
|
|
|
|
dAtA[i] = 0x20
|
|
|
|
i = encodeVarintGenerated(dAtA, i, uint64(m.ObservedGeneration))
|
|
|
|
i--
|
|
|
|
dAtA[i] = 0x18
|
|
|
|
i = encodeVarintGenerated(dAtA, i, uint64(m.FullyLabeledReplicas))
|
|
|
|
i--
|
|
|
|
dAtA[i] = 0x10
|
|
|
|
i = encodeVarintGenerated(dAtA, i, uint64(m.Replicas))
|
|
|
|
i--
|
|
|
|
dAtA[i] = 0x8
|
|
|
|
return len(dAtA) - i, nil
|
2018-12-19 14:29:25 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
func (m *RollingUpdateDaemonSet) Marshal() (dAtA []byte, err error) {
|
|
|
|
size := m.Size()
|
|
|
|
dAtA = make([]byte, size)
|
2020-01-14 10:38:55 +00:00
|
|
|
n, err := m.MarshalToSizedBuffer(dAtA[:size])
|
2018-12-19 14:29:25 +00:00
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
return dAtA[:n], nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *RollingUpdateDaemonSet) MarshalTo(dAtA []byte) (int, error) {
|
2020-01-14 10:38:55 +00:00
|
|
|
size := m.Size()
|
|
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *RollingUpdateDaemonSet) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
|
|
i := len(dAtA)
|
2018-12-19 14:29:25 +00:00
|
|
|
_ = i
|
|
|
|
var l int
|
|
|
|
_ = l
|
2021-06-25 04:59:51 +00:00
|
|
|
if m.MaxSurge != nil {
|
|
|
|
{
|
|
|
|
size, err := m.MaxSurge.MarshalToSizedBuffer(dAtA[:i])
|
|
|
|
if err != nil {
|
|
|
|
return 0, err
|
|
|
|
}
|
|
|
|
i -= size
|
|
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
|
|
|
}
|
|
|
|
i--
|
|
|
|
dAtA[i] = 0x12
|
|
|
|
}
|
2018-12-19 14:29:25 +00:00
|
|
|
if m.MaxUnavailable != nil {
|
2020-01-14 10:38:55 +00:00
|
|
|
{
|
|
|
|
size, err := m.MaxUnavailable.MarshalToSizedBuffer(dAtA[:i])
|
|
|
|
if err != nil {
|
|
|
|
return 0, err
|
|
|
|
}
|
|
|
|
i -= size
|
|
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
2018-12-19 14:29:25 +00:00
|
|
|
}
|
2020-01-14 10:38:55 +00:00
|
|
|
i--
|
|
|
|
dAtA[i] = 0xa
|
2018-12-19 14:29:25 +00:00
|
|
|
}
|
2020-01-14 10:38:55 +00:00
|
|
|
return len(dAtA) - i, nil
|
2018-12-19 14:29:25 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
func (m *RollingUpdateDeployment) Marshal() (dAtA []byte, err error) {
|
|
|
|
size := m.Size()
|
|
|
|
dAtA = make([]byte, size)
|
2020-01-14 10:38:55 +00:00
|
|
|
n, err := m.MarshalToSizedBuffer(dAtA[:size])
|
2018-12-19 14:29:25 +00:00
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
return dAtA[:n], nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *RollingUpdateDeployment) MarshalTo(dAtA []byte) (int, error) {
|
2020-01-14 10:38:55 +00:00
|
|
|
size := m.Size()
|
|
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *RollingUpdateDeployment) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
|
|
i := len(dAtA)
|
2018-12-19 14:29:25 +00:00
|
|
|
_ = i
|
|
|
|
var l int
|
|
|
|
_ = l
|
|
|
|
if m.MaxSurge != nil {
|
2020-01-14 10:38:55 +00:00
|
|
|
{
|
|
|
|
size, err := m.MaxSurge.MarshalToSizedBuffer(dAtA[:i])
|
|
|
|
if err != nil {
|
|
|
|
return 0, err
|
|
|
|
}
|
|
|
|
i -= size
|
|
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
|
|
|
}
|
|
|
|
i--
|
2018-12-19 14:29:25 +00:00
|
|
|
dAtA[i] = 0x12
|
2020-01-14 10:38:55 +00:00
|
|
|
}
|
|
|
|
if m.MaxUnavailable != nil {
|
|
|
|
{
|
|
|
|
size, err := m.MaxUnavailable.MarshalToSizedBuffer(dAtA[:i])
|
|
|
|
if err != nil {
|
|
|
|
return 0, err
|
|
|
|
}
|
|
|
|
i -= size
|
|
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
2018-12-19 14:29:25 +00:00
|
|
|
}
|
2020-01-14 10:38:55 +00:00
|
|
|
i--
|
|
|
|
dAtA[i] = 0xa
|
2018-12-19 14:29:25 +00:00
|
|
|
}
|
2020-01-14 10:38:55 +00:00
|
|
|
return len(dAtA) - i, nil
|
2018-12-19 14:29:25 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
func (m *RollingUpdateStatefulSetStrategy) Marshal() (dAtA []byte, err error) {
|
|
|
|
size := m.Size()
|
|
|
|
dAtA = make([]byte, size)
|
2020-01-14 10:38:55 +00:00
|
|
|
n, err := m.MarshalToSizedBuffer(dAtA[:size])
|
2018-12-19 14:29:25 +00:00
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
return dAtA[:n], nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *RollingUpdateStatefulSetStrategy) MarshalTo(dAtA []byte) (int, error) {
|
2020-01-14 10:38:55 +00:00
|
|
|
size := m.Size()
|
|
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *RollingUpdateStatefulSetStrategy) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
|
|
i := len(dAtA)
|
2018-12-19 14:29:25 +00:00
|
|
|
_ = i
|
|
|
|
var l int
|
|
|
|
_ = l
|
2022-05-05 02:47:06 +00:00
|
|
|
if m.MaxUnavailable != nil {
|
|
|
|
{
|
|
|
|
size, err := m.MaxUnavailable.MarshalToSizedBuffer(dAtA[:i])
|
|
|
|
if err != nil {
|
|
|
|
return 0, err
|
|
|
|
}
|
|
|
|
i -= size
|
|
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
|
|
|
}
|
|
|
|
i--
|
|
|
|
dAtA[i] = 0x12
|
|
|
|
}
|
2018-12-19 14:29:25 +00:00
|
|
|
if m.Partition != nil {
|
|
|
|
i = encodeVarintGenerated(dAtA, i, uint64(*m.Partition))
|
2020-01-14 10:38:55 +00:00
|
|
|
i--
|
|
|
|
dAtA[i] = 0x8
|
2018-12-19 14:29:25 +00:00
|
|
|
}
|
2020-01-14 10:38:55 +00:00
|
|
|
return len(dAtA) - i, nil
|
2018-12-19 14:29:25 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
func (m *Scale) Marshal() (dAtA []byte, err error) {
|
|
|
|
size := m.Size()
|
|
|
|
dAtA = make([]byte, size)
|
2020-01-14 10:38:55 +00:00
|
|
|
n, err := m.MarshalToSizedBuffer(dAtA[:size])
|
2018-12-19 14:29:25 +00:00
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
return dAtA[:n], nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *Scale) MarshalTo(dAtA []byte) (int, error) {
|
2020-01-14 10:38:55 +00:00
|
|
|
size := m.Size()
|
|
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *Scale) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
|
|
i := len(dAtA)
|
2018-12-19 14:29:25 +00:00
|
|
|
_ = i
|
|
|
|
var l int
|
|
|
|
_ = l
|
2020-01-14 10:38:55 +00:00
|
|
|
{
|
|
|
|
size, err := m.Status.MarshalToSizedBuffer(dAtA[:i])
|
|
|
|
if err != nil {
|
|
|
|
return 0, err
|
|
|
|
}
|
|
|
|
i -= size
|
|
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
2018-12-19 14:29:25 +00:00
|
|
|
}
|
2020-01-14 10:38:55 +00:00
|
|
|
i--
|
2018-12-19 14:29:25 +00:00
|
|
|
dAtA[i] = 0x1a
|
2020-01-14 10:38:55 +00:00
|
|
|
{
|
|
|
|
size, err := m.Spec.MarshalToSizedBuffer(dAtA[:i])
|
|
|
|
if err != nil {
|
|
|
|
return 0, err
|
|
|
|
}
|
|
|
|
i -= size
|
|
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
|
|
|
}
|
|
|
|
i--
|
|
|
|
dAtA[i] = 0x12
|
|
|
|
{
|
|
|
|
size, err := m.ObjectMeta.MarshalToSizedBuffer(dAtA[:i])
|
|
|
|
if err != nil {
|
|
|
|
return 0, err
|
|
|
|
}
|
|
|
|
i -= size
|
|
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
2018-12-19 14:29:25 +00:00
|
|
|
}
|
2020-01-14 10:38:55 +00:00
|
|
|
i--
|
|
|
|
dAtA[i] = 0xa
|
|
|
|
return len(dAtA) - i, nil
|
2018-12-19 14:29:25 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
func (m *ScaleSpec) Marshal() (dAtA []byte, err error) {
|
|
|
|
size := m.Size()
|
|
|
|
dAtA = make([]byte, size)
|
2020-01-14 10:38:55 +00:00
|
|
|
n, err := m.MarshalToSizedBuffer(dAtA[:size])
|
2018-12-19 14:29:25 +00:00
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
return dAtA[:n], nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *ScaleSpec) MarshalTo(dAtA []byte) (int, error) {
|
2020-01-14 10:38:55 +00:00
|
|
|
size := m.Size()
|
|
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *ScaleSpec) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
|
|
i := len(dAtA)
|
2018-12-19 14:29:25 +00:00
|
|
|
_ = i
|
|
|
|
var l int
|
|
|
|
_ = l
|
|
|
|
i = encodeVarintGenerated(dAtA, i, uint64(m.Replicas))
|
2020-01-14 10:38:55 +00:00
|
|
|
i--
|
|
|
|
dAtA[i] = 0x8
|
|
|
|
return len(dAtA) - i, nil
|
2018-12-19 14:29:25 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
func (m *ScaleStatus) Marshal() (dAtA []byte, err error) {
|
|
|
|
size := m.Size()
|
|
|
|
dAtA = make([]byte, size)
|
2020-01-14 10:38:55 +00:00
|
|
|
n, err := m.MarshalToSizedBuffer(dAtA[:size])
|
2018-12-19 14:29:25 +00:00
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
return dAtA[:n], nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *ScaleStatus) MarshalTo(dAtA []byte) (int, error) {
|
2020-01-14 10:38:55 +00:00
|
|
|
size := m.Size()
|
|
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *ScaleStatus) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
|
|
i := len(dAtA)
|
2018-12-19 14:29:25 +00:00
|
|
|
_ = i
|
|
|
|
var l int
|
|
|
|
_ = l
|
2020-01-14 10:38:55 +00:00
|
|
|
i -= len(m.TargetSelector)
|
|
|
|
copy(dAtA[i:], m.TargetSelector)
|
|
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.TargetSelector)))
|
|
|
|
i--
|
|
|
|
dAtA[i] = 0x1a
|
2018-12-19 14:29:25 +00:00
|
|
|
if len(m.Selector) > 0 {
|
|
|
|
keysForSelector := make([]string, 0, len(m.Selector))
|
|
|
|
for k := range m.Selector {
|
|
|
|
keysForSelector = append(keysForSelector, string(k))
|
|
|
|
}
|
|
|
|
github_com_gogo_protobuf_sortkeys.Strings(keysForSelector)
|
2020-01-14 10:38:55 +00:00
|
|
|
for iNdEx := len(keysForSelector) - 1; iNdEx >= 0; iNdEx-- {
|
|
|
|
v := m.Selector[string(keysForSelector[iNdEx])]
|
|
|
|
baseI := i
|
|
|
|
i -= len(v)
|
|
|
|
copy(dAtA[i:], v)
|
|
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(v)))
|
|
|
|
i--
|
2018-12-19 14:29:25 +00:00
|
|
|
dAtA[i] = 0x12
|
2020-01-14 10:38:55 +00:00
|
|
|
i -= len(keysForSelector[iNdEx])
|
|
|
|
copy(dAtA[i:], keysForSelector[iNdEx])
|
|
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(keysForSelector[iNdEx])))
|
|
|
|
i--
|
2018-12-19 14:29:25 +00:00
|
|
|
dAtA[i] = 0xa
|
2020-01-14 10:38:55 +00:00
|
|
|
i = encodeVarintGenerated(dAtA, i, uint64(baseI-i))
|
|
|
|
i--
|
2018-12-19 14:29:25 +00:00
|
|
|
dAtA[i] = 0x12
|
|
|
|
}
|
|
|
|
}
|
2020-01-14 10:38:55 +00:00
|
|
|
i = encodeVarintGenerated(dAtA, i, uint64(m.Replicas))
|
|
|
|
i--
|
|
|
|
dAtA[i] = 0x8
|
|
|
|
return len(dAtA) - i, nil
|
2018-12-19 14:29:25 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
func (m *StatefulSet) Marshal() (dAtA []byte, err error) {
|
|
|
|
size := m.Size()
|
|
|
|
dAtA = make([]byte, size)
|
2020-01-14 10:38:55 +00:00
|
|
|
n, err := m.MarshalToSizedBuffer(dAtA[:size])
|
2018-12-19 14:29:25 +00:00
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
return dAtA[:n], nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *StatefulSet) MarshalTo(dAtA []byte) (int, error) {
|
2020-01-14 10:38:55 +00:00
|
|
|
size := m.Size()
|
|
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *StatefulSet) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
|
|
i := len(dAtA)
|
2018-12-19 14:29:25 +00:00
|
|
|
_ = i
|
|
|
|
var l int
|
|
|
|
_ = l
|
2020-01-14 10:38:55 +00:00
|
|
|
{
|
|
|
|
size, err := m.Status.MarshalToSizedBuffer(dAtA[:i])
|
|
|
|
if err != nil {
|
|
|
|
return 0, err
|
|
|
|
}
|
|
|
|
i -= size
|
|
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
2018-12-19 14:29:25 +00:00
|
|
|
}
|
2020-01-14 10:38:55 +00:00
|
|
|
i--
|
2018-12-19 14:29:25 +00:00
|
|
|
dAtA[i] = 0x1a
|
2020-01-14 10:38:55 +00:00
|
|
|
{
|
|
|
|
size, err := m.Spec.MarshalToSizedBuffer(dAtA[:i])
|
|
|
|
if err != nil {
|
|
|
|
return 0, err
|
|
|
|
}
|
|
|
|
i -= size
|
|
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
|
|
|
}
|
|
|
|
i--
|
|
|
|
dAtA[i] = 0x12
|
|
|
|
{
|
|
|
|
size, err := m.ObjectMeta.MarshalToSizedBuffer(dAtA[:i])
|
|
|
|
if err != nil {
|
|
|
|
return 0, err
|
|
|
|
}
|
|
|
|
i -= size
|
|
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
2018-12-19 14:29:25 +00:00
|
|
|
}
|
2020-01-14 10:38:55 +00:00
|
|
|
i--
|
|
|
|
dAtA[i] = 0xa
|
|
|
|
return len(dAtA) - i, nil
|
2018-12-19 14:29:25 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
func (m *StatefulSetCondition) Marshal() (dAtA []byte, err error) {
|
|
|
|
size := m.Size()
|
|
|
|
dAtA = make([]byte, size)
|
2020-01-14 10:38:55 +00:00
|
|
|
n, err := m.MarshalToSizedBuffer(dAtA[:size])
|
2018-12-19 14:29:25 +00:00
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
return dAtA[:n], nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *StatefulSetCondition) MarshalTo(dAtA []byte) (int, error) {
|
2020-01-14 10:38:55 +00:00
|
|
|
size := m.Size()
|
|
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *StatefulSetCondition) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
|
|
i := len(dAtA)
|
2018-12-19 14:29:25 +00:00
|
|
|
_ = i
|
|
|
|
var l int
|
|
|
|
_ = l
|
2020-01-14 10:38:55 +00:00
|
|
|
i -= len(m.Message)
|
|
|
|
copy(dAtA[i:], m.Message)
|
2018-12-19 14:29:25 +00:00
|
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Message)))
|
2020-01-14 10:38:55 +00:00
|
|
|
i--
|
|
|
|
dAtA[i] = 0x2a
|
|
|
|
i -= len(m.Reason)
|
|
|
|
copy(dAtA[i:], m.Reason)
|
|
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Reason)))
|
|
|
|
i--
|
|
|
|
dAtA[i] = 0x22
|
|
|
|
{
|
|
|
|
size, err := m.LastTransitionTime.MarshalToSizedBuffer(dAtA[:i])
|
|
|
|
if err != nil {
|
|
|
|
return 0, err
|
|
|
|
}
|
|
|
|
i -= size
|
|
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
|
|
|
}
|
|
|
|
i--
|
|
|
|
dAtA[i] = 0x1a
|
|
|
|
i -= len(m.Status)
|
|
|
|
copy(dAtA[i:], m.Status)
|
|
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Status)))
|
|
|
|
i--
|
|
|
|
dAtA[i] = 0x12
|
|
|
|
i -= len(m.Type)
|
|
|
|
copy(dAtA[i:], m.Type)
|
|
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Type)))
|
|
|
|
i--
|
|
|
|
dAtA[i] = 0xa
|
|
|
|
return len(dAtA) - i, nil
|
2018-12-19 14:29:25 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
func (m *StatefulSetList) Marshal() (dAtA []byte, err error) {
|
|
|
|
size := m.Size()
|
|
|
|
dAtA = make([]byte, size)
|
2020-01-14 10:38:55 +00:00
|
|
|
n, err := m.MarshalToSizedBuffer(dAtA[:size])
|
2018-12-19 14:29:25 +00:00
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
return dAtA[:n], nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *StatefulSetList) MarshalTo(dAtA []byte) (int, error) {
|
2020-01-14 10:38:55 +00:00
|
|
|
size := m.Size()
|
|
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *StatefulSetList) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
|
|
i := len(dAtA)
|
2018-12-19 14:29:25 +00:00
|
|
|
_ = i
|
|
|
|
var l int
|
|
|
|
_ = l
|
|
|
|
if len(m.Items) > 0 {
|
2020-01-14 10:38:55 +00:00
|
|
|
for iNdEx := len(m.Items) - 1; iNdEx >= 0; iNdEx-- {
|
|
|
|
{
|
|
|
|
size, err := m.Items[iNdEx].MarshalToSizedBuffer(dAtA[:i])
|
|
|
|
if err != nil {
|
|
|
|
return 0, err
|
|
|
|
}
|
|
|
|
i -= size
|
|
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
2018-12-19 14:29:25 +00:00
|
|
|
}
|
2020-01-14 10:38:55 +00:00
|
|
|
i--
|
|
|
|
dAtA[i] = 0x12
|
|
|
|
}
|
|
|
|
}
|
|
|
|
{
|
|
|
|
size, err := m.ListMeta.MarshalToSizedBuffer(dAtA[:i])
|
|
|
|
if err != nil {
|
|
|
|
return 0, err
|
2018-12-19 14:29:25 +00:00
|
|
|
}
|
2020-01-14 10:38:55 +00:00
|
|
|
i -= size
|
|
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
2018-12-19 14:29:25 +00:00
|
|
|
}
|
2020-01-14 10:38:55 +00:00
|
|
|
i--
|
|
|
|
dAtA[i] = 0xa
|
|
|
|
return len(dAtA) - i, nil
|
2018-12-19 14:29:25 +00:00
|
|
|
}
|
|
|
|
|
2023-02-01 17:06:36 +00:00
|
|
|
func (m *StatefulSetOrdinals) Marshal() (dAtA []byte, err error) {
|
|
|
|
size := m.Size()
|
|
|
|
dAtA = make([]byte, size)
|
|
|
|
n, err := m.MarshalToSizedBuffer(dAtA[:size])
|
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
return dAtA[:n], nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *StatefulSetOrdinals) MarshalTo(dAtA []byte) (int, error) {
|
|
|
|
size := m.Size()
|
|
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *StatefulSetOrdinals) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
|
|
i := len(dAtA)
|
|
|
|
_ = i
|
|
|
|
var l int
|
|
|
|
_ = l
|
|
|
|
i = encodeVarintGenerated(dAtA, i, uint64(m.Start))
|
|
|
|
i--
|
|
|
|
dAtA[i] = 0x8
|
|
|
|
return len(dAtA) - i, nil
|
|
|
|
}
|
|
|
|
|
2021-12-08 13:50:47 +00:00
|
|
|
func (m *StatefulSetPersistentVolumeClaimRetentionPolicy) Marshal() (dAtA []byte, err error) {
|
|
|
|
size := m.Size()
|
|
|
|
dAtA = make([]byte, size)
|
|
|
|
n, err := m.MarshalToSizedBuffer(dAtA[:size])
|
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
return dAtA[:n], nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *StatefulSetPersistentVolumeClaimRetentionPolicy) MarshalTo(dAtA []byte) (int, error) {
|
|
|
|
size := m.Size()
|
|
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *StatefulSetPersistentVolumeClaimRetentionPolicy) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
|
|
i := len(dAtA)
|
|
|
|
_ = i
|
|
|
|
var l int
|
|
|
|
_ = l
|
|
|
|
i -= len(m.WhenScaled)
|
|
|
|
copy(dAtA[i:], m.WhenScaled)
|
|
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.WhenScaled)))
|
|
|
|
i--
|
|
|
|
dAtA[i] = 0x12
|
|
|
|
i -= len(m.WhenDeleted)
|
|
|
|
copy(dAtA[i:], m.WhenDeleted)
|
|
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.WhenDeleted)))
|
|
|
|
i--
|
|
|
|
dAtA[i] = 0xa
|
|
|
|
return len(dAtA) - i, nil
|
|
|
|
}
|
|
|
|
|
2018-12-19 14:29:25 +00:00
|
|
|
func (m *StatefulSetSpec) Marshal() (dAtA []byte, err error) {
|
|
|
|
size := m.Size()
|
|
|
|
dAtA = make([]byte, size)
|
2020-01-14 10:38:55 +00:00
|
|
|
n, err := m.MarshalToSizedBuffer(dAtA[:size])
|
2018-12-19 14:29:25 +00:00
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
return dAtA[:n], nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *StatefulSetSpec) MarshalTo(dAtA []byte) (int, error) {
|
2020-01-14 10:38:55 +00:00
|
|
|
size := m.Size()
|
|
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *StatefulSetSpec) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
|
|
i := len(dAtA)
|
2018-12-19 14:29:25 +00:00
|
|
|
_ = i
|
|
|
|
var l int
|
|
|
|
_ = l
|
2023-02-01 17:06:36 +00:00
|
|
|
if m.Ordinals != nil {
|
|
|
|
{
|
|
|
|
size, err := m.Ordinals.MarshalToSizedBuffer(dAtA[:i])
|
|
|
|
if err != nil {
|
|
|
|
return 0, err
|
|
|
|
}
|
|
|
|
i -= size
|
|
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
|
|
|
}
|
|
|
|
i--
|
|
|
|
dAtA[i] = 0x5a
|
|
|
|
}
|
2021-12-08 13:50:47 +00:00
|
|
|
if m.PersistentVolumeClaimRetentionPolicy != nil {
|
|
|
|
{
|
|
|
|
size, err := m.PersistentVolumeClaimRetentionPolicy.MarshalToSizedBuffer(dAtA[:i])
|
|
|
|
if err != nil {
|
|
|
|
return 0, err
|
|
|
|
}
|
|
|
|
i -= size
|
|
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
|
|
|
}
|
|
|
|
i--
|
|
|
|
dAtA[i] = 0x52
|
|
|
|
}
|
2021-08-09 07:19:24 +00:00
|
|
|
i = encodeVarintGenerated(dAtA, i, uint64(m.MinReadySeconds))
|
|
|
|
i--
|
|
|
|
dAtA[i] = 0x48
|
2020-01-14 10:38:55 +00:00
|
|
|
if m.RevisionHistoryLimit != nil {
|
|
|
|
i = encodeVarintGenerated(dAtA, i, uint64(*m.RevisionHistoryLimit))
|
|
|
|
i--
|
|
|
|
dAtA[i] = 0x40
|
2018-12-19 14:29:25 +00:00
|
|
|
}
|
2020-01-14 10:38:55 +00:00
|
|
|
{
|
|
|
|
size, err := m.UpdateStrategy.MarshalToSizedBuffer(dAtA[:i])
|
2018-12-19 14:29:25 +00:00
|
|
|
if err != nil {
|
|
|
|
return 0, err
|
|
|
|
}
|
2020-01-14 10:38:55 +00:00
|
|
|
i -= size
|
|
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
2018-12-19 14:29:25 +00:00
|
|
|
}
|
2020-01-14 10:38:55 +00:00
|
|
|
i--
|
|
|
|
dAtA[i] = 0x3a
|
|
|
|
i -= len(m.PodManagementPolicy)
|
|
|
|
copy(dAtA[i:], m.PodManagementPolicy)
|
|
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.PodManagementPolicy)))
|
|
|
|
i--
|
|
|
|
dAtA[i] = 0x32
|
|
|
|
i -= len(m.ServiceName)
|
|
|
|
copy(dAtA[i:], m.ServiceName)
|
|
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.ServiceName)))
|
|
|
|
i--
|
|
|
|
dAtA[i] = 0x2a
|
2018-12-19 14:29:25 +00:00
|
|
|
if len(m.VolumeClaimTemplates) > 0 {
|
2020-01-14 10:38:55 +00:00
|
|
|
for iNdEx := len(m.VolumeClaimTemplates) - 1; iNdEx >= 0; iNdEx-- {
|
|
|
|
{
|
|
|
|
size, err := m.VolumeClaimTemplates[iNdEx].MarshalToSizedBuffer(dAtA[:i])
|
|
|
|
if err != nil {
|
|
|
|
return 0, err
|
|
|
|
}
|
|
|
|
i -= size
|
|
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
|
|
|
}
|
|
|
|
i--
|
2018-12-19 14:29:25 +00:00
|
|
|
dAtA[i] = 0x22
|
2020-01-14 10:38:55 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
{
|
|
|
|
size, err := m.Template.MarshalToSizedBuffer(dAtA[:i])
|
|
|
|
if err != nil {
|
|
|
|
return 0, err
|
|
|
|
}
|
|
|
|
i -= size
|
|
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
|
|
|
}
|
|
|
|
i--
|
|
|
|
dAtA[i] = 0x1a
|
|
|
|
if m.Selector != nil {
|
|
|
|
{
|
|
|
|
size, err := m.Selector.MarshalToSizedBuffer(dAtA[:i])
|
2018-12-19 14:29:25 +00:00
|
|
|
if err != nil {
|
|
|
|
return 0, err
|
|
|
|
}
|
2020-01-14 10:38:55 +00:00
|
|
|
i -= size
|
|
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
2018-12-19 14:29:25 +00:00
|
|
|
}
|
2020-01-14 10:38:55 +00:00
|
|
|
i--
|
|
|
|
dAtA[i] = 0x12
|
2018-12-19 14:29:25 +00:00
|
|
|
}
|
2020-01-14 10:38:55 +00:00
|
|
|
if m.Replicas != nil {
|
|
|
|
i = encodeVarintGenerated(dAtA, i, uint64(*m.Replicas))
|
|
|
|
i--
|
|
|
|
dAtA[i] = 0x8
|
2018-12-19 14:29:25 +00:00
|
|
|
}
|
2020-01-14 10:38:55 +00:00
|
|
|
return len(dAtA) - i, nil
|
2018-12-19 14:29:25 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
func (m *StatefulSetStatus) Marshal() (dAtA []byte, err error) {
|
|
|
|
size := m.Size()
|
|
|
|
dAtA = make([]byte, size)
|
2020-01-14 10:38:55 +00:00
|
|
|
n, err := m.MarshalToSizedBuffer(dAtA[:size])
|
2018-12-19 14:29:25 +00:00
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
return dAtA[:n], nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *StatefulSetStatus) MarshalTo(dAtA []byte) (int, error) {
|
2020-01-14 10:38:55 +00:00
|
|
|
size := m.Size()
|
|
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *StatefulSetStatus) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
|
|
i := len(dAtA)
|
2018-12-19 14:29:25 +00:00
|
|
|
_ = i
|
|
|
|
var l int
|
|
|
|
_ = l
|
2021-08-09 07:19:24 +00:00
|
|
|
i = encodeVarintGenerated(dAtA, i, uint64(m.AvailableReplicas))
|
|
|
|
i--
|
|
|
|
dAtA[i] = 0x58
|
2018-12-19 14:29:25 +00:00
|
|
|
if len(m.Conditions) > 0 {
|
2020-01-14 10:38:55 +00:00
|
|
|
for iNdEx := len(m.Conditions) - 1; iNdEx >= 0; iNdEx-- {
|
|
|
|
{
|
|
|
|
size, err := m.Conditions[iNdEx].MarshalToSizedBuffer(dAtA[:i])
|
|
|
|
if err != nil {
|
|
|
|
return 0, err
|
|
|
|
}
|
|
|
|
i -= size
|
|
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
2018-12-19 14:29:25 +00:00
|
|
|
}
|
2020-01-14 10:38:55 +00:00
|
|
|
i--
|
|
|
|
dAtA[i] = 0x52
|
2018-12-19 14:29:25 +00:00
|
|
|
}
|
|
|
|
}
|
2020-01-14 10:38:55 +00:00
|
|
|
if m.CollisionCount != nil {
|
|
|
|
i = encodeVarintGenerated(dAtA, i, uint64(*m.CollisionCount))
|
|
|
|
i--
|
|
|
|
dAtA[i] = 0x48
|
|
|
|
}
|
|
|
|
i -= len(m.UpdateRevision)
|
|
|
|
copy(dAtA[i:], m.UpdateRevision)
|
|
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.UpdateRevision)))
|
|
|
|
i--
|
|
|
|
dAtA[i] = 0x3a
|
|
|
|
i -= len(m.CurrentRevision)
|
|
|
|
copy(dAtA[i:], m.CurrentRevision)
|
|
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.CurrentRevision)))
|
|
|
|
i--
|
|
|
|
dAtA[i] = 0x32
|
|
|
|
i = encodeVarintGenerated(dAtA, i, uint64(m.UpdatedReplicas))
|
|
|
|
i--
|
|
|
|
dAtA[i] = 0x28
|
|
|
|
i = encodeVarintGenerated(dAtA, i, uint64(m.CurrentReplicas))
|
|
|
|
i--
|
|
|
|
dAtA[i] = 0x20
|
|
|
|
i = encodeVarintGenerated(dAtA, i, uint64(m.ReadyReplicas))
|
|
|
|
i--
|
|
|
|
dAtA[i] = 0x18
|
|
|
|
i = encodeVarintGenerated(dAtA, i, uint64(m.Replicas))
|
|
|
|
i--
|
|
|
|
dAtA[i] = 0x10
|
|
|
|
i = encodeVarintGenerated(dAtA, i, uint64(m.ObservedGeneration))
|
|
|
|
i--
|
|
|
|
dAtA[i] = 0x8
|
|
|
|
return len(dAtA) - i, nil
|
2018-12-19 14:29:25 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
func (m *StatefulSetUpdateStrategy) Marshal() (dAtA []byte, err error) {
|
|
|
|
size := m.Size()
|
|
|
|
dAtA = make([]byte, size)
|
2020-01-14 10:38:55 +00:00
|
|
|
n, err := m.MarshalToSizedBuffer(dAtA[:size])
|
2018-12-19 14:29:25 +00:00
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
return dAtA[:n], nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *StatefulSetUpdateStrategy) MarshalTo(dAtA []byte) (int, error) {
|
2020-01-14 10:38:55 +00:00
|
|
|
size := m.Size()
|
|
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *StatefulSetUpdateStrategy) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
|
|
i := len(dAtA)
|
2018-12-19 14:29:25 +00:00
|
|
|
_ = i
|
|
|
|
var l int
|
|
|
|
_ = l
|
|
|
|
if m.RollingUpdate != nil {
|
2020-01-14 10:38:55 +00:00
|
|
|
{
|
|
|
|
size, err := m.RollingUpdate.MarshalToSizedBuffer(dAtA[:i])
|
|
|
|
if err != nil {
|
|
|
|
return 0, err
|
|
|
|
}
|
|
|
|
i -= size
|
|
|
|
i = encodeVarintGenerated(dAtA, i, uint64(size))
|
2018-12-19 14:29:25 +00:00
|
|
|
}
|
2020-01-14 10:38:55 +00:00
|
|
|
i--
|
|
|
|
dAtA[i] = 0x12
|
2018-12-19 14:29:25 +00:00
|
|
|
}
|
2020-01-14 10:38:55 +00:00
|
|
|
i -= len(m.Type)
|
|
|
|
copy(dAtA[i:], m.Type)
|
|
|
|
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Type)))
|
|
|
|
i--
|
|
|
|
dAtA[i] = 0xa
|
|
|
|
return len(dAtA) - i, nil
|
2018-12-19 14:29:25 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
func encodeVarintGenerated(dAtA []byte, offset int, v uint64) int {
|
2020-01-14 10:38:55 +00:00
|
|
|
offset -= sovGenerated(v)
|
|
|
|
base := offset
|
2018-12-19 14:29:25 +00:00
|
|
|
for v >= 1<<7 {
|
|
|
|
dAtA[offset] = uint8(v&0x7f | 0x80)
|
|
|
|
v >>= 7
|
|
|
|
offset++
|
|
|
|
}
|
|
|
|
dAtA[offset] = uint8(v)
|
2020-01-14 10:38:55 +00:00
|
|
|
return base
|
2018-12-19 14:29:25 +00:00
|
|
|
}
|
|
|
|
func (m *ControllerRevision) Size() (n int) {
|
2020-01-14 10:38:55 +00:00
|
|
|
if m == nil {
|
|
|
|
return 0
|
|
|
|
}
|
2018-12-19 14:29:25 +00:00
|
|
|
var l int
|
|
|
|
_ = l
|
|
|
|
l = m.ObjectMeta.Size()
|
|
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
|
|
l = m.Data.Size()
|
|
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
|
|
n += 1 + sovGenerated(uint64(m.Revision))
|
|
|
|
return n
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *ControllerRevisionList) Size() (n int) {
|
2020-01-14 10:38:55 +00:00
|
|
|
if m == nil {
|
|
|
|
return 0
|
|
|
|
}
|
2018-12-19 14:29:25 +00:00
|
|
|
var l int
|
|
|
|
_ = l
|
|
|
|
l = m.ListMeta.Size()
|
|
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
|
|
if len(m.Items) > 0 {
|
|
|
|
for _, e := range m.Items {
|
|
|
|
l = e.Size()
|
|
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
|
|
}
|
|
|
|
}
|
|
|
|
return n
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *DaemonSet) Size() (n int) {
|
2020-01-14 10:38:55 +00:00
|
|
|
if m == nil {
|
|
|
|
return 0
|
|
|
|
}
|
2018-12-19 14:29:25 +00:00
|
|
|
var l int
|
|
|
|
_ = l
|
|
|
|
l = m.ObjectMeta.Size()
|
|
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
|
|
l = m.Spec.Size()
|
|
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
|
|
l = m.Status.Size()
|
|
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
|
|
return n
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *DaemonSetCondition) Size() (n int) {
|
2020-01-14 10:38:55 +00:00
|
|
|
if m == nil {
|
|
|
|
return 0
|
|
|
|
}
|
2018-12-19 14:29:25 +00:00
|
|
|
var l int
|
|
|
|
_ = l
|
|
|
|
l = len(m.Type)
|
|
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
|
|
l = len(m.Status)
|
|
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
|
|
l = m.LastTransitionTime.Size()
|
|
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
|
|
l = len(m.Reason)
|
|
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
|
|
l = len(m.Message)
|
|
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
|
|
return n
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *DaemonSetList) Size() (n int) {
|
2020-01-14 10:38:55 +00:00
|
|
|
if m == nil {
|
|
|
|
return 0
|
|
|
|
}
|
2018-12-19 14:29:25 +00:00
|
|
|
var l int
|
|
|
|
_ = l
|
|
|
|
l = m.ListMeta.Size()
|
|
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
|
|
if len(m.Items) > 0 {
|
|
|
|
for _, e := range m.Items {
|
|
|
|
l = e.Size()
|
|
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
|
|
}
|
|
|
|
}
|
|
|
|
return n
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *DaemonSetSpec) Size() (n int) {
|
2020-01-14 10:38:55 +00:00
|
|
|
if m == nil {
|
|
|
|
return 0
|
|
|
|
}
|
2018-12-19 14:29:25 +00:00
|
|
|
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))
|
|
|
|
if m.RevisionHistoryLimit != nil {
|
|
|
|
n += 1 + sovGenerated(uint64(*m.RevisionHistoryLimit))
|
|
|
|
}
|
|
|
|
return n
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *DaemonSetStatus) Size() (n int) {
|
2020-01-14 10:38:55 +00:00
|
|
|
if m == nil {
|
|
|
|
return 0
|
|
|
|
}
|
2018-12-19 14:29:25 +00:00
|
|
|
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))
|
|
|
|
if m.CollisionCount != nil {
|
|
|
|
n += 1 + sovGenerated(uint64(*m.CollisionCount))
|
|
|
|
}
|
|
|
|
if len(m.Conditions) > 0 {
|
|
|
|
for _, e := range m.Conditions {
|
|
|
|
l = e.Size()
|
|
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
|
|
}
|
|
|
|
}
|
|
|
|
return n
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *DaemonSetUpdateStrategy) Size() (n int) {
|
2020-01-14 10:38:55 +00:00
|
|
|
if m == nil {
|
|
|
|
return 0
|
|
|
|
}
|
2018-12-19 14:29:25 +00:00
|
|
|
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) {
|
2020-01-14 10:38:55 +00:00
|
|
|
if m == nil {
|
|
|
|
return 0
|
|
|
|
}
|
2018-12-19 14:29:25 +00:00
|
|
|
var l int
|
|
|
|
_ = l
|
|
|
|
l = m.ObjectMeta.Size()
|
|
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
|
|
l = m.Spec.Size()
|
|
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
|
|
l = m.Status.Size()
|
|
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
|
|
return n
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *DeploymentCondition) Size() (n int) {
|
2020-01-14 10:38:55 +00:00
|
|
|
if m == nil {
|
|
|
|
return 0
|
|
|
|
}
|
2018-12-19 14:29:25 +00:00
|
|
|
var l int
|
|
|
|
_ = l
|
|
|
|
l = len(m.Type)
|
|
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
|
|
l = len(m.Status)
|
|
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
|
|
l = 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) {
|
2020-01-14 10:38:55 +00:00
|
|
|
if m == nil {
|
|
|
|
return 0
|
|
|
|
}
|
2018-12-19 14:29:25 +00:00
|
|
|
var l int
|
|
|
|
_ = l
|
|
|
|
l = m.ListMeta.Size()
|
|
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
|
|
if len(m.Items) > 0 {
|
|
|
|
for _, e := range m.Items {
|
|
|
|
l = e.Size()
|
|
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
|
|
}
|
|
|
|
}
|
|
|
|
return n
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *DeploymentSpec) Size() (n int) {
|
2020-01-14 10:38:55 +00:00
|
|
|
if m == nil {
|
|
|
|
return 0
|
|
|
|
}
|
2018-12-19 14:29:25 +00:00
|
|
|
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.ProgressDeadlineSeconds != nil {
|
|
|
|
n += 1 + sovGenerated(uint64(*m.ProgressDeadlineSeconds))
|
|
|
|
}
|
|
|
|
return n
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *DeploymentStatus) Size() (n int) {
|
2020-01-14 10:38:55 +00:00
|
|
|
if m == nil {
|
|
|
|
return 0
|
|
|
|
}
|
2018-12-19 14:29:25 +00:00
|
|
|
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))
|
|
|
|
if m.CollisionCount != nil {
|
|
|
|
n += 1 + sovGenerated(uint64(*m.CollisionCount))
|
|
|
|
}
|
|
|
|
return n
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *DeploymentStrategy) Size() (n int) {
|
2020-01-14 10:38:55 +00:00
|
|
|
if m == nil {
|
|
|
|
return 0
|
|
|
|
}
|
2018-12-19 14:29:25 +00:00
|
|
|
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 *ReplicaSet) Size() (n int) {
|
2020-01-14 10:38:55 +00:00
|
|
|
if m == nil {
|
|
|
|
return 0
|
|
|
|
}
|
2018-12-19 14:29:25 +00:00
|
|
|
var l int
|
|
|
|
_ = l
|
|
|
|
l = m.ObjectMeta.Size()
|
|
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
|
|
l = m.Spec.Size()
|
|
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
|
|
l = m.Status.Size()
|
|
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
|
|
return n
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *ReplicaSetCondition) Size() (n int) {
|
2020-01-14 10:38:55 +00:00
|
|
|
if m == nil {
|
|
|
|
return 0
|
|
|
|
}
|
2018-12-19 14:29:25 +00:00
|
|
|
var l int
|
|
|
|
_ = l
|
|
|
|
l = len(m.Type)
|
|
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
|
|
l = len(m.Status)
|
|
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
|
|
l = m.LastTransitionTime.Size()
|
|
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
|
|
l = len(m.Reason)
|
|
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
|
|
l = len(m.Message)
|
|
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
|
|
return n
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *ReplicaSetList) Size() (n int) {
|
2020-01-14 10:38:55 +00:00
|
|
|
if m == nil {
|
|
|
|
return 0
|
|
|
|
}
|
2018-12-19 14:29:25 +00:00
|
|
|
var l int
|
|
|
|
_ = l
|
|
|
|
l = m.ListMeta.Size()
|
|
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
|
|
if len(m.Items) > 0 {
|
|
|
|
for _, e := range m.Items {
|
|
|
|
l = e.Size()
|
|
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
|
|
}
|
|
|
|
}
|
|
|
|
return n
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *ReplicaSetSpec) Size() (n int) {
|
2020-01-14 10:38:55 +00:00
|
|
|
if m == nil {
|
|
|
|
return 0
|
|
|
|
}
|
2018-12-19 14:29:25 +00:00
|
|
|
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) {
|
2020-01-14 10:38:55 +00:00
|
|
|
if m == nil {
|
|
|
|
return 0
|
|
|
|
}
|
2018-12-19 14:29:25 +00:00
|
|
|
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 *RollingUpdateDaemonSet) Size() (n int) {
|
2020-01-14 10:38:55 +00:00
|
|
|
if m == nil {
|
|
|
|
return 0
|
|
|
|
}
|
2018-12-19 14:29:25 +00:00
|
|
|
var l int
|
|
|
|
_ = l
|
|
|
|
if m.MaxUnavailable != nil {
|
|
|
|
l = m.MaxUnavailable.Size()
|
|
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
|
|
}
|
2021-06-25 04:59:51 +00:00
|
|
|
if m.MaxSurge != nil {
|
|
|
|
l = m.MaxSurge.Size()
|
|
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
|
|
}
|
2018-12-19 14:29:25 +00:00
|
|
|
return n
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *RollingUpdateDeployment) Size() (n int) {
|
2020-01-14 10:38:55 +00:00
|
|
|
if m == nil {
|
|
|
|
return 0
|
|
|
|
}
|
2018-12-19 14:29:25 +00:00
|
|
|
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 *RollingUpdateStatefulSetStrategy) Size() (n int) {
|
2020-01-14 10:38:55 +00:00
|
|
|
if m == nil {
|
|
|
|
return 0
|
|
|
|
}
|
2018-12-19 14:29:25 +00:00
|
|
|
var l int
|
|
|
|
_ = l
|
|
|
|
if m.Partition != nil {
|
|
|
|
n += 1 + sovGenerated(uint64(*m.Partition))
|
|
|
|
}
|
2022-05-05 02:47:06 +00:00
|
|
|
if m.MaxUnavailable != nil {
|
|
|
|
l = m.MaxUnavailable.Size()
|
|
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
|
|
}
|
2018-12-19 14:29:25 +00:00
|
|
|
return n
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *Scale) Size() (n int) {
|
2020-01-14 10:38:55 +00:00
|
|
|
if m == nil {
|
|
|
|
return 0
|
|
|
|
}
|
2018-12-19 14:29:25 +00:00
|
|
|
var l int
|
|
|
|
_ = l
|
|
|
|
l = m.ObjectMeta.Size()
|
|
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
|
|
l = m.Spec.Size()
|
|
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
|
|
l = m.Status.Size()
|
|
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
|
|
return n
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *ScaleSpec) Size() (n int) {
|
2020-01-14 10:38:55 +00:00
|
|
|
if m == nil {
|
|
|
|
return 0
|
|
|
|
}
|
2018-12-19 14:29:25 +00:00
|
|
|
var l int
|
|
|
|
_ = l
|
|
|
|
n += 1 + sovGenerated(uint64(m.Replicas))
|
|
|
|
return n
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *ScaleStatus) Size() (n int) {
|
2020-01-14 10:38:55 +00:00
|
|
|
if m == nil {
|
|
|
|
return 0
|
|
|
|
}
|
2018-12-19 14:29:25 +00:00
|
|
|
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 *StatefulSet) Size() (n int) {
|
2020-01-14 10:38:55 +00:00
|
|
|
if m == nil {
|
|
|
|
return 0
|
|
|
|
}
|
2018-12-19 14:29:25 +00:00
|
|
|
var l int
|
|
|
|
_ = l
|
|
|
|
l = m.ObjectMeta.Size()
|
|
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
|
|
l = m.Spec.Size()
|
|
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
|
|
l = m.Status.Size()
|
|
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
|
|
return n
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *StatefulSetCondition) Size() (n int) {
|
2020-01-14 10:38:55 +00:00
|
|
|
if m == nil {
|
|
|
|
return 0
|
|
|
|
}
|
2018-12-19 14:29:25 +00:00
|
|
|
var l int
|
|
|
|
_ = l
|
|
|
|
l = len(m.Type)
|
|
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
|
|
l = len(m.Status)
|
|
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
|
|
l = m.LastTransitionTime.Size()
|
|
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
|
|
l = len(m.Reason)
|
|
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
|
|
l = len(m.Message)
|
|
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
|
|
return n
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *StatefulSetList) Size() (n int) {
|
2020-01-14 10:38:55 +00:00
|
|
|
if m == nil {
|
|
|
|
return 0
|
|
|
|
}
|
2018-12-19 14:29:25 +00:00
|
|
|
var l int
|
|
|
|
_ = l
|
|
|
|
l = m.ListMeta.Size()
|
|
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
|
|
if len(m.Items) > 0 {
|
|
|
|
for _, e := range m.Items {
|
|
|
|
l = e.Size()
|
|
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
|
|
}
|
|
|
|
}
|
|
|
|
return n
|
|
|
|
}
|
|
|
|
|
2023-02-01 17:06:36 +00:00
|
|
|
func (m *StatefulSetOrdinals) Size() (n int) {
|
|
|
|
if m == nil {
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
var l int
|
|
|
|
_ = l
|
|
|
|
n += 1 + sovGenerated(uint64(m.Start))
|
|
|
|
return n
|
|
|
|
}
|
|
|
|
|
2021-12-08 13:50:47 +00:00
|
|
|
func (m *StatefulSetPersistentVolumeClaimRetentionPolicy) Size() (n int) {
|
|
|
|
if m == nil {
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
var l int
|
|
|
|
_ = l
|
|
|
|
l = len(m.WhenDeleted)
|
|
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
|
|
l = len(m.WhenScaled)
|
|
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
|
|
return n
|
|
|
|
}
|
|
|
|
|
2018-12-19 14:29:25 +00:00
|
|
|
func (m *StatefulSetSpec) Size() (n int) {
|
2020-01-14 10:38:55 +00:00
|
|
|
if m == nil {
|
|
|
|
return 0
|
|
|
|
}
|
2018-12-19 14:29:25 +00:00
|
|
|
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))
|
|
|
|
if len(m.VolumeClaimTemplates) > 0 {
|
|
|
|
for _, e := range m.VolumeClaimTemplates {
|
|
|
|
l = e.Size()
|
|
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
|
|
}
|
|
|
|
}
|
|
|
|
l = len(m.ServiceName)
|
|
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
|
|
l = len(m.PodManagementPolicy)
|
|
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
|
|
l = m.UpdateStrategy.Size()
|
|
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
|
|
if m.RevisionHistoryLimit != nil {
|
|
|
|
n += 1 + sovGenerated(uint64(*m.RevisionHistoryLimit))
|
|
|
|
}
|
2021-08-09 07:19:24 +00:00
|
|
|
n += 1 + sovGenerated(uint64(m.MinReadySeconds))
|
2021-12-08 13:50:47 +00:00
|
|
|
if m.PersistentVolumeClaimRetentionPolicy != nil {
|
|
|
|
l = m.PersistentVolumeClaimRetentionPolicy.Size()
|
|
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
|
|
}
|
2023-02-01 17:06:36 +00:00
|
|
|
if m.Ordinals != nil {
|
|
|
|
l = m.Ordinals.Size()
|
|
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
|
|
}
|
2018-12-19 14:29:25 +00:00
|
|
|
return n
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *StatefulSetStatus) Size() (n int) {
|
2020-01-14 10:38:55 +00:00
|
|
|
if m == nil {
|
|
|
|
return 0
|
|
|
|
}
|
2018-12-19 14:29:25 +00:00
|
|
|
var l int
|
|
|
|
_ = l
|
|
|
|
n += 1 + sovGenerated(uint64(m.ObservedGeneration))
|
|
|
|
n += 1 + sovGenerated(uint64(m.Replicas))
|
|
|
|
n += 1 + sovGenerated(uint64(m.ReadyReplicas))
|
|
|
|
n += 1 + sovGenerated(uint64(m.CurrentReplicas))
|
|
|
|
n += 1 + sovGenerated(uint64(m.UpdatedReplicas))
|
|
|
|
l = len(m.CurrentRevision)
|
|
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
|
|
l = len(m.UpdateRevision)
|
|
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
|
|
if m.CollisionCount != nil {
|
|
|
|
n += 1 + sovGenerated(uint64(*m.CollisionCount))
|
|
|
|
}
|
|
|
|
if len(m.Conditions) > 0 {
|
|
|
|
for _, e := range m.Conditions {
|
|
|
|
l = e.Size()
|
|
|
|
n += 1 + l + sovGenerated(uint64(l))
|
|
|
|
}
|
|
|
|
}
|
2021-08-09 07:19:24 +00:00
|
|
|
n += 1 + sovGenerated(uint64(m.AvailableReplicas))
|
2018-12-19 14:29:25 +00:00
|
|
|
return n
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *StatefulSetUpdateStrategy) Size() (n int) {
|
2020-01-14 10:38:55 +00:00
|
|
|
if m == nil {
|
|
|
|
return 0
|
|
|
|
}
|
2018-12-19 14:29:25 +00:00
|
|
|
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 sovGenerated(x uint64) (n int) {
|
2020-01-14 10:38:55 +00:00
|
|
|
return (math_bits.Len64(x|1) + 6) / 7
|
2018-12-19 14:29:25 +00:00
|
|
|
}
|
|
|
|
func sozGenerated(x uint64) (n int) {
|
|
|
|
return sovGenerated(uint64((x << 1) ^ uint64((int64(x) >> 63))))
|
|
|
|
}
|
|
|
|
func (this *ControllerRevision) String() string {
|
|
|
|
if this == nil {
|
|
|
|
return "nil"
|
|
|
|
}
|
|
|
|
s := strings.Join([]string{`&ControllerRevision{`,
|
2020-01-14 10:38:55 +00:00
|
|
|
`ObjectMeta:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.ObjectMeta), "ObjectMeta", "v1.ObjectMeta", 1), `&`, ``, 1) + `,`,
|
|
|
|
`Data:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Data), "RawExtension", "runtime.RawExtension", 1), `&`, ``, 1) + `,`,
|
2018-12-19 14:29:25 +00:00
|
|
|
`Revision:` + fmt.Sprintf("%v", this.Revision) + `,`,
|
|
|
|
`}`,
|
|
|
|
}, "")
|
|
|
|
return s
|
|
|
|
}
|
|
|
|
func (this *ControllerRevisionList) String() string {
|
|
|
|
if this == nil {
|
|
|
|
return "nil"
|
|
|
|
}
|
2020-01-14 10:38:55 +00:00
|
|
|
repeatedStringForItems := "[]ControllerRevision{"
|
|
|
|
for _, f := range this.Items {
|
|
|
|
repeatedStringForItems += strings.Replace(strings.Replace(f.String(), "ControllerRevision", "ControllerRevision", 1), `&`, ``, 1) + ","
|
|
|
|
}
|
|
|
|
repeatedStringForItems += "}"
|
2018-12-19 14:29:25 +00:00
|
|
|
s := strings.Join([]string{`&ControllerRevisionList{`,
|
2020-01-14 10:38:55 +00:00
|
|
|
`ListMeta:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.ListMeta), "ListMeta", "v1.ListMeta", 1), `&`, ``, 1) + `,`,
|
|
|
|
`Items:` + repeatedStringForItems + `,`,
|
2018-12-19 14:29:25 +00:00
|
|
|
`}`,
|
|
|
|
}, "")
|
|
|
|
return s
|
|
|
|
}
|
|
|
|
func (this *DaemonSet) String() string {
|
|
|
|
if this == nil {
|
|
|
|
return "nil"
|
|
|
|
}
|
|
|
|
s := strings.Join([]string{`&DaemonSet{`,
|
2020-01-14 10:38:55 +00:00
|
|
|
`ObjectMeta:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.ObjectMeta), "ObjectMeta", "v1.ObjectMeta", 1), `&`, ``, 1) + `,`,
|
2018-12-19 14:29:25 +00:00
|
|
|
`Spec:` + strings.Replace(strings.Replace(this.Spec.String(), "DaemonSetSpec", "DaemonSetSpec", 1), `&`, ``, 1) + `,`,
|
|
|
|
`Status:` + strings.Replace(strings.Replace(this.Status.String(), "DaemonSetStatus", "DaemonSetStatus", 1), `&`, ``, 1) + `,`,
|
|
|
|
`}`,
|
|
|
|
}, "")
|
|
|
|
return s
|
|
|
|
}
|
|
|
|
func (this *DaemonSetCondition) String() string {
|
|
|
|
if this == nil {
|
|
|
|
return "nil"
|
|
|
|
}
|
|
|
|
s := strings.Join([]string{`&DaemonSetCondition{`,
|
|
|
|
`Type:` + fmt.Sprintf("%v", this.Type) + `,`,
|
|
|
|
`Status:` + fmt.Sprintf("%v", this.Status) + `,`,
|
2020-01-14 10:38:55 +00:00
|
|
|
`LastTransitionTime:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.LastTransitionTime), "Time", "v1.Time", 1), `&`, ``, 1) + `,`,
|
2018-12-19 14:29:25 +00:00
|
|
|
`Reason:` + fmt.Sprintf("%v", this.Reason) + `,`,
|
|
|
|
`Message:` + fmt.Sprintf("%v", this.Message) + `,`,
|
|
|
|
`}`,
|
|
|
|
}, "")
|
|
|
|
return s
|
|
|
|
}
|
|
|
|
func (this *DaemonSetList) String() string {
|
|
|
|
if this == nil {
|
|
|
|
return "nil"
|
|
|
|
}
|
2020-01-14 10:38:55 +00:00
|
|
|
repeatedStringForItems := "[]DaemonSet{"
|
|
|
|
for _, f := range this.Items {
|
|
|
|
repeatedStringForItems += strings.Replace(strings.Replace(f.String(), "DaemonSet", "DaemonSet", 1), `&`, ``, 1) + ","
|
|
|
|
}
|
|
|
|
repeatedStringForItems += "}"
|
2018-12-19 14:29:25 +00:00
|
|
|
s := strings.Join([]string{`&DaemonSetList{`,
|
2020-01-14 10:38:55 +00:00
|
|
|
`ListMeta:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.ListMeta), "ListMeta", "v1.ListMeta", 1), `&`, ``, 1) + `,`,
|
|
|
|
`Items:` + repeatedStringForItems + `,`,
|
2018-12-19 14:29:25 +00:00
|
|
|
`}`,
|
|
|
|
}, "")
|
|
|
|
return s
|
|
|
|
}
|
|
|
|
func (this *DaemonSetSpec) String() string {
|
|
|
|
if this == nil {
|
|
|
|
return "nil"
|
|
|
|
}
|
|
|
|
s := strings.Join([]string{`&DaemonSetSpec{`,
|
2020-01-14 10:38:55 +00:00
|
|
|
`Selector:` + strings.Replace(fmt.Sprintf("%v", this.Selector), "LabelSelector", "v1.LabelSelector", 1) + `,`,
|
|
|
|
`Template:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Template), "PodTemplateSpec", "v11.PodTemplateSpec", 1), `&`, ``, 1) + `,`,
|
2018-12-19 14:29:25 +00:00
|
|
|
`UpdateStrategy:` + strings.Replace(strings.Replace(this.UpdateStrategy.String(), "DaemonSetUpdateStrategy", "DaemonSetUpdateStrategy", 1), `&`, ``, 1) + `,`,
|
|
|
|
`MinReadySeconds:` + fmt.Sprintf("%v", this.MinReadySeconds) + `,`,
|
|
|
|
`RevisionHistoryLimit:` + valueToStringGenerated(this.RevisionHistoryLimit) + `,`,
|
|
|
|
`}`,
|
|
|
|
}, "")
|
|
|
|
return s
|
|
|
|
}
|
|
|
|
func (this *DaemonSetStatus) String() string {
|
|
|
|
if this == nil {
|
|
|
|
return "nil"
|
|
|
|
}
|
2020-01-14 10:38:55 +00:00
|
|
|
repeatedStringForConditions := "[]DaemonSetCondition{"
|
|
|
|
for _, f := range this.Conditions {
|
|
|
|
repeatedStringForConditions += strings.Replace(strings.Replace(f.String(), "DaemonSetCondition", "DaemonSetCondition", 1), `&`, ``, 1) + ","
|
|
|
|
}
|
|
|
|
repeatedStringForConditions += "}"
|
2018-12-19 14:29:25 +00:00
|
|
|
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) + `,`,
|
|
|
|
`CollisionCount:` + valueToStringGenerated(this.CollisionCount) + `,`,
|
2020-01-14 10:38:55 +00:00
|
|
|
`Conditions:` + repeatedStringForConditions + `,`,
|
2018-12-19 14:29:25 +00:00
|
|
|
`}`,
|
|
|
|
}, "")
|
|
|
|
return s
|
|
|
|
}
|
|
|
|
func (this *DaemonSetUpdateStrategy) String() string {
|
|
|
|
if this == nil {
|
|
|
|
return "nil"
|
|
|
|
}
|
|
|
|
s := strings.Join([]string{`&DaemonSetUpdateStrategy{`,
|
|
|
|
`Type:` + fmt.Sprintf("%v", this.Type) + `,`,
|
2020-01-14 10:38:55 +00:00
|
|
|
`RollingUpdate:` + strings.Replace(this.RollingUpdate.String(), "RollingUpdateDaemonSet", "RollingUpdateDaemonSet", 1) + `,`,
|
2018-12-19 14:29:25 +00:00
|
|
|
`}`,
|
|
|
|
}, "")
|
|
|
|
return s
|
|
|
|
}
|
|
|
|
func (this *Deployment) String() string {
|
|
|
|
if this == nil {
|
|
|
|
return "nil"
|
|
|
|
}
|
|
|
|
s := strings.Join([]string{`&Deployment{`,
|
2020-01-14 10:38:55 +00:00
|
|
|
`ObjectMeta:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.ObjectMeta), "ObjectMeta", "v1.ObjectMeta", 1), `&`, ``, 1) + `,`,
|
2018-12-19 14:29:25 +00:00
|
|
|
`Spec:` + strings.Replace(strings.Replace(this.Spec.String(), "DeploymentSpec", "DeploymentSpec", 1), `&`, ``, 1) + `,`,
|
|
|
|
`Status:` + strings.Replace(strings.Replace(this.Status.String(), "DeploymentStatus", "DeploymentStatus", 1), `&`, ``, 1) + `,`,
|
|
|
|
`}`,
|
|
|
|
}, "")
|
|
|
|
return s
|
|
|
|
}
|
|
|
|
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) + `,`,
|
2020-01-14 10:38:55 +00:00
|
|
|
`LastUpdateTime:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.LastUpdateTime), "Time", "v1.Time", 1), `&`, ``, 1) + `,`,
|
|
|
|
`LastTransitionTime:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.LastTransitionTime), "Time", "v1.Time", 1), `&`, ``, 1) + `,`,
|
2018-12-19 14:29:25 +00:00
|
|
|
`}`,
|
|
|
|
}, "")
|
|
|
|
return s
|
|
|
|
}
|
|
|
|
func (this *DeploymentList) String() string {
|
|
|
|
if this == nil {
|
|
|
|
return "nil"
|
|
|
|
}
|
2020-01-14 10:38:55 +00:00
|
|
|
repeatedStringForItems := "[]Deployment{"
|
|
|
|
for _, f := range this.Items {
|
|
|
|
repeatedStringForItems += strings.Replace(strings.Replace(f.String(), "Deployment", "Deployment", 1), `&`, ``, 1) + ","
|
|
|
|
}
|
|
|
|
repeatedStringForItems += "}"
|
2018-12-19 14:29:25 +00:00
|
|
|
s := strings.Join([]string{`&DeploymentList{`,
|
2020-01-14 10:38:55 +00:00
|
|
|
`ListMeta:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.ListMeta), "ListMeta", "v1.ListMeta", 1), `&`, ``, 1) + `,`,
|
|
|
|
`Items:` + repeatedStringForItems + `,`,
|
2018-12-19 14:29:25 +00:00
|
|
|
`}`,
|
|
|
|
}, "")
|
|
|
|
return s
|
|
|
|
}
|
|
|
|
func (this *DeploymentSpec) String() string {
|
|
|
|
if this == nil {
|
|
|
|
return "nil"
|
|
|
|
}
|
|
|
|
s := strings.Join([]string{`&DeploymentSpec{`,
|
|
|
|
`Replicas:` + valueToStringGenerated(this.Replicas) + `,`,
|
2020-01-14 10:38:55 +00:00
|
|
|
`Selector:` + strings.Replace(fmt.Sprintf("%v", this.Selector), "LabelSelector", "v1.LabelSelector", 1) + `,`,
|
|
|
|
`Template:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Template), "PodTemplateSpec", "v11.PodTemplateSpec", 1), `&`, ``, 1) + `,`,
|
2018-12-19 14:29:25 +00:00
|
|
|
`Strategy:` + strings.Replace(strings.Replace(this.Strategy.String(), "DeploymentStrategy", "DeploymentStrategy", 1), `&`, ``, 1) + `,`,
|
|
|
|
`MinReadySeconds:` + fmt.Sprintf("%v", this.MinReadySeconds) + `,`,
|
|
|
|
`RevisionHistoryLimit:` + valueToStringGenerated(this.RevisionHistoryLimit) + `,`,
|
|
|
|
`Paused:` + fmt.Sprintf("%v", this.Paused) + `,`,
|
|
|
|
`ProgressDeadlineSeconds:` + valueToStringGenerated(this.ProgressDeadlineSeconds) + `,`,
|
|
|
|
`}`,
|
|
|
|
}, "")
|
|
|
|
return s
|
|
|
|
}
|
|
|
|
func (this *DeploymentStatus) String() string {
|
|
|
|
if this == nil {
|
|
|
|
return "nil"
|
|
|
|
}
|
2020-01-14 10:38:55 +00:00
|
|
|
repeatedStringForConditions := "[]DeploymentCondition{"
|
|
|
|
for _, f := range this.Conditions {
|
|
|
|
repeatedStringForConditions += strings.Replace(strings.Replace(f.String(), "DeploymentCondition", "DeploymentCondition", 1), `&`, ``, 1) + ","
|
|
|
|
}
|
|
|
|
repeatedStringForConditions += "}"
|
2018-12-19 14:29:25 +00:00
|
|
|
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) + `,`,
|
2020-01-14 10:38:55 +00:00
|
|
|
`Conditions:` + repeatedStringForConditions + `,`,
|
2018-12-19 14:29:25 +00:00
|
|
|
`ReadyReplicas:` + fmt.Sprintf("%v", this.ReadyReplicas) + `,`,
|
|
|
|
`CollisionCount:` + valueToStringGenerated(this.CollisionCount) + `,`,
|
|
|
|
`}`,
|
|
|
|
}, "")
|
|
|
|
return s
|
|
|
|
}
|
|
|
|
func (this *DeploymentStrategy) String() string {
|
|
|
|
if this == nil {
|
|
|
|
return "nil"
|
|
|
|
}
|
|
|
|
s := strings.Join([]string{`&DeploymentStrategy{`,
|
|
|
|
`Type:` + fmt.Sprintf("%v", this.Type) + `,`,
|
2020-01-14 10:38:55 +00:00
|
|
|
`RollingUpdate:` + strings.Replace(this.RollingUpdate.String(), "RollingUpdateDeployment", "RollingUpdateDeployment", 1) + `,`,
|
2018-12-19 14:29:25 +00:00
|
|
|
`}`,
|
|
|
|
}, "")
|
|
|
|
return s
|
|
|
|
}
|
|
|
|
func (this *ReplicaSet) String() string {
|
|
|
|
if this == nil {
|
|
|
|
return "nil"
|
|
|
|
}
|
|
|
|
s := strings.Join([]string{`&ReplicaSet{`,
|
2020-01-14 10:38:55 +00:00
|
|
|
`ObjectMeta:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.ObjectMeta), "ObjectMeta", "v1.ObjectMeta", 1), `&`, ``, 1) + `,`,
|
2018-12-19 14:29:25 +00:00
|
|
|
`Spec:` + strings.Replace(strings.Replace(this.Spec.String(), "ReplicaSetSpec", "ReplicaSetSpec", 1), `&`, ``, 1) + `,`,
|
|
|
|
`Status:` + strings.Replace(strings.Replace(this.Status.String(), "ReplicaSetStatus", "ReplicaSetStatus", 1), `&`, ``, 1) + `,`,
|
|
|
|
`}`,
|
|
|
|
}, "")
|
|
|
|
return s
|
|
|
|
}
|
|
|
|
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) + `,`,
|
2020-01-14 10:38:55 +00:00
|
|
|
`LastTransitionTime:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.LastTransitionTime), "Time", "v1.Time", 1), `&`, ``, 1) + `,`,
|
2018-12-19 14:29:25 +00:00
|
|
|
`Reason:` + fmt.Sprintf("%v", this.Reason) + `,`,
|
|
|
|
`Message:` + fmt.Sprintf("%v", this.Message) + `,`,
|
|
|
|
`}`,
|
|
|
|
}, "")
|
|
|
|
return s
|
|
|
|
}
|
|
|
|
func (this *ReplicaSetList) String() string {
|
|
|
|
if this == nil {
|
|
|
|
return "nil"
|
|
|
|
}
|
2020-01-14 10:38:55 +00:00
|
|
|
repeatedStringForItems := "[]ReplicaSet{"
|
|
|
|
for _, f := range this.Items {
|
|
|
|
repeatedStringForItems += strings.Replace(strings.Replace(f.String(), "ReplicaSet", "ReplicaSet", 1), `&`, ``, 1) + ","
|
|
|
|
}
|
|
|
|
repeatedStringForItems += "}"
|
2018-12-19 14:29:25 +00:00
|
|
|
s := strings.Join([]string{`&ReplicaSetList{`,
|
2020-01-14 10:38:55 +00:00
|
|
|
`ListMeta:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.ListMeta), "ListMeta", "v1.ListMeta", 1), `&`, ``, 1) + `,`,
|
|
|
|
`Items:` + repeatedStringForItems + `,`,
|
2018-12-19 14:29:25 +00:00
|
|
|
`}`,
|
|
|
|
}, "")
|
|
|
|
return s
|
|
|
|
}
|
|
|
|
func (this *ReplicaSetSpec) String() string {
|
|
|
|
if this == nil {
|
|
|
|
return "nil"
|
|
|
|
}
|
|
|
|
s := strings.Join([]string{`&ReplicaSetSpec{`,
|
|
|
|
`Replicas:` + valueToStringGenerated(this.Replicas) + `,`,
|
2020-01-14 10:38:55 +00:00
|
|
|
`Selector:` + strings.Replace(fmt.Sprintf("%v", this.Selector), "LabelSelector", "v1.LabelSelector", 1) + `,`,
|
|
|
|
`Template:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Template), "PodTemplateSpec", "v11.PodTemplateSpec", 1), `&`, ``, 1) + `,`,
|
2018-12-19 14:29:25 +00:00
|
|
|
`MinReadySeconds:` + fmt.Sprintf("%v", this.MinReadySeconds) + `,`,
|
|
|
|
`}`,
|
|
|
|
}, "")
|
|
|
|
return s
|
|
|
|
}
|
|
|
|
func (this *ReplicaSetStatus) String() string {
|
|
|
|
if this == nil {
|
|
|
|
return "nil"
|
|
|
|
}
|
2020-01-14 10:38:55 +00:00
|
|
|
repeatedStringForConditions := "[]ReplicaSetCondition{"
|
|
|
|
for _, f := range this.Conditions {
|
|
|
|
repeatedStringForConditions += strings.Replace(strings.Replace(f.String(), "ReplicaSetCondition", "ReplicaSetCondition", 1), `&`, ``, 1) + ","
|
|
|
|
}
|
|
|
|
repeatedStringForConditions += "}"
|
2018-12-19 14:29:25 +00:00
|
|
|
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) + `,`,
|
2020-01-14 10:38:55 +00:00
|
|
|
`Conditions:` + repeatedStringForConditions + `,`,
|
2018-12-19 14:29:25 +00:00
|
|
|
`}`,
|
|
|
|
}, "")
|
|
|
|
return s
|
|
|
|
}
|
|
|
|
func (this *RollingUpdateDaemonSet) String() string {
|
|
|
|
if this == nil {
|
|
|
|
return "nil"
|
|
|
|
}
|
|
|
|
s := strings.Join([]string{`&RollingUpdateDaemonSet{`,
|
2020-01-14 10:38:55 +00:00
|
|
|
`MaxUnavailable:` + strings.Replace(fmt.Sprintf("%v", this.MaxUnavailable), "IntOrString", "intstr.IntOrString", 1) + `,`,
|
2021-06-25 04:59:51 +00:00
|
|
|
`MaxSurge:` + strings.Replace(fmt.Sprintf("%v", this.MaxSurge), "IntOrString", "intstr.IntOrString", 1) + `,`,
|
2018-12-19 14:29:25 +00:00
|
|
|
`}`,
|
|
|
|
}, "")
|
|
|
|
return s
|
|
|
|
}
|
|
|
|
func (this *RollingUpdateDeployment) String() string {
|
|
|
|
if this == nil {
|
|
|
|
return "nil"
|
|
|
|
}
|
|
|
|
s := strings.Join([]string{`&RollingUpdateDeployment{`,
|
2020-01-14 10:38:55 +00:00
|
|
|
`MaxUnavailable:` + strings.Replace(fmt.Sprintf("%v", this.MaxUnavailable), "IntOrString", "intstr.IntOrString", 1) + `,`,
|
|
|
|
`MaxSurge:` + strings.Replace(fmt.Sprintf("%v", this.MaxSurge), "IntOrString", "intstr.IntOrString", 1) + `,`,
|
2018-12-19 14:29:25 +00:00
|
|
|
`}`,
|
|
|
|
}, "")
|
|
|
|
return s
|
|
|
|
}
|
|
|
|
func (this *RollingUpdateStatefulSetStrategy) String() string {
|
|
|
|
if this == nil {
|
|
|
|
return "nil"
|
|
|
|
}
|
|
|
|
s := strings.Join([]string{`&RollingUpdateStatefulSetStrategy{`,
|
|
|
|
`Partition:` + valueToStringGenerated(this.Partition) + `,`,
|
2022-05-05 02:47:06 +00:00
|
|
|
`MaxUnavailable:` + strings.Replace(fmt.Sprintf("%v", this.MaxUnavailable), "IntOrString", "intstr.IntOrString", 1) + `,`,
|
2018-12-19 14:29:25 +00:00
|
|
|
`}`,
|
|
|
|
}, "")
|
|
|
|
return s
|
|
|
|
}
|
|
|
|
func (this *Scale) String() string {
|
|
|
|
if this == nil {
|
|
|
|
return "nil"
|
|
|
|
}
|
|
|
|
s := strings.Join([]string{`&Scale{`,
|
2020-01-14 10:38:55 +00:00
|
|
|
`ObjectMeta:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.ObjectMeta), "ObjectMeta", "v1.ObjectMeta", 1), `&`, ``, 1) + `,`,
|
2018-12-19 14:29:25 +00:00
|
|
|
`Spec:` + strings.Replace(strings.Replace(this.Spec.String(), "ScaleSpec", "ScaleSpec", 1), `&`, ``, 1) + `,`,
|
|
|
|
`Status:` + strings.Replace(strings.Replace(this.Status.String(), "ScaleStatus", "ScaleStatus", 1), `&`, ``, 1) + `,`,
|
|
|
|
`}`,
|
|
|
|
}, "")
|
|
|
|
return s
|
|
|
|
}
|
|
|
|
func (this *ScaleSpec) String() string {
|
|
|
|
if this == nil {
|
|
|
|
return "nil"
|
|
|
|
}
|
|
|
|
s := strings.Join([]string{`&ScaleSpec{`,
|
|
|
|
`Replicas:` + fmt.Sprintf("%v", this.Replicas) + `,`,
|
|
|
|
`}`,
|
|
|
|
}, "")
|
|
|
|
return s
|
|
|
|
}
|
|
|
|
func (this *ScaleStatus) String() string {
|
|
|
|
if this == nil {
|
|
|
|
return "nil"
|
|
|
|
}
|
|
|
|
keysForSelector := make([]string, 0, len(this.Selector))
|
|
|
|
for k := range this.Selector {
|
|
|
|
keysForSelector = append(keysForSelector, k)
|
|
|
|
}
|
|
|
|
github_com_gogo_protobuf_sortkeys.Strings(keysForSelector)
|
|
|
|
mapStringForSelector := "map[string]string{"
|
|
|
|
for _, k := range keysForSelector {
|
|
|
|
mapStringForSelector += fmt.Sprintf("%v: %v,", k, this.Selector[k])
|
|
|
|
}
|
|
|
|
mapStringForSelector += "}"
|
|
|
|
s := strings.Join([]string{`&ScaleStatus{`,
|
|
|
|
`Replicas:` + fmt.Sprintf("%v", this.Replicas) + `,`,
|
|
|
|
`Selector:` + mapStringForSelector + `,`,
|
|
|
|
`TargetSelector:` + fmt.Sprintf("%v", this.TargetSelector) + `,`,
|
|
|
|
`}`,
|
|
|
|
}, "")
|
|
|
|
return s
|
|
|
|
}
|
|
|
|
func (this *StatefulSet) String() string {
|
|
|
|
if this == nil {
|
|
|
|
return "nil"
|
|
|
|
}
|
|
|
|
s := strings.Join([]string{`&StatefulSet{`,
|
2020-01-14 10:38:55 +00:00
|
|
|
`ObjectMeta:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.ObjectMeta), "ObjectMeta", "v1.ObjectMeta", 1), `&`, ``, 1) + `,`,
|
2018-12-19 14:29:25 +00:00
|
|
|
`Spec:` + strings.Replace(strings.Replace(this.Spec.String(), "StatefulSetSpec", "StatefulSetSpec", 1), `&`, ``, 1) + `,`,
|
|
|
|
`Status:` + strings.Replace(strings.Replace(this.Status.String(), "StatefulSetStatus", "StatefulSetStatus", 1), `&`, ``, 1) + `,`,
|
|
|
|
`}`,
|
|
|
|
}, "")
|
|
|
|
return s
|
|
|
|
}
|
|
|
|
func (this *StatefulSetCondition) String() string {
|
|
|
|
if this == nil {
|
|
|
|
return "nil"
|
|
|
|
}
|
|
|
|
s := strings.Join([]string{`&StatefulSetCondition{`,
|
|
|
|
`Type:` + fmt.Sprintf("%v", this.Type) + `,`,
|
|
|
|
`Status:` + fmt.Sprintf("%v", this.Status) + `,`,
|
2020-01-14 10:38:55 +00:00
|
|
|
`LastTransitionTime:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.LastTransitionTime), "Time", "v1.Time", 1), `&`, ``, 1) + `,`,
|
2018-12-19 14:29:25 +00:00
|
|
|
`Reason:` + fmt.Sprintf("%v", this.Reason) + `,`,
|
|
|
|
`Message:` + fmt.Sprintf("%v", this.Message) + `,`,
|
|
|
|
`}`,
|
|
|
|
}, "")
|
|
|
|
return s
|
|
|
|
}
|
|
|
|
func (this *StatefulSetList) String() string {
|
|
|
|
if this == nil {
|
|
|
|
return "nil"
|
|
|
|
}
|
2020-01-14 10:38:55 +00:00
|
|
|
repeatedStringForItems := "[]StatefulSet{"
|
|
|
|
for _, f := range this.Items {
|
|
|
|
repeatedStringForItems += strings.Replace(strings.Replace(f.String(), "StatefulSet", "StatefulSet", 1), `&`, ``, 1) + ","
|
|
|
|
}
|
|
|
|
repeatedStringForItems += "}"
|
2018-12-19 14:29:25 +00:00
|
|
|
s := strings.Join([]string{`&StatefulSetList{`,
|
2020-01-14 10:38:55 +00:00
|
|
|
`ListMeta:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.ListMeta), "ListMeta", "v1.ListMeta", 1), `&`, ``, 1) + `,`,
|
|
|
|
`Items:` + repeatedStringForItems + `,`,
|
2018-12-19 14:29:25 +00:00
|
|
|
`}`,
|
|
|
|
}, "")
|
|
|
|
return s
|
|
|
|
}
|
2023-02-01 17:06:36 +00:00
|
|
|
func (this *StatefulSetOrdinals) String() string {
|
|
|
|
if this == nil {
|
|
|
|
return "nil"
|
|
|
|
}
|
|
|
|
s := strings.Join([]string{`&StatefulSetOrdinals{`,
|
|
|
|
`Start:` + fmt.Sprintf("%v", this.Start) + `,`,
|
|
|
|
`}`,
|
|
|
|
}, "")
|
|
|
|
return s
|
|
|
|
}
|
2021-12-08 13:50:47 +00:00
|
|
|
func (this *StatefulSetPersistentVolumeClaimRetentionPolicy) String() string {
|
|
|
|
if this == nil {
|
|
|
|
return "nil"
|
|
|
|
}
|
|
|
|
s := strings.Join([]string{`&StatefulSetPersistentVolumeClaimRetentionPolicy{`,
|
|
|
|
`WhenDeleted:` + fmt.Sprintf("%v", this.WhenDeleted) + `,`,
|
|
|
|
`WhenScaled:` + fmt.Sprintf("%v", this.WhenScaled) + `,`,
|
|
|
|
`}`,
|
|
|
|
}, "")
|
|
|
|
return s
|
|
|
|
}
|
2018-12-19 14:29:25 +00:00
|
|
|
func (this *StatefulSetSpec) String() string {
|
|
|
|
if this == nil {
|
|
|
|
return "nil"
|
|
|
|
}
|
2020-01-14 10:38:55 +00:00
|
|
|
repeatedStringForVolumeClaimTemplates := "[]PersistentVolumeClaim{"
|
|
|
|
for _, f := range this.VolumeClaimTemplates {
|
|
|
|
repeatedStringForVolumeClaimTemplates += fmt.Sprintf("%v", f) + ","
|
|
|
|
}
|
|
|
|
repeatedStringForVolumeClaimTemplates += "}"
|
2018-12-19 14:29:25 +00:00
|
|
|
s := strings.Join([]string{`&StatefulSetSpec{`,
|
|
|
|
`Replicas:` + valueToStringGenerated(this.Replicas) + `,`,
|
2020-01-14 10:38:55 +00:00
|
|
|
`Selector:` + strings.Replace(fmt.Sprintf("%v", this.Selector), "LabelSelector", "v1.LabelSelector", 1) + `,`,
|
|
|
|
`Template:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Template), "PodTemplateSpec", "v11.PodTemplateSpec", 1), `&`, ``, 1) + `,`,
|
|
|
|
`VolumeClaimTemplates:` + repeatedStringForVolumeClaimTemplates + `,`,
|
2018-12-19 14:29:25 +00:00
|
|
|
`ServiceName:` + fmt.Sprintf("%v", this.ServiceName) + `,`,
|
|
|
|
`PodManagementPolicy:` + fmt.Sprintf("%v", this.PodManagementPolicy) + `,`,
|
|
|
|
`UpdateStrategy:` + strings.Replace(strings.Replace(this.UpdateStrategy.String(), "StatefulSetUpdateStrategy", "StatefulSetUpdateStrategy", 1), `&`, ``, 1) + `,`,
|
|
|
|
`RevisionHistoryLimit:` + valueToStringGenerated(this.RevisionHistoryLimit) + `,`,
|
2021-08-09 07:19:24 +00:00
|
|
|
`MinReadySeconds:` + fmt.Sprintf("%v", this.MinReadySeconds) + `,`,
|
2021-12-08 13:50:47 +00:00
|
|
|
`PersistentVolumeClaimRetentionPolicy:` + strings.Replace(this.PersistentVolumeClaimRetentionPolicy.String(), "StatefulSetPersistentVolumeClaimRetentionPolicy", "StatefulSetPersistentVolumeClaimRetentionPolicy", 1) + `,`,
|
2023-02-01 17:06:36 +00:00
|
|
|
`Ordinals:` + strings.Replace(this.Ordinals.String(), "StatefulSetOrdinals", "StatefulSetOrdinals", 1) + `,`,
|
2018-12-19 14:29:25 +00:00
|
|
|
`}`,
|
|
|
|
}, "")
|
|
|
|
return s
|
|
|
|
}
|
|
|
|
func (this *StatefulSetStatus) String() string {
|
|
|
|
if this == nil {
|
|
|
|
return "nil"
|
|
|
|
}
|
2020-01-14 10:38:55 +00:00
|
|
|
repeatedStringForConditions := "[]StatefulSetCondition{"
|
|
|
|
for _, f := range this.Conditions {
|
|
|
|
repeatedStringForConditions += strings.Replace(strings.Replace(f.String(), "StatefulSetCondition", "StatefulSetCondition", 1), `&`, ``, 1) + ","
|
|
|
|
}
|
|
|
|
repeatedStringForConditions += "}"
|
2018-12-19 14:29:25 +00:00
|
|
|
s := strings.Join([]string{`&StatefulSetStatus{`,
|
|
|
|
`ObservedGeneration:` + fmt.Sprintf("%v", this.ObservedGeneration) + `,`,
|
|
|
|
`Replicas:` + fmt.Sprintf("%v", this.Replicas) + `,`,
|
|
|
|
`ReadyReplicas:` + fmt.Sprintf("%v", this.ReadyReplicas) + `,`,
|
|
|
|
`CurrentReplicas:` + fmt.Sprintf("%v", this.CurrentReplicas) + `,`,
|
|
|
|
`UpdatedReplicas:` + fmt.Sprintf("%v", this.UpdatedReplicas) + `,`,
|
|
|
|
`CurrentRevision:` + fmt.Sprintf("%v", this.CurrentRevision) + `,`,
|
|
|
|
`UpdateRevision:` + fmt.Sprintf("%v", this.UpdateRevision) + `,`,
|
|
|
|
`CollisionCount:` + valueToStringGenerated(this.CollisionCount) + `,`,
|
2020-01-14 10:38:55 +00:00
|
|
|
`Conditions:` + repeatedStringForConditions + `,`,
|
2021-08-09 07:19:24 +00:00
|
|
|
`AvailableReplicas:` + fmt.Sprintf("%v", this.AvailableReplicas) + `,`,
|
2018-12-19 14:29:25 +00:00
|
|
|
`}`,
|
|
|
|
}, "")
|
|
|
|
return s
|
|
|
|
}
|
|
|
|
func (this *StatefulSetUpdateStrategy) String() string {
|
|
|
|
if this == nil {
|
|
|
|
return "nil"
|
|
|
|
}
|
|
|
|
s := strings.Join([]string{`&StatefulSetUpdateStrategy{`,
|
|
|
|
`Type:` + fmt.Sprintf("%v", this.Type) + `,`,
|
2020-01-14 10:38:55 +00:00
|
|
|
`RollingUpdate:` + strings.Replace(this.RollingUpdate.String(), "RollingUpdateStatefulSetStrategy", "RollingUpdateStatefulSetStrategy", 1) + `,`,
|
2018-12-19 14:29:25 +00:00
|
|
|
`}`,
|
|
|
|
}, "")
|
|
|
|
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)
|
|
|
|
}
|
|
|
|
func (m *ControllerRevision) Unmarshal(dAtA []byte) error {
|
|
|
|
l := len(dAtA)
|
|
|
|
iNdEx := 0
|
|
|
|
for iNdEx < l {
|
|
|
|
preIndex := iNdEx
|
|
|
|
var wire uint64
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowGenerated
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
b := dAtA[iNdEx]
|
|
|
|
iNdEx++
|
2020-01-14 10:38:55 +00:00
|
|
|
wire |= uint64(b&0x7F) << shift
|
2018-12-19 14:29:25 +00:00
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
fieldNum := int32(wire >> 3)
|
|
|
|
wireType := int(wire & 0x7)
|
|
|
|
if wireType == 4 {
|
|
|
|
return fmt.Errorf("proto: ControllerRevision: wiretype end group for non-group")
|
|
|
|
}
|
|
|
|
if fieldNum <= 0 {
|
|
|
|
return fmt.Errorf("proto: ControllerRevision: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
|
|
}
|
|
|
|
switch fieldNum {
|
|
|
|
case 1:
|
|
|
|
if wireType != 2 {
|
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field ObjectMeta", wireType)
|
|
|
|
}
|
|
|
|
var msglen int
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowGenerated
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
b := dAtA[iNdEx]
|
|
|
|
iNdEx++
|
2020-01-14 10:38:55 +00:00
|
|
|
msglen |= int(b&0x7F) << shift
|
2018-12-19 14:29:25 +00:00
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if msglen < 0 {
|
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
|
|
|
postIndex := iNdEx + msglen
|
2020-01-14 10:38:55 +00:00
|
|
|
if postIndex < 0 {
|
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
2018-12-19 14:29:25 +00:00
|
|
|
if postIndex > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
if err := m.ObjectMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
iNdEx = postIndex
|
|
|
|
case 2:
|
|
|
|
if wireType != 2 {
|
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Data", wireType)
|
|
|
|
}
|
|
|
|
var msglen int
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowGenerated
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
b := dAtA[iNdEx]
|
|
|
|
iNdEx++
|
2020-01-14 10:38:55 +00:00
|
|
|
msglen |= int(b&0x7F) << shift
|
2018-12-19 14:29:25 +00:00
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if msglen < 0 {
|
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
|
|
|
postIndex := iNdEx + msglen
|
2020-01-14 10:38:55 +00:00
|
|
|
if postIndex < 0 {
|
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
2018-12-19 14:29:25 +00:00
|
|
|
if postIndex > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
if err := m.Data.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
iNdEx = postIndex
|
|
|
|
case 3:
|
|
|
|
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
|
|
|
|
}
|
|
|
|
b := dAtA[iNdEx]
|
|
|
|
iNdEx++
|
2020-01-14 10:38:55 +00:00
|
|
|
m.Revision |= int64(b&0x7F) << shift
|
2018-12-19 14:29:25 +00:00
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
default:
|
|
|
|
iNdEx = preIndex
|
|
|
|
skippy, err := skipGenerated(dAtA[iNdEx:])
|
|
|
|
if err != nil {
|
|
|
|
return err
|
|
|
|
}
|
2021-05-10 10:45:47 +00:00
|
|
|
if (skippy < 0) || (iNdEx+skippy) < 0 {
|
2020-01-14 10:38:55 +00:00
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
2018-12-19 14:29:25 +00:00
|
|
|
if (iNdEx + skippy) > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
iNdEx += skippy
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
if iNdEx > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
func (m *ControllerRevisionList) Unmarshal(dAtA []byte) error {
|
|
|
|
l := len(dAtA)
|
|
|
|
iNdEx := 0
|
|
|
|
for iNdEx < l {
|
|
|
|
preIndex := iNdEx
|
|
|
|
var wire uint64
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowGenerated
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
b := dAtA[iNdEx]
|
|
|
|
iNdEx++
|
2020-01-14 10:38:55 +00:00
|
|
|
wire |= uint64(b&0x7F) << shift
|
2018-12-19 14:29:25 +00:00
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
fieldNum := int32(wire >> 3)
|
|
|
|
wireType := int(wire & 0x7)
|
|
|
|
if wireType == 4 {
|
|
|
|
return fmt.Errorf("proto: ControllerRevisionList: wiretype end group for non-group")
|
|
|
|
}
|
|
|
|
if fieldNum <= 0 {
|
|
|
|
return fmt.Errorf("proto: ControllerRevisionList: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
|
|
}
|
|
|
|
switch fieldNum {
|
|
|
|
case 1:
|
|
|
|
if wireType != 2 {
|
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field ListMeta", wireType)
|
|
|
|
}
|
|
|
|
var msglen int
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowGenerated
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
b := dAtA[iNdEx]
|
|
|
|
iNdEx++
|
2020-01-14 10:38:55 +00:00
|
|
|
msglen |= int(b&0x7F) << shift
|
2018-12-19 14:29:25 +00:00
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if msglen < 0 {
|
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
|
|
|
postIndex := iNdEx + msglen
|
2020-01-14 10:38:55 +00:00
|
|
|
if postIndex < 0 {
|
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
2018-12-19 14:29:25 +00:00
|
|
|
if postIndex > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
if err := m.ListMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
iNdEx = postIndex
|
|
|
|
case 2:
|
|
|
|
if wireType != 2 {
|
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Items", wireType)
|
|
|
|
}
|
|
|
|
var msglen int
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowGenerated
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
b := dAtA[iNdEx]
|
|
|
|
iNdEx++
|
2020-01-14 10:38:55 +00:00
|
|
|
msglen |= int(b&0x7F) << shift
|
2018-12-19 14:29:25 +00:00
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if msglen < 0 {
|
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
|
|
|
postIndex := iNdEx + msglen
|
2020-01-14 10:38:55 +00:00
|
|
|
if postIndex < 0 {
|
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
2018-12-19 14:29:25 +00:00
|
|
|
if postIndex > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
m.Items = append(m.Items, ControllerRevision{})
|
|
|
|
if err := m.Items[len(m.Items)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
iNdEx = postIndex
|
|
|
|
default:
|
|
|
|
iNdEx = preIndex
|
|
|
|
skippy, err := skipGenerated(dAtA[iNdEx:])
|
|
|
|
if err != nil {
|
|
|
|
return err
|
|
|
|
}
|
2021-05-10 10:45:47 +00:00
|
|
|
if (skippy < 0) || (iNdEx+skippy) < 0 {
|
2020-01-14 10:38:55 +00:00
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
2018-12-19 14:29:25 +00:00
|
|
|
if (iNdEx + skippy) > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
iNdEx += skippy
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
if iNdEx > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
func (m *DaemonSet) Unmarshal(dAtA []byte) error {
|
|
|
|
l := len(dAtA)
|
|
|
|
iNdEx := 0
|
|
|
|
for iNdEx < l {
|
|
|
|
preIndex := iNdEx
|
|
|
|
var wire uint64
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowGenerated
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
b := dAtA[iNdEx]
|
|
|
|
iNdEx++
|
2020-01-14 10:38:55 +00:00
|
|
|
wire |= uint64(b&0x7F) << shift
|
2018-12-19 14:29:25 +00:00
|
|
|
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
|
|
|
|
}
|
|
|
|
b := dAtA[iNdEx]
|
|
|
|
iNdEx++
|
2020-01-14 10:38:55 +00:00
|
|
|
msglen |= int(b&0x7F) << shift
|
2018-12-19 14:29:25 +00:00
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if msglen < 0 {
|
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
|
|
|
postIndex := iNdEx + msglen
|
2020-01-14 10:38:55 +00:00
|
|
|
if postIndex < 0 {
|
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
2018-12-19 14:29:25 +00:00
|
|
|
if postIndex > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
if err := m.ObjectMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
iNdEx = postIndex
|
|
|
|
case 2:
|
|
|
|
if wireType != 2 {
|
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Spec", wireType)
|
|
|
|
}
|
|
|
|
var msglen int
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowGenerated
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
b := dAtA[iNdEx]
|
|
|
|
iNdEx++
|
2020-01-14 10:38:55 +00:00
|
|
|
msglen |= int(b&0x7F) << shift
|
2018-12-19 14:29:25 +00:00
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if msglen < 0 {
|
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
|
|
|
postIndex := iNdEx + msglen
|
2020-01-14 10:38:55 +00:00
|
|
|
if postIndex < 0 {
|
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
2018-12-19 14:29:25 +00:00
|
|
|
if postIndex > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
if err := m.Spec.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
|
|
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
|
|
|
|
}
|
|
|
|
b := dAtA[iNdEx]
|
|
|
|
iNdEx++
|
2020-01-14 10:38:55 +00:00
|
|
|
msglen |= int(b&0x7F) << shift
|
2018-12-19 14:29:25 +00:00
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if msglen < 0 {
|
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
|
|
|
postIndex := iNdEx + msglen
|
2020-01-14 10:38:55 +00:00
|
|
|
if postIndex < 0 {
|
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
2018-12-19 14:29:25 +00:00
|
|
|
if postIndex > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
if err := m.Status.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
iNdEx = postIndex
|
|
|
|
default:
|
|
|
|
iNdEx = preIndex
|
|
|
|
skippy, err := skipGenerated(dAtA[iNdEx:])
|
|
|
|
if err != nil {
|
|
|
|
return err
|
|
|
|
}
|
2021-05-10 10:45:47 +00:00
|
|
|
if (skippy < 0) || (iNdEx+skippy) < 0 {
|
2020-01-14 10:38:55 +00:00
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
2018-12-19 14:29:25 +00:00
|
|
|
if (iNdEx + skippy) > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
iNdEx += skippy
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
if iNdEx > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
func (m *DaemonSetCondition) Unmarshal(dAtA []byte) error {
|
|
|
|
l := len(dAtA)
|
|
|
|
iNdEx := 0
|
|
|
|
for iNdEx < l {
|
|
|
|
preIndex := iNdEx
|
|
|
|
var wire uint64
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowGenerated
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
b := dAtA[iNdEx]
|
|
|
|
iNdEx++
|
2020-01-14 10:38:55 +00:00
|
|
|
wire |= uint64(b&0x7F) << shift
|
2018-12-19 14:29:25 +00:00
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
fieldNum := int32(wire >> 3)
|
|
|
|
wireType := int(wire & 0x7)
|
|
|
|
if wireType == 4 {
|
|
|
|
return fmt.Errorf("proto: DaemonSetCondition: wiretype end group for non-group")
|
|
|
|
}
|
|
|
|
if fieldNum <= 0 {
|
|
|
|
return fmt.Errorf("proto: DaemonSetCondition: 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
|
|
|
|
}
|
|
|
|
b := dAtA[iNdEx]
|
|
|
|
iNdEx++
|
2020-01-14 10:38:55 +00:00
|
|
|
stringLen |= uint64(b&0x7F) << shift
|
2018-12-19 14:29:25 +00:00
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
intStringLen := int(stringLen)
|
|
|
|
if intStringLen < 0 {
|
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
|
|
|
postIndex := iNdEx + intStringLen
|
2020-01-14 10:38:55 +00:00
|
|
|
if postIndex < 0 {
|
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
2018-12-19 14:29:25 +00:00
|
|
|
if postIndex > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
m.Type = DaemonSetConditionType(dAtA[iNdEx:postIndex])
|
|
|
|
iNdEx = postIndex
|
|
|
|
case 2:
|
|
|
|
if wireType != 2 {
|
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType)
|
|
|
|
}
|
|
|
|
var stringLen uint64
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowGenerated
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
b := dAtA[iNdEx]
|
|
|
|
iNdEx++
|
2020-01-14 10:38:55 +00:00
|
|
|
stringLen |= uint64(b&0x7F) << shift
|
2018-12-19 14:29:25 +00:00
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
intStringLen := int(stringLen)
|
|
|
|
if intStringLen < 0 {
|
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
|
|
|
postIndex := iNdEx + intStringLen
|
2020-01-14 10:38:55 +00:00
|
|
|
if postIndex < 0 {
|
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
2018-12-19 14:29:25 +00:00
|
|
|
if postIndex > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
m.Status = k8s_io_api_core_v1.ConditionStatus(dAtA[iNdEx:postIndex])
|
|
|
|
iNdEx = postIndex
|
|
|
|
case 3:
|
|
|
|
if wireType != 2 {
|
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field LastTransitionTime", wireType)
|
|
|
|
}
|
|
|
|
var msglen int
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowGenerated
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
b := dAtA[iNdEx]
|
|
|
|
iNdEx++
|
2020-01-14 10:38:55 +00:00
|
|
|
msglen |= int(b&0x7F) << shift
|
2018-12-19 14:29:25 +00:00
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if msglen < 0 {
|
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
|
|
|
postIndex := iNdEx + msglen
|
2020-01-14 10:38:55 +00:00
|
|
|
if postIndex < 0 {
|
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
2018-12-19 14:29:25 +00:00
|
|
|
if postIndex > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
if err := m.LastTransitionTime.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
iNdEx = postIndex
|
|
|
|
case 4:
|
|
|
|
if wireType != 2 {
|
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Reason", wireType)
|
|
|
|
}
|
|
|
|
var stringLen uint64
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowGenerated
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
b := dAtA[iNdEx]
|
|
|
|
iNdEx++
|
2020-01-14 10:38:55 +00:00
|
|
|
stringLen |= uint64(b&0x7F) << shift
|
2018-12-19 14:29:25 +00:00
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
intStringLen := int(stringLen)
|
|
|
|
if intStringLen < 0 {
|
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
|
|
|
postIndex := iNdEx + intStringLen
|
2020-01-14 10:38:55 +00:00
|
|
|
if postIndex < 0 {
|
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
2018-12-19 14:29:25 +00:00
|
|
|
if postIndex > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
m.Reason = string(dAtA[iNdEx:postIndex])
|
|
|
|
iNdEx = postIndex
|
|
|
|
case 5:
|
|
|
|
if wireType != 2 {
|
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Message", wireType)
|
|
|
|
}
|
|
|
|
var stringLen uint64
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowGenerated
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
b := dAtA[iNdEx]
|
|
|
|
iNdEx++
|
2020-01-14 10:38:55 +00:00
|
|
|
stringLen |= uint64(b&0x7F) << shift
|
2018-12-19 14:29:25 +00:00
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
intStringLen := int(stringLen)
|
|
|
|
if intStringLen < 0 {
|
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
|
|
|
postIndex := iNdEx + intStringLen
|
2020-01-14 10:38:55 +00:00
|
|
|
if postIndex < 0 {
|
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
2018-12-19 14:29:25 +00:00
|
|
|
if postIndex > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
m.Message = string(dAtA[iNdEx:postIndex])
|
|
|
|
iNdEx = postIndex
|
|
|
|
default:
|
|
|
|
iNdEx = preIndex
|
|
|
|
skippy, err := skipGenerated(dAtA[iNdEx:])
|
|
|
|
if err != nil {
|
|
|
|
return err
|
|
|
|
}
|
2021-05-10 10:45:47 +00:00
|
|
|
if (skippy < 0) || (iNdEx+skippy) < 0 {
|
2020-01-14 10:38:55 +00:00
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
2018-12-19 14:29:25 +00:00
|
|
|
if (iNdEx + skippy) > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
iNdEx += skippy
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
if iNdEx > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
func (m *DaemonSetList) Unmarshal(dAtA []byte) error {
|
|
|
|
l := len(dAtA)
|
|
|
|
iNdEx := 0
|
|
|
|
for iNdEx < l {
|
|
|
|
preIndex := iNdEx
|
|
|
|
var wire uint64
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowGenerated
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
b := dAtA[iNdEx]
|
|
|
|
iNdEx++
|
2020-01-14 10:38:55 +00:00
|
|
|
wire |= uint64(b&0x7F) << shift
|
2018-12-19 14:29:25 +00:00
|
|
|
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
|
|
|
|
}
|
|
|
|
b := dAtA[iNdEx]
|
|
|
|
iNdEx++
|
2020-01-14 10:38:55 +00:00
|
|
|
msglen |= int(b&0x7F) << shift
|
2018-12-19 14:29:25 +00:00
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if msglen < 0 {
|
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
|
|
|
postIndex := iNdEx + msglen
|
2020-01-14 10:38:55 +00:00
|
|
|
if postIndex < 0 {
|
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
2018-12-19 14:29:25 +00:00
|
|
|
if postIndex > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
if err := m.ListMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
iNdEx = postIndex
|
|
|
|
case 2:
|
|
|
|
if wireType != 2 {
|
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Items", wireType)
|
|
|
|
}
|
|
|
|
var msglen int
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowGenerated
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
b := dAtA[iNdEx]
|
|
|
|
iNdEx++
|
2020-01-14 10:38:55 +00:00
|
|
|
msglen |= int(b&0x7F) << shift
|
2018-12-19 14:29:25 +00:00
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if msglen < 0 {
|
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
|
|
|
postIndex := iNdEx + msglen
|
2020-01-14 10:38:55 +00:00
|
|
|
if postIndex < 0 {
|
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
2018-12-19 14:29:25 +00:00
|
|
|
if postIndex > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
m.Items = append(m.Items, DaemonSet{})
|
|
|
|
if err := m.Items[len(m.Items)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
iNdEx = postIndex
|
|
|
|
default:
|
|
|
|
iNdEx = preIndex
|
|
|
|
skippy, err := skipGenerated(dAtA[iNdEx:])
|
|
|
|
if err != nil {
|
|
|
|
return err
|
|
|
|
}
|
2021-05-10 10:45:47 +00:00
|
|
|
if (skippy < 0) || (iNdEx+skippy) < 0 {
|
2020-01-14 10:38:55 +00:00
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
2018-12-19 14:29:25 +00:00
|
|
|
if (iNdEx + skippy) > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
iNdEx += skippy
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
if iNdEx > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
func (m *DaemonSetSpec) Unmarshal(dAtA []byte) error {
|
|
|
|
l := len(dAtA)
|
|
|
|
iNdEx := 0
|
|
|
|
for iNdEx < l {
|
|
|
|
preIndex := iNdEx
|
|
|
|
var wire uint64
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowGenerated
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
b := dAtA[iNdEx]
|
|
|
|
iNdEx++
|
2020-01-14 10:38:55 +00:00
|
|
|
wire |= uint64(b&0x7F) << shift
|
2018-12-19 14:29:25 +00:00
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
fieldNum := int32(wire >> 3)
|
|
|
|
wireType := int(wire & 0x7)
|
|
|
|
if wireType == 4 {
|
|
|
|
return fmt.Errorf("proto: DaemonSetSpec: wiretype end group for non-group")
|
|
|
|
}
|
|
|
|
if fieldNum <= 0 {
|
|
|
|
return fmt.Errorf("proto: DaemonSetSpec: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
|
|
}
|
|
|
|
switch fieldNum {
|
|
|
|
case 1:
|
|
|
|
if wireType != 2 {
|
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Selector", wireType)
|
|
|
|
}
|
|
|
|
var msglen int
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowGenerated
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
b := dAtA[iNdEx]
|
|
|
|
iNdEx++
|
2020-01-14 10:38:55 +00:00
|
|
|
msglen |= int(b&0x7F) << shift
|
2018-12-19 14:29:25 +00:00
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if msglen < 0 {
|
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
|
|
|
postIndex := iNdEx + msglen
|
2020-01-14 10:38:55 +00:00
|
|
|
if postIndex < 0 {
|
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
2018-12-19 14:29:25 +00:00
|
|
|
if postIndex > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
if m.Selector == nil {
|
2020-01-14 10:38:55 +00:00
|
|
|
m.Selector = &v1.LabelSelector{}
|
2018-12-19 14:29:25 +00:00
|
|
|
}
|
|
|
|
if err := m.Selector.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
iNdEx = postIndex
|
|
|
|
case 2:
|
|
|
|
if wireType != 2 {
|
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Template", wireType)
|
|
|
|
}
|
|
|
|
var msglen int
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowGenerated
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
b := dAtA[iNdEx]
|
|
|
|
iNdEx++
|
2020-01-14 10:38:55 +00:00
|
|
|
msglen |= int(b&0x7F) << shift
|
2018-12-19 14:29:25 +00:00
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if msglen < 0 {
|
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
|
|
|
postIndex := iNdEx + msglen
|
2020-01-14 10:38:55 +00:00
|
|
|
if postIndex < 0 {
|
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
2018-12-19 14:29:25 +00:00
|
|
|
if postIndex > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
if err := m.Template.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
iNdEx = postIndex
|
|
|
|
case 3:
|
|
|
|
if wireType != 2 {
|
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field UpdateStrategy", wireType)
|
|
|
|
}
|
|
|
|
var msglen int
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowGenerated
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
b := dAtA[iNdEx]
|
|
|
|
iNdEx++
|
2020-01-14 10:38:55 +00:00
|
|
|
msglen |= int(b&0x7F) << shift
|
2018-12-19 14:29:25 +00:00
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if msglen < 0 {
|
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
|
|
|
postIndex := iNdEx + msglen
|
2020-01-14 10:38:55 +00:00
|
|
|
if postIndex < 0 {
|
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
2018-12-19 14:29:25 +00:00
|
|
|
if postIndex > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
if err := m.UpdateStrategy.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
iNdEx = postIndex
|
|
|
|
case 4:
|
|
|
|
if wireType != 0 {
|
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field MinReadySeconds", wireType)
|
|
|
|
}
|
|
|
|
m.MinReadySeconds = 0
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowGenerated
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
b := dAtA[iNdEx]
|
|
|
|
iNdEx++
|
2020-01-14 10:38:55 +00:00
|
|
|
m.MinReadySeconds |= int32(b&0x7F) << shift
|
2018-12-19 14:29:25 +00:00
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
case 6:
|
|
|
|
if wireType != 0 {
|
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field RevisionHistoryLimit", wireType)
|
|
|
|
}
|
|
|
|
var v int32
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowGenerated
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
b := dAtA[iNdEx]
|
|
|
|
iNdEx++
|
2020-01-14 10:38:55 +00:00
|
|
|
v |= int32(b&0x7F) << shift
|
2018-12-19 14:29:25 +00:00
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
m.RevisionHistoryLimit = &v
|
|
|
|
default:
|
|
|
|
iNdEx = preIndex
|
|
|
|
skippy, err := skipGenerated(dAtA[iNdEx:])
|
|
|
|
if err != nil {
|
|
|
|
return err
|
|
|
|
}
|
2021-05-10 10:45:47 +00:00
|
|
|
if (skippy < 0) || (iNdEx+skippy) < 0 {
|
2020-01-14 10:38:55 +00:00
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
2018-12-19 14:29:25 +00:00
|
|
|
if (iNdEx + skippy) > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
iNdEx += skippy
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
if iNdEx > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
func (m *DaemonSetStatus) Unmarshal(dAtA []byte) error {
|
|
|
|
l := len(dAtA)
|
|
|
|
iNdEx := 0
|
|
|
|
for iNdEx < l {
|
|
|
|
preIndex := iNdEx
|
|
|
|
var wire uint64
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowGenerated
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
b := dAtA[iNdEx]
|
|
|
|
iNdEx++
|
2020-01-14 10:38:55 +00:00
|
|
|
wire |= uint64(b&0x7F) << shift
|
2018-12-19 14:29:25 +00:00
|
|
|
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
|
|
|
|
}
|
|
|
|
b := dAtA[iNdEx]
|
|
|
|
iNdEx++
|
2020-01-14 10:38:55 +00:00
|
|
|
m.CurrentNumberScheduled |= int32(b&0x7F) << shift
|
2018-12-19 14:29:25 +00:00
|
|
|
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
|
|
|
|
}
|
|
|
|
b := dAtA[iNdEx]
|
|
|
|
iNdEx++
|
2020-01-14 10:38:55 +00:00
|
|
|
m.NumberMisscheduled |= int32(b&0x7F) << shift
|
2018-12-19 14:29:25 +00:00
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
case 3:
|
|
|
|
if wireType != 0 {
|
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field DesiredNumberScheduled", wireType)
|
|
|
|
}
|
|
|
|
m.DesiredNumberScheduled = 0
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowGenerated
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
b := dAtA[iNdEx]
|
|
|
|
iNdEx++
|
2020-01-14 10:38:55 +00:00
|
|
|
m.DesiredNumberScheduled |= int32(b&0x7F) << shift
|
2018-12-19 14:29:25 +00:00
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
case 4:
|
|
|
|
if wireType != 0 {
|
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field NumberReady", wireType)
|
|
|
|
}
|
|
|
|
m.NumberReady = 0
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowGenerated
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
b := dAtA[iNdEx]
|
|
|
|
iNdEx++
|
2020-01-14 10:38:55 +00:00
|
|
|
m.NumberReady |= int32(b&0x7F) << shift
|
2018-12-19 14:29:25 +00:00
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
case 5:
|
|
|
|
if wireType != 0 {
|
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field ObservedGeneration", wireType)
|
|
|
|
}
|
|
|
|
m.ObservedGeneration = 0
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowGenerated
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
b := dAtA[iNdEx]
|
|
|
|
iNdEx++
|
2020-01-14 10:38:55 +00:00
|
|
|
m.ObservedGeneration |= int64(b&0x7F) << shift
|
2018-12-19 14:29:25 +00:00
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
case 6:
|
|
|
|
if wireType != 0 {
|
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field UpdatedNumberScheduled", wireType)
|
|
|
|
}
|
|
|
|
m.UpdatedNumberScheduled = 0
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowGenerated
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
b := dAtA[iNdEx]
|
|
|
|
iNdEx++
|
2020-01-14 10:38:55 +00:00
|
|
|
m.UpdatedNumberScheduled |= int32(b&0x7F) << shift
|
2018-12-19 14:29:25 +00:00
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
case 7:
|
|
|
|
if wireType != 0 {
|
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field NumberAvailable", wireType)
|
|
|
|
}
|
|
|
|
m.NumberAvailable = 0
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowGenerated
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
b := dAtA[iNdEx]
|
|
|
|
iNdEx++
|
2020-01-14 10:38:55 +00:00
|
|
|
m.NumberAvailable |= int32(b&0x7F) << shift
|
2018-12-19 14:29:25 +00:00
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
case 8:
|
|
|
|
if wireType != 0 {
|
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field NumberUnavailable", wireType)
|
|
|
|
}
|
|
|
|
m.NumberUnavailable = 0
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowGenerated
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
b := dAtA[iNdEx]
|
|
|
|
iNdEx++
|
2020-01-14 10:38:55 +00:00
|
|
|
m.NumberUnavailable |= int32(b&0x7F) << shift
|
2018-12-19 14:29:25 +00:00
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
case 9:
|
|
|
|
if wireType != 0 {
|
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field CollisionCount", wireType)
|
|
|
|
}
|
|
|
|
var v int32
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowGenerated
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
b := dAtA[iNdEx]
|
|
|
|
iNdEx++
|
2020-01-14 10:38:55 +00:00
|
|
|
v |= int32(b&0x7F) << shift
|
2018-12-19 14:29:25 +00:00
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
m.CollisionCount = &v
|
|
|
|
case 10:
|
|
|
|
if wireType != 2 {
|
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Conditions", wireType)
|
|
|
|
}
|
|
|
|
var msglen int
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowGenerated
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
b := dAtA[iNdEx]
|
|
|
|
iNdEx++
|
2020-01-14 10:38:55 +00:00
|
|
|
msglen |= int(b&0x7F) << shift
|
2018-12-19 14:29:25 +00:00
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if msglen < 0 {
|
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
|
|
|
postIndex := iNdEx + msglen
|
2020-01-14 10:38:55 +00:00
|
|
|
if postIndex < 0 {
|
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
2018-12-19 14:29:25 +00:00
|
|
|
if postIndex > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
m.Conditions = append(m.Conditions, DaemonSetCondition{})
|
|
|
|
if err := m.Conditions[len(m.Conditions)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
iNdEx = postIndex
|
|
|
|
default:
|
|
|
|
iNdEx = preIndex
|
|
|
|
skippy, err := skipGenerated(dAtA[iNdEx:])
|
|
|
|
if err != nil {
|
|
|
|
return err
|
|
|
|
}
|
2021-05-10 10:45:47 +00:00
|
|
|
if (skippy < 0) || (iNdEx+skippy) < 0 {
|
2020-01-14 10:38:55 +00:00
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
2018-12-19 14:29:25 +00:00
|
|
|
if (iNdEx + skippy) > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
iNdEx += skippy
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
if iNdEx > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
func (m *DaemonSetUpdateStrategy) Unmarshal(dAtA []byte) error {
|
|
|
|
l := len(dAtA)
|
|
|
|
iNdEx := 0
|
|
|
|
for iNdEx < l {
|
|
|
|
preIndex := iNdEx
|
|
|
|
var wire uint64
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowGenerated
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
b := dAtA[iNdEx]
|
|
|
|
iNdEx++
|
2020-01-14 10:38:55 +00:00
|
|
|
wire |= uint64(b&0x7F) << shift
|
2018-12-19 14:29:25 +00:00
|
|
|
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
|
|
|
|
}
|
|
|
|
b := dAtA[iNdEx]
|
|
|
|
iNdEx++
|
2020-01-14 10:38:55 +00:00
|
|
|
stringLen |= uint64(b&0x7F) << shift
|
2018-12-19 14:29:25 +00:00
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
intStringLen := int(stringLen)
|
|
|
|
if intStringLen < 0 {
|
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
|
|
|
postIndex := iNdEx + intStringLen
|
2020-01-14 10:38:55 +00:00
|
|
|
if postIndex < 0 {
|
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
2018-12-19 14:29:25 +00:00
|
|
|
if postIndex > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
m.Type = DaemonSetUpdateStrategyType(dAtA[iNdEx:postIndex])
|
|
|
|
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
|
|
|
|
}
|
|
|
|
b := dAtA[iNdEx]
|
|
|
|
iNdEx++
|
2020-01-14 10:38:55 +00:00
|
|
|
msglen |= int(b&0x7F) << shift
|
2018-12-19 14:29:25 +00:00
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if msglen < 0 {
|
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
|
|
|
postIndex := iNdEx + msglen
|
2020-01-14 10:38:55 +00:00
|
|
|
if postIndex < 0 {
|
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
2018-12-19 14:29:25 +00:00
|
|
|
if postIndex > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
if m.RollingUpdate == nil {
|
|
|
|
m.RollingUpdate = &RollingUpdateDaemonSet{}
|
|
|
|
}
|
|
|
|
if err := m.RollingUpdate.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
iNdEx = postIndex
|
|
|
|
default:
|
|
|
|
iNdEx = preIndex
|
|
|
|
skippy, err := skipGenerated(dAtA[iNdEx:])
|
|
|
|
if err != nil {
|
|
|
|
return err
|
|
|
|
}
|
2021-05-10 10:45:47 +00:00
|
|
|
if (skippy < 0) || (iNdEx+skippy) < 0 {
|
2020-01-14 10:38:55 +00:00
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
2018-12-19 14:29:25 +00:00
|
|
|
if (iNdEx + skippy) > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
iNdEx += skippy
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
if iNdEx > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
func (m *Deployment) Unmarshal(dAtA []byte) error {
|
|
|
|
l := len(dAtA)
|
|
|
|
iNdEx := 0
|
|
|
|
for iNdEx < l {
|
|
|
|
preIndex := iNdEx
|
|
|
|
var wire uint64
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowGenerated
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
b := dAtA[iNdEx]
|
|
|
|
iNdEx++
|
2020-01-14 10:38:55 +00:00
|
|
|
wire |= uint64(b&0x7F) << shift
|
2018-12-19 14:29:25 +00:00
|
|
|
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
|
|
|
|
}
|
|
|
|
b := dAtA[iNdEx]
|
|
|
|
iNdEx++
|
2020-01-14 10:38:55 +00:00
|
|
|
msglen |= int(b&0x7F) << shift
|
2018-12-19 14:29:25 +00:00
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if msglen < 0 {
|
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
|
|
|
postIndex := iNdEx + msglen
|
2020-01-14 10:38:55 +00:00
|
|
|
if postIndex < 0 {
|
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
2018-12-19 14:29:25 +00:00
|
|
|
if postIndex > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
if err := m.ObjectMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
iNdEx = postIndex
|
|
|
|
case 2:
|
|
|
|
if wireType != 2 {
|
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Spec", wireType)
|
|
|
|
}
|
|
|
|
var msglen int
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowGenerated
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
b := dAtA[iNdEx]
|
|
|
|
iNdEx++
|
2020-01-14 10:38:55 +00:00
|
|
|
msglen |= int(b&0x7F) << shift
|
2018-12-19 14:29:25 +00:00
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if msglen < 0 {
|
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
|
|
|
postIndex := iNdEx + msglen
|
2020-01-14 10:38:55 +00:00
|
|
|
if postIndex < 0 {
|
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
2018-12-19 14:29:25 +00:00
|
|
|
if postIndex > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
if err := m.Spec.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
|
|
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
|
|
|
|
}
|
|
|
|
b := dAtA[iNdEx]
|
|
|
|
iNdEx++
|
2020-01-14 10:38:55 +00:00
|
|
|
msglen |= int(b&0x7F) << shift
|
2018-12-19 14:29:25 +00:00
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if msglen < 0 {
|
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
|
|
|
postIndex := iNdEx + msglen
|
2020-01-14 10:38:55 +00:00
|
|
|
if postIndex < 0 {
|
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
2018-12-19 14:29:25 +00:00
|
|
|
if postIndex > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
if err := m.Status.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
iNdEx = postIndex
|
|
|
|
default:
|
|
|
|
iNdEx = preIndex
|
|
|
|
skippy, err := skipGenerated(dAtA[iNdEx:])
|
|
|
|
if err != nil {
|
|
|
|
return err
|
|
|
|
}
|
2021-05-10 10:45:47 +00:00
|
|
|
if (skippy < 0) || (iNdEx+skippy) < 0 {
|
2020-01-14 10:38:55 +00:00
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
2018-12-19 14:29:25 +00:00
|
|
|
if (iNdEx + skippy) > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
iNdEx += skippy
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
if iNdEx > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
func (m *DeploymentCondition) Unmarshal(dAtA []byte) error {
|
|
|
|
l := len(dAtA)
|
|
|
|
iNdEx := 0
|
|
|
|
for iNdEx < l {
|
|
|
|
preIndex := iNdEx
|
|
|
|
var wire uint64
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowGenerated
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
b := dAtA[iNdEx]
|
|
|
|
iNdEx++
|
2020-01-14 10:38:55 +00:00
|
|
|
wire |= uint64(b&0x7F) << shift
|
2018-12-19 14:29:25 +00:00
|
|
|
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
|
|
|
|
}
|
|
|
|
b := dAtA[iNdEx]
|
|
|
|
iNdEx++
|
2020-01-14 10:38:55 +00:00
|
|
|
stringLen |= uint64(b&0x7F) << shift
|
2018-12-19 14:29:25 +00:00
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
intStringLen := int(stringLen)
|
|
|
|
if intStringLen < 0 {
|
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
|
|
|
postIndex := iNdEx + intStringLen
|
2020-01-14 10:38:55 +00:00
|
|
|
if postIndex < 0 {
|
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
2018-12-19 14:29:25 +00:00
|
|
|
if postIndex > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
m.Type = DeploymentConditionType(dAtA[iNdEx:postIndex])
|
|
|
|
iNdEx = postIndex
|
|
|
|
case 2:
|
|
|
|
if wireType != 2 {
|
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType)
|
|
|
|
}
|
|
|
|
var stringLen uint64
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowGenerated
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
b := dAtA[iNdEx]
|
|
|
|
iNdEx++
|
2020-01-14 10:38:55 +00:00
|
|
|
stringLen |= uint64(b&0x7F) << shift
|
2018-12-19 14:29:25 +00:00
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
intStringLen := int(stringLen)
|
|
|
|
if intStringLen < 0 {
|
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
|
|
|
postIndex := iNdEx + intStringLen
|
2020-01-14 10:38:55 +00:00
|
|
|
if postIndex < 0 {
|
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
2018-12-19 14:29:25 +00:00
|
|
|
if postIndex > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
m.Status = k8s_io_api_core_v1.ConditionStatus(dAtA[iNdEx:postIndex])
|
|
|
|
iNdEx = postIndex
|
|
|
|
case 4:
|
|
|
|
if wireType != 2 {
|
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Reason", wireType)
|
|
|
|
}
|
|
|
|
var stringLen uint64
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowGenerated
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
b := dAtA[iNdEx]
|
|
|
|
iNdEx++
|
2020-01-14 10:38:55 +00:00
|
|
|
stringLen |= uint64(b&0x7F) << shift
|
2018-12-19 14:29:25 +00:00
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
intStringLen := int(stringLen)
|
|
|
|
if intStringLen < 0 {
|
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
|
|
|
postIndex := iNdEx + intStringLen
|
2020-01-14 10:38:55 +00:00
|
|
|
if postIndex < 0 {
|
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
2018-12-19 14:29:25 +00:00
|
|
|
if postIndex > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
m.Reason = string(dAtA[iNdEx:postIndex])
|
|
|
|
iNdEx = postIndex
|
|
|
|
case 5:
|
|
|
|
if wireType != 2 {
|
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Message", wireType)
|
|
|
|
}
|
|
|
|
var stringLen uint64
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowGenerated
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
b := dAtA[iNdEx]
|
|
|
|
iNdEx++
|
2020-01-14 10:38:55 +00:00
|
|
|
stringLen |= uint64(b&0x7F) << shift
|
2018-12-19 14:29:25 +00:00
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
intStringLen := int(stringLen)
|
|
|
|
if intStringLen < 0 {
|
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
|
|
|
postIndex := iNdEx + intStringLen
|
2020-01-14 10:38:55 +00:00
|
|
|
if postIndex < 0 {
|
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
2018-12-19 14:29:25 +00:00
|
|
|
if postIndex > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
m.Message = string(dAtA[iNdEx:postIndex])
|
|
|
|
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
|
|
|
|
}
|
|
|
|
b := dAtA[iNdEx]
|
|
|
|
iNdEx++
|
2020-01-14 10:38:55 +00:00
|
|
|
msglen |= int(b&0x7F) << shift
|
2018-12-19 14:29:25 +00:00
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if msglen < 0 {
|
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
|
|
|
postIndex := iNdEx + msglen
|
2020-01-14 10:38:55 +00:00
|
|
|
if postIndex < 0 {
|
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
2018-12-19 14:29:25 +00:00
|
|
|
if postIndex > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
if err := m.LastUpdateTime.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
|
|
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
|
|
|
|
}
|
|
|
|
b := dAtA[iNdEx]
|
|
|
|
iNdEx++
|
2020-01-14 10:38:55 +00:00
|
|
|
msglen |= int(b&0x7F) << shift
|
2018-12-19 14:29:25 +00:00
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if msglen < 0 {
|
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
|
|
|
postIndex := iNdEx + msglen
|
2020-01-14 10:38:55 +00:00
|
|
|
if postIndex < 0 {
|
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
2018-12-19 14:29:25 +00:00
|
|
|
if postIndex > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
if err := m.LastTransitionTime.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
iNdEx = postIndex
|
|
|
|
default:
|
|
|
|
iNdEx = preIndex
|
|
|
|
skippy, err := skipGenerated(dAtA[iNdEx:])
|
|
|
|
if err != nil {
|
|
|
|
return err
|
|
|
|
}
|
2021-05-10 10:45:47 +00:00
|
|
|
if (skippy < 0) || (iNdEx+skippy) < 0 {
|
2020-01-14 10:38:55 +00:00
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
2018-12-19 14:29:25 +00:00
|
|
|
if (iNdEx + skippy) > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
iNdEx += skippy
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
if iNdEx > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
func (m *DeploymentList) Unmarshal(dAtA []byte) error {
|
|
|
|
l := len(dAtA)
|
|
|
|
iNdEx := 0
|
|
|
|
for iNdEx < l {
|
|
|
|
preIndex := iNdEx
|
|
|
|
var wire uint64
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowGenerated
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
b := dAtA[iNdEx]
|
|
|
|
iNdEx++
|
2020-01-14 10:38:55 +00:00
|
|
|
wire |= uint64(b&0x7F) << shift
|
2018-12-19 14:29:25 +00:00
|
|
|
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
|
|
|
|
}
|
|
|
|
b := dAtA[iNdEx]
|
|
|
|
iNdEx++
|
2020-01-14 10:38:55 +00:00
|
|
|
msglen |= int(b&0x7F) << shift
|
2018-12-19 14:29:25 +00:00
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if msglen < 0 {
|
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
|
|
|
postIndex := iNdEx + msglen
|
2020-01-14 10:38:55 +00:00
|
|
|
if postIndex < 0 {
|
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
2018-12-19 14:29:25 +00:00
|
|
|
if postIndex > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
if err := m.ListMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
iNdEx = postIndex
|
|
|
|
case 2:
|
|
|
|
if wireType != 2 {
|
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Items", wireType)
|
|
|
|
}
|
|
|
|
var msglen int
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowGenerated
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
b := dAtA[iNdEx]
|
|
|
|
iNdEx++
|
2020-01-14 10:38:55 +00:00
|
|
|
msglen |= int(b&0x7F) << shift
|
2018-12-19 14:29:25 +00:00
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if msglen < 0 {
|
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
|
|
|
postIndex := iNdEx + msglen
|
2020-01-14 10:38:55 +00:00
|
|
|
if postIndex < 0 {
|
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
2018-12-19 14:29:25 +00:00
|
|
|
if postIndex > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
m.Items = append(m.Items, Deployment{})
|
|
|
|
if err := m.Items[len(m.Items)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
iNdEx = postIndex
|
|
|
|
default:
|
|
|
|
iNdEx = preIndex
|
|
|
|
skippy, err := skipGenerated(dAtA[iNdEx:])
|
|
|
|
if err != nil {
|
|
|
|
return err
|
|
|
|
}
|
2021-05-10 10:45:47 +00:00
|
|
|
if (skippy < 0) || (iNdEx+skippy) < 0 {
|
2020-01-14 10:38:55 +00:00
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
2018-12-19 14:29:25 +00:00
|
|
|
if (iNdEx + skippy) > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
iNdEx += skippy
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
if iNdEx > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
func (m *DeploymentSpec) Unmarshal(dAtA []byte) error {
|
|
|
|
l := len(dAtA)
|
|
|
|
iNdEx := 0
|
|
|
|
for iNdEx < l {
|
|
|
|
preIndex := iNdEx
|
|
|
|
var wire uint64
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowGenerated
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
b := dAtA[iNdEx]
|
|
|
|
iNdEx++
|
2020-01-14 10:38:55 +00:00
|
|
|
wire |= uint64(b&0x7F) << shift
|
2018-12-19 14:29:25 +00:00
|
|
|
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
|
|
|
|
}
|
|
|
|
b := dAtA[iNdEx]
|
|
|
|
iNdEx++
|
2020-01-14 10:38:55 +00:00
|
|
|
v |= int32(b&0x7F) << shift
|
2018-12-19 14:29:25 +00:00
|
|
|
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
|
|
|
|
}
|
|
|
|
b := dAtA[iNdEx]
|
|
|
|
iNdEx++
|
2020-01-14 10:38:55 +00:00
|
|
|
msglen |= int(b&0x7F) << shift
|
2018-12-19 14:29:25 +00:00
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if msglen < 0 {
|
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
|
|
|
postIndex := iNdEx + msglen
|
2020-01-14 10:38:55 +00:00
|
|
|
if postIndex < 0 {
|
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
2018-12-19 14:29:25 +00:00
|
|
|
if postIndex > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
if m.Selector == nil {
|
2020-01-14 10:38:55 +00:00
|
|
|
m.Selector = &v1.LabelSelector{}
|
2018-12-19 14:29:25 +00:00
|
|
|
}
|
|
|
|
if err := m.Selector.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
|
|
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
|
|
|
|
}
|
|
|
|
b := dAtA[iNdEx]
|
|
|
|
iNdEx++
|
2020-01-14 10:38:55 +00:00
|
|
|
msglen |= int(b&0x7F) << shift
|
2018-12-19 14:29:25 +00:00
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if msglen < 0 {
|
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
|
|
|
postIndex := iNdEx + msglen
|
2020-01-14 10:38:55 +00:00
|
|
|
if postIndex < 0 {
|
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
2018-12-19 14:29:25 +00:00
|
|
|
if postIndex > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
if err := m.Template.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
|
|
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
|
|
|
|
}
|
|
|
|
b := dAtA[iNdEx]
|
|
|
|
iNdEx++
|
2020-01-14 10:38:55 +00:00
|
|
|
msglen |= int(b&0x7F) << shift
|
2018-12-19 14:29:25 +00:00
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if msglen < 0 {
|
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
|
|
|
postIndex := iNdEx + msglen
|
2020-01-14 10:38:55 +00:00
|
|
|
if postIndex < 0 {
|
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
2018-12-19 14:29:25 +00:00
|
|
|
if postIndex > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
if err := m.Strategy.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
|
|
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
|
|
|
|
}
|
|
|
|
b := dAtA[iNdEx]
|
|
|
|
iNdEx++
|
2020-01-14 10:38:55 +00:00
|
|
|
m.MinReadySeconds |= int32(b&0x7F) << shift
|
2018-12-19 14:29:25 +00:00
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
case 6:
|
|
|
|
if wireType != 0 {
|
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field RevisionHistoryLimit", wireType)
|
|
|
|
}
|
|
|
|
var v int32
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowGenerated
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
b := dAtA[iNdEx]
|
|
|
|
iNdEx++
|
2020-01-14 10:38:55 +00:00
|
|
|
v |= int32(b&0x7F) << shift
|
2018-12-19 14:29:25 +00:00
|
|
|
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
|
|
|
|
}
|
|
|
|
b := dAtA[iNdEx]
|
|
|
|
iNdEx++
|
2020-01-14 10:38:55 +00:00
|
|
|
v |= int(b&0x7F) << shift
|
2018-12-19 14:29:25 +00:00
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
m.Paused = bool(v != 0)
|
|
|
|
case 9:
|
|
|
|
if wireType != 0 {
|
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field ProgressDeadlineSeconds", wireType)
|
|
|
|
}
|
|
|
|
var v int32
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowGenerated
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
b := dAtA[iNdEx]
|
|
|
|
iNdEx++
|
2020-01-14 10:38:55 +00:00
|
|
|
v |= int32(b&0x7F) << shift
|
2018-12-19 14:29:25 +00:00
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
m.ProgressDeadlineSeconds = &v
|
|
|
|
default:
|
|
|
|
iNdEx = preIndex
|
|
|
|
skippy, err := skipGenerated(dAtA[iNdEx:])
|
|
|
|
if err != nil {
|
|
|
|
return err
|
|
|
|
}
|
2021-05-10 10:45:47 +00:00
|
|
|
if (skippy < 0) || (iNdEx+skippy) < 0 {
|
2020-01-14 10:38:55 +00:00
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
2018-12-19 14:29:25 +00:00
|
|
|
if (iNdEx + skippy) > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
iNdEx += skippy
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
if iNdEx > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
func (m *DeploymentStatus) Unmarshal(dAtA []byte) error {
|
|
|
|
l := len(dAtA)
|
|
|
|
iNdEx := 0
|
|
|
|
for iNdEx < l {
|
|
|
|
preIndex := iNdEx
|
|
|
|
var wire uint64
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowGenerated
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
b := dAtA[iNdEx]
|
|
|
|
iNdEx++
|
2020-01-14 10:38:55 +00:00
|
|
|
wire |= uint64(b&0x7F) << shift
|
2018-12-19 14:29:25 +00:00
|
|
|
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
|
|
|
|
}
|
|
|
|
b := dAtA[iNdEx]
|
|
|
|
iNdEx++
|
2020-01-14 10:38:55 +00:00
|
|
|
m.ObservedGeneration |= int64(b&0x7F) << shift
|
2018-12-19 14:29:25 +00:00
|
|
|
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
|
|
|
|
}
|
|
|
|
b := dAtA[iNdEx]
|
|
|
|
iNdEx++
|
2020-01-14 10:38:55 +00:00
|
|
|
m.Replicas |= int32(b&0x7F) << shift
|
2018-12-19 14:29:25 +00:00
|
|
|
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
|
|
|
|
}
|
|
|
|
b := dAtA[iNdEx]
|
|
|
|
iNdEx++
|
2020-01-14 10:38:55 +00:00
|
|
|
m.UpdatedReplicas |= int32(b&0x7F) << shift
|
2018-12-19 14:29:25 +00:00
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
case 4:
|
|
|
|
if wireType != 0 {
|
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field AvailableReplicas", wireType)
|
|
|
|
}
|
|
|
|
m.AvailableReplicas = 0
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowGenerated
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
b := dAtA[iNdEx]
|
|
|
|
iNdEx++
|
2020-01-14 10:38:55 +00:00
|
|
|
m.AvailableReplicas |= int32(b&0x7F) << shift
|
2018-12-19 14:29:25 +00:00
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
case 5:
|
|
|
|
if wireType != 0 {
|
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field UnavailableReplicas", wireType)
|
|
|
|
}
|
|
|
|
m.UnavailableReplicas = 0
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowGenerated
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
b := dAtA[iNdEx]
|
|
|
|
iNdEx++
|
2020-01-14 10:38:55 +00:00
|
|
|
m.UnavailableReplicas |= int32(b&0x7F) << shift
|
2018-12-19 14:29:25 +00:00
|
|
|
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
|
|
|
|
}
|
|
|
|
b := dAtA[iNdEx]
|
|
|
|
iNdEx++
|
2020-01-14 10:38:55 +00:00
|
|
|
msglen |= int(b&0x7F) << shift
|
2018-12-19 14:29:25 +00:00
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if msglen < 0 {
|
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
|
|
|
postIndex := iNdEx + msglen
|
2020-01-14 10:38:55 +00:00
|
|
|
if postIndex < 0 {
|
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
2018-12-19 14:29:25 +00:00
|
|
|
if postIndex > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
m.Conditions = append(m.Conditions, DeploymentCondition{})
|
|
|
|
if err := m.Conditions[len(m.Conditions)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
|
|
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
|
|
|
|
}
|
|
|
|
b := dAtA[iNdEx]
|
|
|
|
iNdEx++
|
2020-01-14 10:38:55 +00:00
|
|
|
m.ReadyReplicas |= int32(b&0x7F) << shift
|
2018-12-19 14:29:25 +00:00
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
case 8:
|
|
|
|
if wireType != 0 {
|
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field CollisionCount", wireType)
|
|
|
|
}
|
|
|
|
var v int32
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowGenerated
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
b := dAtA[iNdEx]
|
|
|
|
iNdEx++
|
2020-01-14 10:38:55 +00:00
|
|
|
v |= int32(b&0x7F) << shift
|
2018-12-19 14:29:25 +00:00
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
m.CollisionCount = &v
|
|
|
|
default:
|
|
|
|
iNdEx = preIndex
|
|
|
|
skippy, err := skipGenerated(dAtA[iNdEx:])
|
|
|
|
if err != nil {
|
|
|
|
return err
|
|
|
|
}
|
2021-05-10 10:45:47 +00:00
|
|
|
if (skippy < 0) || (iNdEx+skippy) < 0 {
|
2020-01-14 10:38:55 +00:00
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
2018-12-19 14:29:25 +00:00
|
|
|
if (iNdEx + skippy) > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
iNdEx += skippy
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
if iNdEx > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
func (m *DeploymentStrategy) Unmarshal(dAtA []byte) error {
|
|
|
|
l := len(dAtA)
|
|
|
|
iNdEx := 0
|
|
|
|
for iNdEx < l {
|
|
|
|
preIndex := iNdEx
|
|
|
|
var wire uint64
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowGenerated
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
b := dAtA[iNdEx]
|
|
|
|
iNdEx++
|
2020-01-14 10:38:55 +00:00
|
|
|
wire |= uint64(b&0x7F) << shift
|
2018-12-19 14:29:25 +00:00
|
|
|
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
|
|
|
|
}
|
|
|
|
b := dAtA[iNdEx]
|
|
|
|
iNdEx++
|
2020-01-14 10:38:55 +00:00
|
|
|
stringLen |= uint64(b&0x7F) << shift
|
2018-12-19 14:29:25 +00:00
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
intStringLen := int(stringLen)
|
|
|
|
if intStringLen < 0 {
|
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
|
|
|
postIndex := iNdEx + intStringLen
|
2020-01-14 10:38:55 +00:00
|
|
|
if postIndex < 0 {
|
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
2018-12-19 14:29:25 +00:00
|
|
|
if postIndex > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
m.Type = DeploymentStrategyType(dAtA[iNdEx:postIndex])
|
|
|
|
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
|
|
|
|
}
|
|
|
|
b := dAtA[iNdEx]
|
|
|
|
iNdEx++
|
2020-01-14 10:38:55 +00:00
|
|
|
msglen |= int(b&0x7F) << shift
|
2018-12-19 14:29:25 +00:00
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if msglen < 0 {
|
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
|
|
|
postIndex := iNdEx + msglen
|
2020-01-14 10:38:55 +00:00
|
|
|
if postIndex < 0 {
|
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
2018-12-19 14:29:25 +00:00
|
|
|
if postIndex > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
if m.RollingUpdate == nil {
|
|
|
|
m.RollingUpdate = &RollingUpdateDeployment{}
|
|
|
|
}
|
|
|
|
if err := m.RollingUpdate.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
iNdEx = postIndex
|
|
|
|
default:
|
|
|
|
iNdEx = preIndex
|
|
|
|
skippy, err := skipGenerated(dAtA[iNdEx:])
|
|
|
|
if err != nil {
|
|
|
|
return err
|
|
|
|
}
|
2021-05-10 10:45:47 +00:00
|
|
|
if (skippy < 0) || (iNdEx+skippy) < 0 {
|
2020-01-14 10:38:55 +00:00
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
2018-12-19 14:29:25 +00:00
|
|
|
if (iNdEx + skippy) > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
iNdEx += skippy
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
if iNdEx > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
func (m *ReplicaSet) Unmarshal(dAtA []byte) error {
|
|
|
|
l := len(dAtA)
|
|
|
|
iNdEx := 0
|
|
|
|
for iNdEx < l {
|
|
|
|
preIndex := iNdEx
|
|
|
|
var wire uint64
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowGenerated
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
b := dAtA[iNdEx]
|
|
|
|
iNdEx++
|
2020-01-14 10:38:55 +00:00
|
|
|
wire |= uint64(b&0x7F) << shift
|
2018-12-19 14:29:25 +00:00
|
|
|
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
|
|
|
|
}
|
|
|
|
b := dAtA[iNdEx]
|
|
|
|
iNdEx++
|
2020-01-14 10:38:55 +00:00
|
|
|
msglen |= int(b&0x7F) << shift
|
2018-12-19 14:29:25 +00:00
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if msglen < 0 {
|
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
|
|
|
postIndex := iNdEx + msglen
|
2020-01-14 10:38:55 +00:00
|
|
|
if postIndex < 0 {
|
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
2018-12-19 14:29:25 +00:00
|
|
|
if postIndex > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
if err := m.ObjectMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
iNdEx = postIndex
|
|
|
|
case 2:
|
|
|
|
if wireType != 2 {
|
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Spec", wireType)
|
|
|
|
}
|
|
|
|
var msglen int
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowGenerated
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
b := dAtA[iNdEx]
|
|
|
|
iNdEx++
|
2020-01-14 10:38:55 +00:00
|
|
|
msglen |= int(b&0x7F) << shift
|
2018-12-19 14:29:25 +00:00
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if msglen < 0 {
|
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
|
|
|
postIndex := iNdEx + msglen
|
2020-01-14 10:38:55 +00:00
|
|
|
if postIndex < 0 {
|
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
2018-12-19 14:29:25 +00:00
|
|
|
if postIndex > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
if err := m.Spec.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
|
|
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
|
|
|
|
}
|
|
|
|
b := dAtA[iNdEx]
|
|
|
|
iNdEx++
|
2020-01-14 10:38:55 +00:00
|
|
|
msglen |= int(b&0x7F) << shift
|
2018-12-19 14:29:25 +00:00
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if msglen < 0 {
|
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
|
|
|
postIndex := iNdEx + msglen
|
2020-01-14 10:38:55 +00:00
|
|
|
if postIndex < 0 {
|
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
2018-12-19 14:29:25 +00:00
|
|
|
if postIndex > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
if err := m.Status.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
iNdEx = postIndex
|
|
|
|
default:
|
|
|
|
iNdEx = preIndex
|
|
|
|
skippy, err := skipGenerated(dAtA[iNdEx:])
|
|
|
|
if err != nil {
|
|
|
|
return err
|
|
|
|
}
|
2021-05-10 10:45:47 +00:00
|
|
|
if (skippy < 0) || (iNdEx+skippy) < 0 {
|
2020-01-14 10:38:55 +00:00
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
2018-12-19 14:29:25 +00:00
|
|
|
if (iNdEx + skippy) > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
iNdEx += skippy
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
if iNdEx > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
func (m *ReplicaSetCondition) Unmarshal(dAtA []byte) error {
|
|
|
|
l := len(dAtA)
|
|
|
|
iNdEx := 0
|
|
|
|
for iNdEx < l {
|
|
|
|
preIndex := iNdEx
|
|
|
|
var wire uint64
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowGenerated
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
b := dAtA[iNdEx]
|
|
|
|
iNdEx++
|
2020-01-14 10:38:55 +00:00
|
|
|
wire |= uint64(b&0x7F) << shift
|
2018-12-19 14:29:25 +00:00
|
|
|
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
|
|
|
|
}
|
|
|
|
b := dAtA[iNdEx]
|
|
|
|
iNdEx++
|
2020-01-14 10:38:55 +00:00
|
|
|
stringLen |= uint64(b&0x7F) << shift
|
2018-12-19 14:29:25 +00:00
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
intStringLen := int(stringLen)
|
|
|
|
if intStringLen < 0 {
|
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
|
|
|
postIndex := iNdEx + intStringLen
|
2020-01-14 10:38:55 +00:00
|
|
|
if postIndex < 0 {
|
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
2018-12-19 14:29:25 +00:00
|
|
|
if postIndex > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
m.Type = ReplicaSetConditionType(dAtA[iNdEx:postIndex])
|
|
|
|
iNdEx = postIndex
|
|
|
|
case 2:
|
|
|
|
if wireType != 2 {
|
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType)
|
|
|
|
}
|
|
|
|
var stringLen uint64
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowGenerated
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
b := dAtA[iNdEx]
|
|
|
|
iNdEx++
|
2020-01-14 10:38:55 +00:00
|
|
|
stringLen |= uint64(b&0x7F) << shift
|
2018-12-19 14:29:25 +00:00
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
intStringLen := int(stringLen)
|
|
|
|
if intStringLen < 0 {
|
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
|
|
|
postIndex := iNdEx + intStringLen
|
2020-01-14 10:38:55 +00:00
|
|
|
if postIndex < 0 {
|
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
2018-12-19 14:29:25 +00:00
|
|
|
if postIndex > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
m.Status = k8s_io_api_core_v1.ConditionStatus(dAtA[iNdEx:postIndex])
|
|
|
|
iNdEx = postIndex
|
|
|
|
case 3:
|
|
|
|
if wireType != 2 {
|
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field LastTransitionTime", wireType)
|
|
|
|
}
|
|
|
|
var msglen int
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowGenerated
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
b := dAtA[iNdEx]
|
|
|
|
iNdEx++
|
2020-01-14 10:38:55 +00:00
|
|
|
msglen |= int(b&0x7F) << shift
|
2018-12-19 14:29:25 +00:00
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if msglen < 0 {
|
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
|
|
|
postIndex := iNdEx + msglen
|
2020-01-14 10:38:55 +00:00
|
|
|
if postIndex < 0 {
|
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
2018-12-19 14:29:25 +00:00
|
|
|
if postIndex > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
if err := m.LastTransitionTime.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
iNdEx = postIndex
|
|
|
|
case 4:
|
|
|
|
if wireType != 2 {
|
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Reason", wireType)
|
|
|
|
}
|
|
|
|
var stringLen uint64
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowGenerated
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
b := dAtA[iNdEx]
|
|
|
|
iNdEx++
|
2020-01-14 10:38:55 +00:00
|
|
|
stringLen |= uint64(b&0x7F) << shift
|
2018-12-19 14:29:25 +00:00
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
intStringLen := int(stringLen)
|
|
|
|
if intStringLen < 0 {
|
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
|
|
|
postIndex := iNdEx + intStringLen
|
2020-01-14 10:38:55 +00:00
|
|
|
if postIndex < 0 {
|
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
2018-12-19 14:29:25 +00:00
|
|
|
if postIndex > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
m.Reason = string(dAtA[iNdEx:postIndex])
|
|
|
|
iNdEx = postIndex
|
|
|
|
case 5:
|
|
|
|
if wireType != 2 {
|
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Message", wireType)
|
|
|
|
}
|
|
|
|
var stringLen uint64
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowGenerated
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
b := dAtA[iNdEx]
|
|
|
|
iNdEx++
|
2020-01-14 10:38:55 +00:00
|
|
|
stringLen |= uint64(b&0x7F) << shift
|
2018-12-19 14:29:25 +00:00
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
intStringLen := int(stringLen)
|
|
|
|
if intStringLen < 0 {
|
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
|
|
|
postIndex := iNdEx + intStringLen
|
2020-01-14 10:38:55 +00:00
|
|
|
if postIndex < 0 {
|
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
2018-12-19 14:29:25 +00:00
|
|
|
if postIndex > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
m.Message = string(dAtA[iNdEx:postIndex])
|
|
|
|
iNdEx = postIndex
|
|
|
|
default:
|
|
|
|
iNdEx = preIndex
|
|
|
|
skippy, err := skipGenerated(dAtA[iNdEx:])
|
|
|
|
if err != nil {
|
|
|
|
return err
|
|
|
|
}
|
2021-05-10 10:45:47 +00:00
|
|
|
if (skippy < 0) || (iNdEx+skippy) < 0 {
|
2020-01-14 10:38:55 +00:00
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
2018-12-19 14:29:25 +00:00
|
|
|
if (iNdEx + skippy) > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
iNdEx += skippy
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
if iNdEx > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
func (m *ReplicaSetList) Unmarshal(dAtA []byte) error {
|
|
|
|
l := len(dAtA)
|
|
|
|
iNdEx := 0
|
|
|
|
for iNdEx < l {
|
|
|
|
preIndex := iNdEx
|
|
|
|
var wire uint64
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowGenerated
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
b := dAtA[iNdEx]
|
|
|
|
iNdEx++
|
2020-01-14 10:38:55 +00:00
|
|
|
wire |= uint64(b&0x7F) << shift
|
2018-12-19 14:29:25 +00:00
|
|
|
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
|
|
|
|
}
|
|
|
|
b := dAtA[iNdEx]
|
|
|
|
iNdEx++
|
2020-01-14 10:38:55 +00:00
|
|
|
msglen |= int(b&0x7F) << shift
|
2018-12-19 14:29:25 +00:00
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if msglen < 0 {
|
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
|
|
|
postIndex := iNdEx + msglen
|
2020-01-14 10:38:55 +00:00
|
|
|
if postIndex < 0 {
|
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
2018-12-19 14:29:25 +00:00
|
|
|
if postIndex > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
if err := m.ListMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
iNdEx = postIndex
|
|
|
|
case 2:
|
|
|
|
if wireType != 2 {
|
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Items", wireType)
|
|
|
|
}
|
|
|
|
var msglen int
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowGenerated
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
b := dAtA[iNdEx]
|
|
|
|
iNdEx++
|
2020-01-14 10:38:55 +00:00
|
|
|
msglen |= int(b&0x7F) << shift
|
2018-12-19 14:29:25 +00:00
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if msglen < 0 {
|
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
|
|
|
postIndex := iNdEx + msglen
|
2020-01-14 10:38:55 +00:00
|
|
|
if postIndex < 0 {
|
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
2018-12-19 14:29:25 +00:00
|
|
|
if postIndex > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
m.Items = append(m.Items, ReplicaSet{})
|
|
|
|
if err := m.Items[len(m.Items)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
iNdEx = postIndex
|
|
|
|
default:
|
|
|
|
iNdEx = preIndex
|
|
|
|
skippy, err := skipGenerated(dAtA[iNdEx:])
|
|
|
|
if err != nil {
|
|
|
|
return err
|
|
|
|
}
|
2021-05-10 10:45:47 +00:00
|
|
|
if (skippy < 0) || (iNdEx+skippy) < 0 {
|
2020-01-14 10:38:55 +00:00
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
2018-12-19 14:29:25 +00:00
|
|
|
if (iNdEx + skippy) > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
iNdEx += skippy
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
if iNdEx > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
func (m *ReplicaSetSpec) Unmarshal(dAtA []byte) error {
|
|
|
|
l := len(dAtA)
|
|
|
|
iNdEx := 0
|
|
|
|
for iNdEx < l {
|
|
|
|
preIndex := iNdEx
|
|
|
|
var wire uint64
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowGenerated
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
b := dAtA[iNdEx]
|
|
|
|
iNdEx++
|
2020-01-14 10:38:55 +00:00
|
|
|
wire |= uint64(b&0x7F) << shift
|
2018-12-19 14:29:25 +00:00
|
|
|
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
|
|
|
|
}
|
|
|
|
b := dAtA[iNdEx]
|
|
|
|
iNdEx++
|
2020-01-14 10:38:55 +00:00
|
|
|
v |= int32(b&0x7F) << shift
|
2018-12-19 14:29:25 +00:00
|
|
|
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
|
|
|
|
}
|
|
|
|
b := dAtA[iNdEx]
|
|
|
|
iNdEx++
|
2020-01-14 10:38:55 +00:00
|
|
|
msglen |= int(b&0x7F) << shift
|
2018-12-19 14:29:25 +00:00
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if msglen < 0 {
|
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
|
|
|
postIndex := iNdEx + msglen
|
2020-01-14 10:38:55 +00:00
|
|
|
if postIndex < 0 {
|
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
2018-12-19 14:29:25 +00:00
|
|
|
if postIndex > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
if m.Selector == nil {
|
2020-01-14 10:38:55 +00:00
|
|
|
m.Selector = &v1.LabelSelector{}
|
2018-12-19 14:29:25 +00:00
|
|
|
}
|
|
|
|
if err := m.Selector.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
|
|
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
|
|
|
|
}
|
|
|
|
b := dAtA[iNdEx]
|
|
|
|
iNdEx++
|
2020-01-14 10:38:55 +00:00
|
|
|
msglen |= int(b&0x7F) << shift
|
2018-12-19 14:29:25 +00:00
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if msglen < 0 {
|
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
|
|
|
postIndex := iNdEx + msglen
|
2020-01-14 10:38:55 +00:00
|
|
|
if postIndex < 0 {
|
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
2018-12-19 14:29:25 +00:00
|
|
|
if postIndex > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
if err := m.Template.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
iNdEx = postIndex
|
|
|
|
case 4:
|
|
|
|
if wireType != 0 {
|
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field MinReadySeconds", wireType)
|
|
|
|
}
|
|
|
|
m.MinReadySeconds = 0
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowGenerated
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
b := dAtA[iNdEx]
|
|
|
|
iNdEx++
|
2020-01-14 10:38:55 +00:00
|
|
|
m.MinReadySeconds |= int32(b&0x7F) << shift
|
2018-12-19 14:29:25 +00:00
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
default:
|
|
|
|
iNdEx = preIndex
|
|
|
|
skippy, err := skipGenerated(dAtA[iNdEx:])
|
|
|
|
if err != nil {
|
|
|
|
return err
|
|
|
|
}
|
2021-05-10 10:45:47 +00:00
|
|
|
if (skippy < 0) || (iNdEx+skippy) < 0 {
|
2020-01-14 10:38:55 +00:00
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
2018-12-19 14:29:25 +00:00
|
|
|
if (iNdEx + skippy) > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
iNdEx += skippy
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
if iNdEx > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
func (m *ReplicaSetStatus) Unmarshal(dAtA []byte) error {
|
|
|
|
l := len(dAtA)
|
|
|
|
iNdEx := 0
|
|
|
|
for iNdEx < l {
|
|
|
|
preIndex := iNdEx
|
|
|
|
var wire uint64
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowGenerated
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
b := dAtA[iNdEx]
|
|
|
|
iNdEx++
|
2020-01-14 10:38:55 +00:00
|
|
|
wire |= uint64(b&0x7F) << shift
|
2018-12-19 14:29:25 +00:00
|
|
|
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
|
|
|
|
}
|
|
|
|
b := dAtA[iNdEx]
|
|
|
|
iNdEx++
|
2020-01-14 10:38:55 +00:00
|
|
|
m.Replicas |= int32(b&0x7F) << shift
|
2018-12-19 14:29:25 +00:00
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
case 2:
|
|
|
|
if wireType != 0 {
|
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field FullyLabeledReplicas", wireType)
|
|
|
|
}
|
|
|
|
m.FullyLabeledReplicas = 0
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowGenerated
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
b := dAtA[iNdEx]
|
|
|
|
iNdEx++
|
2020-01-14 10:38:55 +00:00
|
|
|
m.FullyLabeledReplicas |= int32(b&0x7F) << shift
|
2018-12-19 14:29:25 +00:00
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
case 3:
|
|
|
|
if wireType != 0 {
|
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field ObservedGeneration", wireType)
|
|
|
|
}
|
|
|
|
m.ObservedGeneration = 0
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowGenerated
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
b := dAtA[iNdEx]
|
|
|
|
iNdEx++
|
2020-01-14 10:38:55 +00:00
|
|
|
m.ObservedGeneration |= int64(b&0x7F) << shift
|
2018-12-19 14:29:25 +00:00
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
case 4:
|
|
|
|
if wireType != 0 {
|
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field ReadyReplicas", wireType)
|
|
|
|
}
|
|
|
|
m.ReadyReplicas = 0
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowGenerated
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
b := dAtA[iNdEx]
|
|
|
|
iNdEx++
|
2020-01-14 10:38:55 +00:00
|
|
|
m.ReadyReplicas |= int32(b&0x7F) << shift
|
2018-12-19 14:29:25 +00:00
|
|
|
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
|
|
|
|
}
|
|
|
|
b := dAtA[iNdEx]
|
|
|
|
iNdEx++
|
2020-01-14 10:38:55 +00:00
|
|
|
m.AvailableReplicas |= int32(b&0x7F) << shift
|
2018-12-19 14:29:25 +00:00
|
|
|
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
|
|
|
|
}
|
|
|
|
b := dAtA[iNdEx]
|
|
|
|
iNdEx++
|
2020-01-14 10:38:55 +00:00
|
|
|
msglen |= int(b&0x7F) << shift
|
2018-12-19 14:29:25 +00:00
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if msglen < 0 {
|
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
|
|
|
postIndex := iNdEx + msglen
|
2020-01-14 10:38:55 +00:00
|
|
|
if postIndex < 0 {
|
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
2018-12-19 14:29:25 +00:00
|
|
|
if postIndex > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
m.Conditions = append(m.Conditions, ReplicaSetCondition{})
|
|
|
|
if err := m.Conditions[len(m.Conditions)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
iNdEx = postIndex
|
|
|
|
default:
|
|
|
|
iNdEx = preIndex
|
|
|
|
skippy, err := skipGenerated(dAtA[iNdEx:])
|
|
|
|
if err != nil {
|
|
|
|
return err
|
|
|
|
}
|
2021-05-10 10:45:47 +00:00
|
|
|
if (skippy < 0) || (iNdEx+skippy) < 0 {
|
2020-01-14 10:38:55 +00:00
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
2018-12-19 14:29:25 +00:00
|
|
|
if (iNdEx + skippy) > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
iNdEx += skippy
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
if iNdEx > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
func (m *RollingUpdateDaemonSet) Unmarshal(dAtA []byte) error {
|
|
|
|
l := len(dAtA)
|
|
|
|
iNdEx := 0
|
|
|
|
for iNdEx < l {
|
|
|
|
preIndex := iNdEx
|
|
|
|
var wire uint64
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowGenerated
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
b := dAtA[iNdEx]
|
|
|
|
iNdEx++
|
2020-01-14 10:38:55 +00:00
|
|
|
wire |= uint64(b&0x7F) << shift
|
2018-12-19 14:29:25 +00:00
|
|
|
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
|
|
|
|
}
|
|
|
|
b := dAtA[iNdEx]
|
|
|
|
iNdEx++
|
2020-01-14 10:38:55 +00:00
|
|
|
msglen |= int(b&0x7F) << shift
|
2018-12-19 14:29:25 +00:00
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if msglen < 0 {
|
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
|
|
|
postIndex := iNdEx + msglen
|
2020-01-14 10:38:55 +00:00
|
|
|
if postIndex < 0 {
|
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
2018-12-19 14:29:25 +00:00
|
|
|
if postIndex > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
if m.MaxUnavailable == nil {
|
2020-01-14 10:38:55 +00:00
|
|
|
m.MaxUnavailable = &intstr.IntOrString{}
|
2018-12-19 14:29:25 +00:00
|
|
|
}
|
|
|
|
if err := m.MaxUnavailable.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
iNdEx = postIndex
|
2021-06-25 04:59:51 +00:00
|
|
|
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
|
|
|
|
}
|
|
|
|
b := dAtA[iNdEx]
|
|
|
|
iNdEx++
|
|
|
|
msglen |= int(b&0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if msglen < 0 {
|
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
|
|
|
postIndex := iNdEx + msglen
|
|
|
|
if postIndex < 0 {
|
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
|
|
|
if postIndex > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
if m.MaxSurge == nil {
|
|
|
|
m.MaxSurge = &intstr.IntOrString{}
|
|
|
|
}
|
|
|
|
if err := m.MaxSurge.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
iNdEx = postIndex
|
2018-12-19 14:29:25 +00:00
|
|
|
default:
|
|
|
|
iNdEx = preIndex
|
|
|
|
skippy, err := skipGenerated(dAtA[iNdEx:])
|
|
|
|
if err != nil {
|
|
|
|
return err
|
|
|
|
}
|
2021-05-10 10:45:47 +00:00
|
|
|
if (skippy < 0) || (iNdEx+skippy) < 0 {
|
2020-01-14 10:38:55 +00:00
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
2018-12-19 14:29:25 +00:00
|
|
|
if (iNdEx + skippy) > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
iNdEx += skippy
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
if iNdEx > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
func (m *RollingUpdateDeployment) Unmarshal(dAtA []byte) error {
|
|
|
|
l := len(dAtA)
|
|
|
|
iNdEx := 0
|
|
|
|
for iNdEx < l {
|
|
|
|
preIndex := iNdEx
|
|
|
|
var wire uint64
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowGenerated
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
b := dAtA[iNdEx]
|
|
|
|
iNdEx++
|
2020-01-14 10:38:55 +00:00
|
|
|
wire |= uint64(b&0x7F) << shift
|
2018-12-19 14:29:25 +00:00
|
|
|
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
|
|
|
|
}
|
|
|
|
b := dAtA[iNdEx]
|
|
|
|
iNdEx++
|
2020-01-14 10:38:55 +00:00
|
|
|
msglen |= int(b&0x7F) << shift
|
2018-12-19 14:29:25 +00:00
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if msglen < 0 {
|
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
|
|
|
postIndex := iNdEx + msglen
|
2020-01-14 10:38:55 +00:00
|
|
|
if postIndex < 0 {
|
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
2018-12-19 14:29:25 +00:00
|
|
|
if postIndex > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
if m.MaxUnavailable == nil {
|
2020-01-14 10:38:55 +00:00
|
|
|
m.MaxUnavailable = &intstr.IntOrString{}
|
2018-12-19 14:29:25 +00:00
|
|
|
}
|
|
|
|
if err := m.MaxUnavailable.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
|
|
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
|
|
|
|
}
|
|
|
|
b := dAtA[iNdEx]
|
|
|
|
iNdEx++
|
2020-01-14 10:38:55 +00:00
|
|
|
msglen |= int(b&0x7F) << shift
|
2018-12-19 14:29:25 +00:00
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if msglen < 0 {
|
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
|
|
|
postIndex := iNdEx + msglen
|
2020-01-14 10:38:55 +00:00
|
|
|
if postIndex < 0 {
|
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
2018-12-19 14:29:25 +00:00
|
|
|
if postIndex > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
if m.MaxSurge == nil {
|
2020-01-14 10:38:55 +00:00
|
|
|
m.MaxSurge = &intstr.IntOrString{}
|
2018-12-19 14:29:25 +00:00
|
|
|
}
|
|
|
|
if err := m.MaxSurge.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
iNdEx = postIndex
|
|
|
|
default:
|
|
|
|
iNdEx = preIndex
|
|
|
|
skippy, err := skipGenerated(dAtA[iNdEx:])
|
|
|
|
if err != nil {
|
|
|
|
return err
|
|
|
|
}
|
2021-05-10 10:45:47 +00:00
|
|
|
if (skippy < 0) || (iNdEx+skippy) < 0 {
|
2020-01-14 10:38:55 +00:00
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
2018-12-19 14:29:25 +00:00
|
|
|
if (iNdEx + skippy) > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
iNdEx += skippy
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
if iNdEx > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
func (m *RollingUpdateStatefulSetStrategy) Unmarshal(dAtA []byte) error {
|
|
|
|
l := len(dAtA)
|
|
|
|
iNdEx := 0
|
|
|
|
for iNdEx < l {
|
|
|
|
preIndex := iNdEx
|
|
|
|
var wire uint64
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowGenerated
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
b := dAtA[iNdEx]
|
|
|
|
iNdEx++
|
2020-01-14 10:38:55 +00:00
|
|
|
wire |= uint64(b&0x7F) << shift
|
2018-12-19 14:29:25 +00:00
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
fieldNum := int32(wire >> 3)
|
|
|
|
wireType := int(wire & 0x7)
|
|
|
|
if wireType == 4 {
|
|
|
|
return fmt.Errorf("proto: RollingUpdateStatefulSetStrategy: wiretype end group for non-group")
|
|
|
|
}
|
|
|
|
if fieldNum <= 0 {
|
|
|
|
return fmt.Errorf("proto: RollingUpdateStatefulSetStrategy: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
|
|
}
|
|
|
|
switch fieldNum {
|
|
|
|
case 1:
|
|
|
|
if wireType != 0 {
|
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Partition", wireType)
|
|
|
|
}
|
|
|
|
var v int32
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowGenerated
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
b := dAtA[iNdEx]
|
|
|
|
iNdEx++
|
2020-01-14 10:38:55 +00:00
|
|
|
v |= int32(b&0x7F) << shift
|
2018-12-19 14:29:25 +00:00
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
m.Partition = &v
|
2022-05-05 02:47:06 +00:00
|
|
|
case 2:
|
|
|
|
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
|
|
|
|
}
|
|
|
|
b := dAtA[iNdEx]
|
|
|
|
iNdEx++
|
|
|
|
msglen |= int(b&0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if msglen < 0 {
|
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
|
|
|
postIndex := iNdEx + msglen
|
|
|
|
if postIndex < 0 {
|
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
|
|
|
if postIndex > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
if m.MaxUnavailable == nil {
|
|
|
|
m.MaxUnavailable = &intstr.IntOrString{}
|
|
|
|
}
|
|
|
|
if err := m.MaxUnavailable.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
iNdEx = postIndex
|
2018-12-19 14:29:25 +00:00
|
|
|
default:
|
|
|
|
iNdEx = preIndex
|
|
|
|
skippy, err := skipGenerated(dAtA[iNdEx:])
|
|
|
|
if err != nil {
|
|
|
|
return err
|
|
|
|
}
|
2021-05-10 10:45:47 +00:00
|
|
|
if (skippy < 0) || (iNdEx+skippy) < 0 {
|
2020-01-14 10:38:55 +00:00
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
2018-12-19 14:29:25 +00:00
|
|
|
if (iNdEx + skippy) > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
iNdEx += skippy
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
if iNdEx > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
func (m *Scale) Unmarshal(dAtA []byte) error {
|
|
|
|
l := len(dAtA)
|
|
|
|
iNdEx := 0
|
|
|
|
for iNdEx < l {
|
|
|
|
preIndex := iNdEx
|
|
|
|
var wire uint64
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowGenerated
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
b := dAtA[iNdEx]
|
|
|
|
iNdEx++
|
2020-01-14 10:38:55 +00:00
|
|
|
wire |= uint64(b&0x7F) << shift
|
2018-12-19 14:29:25 +00:00
|
|
|
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
|
|
|
|
}
|
|
|
|
b := dAtA[iNdEx]
|
|
|
|
iNdEx++
|
2020-01-14 10:38:55 +00:00
|
|
|
msglen |= int(b&0x7F) << shift
|
2018-12-19 14:29:25 +00:00
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if msglen < 0 {
|
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
|
|
|
postIndex := iNdEx + msglen
|
2020-01-14 10:38:55 +00:00
|
|
|
if postIndex < 0 {
|
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
2018-12-19 14:29:25 +00:00
|
|
|
if postIndex > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
if err := m.ObjectMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
iNdEx = postIndex
|
|
|
|
case 2:
|
|
|
|
if wireType != 2 {
|
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Spec", wireType)
|
|
|
|
}
|
|
|
|
var msglen int
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowGenerated
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
b := dAtA[iNdEx]
|
|
|
|
iNdEx++
|
2020-01-14 10:38:55 +00:00
|
|
|
msglen |= int(b&0x7F) << shift
|
2018-12-19 14:29:25 +00:00
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if msglen < 0 {
|
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
|
|
|
postIndex := iNdEx + msglen
|
2020-01-14 10:38:55 +00:00
|
|
|
if postIndex < 0 {
|
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
2018-12-19 14:29:25 +00:00
|
|
|
if postIndex > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
if err := m.Spec.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
|
|
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
|
|
|
|
}
|
|
|
|
b := dAtA[iNdEx]
|
|
|
|
iNdEx++
|
2020-01-14 10:38:55 +00:00
|
|
|
msglen |= int(b&0x7F) << shift
|
2018-12-19 14:29:25 +00:00
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if msglen < 0 {
|
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
|
|
|
postIndex := iNdEx + msglen
|
2020-01-14 10:38:55 +00:00
|
|
|
if postIndex < 0 {
|
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
2018-12-19 14:29:25 +00:00
|
|
|
if postIndex > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
if err := m.Status.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
iNdEx = postIndex
|
|
|
|
default:
|
|
|
|
iNdEx = preIndex
|
|
|
|
skippy, err := skipGenerated(dAtA[iNdEx:])
|
|
|
|
if err != nil {
|
|
|
|
return err
|
|
|
|
}
|
2021-05-10 10:45:47 +00:00
|
|
|
if (skippy < 0) || (iNdEx+skippy) < 0 {
|
2020-01-14 10:38:55 +00:00
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
2018-12-19 14:29:25 +00:00
|
|
|
if (iNdEx + skippy) > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
iNdEx += skippy
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
if iNdEx > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
func (m *ScaleSpec) Unmarshal(dAtA []byte) error {
|
|
|
|
l := len(dAtA)
|
|
|
|
iNdEx := 0
|
|
|
|
for iNdEx < l {
|
|
|
|
preIndex := iNdEx
|
|
|
|
var wire uint64
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowGenerated
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
b := dAtA[iNdEx]
|
|
|
|
iNdEx++
|
2020-01-14 10:38:55 +00:00
|
|
|
wire |= uint64(b&0x7F) << shift
|
2018-12-19 14:29:25 +00:00
|
|
|
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
|
|
|
|
}
|
|
|
|
b := dAtA[iNdEx]
|
|
|
|
iNdEx++
|
2020-01-14 10:38:55 +00:00
|
|
|
m.Replicas |= int32(b&0x7F) << shift
|
2018-12-19 14:29:25 +00:00
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
default:
|
|
|
|
iNdEx = preIndex
|
|
|
|
skippy, err := skipGenerated(dAtA[iNdEx:])
|
|
|
|
if err != nil {
|
|
|
|
return err
|
|
|
|
}
|
2021-05-10 10:45:47 +00:00
|
|
|
if (skippy < 0) || (iNdEx+skippy) < 0 {
|
2020-01-14 10:38:55 +00:00
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
2018-12-19 14:29:25 +00:00
|
|
|
if (iNdEx + skippy) > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
iNdEx += skippy
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
if iNdEx > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
func (m *ScaleStatus) Unmarshal(dAtA []byte) error {
|
|
|
|
l := len(dAtA)
|
|
|
|
iNdEx := 0
|
|
|
|
for iNdEx < l {
|
|
|
|
preIndex := iNdEx
|
|
|
|
var wire uint64
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowGenerated
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
b := dAtA[iNdEx]
|
|
|
|
iNdEx++
|
2020-01-14 10:38:55 +00:00
|
|
|
wire |= uint64(b&0x7F) << shift
|
2018-12-19 14:29:25 +00:00
|
|
|
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
|
|
|
|
}
|
|
|
|
b := dAtA[iNdEx]
|
|
|
|
iNdEx++
|
2020-01-14 10:38:55 +00:00
|
|
|
m.Replicas |= int32(b&0x7F) << shift
|
2018-12-19 14:29:25 +00:00
|
|
|
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
|
|
|
|
}
|
|
|
|
b := dAtA[iNdEx]
|
|
|
|
iNdEx++
|
2020-01-14 10:38:55 +00:00
|
|
|
msglen |= int(b&0x7F) << shift
|
2018-12-19 14:29:25 +00:00
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if msglen < 0 {
|
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
|
|
|
postIndex := iNdEx + msglen
|
2020-01-14 10:38:55 +00:00
|
|
|
if postIndex < 0 {
|
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
2018-12-19 14:29:25 +00:00
|
|
|
if postIndex > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
if m.Selector == nil {
|
|
|
|
m.Selector = make(map[string]string)
|
|
|
|
}
|
2019-01-15 16:20:41 +00:00
|
|
|
var mapkey string
|
|
|
|
var mapvalue string
|
|
|
|
for iNdEx < postIndex {
|
|
|
|
entryPreIndex := iNdEx
|
|
|
|
var wire uint64
|
2018-12-19 14:29:25 +00:00
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowGenerated
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
b := dAtA[iNdEx]
|
|
|
|
iNdEx++
|
2020-01-14 10:38:55 +00:00
|
|
|
wire |= uint64(b&0x7F) << shift
|
2018-12-19 14:29:25 +00:00
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
2019-01-15 16:20:41 +00:00
|
|
|
fieldNum := int32(wire >> 3)
|
|
|
|
if fieldNum == 1 {
|
|
|
|
var stringLenmapkey uint64
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowGenerated
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
b := dAtA[iNdEx]
|
|
|
|
iNdEx++
|
2020-01-14 10:38:55 +00:00
|
|
|
stringLenmapkey |= uint64(b&0x7F) << shift
|
2019-01-15 16:20:41 +00:00
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
2018-12-19 14:29:25 +00:00
|
|
|
}
|
2019-01-15 16:20:41 +00:00
|
|
|
intStringLenmapkey := int(stringLenmapkey)
|
|
|
|
if intStringLenmapkey < 0 {
|
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
|
|
|
postStringIndexmapkey := iNdEx + intStringLenmapkey
|
2020-01-14 10:38:55 +00:00
|
|
|
if postStringIndexmapkey < 0 {
|
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
2019-01-15 16:20:41 +00:00
|
|
|
if postStringIndexmapkey > l {
|
2018-12-19 14:29:25 +00:00
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2019-01-15 16:20:41 +00:00
|
|
|
mapkey = string(dAtA[iNdEx:postStringIndexmapkey])
|
|
|
|
iNdEx = postStringIndexmapkey
|
|
|
|
} else if fieldNum == 2 {
|
|
|
|
var stringLenmapvalue uint64
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowGenerated
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
b := dAtA[iNdEx]
|
|
|
|
iNdEx++
|
2020-01-14 10:38:55 +00:00
|
|
|
stringLenmapvalue |= uint64(b&0x7F) << shift
|
2019-01-15 16:20:41 +00:00
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
2018-12-19 14:29:25 +00:00
|
|
|
}
|
2019-01-15 16:20:41 +00:00
|
|
|
intStringLenmapvalue := int(stringLenmapvalue)
|
|
|
|
if intStringLenmapvalue < 0 {
|
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
|
|
|
postStringIndexmapvalue := iNdEx + intStringLenmapvalue
|
2020-01-14 10:38:55 +00:00
|
|
|
if postStringIndexmapvalue < 0 {
|
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
2019-01-15 16:20:41 +00:00
|
|
|
if postStringIndexmapvalue > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
mapvalue = string(dAtA[iNdEx:postStringIndexmapvalue])
|
|
|
|
iNdEx = postStringIndexmapvalue
|
|
|
|
} else {
|
|
|
|
iNdEx = entryPreIndex
|
|
|
|
skippy, err := skipGenerated(dAtA[iNdEx:])
|
|
|
|
if err != nil {
|
|
|
|
return err
|
|
|
|
}
|
2021-05-10 10:45:47 +00:00
|
|
|
if (skippy < 0) || (iNdEx+skippy) < 0 {
|
2019-01-15 16:20:41 +00:00
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
|
|
|
if (iNdEx + skippy) > postIndex {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
iNdEx += skippy
|
2018-12-19 14:29:25 +00:00
|
|
|
}
|
|
|
|
}
|
2019-01-15 16:20:41 +00:00
|
|
|
m.Selector[mapkey] = mapvalue
|
2018-12-19 14:29:25 +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
|
|
|
|
}
|
|
|
|
b := dAtA[iNdEx]
|
|
|
|
iNdEx++
|
2020-01-14 10:38:55 +00:00
|
|
|
stringLen |= uint64(b&0x7F) << shift
|
2018-12-19 14:29:25 +00:00
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
intStringLen := int(stringLen)
|
|
|
|
if intStringLen < 0 {
|
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
|
|
|
postIndex := iNdEx + intStringLen
|
2020-01-14 10:38:55 +00:00
|
|
|
if postIndex < 0 {
|
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
2018-12-19 14:29:25 +00:00
|
|
|
if postIndex > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
m.TargetSelector = string(dAtA[iNdEx:postIndex])
|
|
|
|
iNdEx = postIndex
|
|
|
|
default:
|
|
|
|
iNdEx = preIndex
|
|
|
|
skippy, err := skipGenerated(dAtA[iNdEx:])
|
|
|
|
if err != nil {
|
|
|
|
return err
|
|
|
|
}
|
2021-05-10 10:45:47 +00:00
|
|
|
if (skippy < 0) || (iNdEx+skippy) < 0 {
|
2020-01-14 10:38:55 +00:00
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
2018-12-19 14:29:25 +00:00
|
|
|
if (iNdEx + skippy) > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
iNdEx += skippy
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
if iNdEx > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
func (m *StatefulSet) Unmarshal(dAtA []byte) error {
|
|
|
|
l := len(dAtA)
|
|
|
|
iNdEx := 0
|
|
|
|
for iNdEx < l {
|
|
|
|
preIndex := iNdEx
|
|
|
|
var wire uint64
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowGenerated
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
b := dAtA[iNdEx]
|
|
|
|
iNdEx++
|
2020-01-14 10:38:55 +00:00
|
|
|
wire |= uint64(b&0x7F) << shift
|
2018-12-19 14:29:25 +00:00
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
fieldNum := int32(wire >> 3)
|
|
|
|
wireType := int(wire & 0x7)
|
|
|
|
if wireType == 4 {
|
|
|
|
return fmt.Errorf("proto: StatefulSet: wiretype end group for non-group")
|
|
|
|
}
|
|
|
|
if fieldNum <= 0 {
|
|
|
|
return fmt.Errorf("proto: StatefulSet: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
|
|
}
|
|
|
|
switch fieldNum {
|
|
|
|
case 1:
|
|
|
|
if wireType != 2 {
|
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field ObjectMeta", wireType)
|
|
|
|
}
|
|
|
|
var msglen int
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowGenerated
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
b := dAtA[iNdEx]
|
|
|
|
iNdEx++
|
2020-01-14 10:38:55 +00:00
|
|
|
msglen |= int(b&0x7F) << shift
|
2018-12-19 14:29:25 +00:00
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if msglen < 0 {
|
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
|
|
|
postIndex := iNdEx + msglen
|
2020-01-14 10:38:55 +00:00
|
|
|
if postIndex < 0 {
|
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
2018-12-19 14:29:25 +00:00
|
|
|
if postIndex > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
if err := m.ObjectMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
iNdEx = postIndex
|
|
|
|
case 2:
|
|
|
|
if wireType != 2 {
|
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Spec", wireType)
|
|
|
|
}
|
|
|
|
var msglen int
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowGenerated
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
b := dAtA[iNdEx]
|
|
|
|
iNdEx++
|
2020-01-14 10:38:55 +00:00
|
|
|
msglen |= int(b&0x7F) << shift
|
2018-12-19 14:29:25 +00:00
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if msglen < 0 {
|
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
|
|
|
postIndex := iNdEx + msglen
|
2020-01-14 10:38:55 +00:00
|
|
|
if postIndex < 0 {
|
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
2018-12-19 14:29:25 +00:00
|
|
|
if postIndex > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
if err := m.Spec.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
|
|
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
|
|
|
|
}
|
|
|
|
b := dAtA[iNdEx]
|
|
|
|
iNdEx++
|
2020-01-14 10:38:55 +00:00
|
|
|
msglen |= int(b&0x7F) << shift
|
2018-12-19 14:29:25 +00:00
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if msglen < 0 {
|
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
|
|
|
postIndex := iNdEx + msglen
|
2020-01-14 10:38:55 +00:00
|
|
|
if postIndex < 0 {
|
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
2018-12-19 14:29:25 +00:00
|
|
|
if postIndex > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
if err := m.Status.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
iNdEx = postIndex
|
|
|
|
default:
|
|
|
|
iNdEx = preIndex
|
|
|
|
skippy, err := skipGenerated(dAtA[iNdEx:])
|
|
|
|
if err != nil {
|
|
|
|
return err
|
|
|
|
}
|
2021-05-10 10:45:47 +00:00
|
|
|
if (skippy < 0) || (iNdEx+skippy) < 0 {
|
2020-01-14 10:38:55 +00:00
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
2018-12-19 14:29:25 +00:00
|
|
|
if (iNdEx + skippy) > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
iNdEx += skippy
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
if iNdEx > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
func (m *StatefulSetCondition) Unmarshal(dAtA []byte) error {
|
|
|
|
l := len(dAtA)
|
|
|
|
iNdEx := 0
|
|
|
|
for iNdEx < l {
|
|
|
|
preIndex := iNdEx
|
|
|
|
var wire uint64
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowGenerated
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
b := dAtA[iNdEx]
|
|
|
|
iNdEx++
|
2020-01-14 10:38:55 +00:00
|
|
|
wire |= uint64(b&0x7F) << shift
|
2018-12-19 14:29:25 +00:00
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
fieldNum := int32(wire >> 3)
|
|
|
|
wireType := int(wire & 0x7)
|
|
|
|
if wireType == 4 {
|
|
|
|
return fmt.Errorf("proto: StatefulSetCondition: wiretype end group for non-group")
|
|
|
|
}
|
|
|
|
if fieldNum <= 0 {
|
|
|
|
return fmt.Errorf("proto: StatefulSetCondition: 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
|
|
|
|
}
|
|
|
|
b := dAtA[iNdEx]
|
|
|
|
iNdEx++
|
2020-01-14 10:38:55 +00:00
|
|
|
stringLen |= uint64(b&0x7F) << shift
|
2018-12-19 14:29:25 +00:00
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
intStringLen := int(stringLen)
|
|
|
|
if intStringLen < 0 {
|
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
|
|
|
postIndex := iNdEx + intStringLen
|
2020-01-14 10:38:55 +00:00
|
|
|
if postIndex < 0 {
|
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
2018-12-19 14:29:25 +00:00
|
|
|
if postIndex > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
m.Type = StatefulSetConditionType(dAtA[iNdEx:postIndex])
|
|
|
|
iNdEx = postIndex
|
|
|
|
case 2:
|
|
|
|
if wireType != 2 {
|
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType)
|
|
|
|
}
|
|
|
|
var stringLen uint64
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowGenerated
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
b := dAtA[iNdEx]
|
|
|
|
iNdEx++
|
2020-01-14 10:38:55 +00:00
|
|
|
stringLen |= uint64(b&0x7F) << shift
|
2018-12-19 14:29:25 +00:00
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
intStringLen := int(stringLen)
|
|
|
|
if intStringLen < 0 {
|
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
|
|
|
postIndex := iNdEx + intStringLen
|
2020-01-14 10:38:55 +00:00
|
|
|
if postIndex < 0 {
|
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
2018-12-19 14:29:25 +00:00
|
|
|
if postIndex > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
m.Status = k8s_io_api_core_v1.ConditionStatus(dAtA[iNdEx:postIndex])
|
|
|
|
iNdEx = postIndex
|
|
|
|
case 3:
|
|
|
|
if wireType != 2 {
|
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field LastTransitionTime", wireType)
|
|
|
|
}
|
|
|
|
var msglen int
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowGenerated
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
b := dAtA[iNdEx]
|
|
|
|
iNdEx++
|
2020-01-14 10:38:55 +00:00
|
|
|
msglen |= int(b&0x7F) << shift
|
2018-12-19 14:29:25 +00:00
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if msglen < 0 {
|
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
|
|
|
postIndex := iNdEx + msglen
|
2020-01-14 10:38:55 +00:00
|
|
|
if postIndex < 0 {
|
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
2018-12-19 14:29:25 +00:00
|
|
|
if postIndex > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
if err := m.LastTransitionTime.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
iNdEx = postIndex
|
|
|
|
case 4:
|
|
|
|
if wireType != 2 {
|
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Reason", wireType)
|
|
|
|
}
|
|
|
|
var stringLen uint64
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowGenerated
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
b := dAtA[iNdEx]
|
|
|
|
iNdEx++
|
2020-01-14 10:38:55 +00:00
|
|
|
stringLen |= uint64(b&0x7F) << shift
|
2018-12-19 14:29:25 +00:00
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
intStringLen := int(stringLen)
|
|
|
|
if intStringLen < 0 {
|
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
|
|
|
postIndex := iNdEx + intStringLen
|
2020-01-14 10:38:55 +00:00
|
|
|
if postIndex < 0 {
|
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
2018-12-19 14:29:25 +00:00
|
|
|
if postIndex > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
m.Reason = string(dAtA[iNdEx:postIndex])
|
|
|
|
iNdEx = postIndex
|
|
|
|
case 5:
|
|
|
|
if wireType != 2 {
|
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Message", wireType)
|
|
|
|
}
|
|
|
|
var stringLen uint64
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowGenerated
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
b := dAtA[iNdEx]
|
|
|
|
iNdEx++
|
2020-01-14 10:38:55 +00:00
|
|
|
stringLen |= uint64(b&0x7F) << shift
|
2018-12-19 14:29:25 +00:00
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
intStringLen := int(stringLen)
|
|
|
|
if intStringLen < 0 {
|
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
|
|
|
postIndex := iNdEx + intStringLen
|
2020-01-14 10:38:55 +00:00
|
|
|
if postIndex < 0 {
|
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
2018-12-19 14:29:25 +00:00
|
|
|
if postIndex > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
m.Message = string(dAtA[iNdEx:postIndex])
|
|
|
|
iNdEx = postIndex
|
|
|
|
default:
|
|
|
|
iNdEx = preIndex
|
|
|
|
skippy, err := skipGenerated(dAtA[iNdEx:])
|
|
|
|
if err != nil {
|
|
|
|
return err
|
|
|
|
}
|
2021-05-10 10:45:47 +00:00
|
|
|
if (skippy < 0) || (iNdEx+skippy) < 0 {
|
2020-01-14 10:38:55 +00:00
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
2018-12-19 14:29:25 +00:00
|
|
|
if (iNdEx + skippy) > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
iNdEx += skippy
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
if iNdEx > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
func (m *StatefulSetList) Unmarshal(dAtA []byte) error {
|
|
|
|
l := len(dAtA)
|
|
|
|
iNdEx := 0
|
|
|
|
for iNdEx < l {
|
|
|
|
preIndex := iNdEx
|
|
|
|
var wire uint64
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowGenerated
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
b := dAtA[iNdEx]
|
|
|
|
iNdEx++
|
2020-01-14 10:38:55 +00:00
|
|
|
wire |= uint64(b&0x7F) << shift
|
2018-12-19 14:29:25 +00:00
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
fieldNum := int32(wire >> 3)
|
|
|
|
wireType := int(wire & 0x7)
|
|
|
|
if wireType == 4 {
|
|
|
|
return fmt.Errorf("proto: StatefulSetList: wiretype end group for non-group")
|
|
|
|
}
|
|
|
|
if fieldNum <= 0 {
|
|
|
|
return fmt.Errorf("proto: StatefulSetList: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
|
|
}
|
|
|
|
switch fieldNum {
|
|
|
|
case 1:
|
|
|
|
if wireType != 2 {
|
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field ListMeta", wireType)
|
|
|
|
}
|
|
|
|
var msglen int
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowGenerated
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
b := dAtA[iNdEx]
|
|
|
|
iNdEx++
|
2020-01-14 10:38:55 +00:00
|
|
|
msglen |= int(b&0x7F) << shift
|
2018-12-19 14:29:25 +00:00
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if msglen < 0 {
|
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
|
|
|
postIndex := iNdEx + msglen
|
2020-01-14 10:38:55 +00:00
|
|
|
if postIndex < 0 {
|
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
2018-12-19 14:29:25 +00:00
|
|
|
if postIndex > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
if err := m.ListMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
iNdEx = postIndex
|
|
|
|
case 2:
|
|
|
|
if wireType != 2 {
|
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Items", wireType)
|
|
|
|
}
|
|
|
|
var msglen int
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowGenerated
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
b := dAtA[iNdEx]
|
|
|
|
iNdEx++
|
2020-01-14 10:38:55 +00:00
|
|
|
msglen |= int(b&0x7F) << shift
|
2018-12-19 14:29:25 +00:00
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if msglen < 0 {
|
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
|
|
|
postIndex := iNdEx + msglen
|
2020-01-14 10:38:55 +00:00
|
|
|
if postIndex < 0 {
|
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
2018-12-19 14:29:25 +00:00
|
|
|
if postIndex > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
m.Items = append(m.Items, StatefulSet{})
|
|
|
|
if err := m.Items[len(m.Items)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
iNdEx = postIndex
|
|
|
|
default:
|
|
|
|
iNdEx = preIndex
|
|
|
|
skippy, err := skipGenerated(dAtA[iNdEx:])
|
|
|
|
if err != nil {
|
|
|
|
return err
|
|
|
|
}
|
2021-05-10 10:45:47 +00:00
|
|
|
if (skippy < 0) || (iNdEx+skippy) < 0 {
|
2020-01-14 10:38:55 +00:00
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
2018-12-19 14:29:25 +00:00
|
|
|
if (iNdEx + skippy) > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
iNdEx += skippy
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
if iNdEx > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
2023-02-01 17:06:36 +00:00
|
|
|
func (m *StatefulSetOrdinals) Unmarshal(dAtA []byte) error {
|
|
|
|
l := len(dAtA)
|
|
|
|
iNdEx := 0
|
|
|
|
for iNdEx < l {
|
|
|
|
preIndex := iNdEx
|
|
|
|
var wire uint64
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowGenerated
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
b := dAtA[iNdEx]
|
|
|
|
iNdEx++
|
|
|
|
wire |= uint64(b&0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
fieldNum := int32(wire >> 3)
|
|
|
|
wireType := int(wire & 0x7)
|
|
|
|
if wireType == 4 {
|
|
|
|
return fmt.Errorf("proto: StatefulSetOrdinals: wiretype end group for non-group")
|
|
|
|
}
|
|
|
|
if fieldNum <= 0 {
|
|
|
|
return fmt.Errorf("proto: StatefulSetOrdinals: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
|
|
}
|
|
|
|
switch fieldNum {
|
|
|
|
case 1:
|
|
|
|
if wireType != 0 {
|
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Start", wireType)
|
|
|
|
}
|
|
|
|
m.Start = 0
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowGenerated
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
b := dAtA[iNdEx]
|
|
|
|
iNdEx++
|
|
|
|
m.Start |= int32(b&0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
default:
|
|
|
|
iNdEx = preIndex
|
|
|
|
skippy, err := skipGenerated(dAtA[iNdEx:])
|
|
|
|
if err != nil {
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
if (skippy < 0) || (iNdEx+skippy) < 0 {
|
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
|
|
|
if (iNdEx + skippy) > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
iNdEx += skippy
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
if iNdEx > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
2021-12-08 13:50:47 +00:00
|
|
|
func (m *StatefulSetPersistentVolumeClaimRetentionPolicy) Unmarshal(dAtA []byte) error {
|
|
|
|
l := len(dAtA)
|
|
|
|
iNdEx := 0
|
|
|
|
for iNdEx < l {
|
|
|
|
preIndex := iNdEx
|
|
|
|
var wire uint64
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowGenerated
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
b := dAtA[iNdEx]
|
|
|
|
iNdEx++
|
|
|
|
wire |= uint64(b&0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
fieldNum := int32(wire >> 3)
|
|
|
|
wireType := int(wire & 0x7)
|
|
|
|
if wireType == 4 {
|
|
|
|
return fmt.Errorf("proto: StatefulSetPersistentVolumeClaimRetentionPolicy: wiretype end group for non-group")
|
|
|
|
}
|
|
|
|
if fieldNum <= 0 {
|
|
|
|
return fmt.Errorf("proto: StatefulSetPersistentVolumeClaimRetentionPolicy: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
|
|
}
|
|
|
|
switch fieldNum {
|
|
|
|
case 1:
|
|
|
|
if wireType != 2 {
|
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field WhenDeleted", wireType)
|
|
|
|
}
|
|
|
|
var stringLen uint64
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowGenerated
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
b := dAtA[iNdEx]
|
|
|
|
iNdEx++
|
|
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
intStringLen := int(stringLen)
|
|
|
|
if intStringLen < 0 {
|
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
|
|
|
postIndex := iNdEx + intStringLen
|
|
|
|
if postIndex < 0 {
|
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
|
|
|
if postIndex > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
m.WhenDeleted = PersistentVolumeClaimRetentionPolicyType(dAtA[iNdEx:postIndex])
|
|
|
|
iNdEx = postIndex
|
|
|
|
case 2:
|
|
|
|
if wireType != 2 {
|
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field WhenScaled", wireType)
|
|
|
|
}
|
|
|
|
var stringLen uint64
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowGenerated
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
b := dAtA[iNdEx]
|
|
|
|
iNdEx++
|
|
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
intStringLen := int(stringLen)
|
|
|
|
if intStringLen < 0 {
|
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
|
|
|
postIndex := iNdEx + intStringLen
|
|
|
|
if postIndex < 0 {
|
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
|
|
|
if postIndex > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
m.WhenScaled = PersistentVolumeClaimRetentionPolicyType(dAtA[iNdEx:postIndex])
|
|
|
|
iNdEx = postIndex
|
|
|
|
default:
|
|
|
|
iNdEx = preIndex
|
|
|
|
skippy, err := skipGenerated(dAtA[iNdEx:])
|
|
|
|
if err != nil {
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
if (skippy < 0) || (iNdEx+skippy) < 0 {
|
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
|
|
|
if (iNdEx + skippy) > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
iNdEx += skippy
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
if iNdEx > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
2018-12-19 14:29:25 +00:00
|
|
|
func (m *StatefulSetSpec) Unmarshal(dAtA []byte) error {
|
|
|
|
l := len(dAtA)
|
|
|
|
iNdEx := 0
|
|
|
|
for iNdEx < l {
|
|
|
|
preIndex := iNdEx
|
|
|
|
var wire uint64
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowGenerated
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
b := dAtA[iNdEx]
|
|
|
|
iNdEx++
|
2020-01-14 10:38:55 +00:00
|
|
|
wire |= uint64(b&0x7F) << shift
|
2018-12-19 14:29:25 +00:00
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
fieldNum := int32(wire >> 3)
|
|
|
|
wireType := int(wire & 0x7)
|
|
|
|
if wireType == 4 {
|
|
|
|
return fmt.Errorf("proto: StatefulSetSpec: wiretype end group for non-group")
|
|
|
|
}
|
|
|
|
if fieldNum <= 0 {
|
|
|
|
return fmt.Errorf("proto: StatefulSetSpec: 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
|
|
|
|
}
|
|
|
|
b := dAtA[iNdEx]
|
|
|
|
iNdEx++
|
2020-01-14 10:38:55 +00:00
|
|
|
v |= int32(b&0x7F) << shift
|
2018-12-19 14:29:25 +00:00
|
|
|
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
|
|
|
|
}
|
|
|
|
b := dAtA[iNdEx]
|
|
|
|
iNdEx++
|
2020-01-14 10:38:55 +00:00
|
|
|
msglen |= int(b&0x7F) << shift
|
2018-12-19 14:29:25 +00:00
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if msglen < 0 {
|
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
|
|
|
postIndex := iNdEx + msglen
|
2020-01-14 10:38:55 +00:00
|
|
|
if postIndex < 0 {
|
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
2018-12-19 14:29:25 +00:00
|
|
|
if postIndex > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
if m.Selector == nil {
|
2020-01-14 10:38:55 +00:00
|
|
|
m.Selector = &v1.LabelSelector{}
|
2018-12-19 14:29:25 +00:00
|
|
|
}
|
|
|
|
if err := m.Selector.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
|
|
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
|
|
|
|
}
|
|
|
|
b := dAtA[iNdEx]
|
|
|
|
iNdEx++
|
2020-01-14 10:38:55 +00:00
|
|
|
msglen |= int(b&0x7F) << shift
|
2018-12-19 14:29:25 +00:00
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if msglen < 0 {
|
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
|
|
|
postIndex := iNdEx + msglen
|
2020-01-14 10:38:55 +00:00
|
|
|
if postIndex < 0 {
|
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
2018-12-19 14:29:25 +00:00
|
|
|
if postIndex > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
if err := m.Template.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
iNdEx = postIndex
|
|
|
|
case 4:
|
|
|
|
if wireType != 2 {
|
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field VolumeClaimTemplates", wireType)
|
|
|
|
}
|
|
|
|
var msglen int
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowGenerated
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
b := dAtA[iNdEx]
|
|
|
|
iNdEx++
|
2020-01-14 10:38:55 +00:00
|
|
|
msglen |= int(b&0x7F) << shift
|
2018-12-19 14:29:25 +00:00
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if msglen < 0 {
|
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
|
|
|
postIndex := iNdEx + msglen
|
2020-01-14 10:38:55 +00:00
|
|
|
if postIndex < 0 {
|
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
2018-12-19 14:29:25 +00:00
|
|
|
if postIndex > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2020-01-14 10:38:55 +00:00
|
|
|
m.VolumeClaimTemplates = append(m.VolumeClaimTemplates, v11.PersistentVolumeClaim{})
|
2018-12-19 14:29:25 +00:00
|
|
|
if err := m.VolumeClaimTemplates[len(m.VolumeClaimTemplates)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
iNdEx = postIndex
|
|
|
|
case 5:
|
|
|
|
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
|
|
|
|
}
|
|
|
|
b := dAtA[iNdEx]
|
|
|
|
iNdEx++
|
2020-01-14 10:38:55 +00:00
|
|
|
stringLen |= uint64(b&0x7F) << shift
|
2018-12-19 14:29:25 +00:00
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
intStringLen := int(stringLen)
|
|
|
|
if intStringLen < 0 {
|
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
|
|
|
postIndex := iNdEx + intStringLen
|
2020-01-14 10:38:55 +00:00
|
|
|
if postIndex < 0 {
|
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
2018-12-19 14:29:25 +00:00
|
|
|
if postIndex > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
m.ServiceName = string(dAtA[iNdEx:postIndex])
|
|
|
|
iNdEx = postIndex
|
|
|
|
case 6:
|
|
|
|
if wireType != 2 {
|
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field PodManagementPolicy", wireType)
|
|
|
|
}
|
|
|
|
var stringLen uint64
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowGenerated
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
b := dAtA[iNdEx]
|
|
|
|
iNdEx++
|
2020-01-14 10:38:55 +00:00
|
|
|
stringLen |= uint64(b&0x7F) << shift
|
2018-12-19 14:29:25 +00:00
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
intStringLen := int(stringLen)
|
|
|
|
if intStringLen < 0 {
|
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
|
|
|
postIndex := iNdEx + intStringLen
|
2020-01-14 10:38:55 +00:00
|
|
|
if postIndex < 0 {
|
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
2018-12-19 14:29:25 +00:00
|
|
|
if postIndex > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
m.PodManagementPolicy = PodManagementPolicyType(dAtA[iNdEx:postIndex])
|
|
|
|
iNdEx = postIndex
|
|
|
|
case 7:
|
|
|
|
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
|
|
|
|
}
|
|
|
|
b := dAtA[iNdEx]
|
|
|
|
iNdEx++
|
2020-01-14 10:38:55 +00:00
|
|
|
msglen |= int(b&0x7F) << shift
|
2018-12-19 14:29:25 +00:00
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if msglen < 0 {
|
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
|
|
|
postIndex := iNdEx + msglen
|
2020-01-14 10:38:55 +00:00
|
|
|
if postIndex < 0 {
|
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
2018-12-19 14:29:25 +00:00
|
|
|
if postIndex > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
if err := m.UpdateStrategy.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
iNdEx = postIndex
|
|
|
|
case 8:
|
|
|
|
if wireType != 0 {
|
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field RevisionHistoryLimit", wireType)
|
|
|
|
}
|
|
|
|
var v int32
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowGenerated
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
b := dAtA[iNdEx]
|
|
|
|
iNdEx++
|
2020-01-14 10:38:55 +00:00
|
|
|
v |= int32(b&0x7F) << shift
|
2018-12-19 14:29:25 +00:00
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
m.RevisionHistoryLimit = &v
|
2021-08-09 07:19:24 +00:00
|
|
|
case 9:
|
|
|
|
if wireType != 0 {
|
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field MinReadySeconds", wireType)
|
|
|
|
}
|
|
|
|
m.MinReadySeconds = 0
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowGenerated
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
b := dAtA[iNdEx]
|
|
|
|
iNdEx++
|
|
|
|
m.MinReadySeconds |= int32(b&0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
2021-12-08 13:50:47 +00:00
|
|
|
case 10:
|
|
|
|
if wireType != 2 {
|
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field PersistentVolumeClaimRetentionPolicy", wireType)
|
|
|
|
}
|
|
|
|
var msglen int
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowGenerated
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
b := dAtA[iNdEx]
|
|
|
|
iNdEx++
|
|
|
|
msglen |= int(b&0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if msglen < 0 {
|
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
|
|
|
postIndex := iNdEx + msglen
|
|
|
|
if postIndex < 0 {
|
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
|
|
|
if postIndex > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
if m.PersistentVolumeClaimRetentionPolicy == nil {
|
|
|
|
m.PersistentVolumeClaimRetentionPolicy = &StatefulSetPersistentVolumeClaimRetentionPolicy{}
|
|
|
|
}
|
|
|
|
if err := m.PersistentVolumeClaimRetentionPolicy.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
iNdEx = postIndex
|
2023-02-01 17:06:36 +00:00
|
|
|
case 11:
|
|
|
|
if wireType != 2 {
|
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Ordinals", wireType)
|
|
|
|
}
|
|
|
|
var msglen int
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowGenerated
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
b := dAtA[iNdEx]
|
|
|
|
iNdEx++
|
|
|
|
msglen |= int(b&0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if msglen < 0 {
|
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
|
|
|
postIndex := iNdEx + msglen
|
|
|
|
if postIndex < 0 {
|
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
|
|
|
if postIndex > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
if m.Ordinals == nil {
|
|
|
|
m.Ordinals = &StatefulSetOrdinals{}
|
|
|
|
}
|
|
|
|
if err := m.Ordinals.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
iNdEx = postIndex
|
2018-12-19 14:29:25 +00:00
|
|
|
default:
|
|
|
|
iNdEx = preIndex
|
|
|
|
skippy, err := skipGenerated(dAtA[iNdEx:])
|
|
|
|
if err != nil {
|
|
|
|
return err
|
|
|
|
}
|
2021-05-10 10:45:47 +00:00
|
|
|
if (skippy < 0) || (iNdEx+skippy) < 0 {
|
2020-01-14 10:38:55 +00:00
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
2018-12-19 14:29:25 +00:00
|
|
|
if (iNdEx + skippy) > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
iNdEx += skippy
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
if iNdEx > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
func (m *StatefulSetStatus) Unmarshal(dAtA []byte) error {
|
|
|
|
l := len(dAtA)
|
|
|
|
iNdEx := 0
|
|
|
|
for iNdEx < l {
|
|
|
|
preIndex := iNdEx
|
|
|
|
var wire uint64
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowGenerated
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
b := dAtA[iNdEx]
|
|
|
|
iNdEx++
|
2020-01-14 10:38:55 +00:00
|
|
|
wire |= uint64(b&0x7F) << shift
|
2018-12-19 14:29:25 +00:00
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
fieldNum := int32(wire >> 3)
|
|
|
|
wireType := int(wire & 0x7)
|
|
|
|
if wireType == 4 {
|
|
|
|
return fmt.Errorf("proto: StatefulSetStatus: wiretype end group for non-group")
|
|
|
|
}
|
|
|
|
if fieldNum <= 0 {
|
|
|
|
return fmt.Errorf("proto: StatefulSetStatus: 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
|
|
|
|
}
|
|
|
|
b := dAtA[iNdEx]
|
|
|
|
iNdEx++
|
2020-01-14 10:38:55 +00:00
|
|
|
m.ObservedGeneration |= int64(b&0x7F) << shift
|
2018-12-19 14:29:25 +00:00
|
|
|
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
|
|
|
|
}
|
|
|
|
b := dAtA[iNdEx]
|
|
|
|
iNdEx++
|
2020-01-14 10:38:55 +00:00
|
|
|
m.Replicas |= int32(b&0x7F) << shift
|
2018-12-19 14:29:25 +00:00
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
case 3:
|
|
|
|
if wireType != 0 {
|
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field ReadyReplicas", wireType)
|
|
|
|
}
|
|
|
|
m.ReadyReplicas = 0
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowGenerated
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
b := dAtA[iNdEx]
|
|
|
|
iNdEx++
|
2020-01-14 10:38:55 +00:00
|
|
|
m.ReadyReplicas |= int32(b&0x7F) << shift
|
2018-12-19 14:29:25 +00:00
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
case 4:
|
|
|
|
if wireType != 0 {
|
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field CurrentReplicas", wireType)
|
|
|
|
}
|
|
|
|
m.CurrentReplicas = 0
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowGenerated
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
b := dAtA[iNdEx]
|
|
|
|
iNdEx++
|
2020-01-14 10:38:55 +00:00
|
|
|
m.CurrentReplicas |= int32(b&0x7F) << shift
|
2018-12-19 14:29:25 +00:00
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
case 5:
|
|
|
|
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
|
|
|
|
}
|
|
|
|
b := dAtA[iNdEx]
|
|
|
|
iNdEx++
|
2020-01-14 10:38:55 +00:00
|
|
|
m.UpdatedReplicas |= int32(b&0x7F) << shift
|
2018-12-19 14:29:25 +00:00
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
case 6:
|
|
|
|
if wireType != 2 {
|
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field CurrentRevision", wireType)
|
|
|
|
}
|
|
|
|
var stringLen uint64
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowGenerated
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
b := dAtA[iNdEx]
|
|
|
|
iNdEx++
|
2020-01-14 10:38:55 +00:00
|
|
|
stringLen |= uint64(b&0x7F) << shift
|
2018-12-19 14:29:25 +00:00
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
intStringLen := int(stringLen)
|
|
|
|
if intStringLen < 0 {
|
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
|
|
|
postIndex := iNdEx + intStringLen
|
2020-01-14 10:38:55 +00:00
|
|
|
if postIndex < 0 {
|
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
2018-12-19 14:29:25 +00:00
|
|
|
if postIndex > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
m.CurrentRevision = string(dAtA[iNdEx:postIndex])
|
|
|
|
iNdEx = postIndex
|
|
|
|
case 7:
|
|
|
|
if wireType != 2 {
|
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field UpdateRevision", wireType)
|
|
|
|
}
|
|
|
|
var stringLen uint64
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowGenerated
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
b := dAtA[iNdEx]
|
|
|
|
iNdEx++
|
2020-01-14 10:38:55 +00:00
|
|
|
stringLen |= uint64(b&0x7F) << shift
|
2018-12-19 14:29:25 +00:00
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
intStringLen := int(stringLen)
|
|
|
|
if intStringLen < 0 {
|
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
|
|
|
postIndex := iNdEx + intStringLen
|
2020-01-14 10:38:55 +00:00
|
|
|
if postIndex < 0 {
|
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
2018-12-19 14:29:25 +00:00
|
|
|
if postIndex > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
m.UpdateRevision = string(dAtA[iNdEx:postIndex])
|
|
|
|
iNdEx = postIndex
|
|
|
|
case 9:
|
|
|
|
if wireType != 0 {
|
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field CollisionCount", wireType)
|
|
|
|
}
|
|
|
|
var v int32
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowGenerated
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
b := dAtA[iNdEx]
|
|
|
|
iNdEx++
|
2020-01-14 10:38:55 +00:00
|
|
|
v |= int32(b&0x7F) << shift
|
2018-12-19 14:29:25 +00:00
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
m.CollisionCount = &v
|
|
|
|
case 10:
|
|
|
|
if wireType != 2 {
|
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Conditions", wireType)
|
|
|
|
}
|
|
|
|
var msglen int
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowGenerated
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
b := dAtA[iNdEx]
|
|
|
|
iNdEx++
|
2020-01-14 10:38:55 +00:00
|
|
|
msglen |= int(b&0x7F) << shift
|
2018-12-19 14:29:25 +00:00
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if msglen < 0 {
|
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
|
|
|
postIndex := iNdEx + msglen
|
2020-01-14 10:38:55 +00:00
|
|
|
if postIndex < 0 {
|
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
2018-12-19 14:29:25 +00:00
|
|
|
if postIndex > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
m.Conditions = append(m.Conditions, StatefulSetCondition{})
|
|
|
|
if err := m.Conditions[len(m.Conditions)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
iNdEx = postIndex
|
2021-08-09 07:19:24 +00:00
|
|
|
case 11:
|
|
|
|
if wireType != 0 {
|
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field AvailableReplicas", wireType)
|
|
|
|
}
|
|
|
|
m.AvailableReplicas = 0
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowGenerated
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
b := dAtA[iNdEx]
|
|
|
|
iNdEx++
|
|
|
|
m.AvailableReplicas |= int32(b&0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
2018-12-19 14:29:25 +00:00
|
|
|
default:
|
|
|
|
iNdEx = preIndex
|
|
|
|
skippy, err := skipGenerated(dAtA[iNdEx:])
|
|
|
|
if err != nil {
|
|
|
|
return err
|
|
|
|
}
|
2021-05-10 10:45:47 +00:00
|
|
|
if (skippy < 0) || (iNdEx+skippy) < 0 {
|
2020-01-14 10:38:55 +00:00
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
2018-12-19 14:29:25 +00:00
|
|
|
if (iNdEx + skippy) > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
iNdEx += skippy
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
if iNdEx > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
func (m *StatefulSetUpdateStrategy) Unmarshal(dAtA []byte) error {
|
|
|
|
l := len(dAtA)
|
|
|
|
iNdEx := 0
|
|
|
|
for iNdEx < l {
|
|
|
|
preIndex := iNdEx
|
|
|
|
var wire uint64
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowGenerated
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
b := dAtA[iNdEx]
|
|
|
|
iNdEx++
|
2020-01-14 10:38:55 +00:00
|
|
|
wire |= uint64(b&0x7F) << shift
|
2018-12-19 14:29:25 +00:00
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
fieldNum := int32(wire >> 3)
|
|
|
|
wireType := int(wire & 0x7)
|
|
|
|
if wireType == 4 {
|
|
|
|
return fmt.Errorf("proto: StatefulSetUpdateStrategy: wiretype end group for non-group")
|
|
|
|
}
|
|
|
|
if fieldNum <= 0 {
|
|
|
|
return fmt.Errorf("proto: StatefulSetUpdateStrategy: 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
|
|
|
|
}
|
|
|
|
b := dAtA[iNdEx]
|
|
|
|
iNdEx++
|
2020-01-14 10:38:55 +00:00
|
|
|
stringLen |= uint64(b&0x7F) << shift
|
2018-12-19 14:29:25 +00:00
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
intStringLen := int(stringLen)
|
|
|
|
if intStringLen < 0 {
|
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
|
|
|
postIndex := iNdEx + intStringLen
|
2020-01-14 10:38:55 +00:00
|
|
|
if postIndex < 0 {
|
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
2018-12-19 14:29:25 +00:00
|
|
|
if postIndex > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
m.Type = StatefulSetUpdateStrategyType(dAtA[iNdEx:postIndex])
|
|
|
|
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
|
|
|
|
}
|
|
|
|
b := dAtA[iNdEx]
|
|
|
|
iNdEx++
|
2020-01-14 10:38:55 +00:00
|
|
|
msglen |= int(b&0x7F) << shift
|
2018-12-19 14:29:25 +00:00
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if msglen < 0 {
|
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
|
|
|
postIndex := iNdEx + msglen
|
2020-01-14 10:38:55 +00:00
|
|
|
if postIndex < 0 {
|
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
2018-12-19 14:29:25 +00:00
|
|
|
if postIndex > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
if m.RollingUpdate == nil {
|
|
|
|
m.RollingUpdate = &RollingUpdateStatefulSetStrategy{}
|
|
|
|
}
|
|
|
|
if err := m.RollingUpdate.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
iNdEx = postIndex
|
|
|
|
default:
|
|
|
|
iNdEx = preIndex
|
|
|
|
skippy, err := skipGenerated(dAtA[iNdEx:])
|
|
|
|
if err != nil {
|
|
|
|
return err
|
|
|
|
}
|
2021-05-10 10:45:47 +00:00
|
|
|
if (skippy < 0) || (iNdEx+skippy) < 0 {
|
2020-01-14 10:38:55 +00:00
|
|
|
return ErrInvalidLengthGenerated
|
|
|
|
}
|
2018-12-19 14:29:25 +00:00
|
|
|
if (iNdEx + skippy) > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
iNdEx += skippy
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
if iNdEx > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
func skipGenerated(dAtA []byte) (n int, err error) {
|
|
|
|
l := len(dAtA)
|
|
|
|
iNdEx := 0
|
2020-04-14 07:04:33 +00:00
|
|
|
depth := 0
|
2018-12-19 14:29:25 +00:00
|
|
|
for iNdEx < l {
|
|
|
|
var wire uint64
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return 0, ErrIntOverflowGenerated
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return 0, io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
b := dAtA[iNdEx]
|
|
|
|
iNdEx++
|
|
|
|
wire |= (uint64(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
wireType := int(wire & 0x7)
|
|
|
|
switch wireType {
|
|
|
|
case 0:
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return 0, ErrIntOverflowGenerated
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return 0, io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
iNdEx++
|
|
|
|
if dAtA[iNdEx-1] < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
case 1:
|
|
|
|
iNdEx += 8
|
|
|
|
case 2:
|
|
|
|
var length int
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return 0, ErrIntOverflowGenerated
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return 0, io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
b := dAtA[iNdEx]
|
|
|
|
iNdEx++
|
|
|
|
length |= (int(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if length < 0 {
|
|
|
|
return 0, ErrInvalidLengthGenerated
|
|
|
|
}
|
2020-01-14 10:38:55 +00:00
|
|
|
iNdEx += length
|
2018-12-19 14:29:25 +00:00
|
|
|
case 3:
|
2020-04-14 07:04:33 +00:00
|
|
|
depth++
|
2018-12-19 14:29:25 +00:00
|
|
|
case 4:
|
2020-04-14 07:04:33 +00:00
|
|
|
if depth == 0 {
|
|
|
|
return 0, ErrUnexpectedEndOfGroupGenerated
|
|
|
|
}
|
|
|
|
depth--
|
2018-12-19 14:29:25 +00:00
|
|
|
case 5:
|
|
|
|
iNdEx += 4
|
|
|
|
default:
|
|
|
|
return 0, fmt.Errorf("proto: illegal wireType %d", wireType)
|
|
|
|
}
|
2020-04-14 07:04:33 +00:00
|
|
|
if iNdEx < 0 {
|
|
|
|
return 0, ErrInvalidLengthGenerated
|
|
|
|
}
|
|
|
|
if depth == 0 {
|
|
|
|
return iNdEx, nil
|
|
|
|
}
|
2018-12-19 14:29:25 +00:00
|
|
|
}
|
2020-04-14 07:04:33 +00:00
|
|
|
return 0, io.ErrUnexpectedEOF
|
2018-12-19 14:29:25 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
var (
|
2020-04-14 07:04:33 +00:00
|
|
|
ErrInvalidLengthGenerated = fmt.Errorf("proto: negative length found during unmarshaling")
|
|
|
|
ErrIntOverflowGenerated = fmt.Errorf("proto: integer overflow")
|
|
|
|
ErrUnexpectedEndOfGroupGenerated = fmt.Errorf("proto: unexpected end of group")
|
2018-12-19 14:29:25 +00:00
|
|
|
)
|