Generated code

Kubernetes-commit: 37a54d521afa6b65f86426826068a1499b22a4c9
This commit is contained in:
Kenneth Owens 2017-06-12 10:08:46 -07:00 committed by Kubernetes Publisher
parent e12b58626c
commit c2459566d6
11 changed files with 424 additions and 388 deletions

View File

@ -66,11 +66,8 @@ const (
type StatefulSetUpdateStrategy struct { type StatefulSetUpdateStrategy struct {
// Type indicates the type of the StatefulSetUpdateStrategy. // Type indicates the type of the StatefulSetUpdateStrategy.
Type StatefulSetUpdateStrategyType Type StatefulSetUpdateStrategyType
// Partition is used to communicate the ordinal at which to partition // RollingUpdate is used to communicate parameters when Type is RollingUpdateStatefulSetStrategyType.
// the StatefulSet when Type is PartitionStatefulSetStrategyType. This RollingUpdate *RollingUpdateStatefulSetStrategy
// value must be set when Type is PartitionStatefulSetStrategyType,
// and it must be nil otherwise.
Partition *PartitionStatefulSetStrategy
} }
// StatefulSetUpdateStrategyType is a string enumeration type that enumerates // StatefulSetUpdateStrategyType is a string enumeration type that enumerates
@ -78,14 +75,6 @@ type StatefulSetUpdateStrategy struct {
type StatefulSetUpdateStrategyType string type StatefulSetUpdateStrategyType string
const ( const (
// PartitionStatefulSetStrategyType indicates that updates will only be
// applied to a partition of the StatefulSet. This is useful for canaries
// and phased roll outs. When a scale operation is performed with this
// strategy, new Pods will be created from the specification version indicated
// by the StatefulSet's currentRevision if there ordinal is less than the supplied
// Partition's ordinal. Otherwise, they will be created from the specification
// version indicated by the StatefulSet's updateRevision.
PartitionStatefulSetStrategyType StatefulSetUpdateStrategyType = "Partition"
// RollingUpdateStatefulSetStrategyType indicates that update will be // RollingUpdateStatefulSetStrategyType indicates that update will be
// applied to all Pods in the StatefulSet with respect to the StatefulSet // applied to all Pods in the StatefulSet with respect to the StatefulSet
// ordering constraints. When a scale operation is performed with this // ordering constraints. When a scale operation is performed with this
@ -100,12 +89,11 @@ const (
OnDeleteStatefulSetStrategyType = "OnDelete" OnDeleteStatefulSetStrategyType = "OnDelete"
) )
// PartitionStatefulSetStrategy contains the parameters used with the // RollingUpdateStatefulSetStrategy is used to communicate parameter for RollingUpdateStatefulSetStrategyType.
// PartitionStatefulSetStrategyType. type RollingUpdateStatefulSetStrategy struct {
type PartitionStatefulSetStrategy struct { // Partition indicates the ordinal at which the StatefulSet should be
// Ordinal indicates the ordinal at which the StatefulSet should be
// partitioned. // partitioned.
Ordinal int32 Partition int32
} }
// A StatefulSetSpec is the specification of a StatefulSet. // A StatefulSetSpec is the specification of a StatefulSet.

View File

@ -167,22 +167,23 @@ func Convert_apps_StatefulSetSpec_To_v1beta1_StatefulSetSpec(in *apps.StatefulSe
func Convert_v1beta1_StatefulSetUpdateStrategy_To_apps_StatefulSetUpdateStrategy(in *StatefulSetUpdateStrategy, out *apps.StatefulSetUpdateStrategy, s conversion.Scope) error { func Convert_v1beta1_StatefulSetUpdateStrategy_To_apps_StatefulSetUpdateStrategy(in *StatefulSetUpdateStrategy, out *apps.StatefulSetUpdateStrategy, s conversion.Scope) error {
out.Type = apps.StatefulSetUpdateStrategyType(in.Type) out.Type = apps.StatefulSetUpdateStrategyType(in.Type)
if in.Partition != nil { if in.RollingUpdate != nil {
out.Partition = new(apps.PartitionStatefulSetStrategy) out.RollingUpdate = new(apps.RollingUpdateStatefulSetStrategy)
out.Partition.Ordinal = in.Partition.Ordinal out.RollingUpdate.Partition = *in.RollingUpdate.Partition
} else { } else {
out.Partition = nil out.RollingUpdate = nil
} }
return nil return nil
} }
func Convert_apps_StatefulSetUpdateStrategy_To_v1beta1_StatefulSetUpdateStrategy(in *apps.StatefulSetUpdateStrategy, out *StatefulSetUpdateStrategy, s conversion.Scope) error { func Convert_apps_StatefulSetUpdateStrategy_To_v1beta1_StatefulSetUpdateStrategy(in *apps.StatefulSetUpdateStrategy, out *StatefulSetUpdateStrategy, s conversion.Scope) error {
out.Type = StatefulSetUpdateStrategyType(in.Type) out.Type = StatefulSetUpdateStrategyType(in.Type)
if in.Partition != nil { if in.RollingUpdate != nil {
out.Partition = new(PartitionStatefulSetStrategy) out.RollingUpdate = new(RollingUpdateStatefulSetStrategy)
out.Partition.Ordinal = in.Partition.Ordinal out.RollingUpdate.Partition = new(int32)
*out.RollingUpdate.Partition = in.RollingUpdate.Partition
} else { } else {
out.Partition = nil out.RollingUpdate = nil
} }
return nil return nil
} }

View File

@ -53,6 +53,12 @@ func SetDefaults_StatefulSet(obj *StatefulSet) {
obj.Spec.RevisionHistoryLimit = new(int32) obj.Spec.RevisionHistoryLimit = new(int32)
*obj.Spec.RevisionHistoryLimit = 10 *obj.Spec.RevisionHistoryLimit = 10
} }
if obj.Spec.UpdateStrategy.Type == RollingUpdateStatefulSetStrategyType &&
obj.Spec.UpdateStrategy.RollingUpdate != nil &&
obj.Spec.UpdateStrategy.RollingUpdate.Partition == nil {
obj.Spec.UpdateStrategy.RollingUpdate.Partition = new(int32)
*obj.Spec.UpdateStrategy.RollingUpdate.Partition = 0
}
} }

View File

@ -34,9 +34,9 @@ limitations under the License.
DeploymentSpec DeploymentSpec
DeploymentStatus DeploymentStatus
DeploymentStrategy DeploymentStrategy
PartitionStatefulSetStrategy
RollbackConfig RollbackConfig
RollingUpdateDeployment RollingUpdateDeployment
RollingUpdateStatefulSetStrategy
Scale Scale
ScaleSpec ScaleSpec
ScaleStatus ScaleStatus
@ -110,19 +110,19 @@ func (m *DeploymentStrategy) Reset() { *m = DeploymentStrateg
func (*DeploymentStrategy) ProtoMessage() {} func (*DeploymentStrategy) ProtoMessage() {}
func (*DeploymentStrategy) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{8} } func (*DeploymentStrategy) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{8} }
func (m *PartitionStatefulSetStrategy) Reset() { *m = PartitionStatefulSetStrategy{} }
func (*PartitionStatefulSetStrategy) ProtoMessage() {}
func (*PartitionStatefulSetStrategy) Descriptor() ([]byte, []int) {
return fileDescriptorGenerated, []int{9}
}
func (m *RollbackConfig) Reset() { *m = RollbackConfig{} } func (m *RollbackConfig) Reset() { *m = RollbackConfig{} }
func (*RollbackConfig) ProtoMessage() {} func (*RollbackConfig) ProtoMessage() {}
func (*RollbackConfig) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{10} } func (*RollbackConfig) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{9} }
func (m *RollingUpdateDeployment) Reset() { *m = RollingUpdateDeployment{} } func (m *RollingUpdateDeployment) Reset() { *m = RollingUpdateDeployment{} }
func (*RollingUpdateDeployment) ProtoMessage() {} func (*RollingUpdateDeployment) ProtoMessage() {}
func (*RollingUpdateDeployment) Descriptor() ([]byte, []int) { func (*RollingUpdateDeployment) Descriptor() ([]byte, []int) {
return fileDescriptorGenerated, []int{10}
}
func (m *RollingUpdateStatefulSetStrategy) Reset() { *m = RollingUpdateStatefulSetStrategy{} }
func (*RollingUpdateStatefulSetStrategy) ProtoMessage() {}
func (*RollingUpdateStatefulSetStrategy) Descriptor() ([]byte, []int) {
return fileDescriptorGenerated, []int{11} return fileDescriptorGenerated, []int{11}
} }
@ -170,9 +170,9 @@ func init() {
proto.RegisterType((*DeploymentSpec)(nil), "k8s.io.client-go.pkg.apis.apps.v1beta1.DeploymentSpec") proto.RegisterType((*DeploymentSpec)(nil), "k8s.io.client-go.pkg.apis.apps.v1beta1.DeploymentSpec")
proto.RegisterType((*DeploymentStatus)(nil), "k8s.io.client-go.pkg.apis.apps.v1beta1.DeploymentStatus") proto.RegisterType((*DeploymentStatus)(nil), "k8s.io.client-go.pkg.apis.apps.v1beta1.DeploymentStatus")
proto.RegisterType((*DeploymentStrategy)(nil), "k8s.io.client-go.pkg.apis.apps.v1beta1.DeploymentStrategy") proto.RegisterType((*DeploymentStrategy)(nil), "k8s.io.client-go.pkg.apis.apps.v1beta1.DeploymentStrategy")
proto.RegisterType((*PartitionStatefulSetStrategy)(nil), "k8s.io.client-go.pkg.apis.apps.v1beta1.PartitionStatefulSetStrategy")
proto.RegisterType((*RollbackConfig)(nil), "k8s.io.client-go.pkg.apis.apps.v1beta1.RollbackConfig") proto.RegisterType((*RollbackConfig)(nil), "k8s.io.client-go.pkg.apis.apps.v1beta1.RollbackConfig")
proto.RegisterType((*RollingUpdateDeployment)(nil), "k8s.io.client-go.pkg.apis.apps.v1beta1.RollingUpdateDeployment") proto.RegisterType((*RollingUpdateDeployment)(nil), "k8s.io.client-go.pkg.apis.apps.v1beta1.RollingUpdateDeployment")
proto.RegisterType((*RollingUpdateStatefulSetStrategy)(nil), "k8s.io.client-go.pkg.apis.apps.v1beta1.RollingUpdateStatefulSetStrategy")
proto.RegisterType((*Scale)(nil), "k8s.io.client-go.pkg.apis.apps.v1beta1.Scale") proto.RegisterType((*Scale)(nil), "k8s.io.client-go.pkg.apis.apps.v1beta1.Scale")
proto.RegisterType((*ScaleSpec)(nil), "k8s.io.client-go.pkg.apis.apps.v1beta1.ScaleSpec") proto.RegisterType((*ScaleSpec)(nil), "k8s.io.client-go.pkg.apis.apps.v1beta1.ScaleSpec")
proto.RegisterType((*ScaleStatus)(nil), "k8s.io.client-go.pkg.apis.apps.v1beta1.ScaleStatus") proto.RegisterType((*ScaleStatus)(nil), "k8s.io.client-go.pkg.apis.apps.v1beta1.ScaleStatus")
@ -599,27 +599,6 @@ func (m *DeploymentStrategy) MarshalTo(dAtA []byte) (int, error) {
return i, nil return i, nil
} }
func (m *PartitionStatefulSetStrategy) Marshal() (dAtA []byte, err error) {
size := m.Size()
dAtA = make([]byte, size)
n, err := m.MarshalTo(dAtA)
if err != nil {
return nil, err
}
return dAtA[:n], nil
}
func (m *PartitionStatefulSetStrategy) MarshalTo(dAtA []byte) (int, error) {
var i int
_ = i
var l int
_ = l
dAtA[i] = 0x8
i++
i = encodeVarintGenerated(dAtA, i, uint64(m.Ordinal))
return i, nil
}
func (m *RollbackConfig) Marshal() (dAtA []byte, err error) { func (m *RollbackConfig) Marshal() (dAtA []byte, err error) {
size := m.Size() size := m.Size()
dAtA = make([]byte, size) dAtA = make([]byte, size)
@ -679,6 +658,29 @@ func (m *RollingUpdateDeployment) MarshalTo(dAtA []byte) (int, error) {
return i, nil return i, nil
} }
func (m *RollingUpdateStatefulSetStrategy) Marshal() (dAtA []byte, err error) {
size := m.Size()
dAtA = make([]byte, size)
n, err := m.MarshalTo(dAtA)
if err != nil {
return nil, err
}
return dAtA[:n], nil
}
func (m *RollingUpdateStatefulSetStrategy) MarshalTo(dAtA []byte) (int, error) {
var i int
_ = i
var l int
_ = l
if m.Partition != nil {
dAtA[i] = 0x8
i++
i = encodeVarintGenerated(dAtA, i, uint64(*m.Partition))
}
return i, nil
}
func (m *Scale) Marshal() (dAtA []byte, err error) { func (m *Scale) Marshal() (dAtA []byte, err error) {
size := m.Size() size := m.Size()
dAtA = make([]byte, size) dAtA = make([]byte, size)
@ -1000,11 +1002,11 @@ func (m *StatefulSetUpdateStrategy) MarshalTo(dAtA []byte) (int, error) {
i++ i++
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Type))) i = encodeVarintGenerated(dAtA, i, uint64(len(m.Type)))
i += copy(dAtA[i:], m.Type) i += copy(dAtA[i:], m.Type)
if m.Partition != nil { if m.RollingUpdate != nil {
dAtA[i] = 0x12 dAtA[i] = 0x12
i++ i++
i = encodeVarintGenerated(dAtA, i, uint64(m.Partition.Size())) i = encodeVarintGenerated(dAtA, i, uint64(m.RollingUpdate.Size()))
n28, err := m.Partition.MarshalTo(dAtA[i:]) n28, err := m.RollingUpdate.MarshalTo(dAtA[i:])
if err != nil { if err != nil {
return 0, err return 0, err
} }
@ -1189,13 +1191,6 @@ func (m *DeploymentStrategy) Size() (n int) {
return n return n
} }
func (m *PartitionStatefulSetStrategy) Size() (n int) {
var l int
_ = l
n += 1 + sovGenerated(uint64(m.Ordinal))
return n
}
func (m *RollbackConfig) Size() (n int) { func (m *RollbackConfig) Size() (n int) {
var l int var l int
_ = l _ = l
@ -1217,6 +1212,15 @@ func (m *RollingUpdateDeployment) Size() (n int) {
return n return n
} }
func (m *RollingUpdateStatefulSetStrategy) Size() (n int) {
var l int
_ = l
if m.Partition != nil {
n += 1 + sovGenerated(uint64(*m.Partition))
}
return n
}
func (m *Scale) Size() (n int) { func (m *Scale) Size() (n int) {
var l int var l int
_ = l _ = l
@ -1331,8 +1335,8 @@ func (m *StatefulSetUpdateStrategy) Size() (n int) {
_ = l _ = l
l = len(m.Type) l = len(m.Type)
n += 1 + l + sovGenerated(uint64(l)) n += 1 + l + sovGenerated(uint64(l))
if m.Partition != nil { if m.RollingUpdate != nil {
l = m.Partition.Size() l = m.RollingUpdate.Size()
n += 1 + l + sovGenerated(uint64(l)) n += 1 + l + sovGenerated(uint64(l))
} }
return n return n
@ -1480,16 +1484,6 @@ func (this *DeploymentStrategy) String() string {
}, "") }, "")
return s return s
} }
func (this *PartitionStatefulSetStrategy) String() string {
if this == nil {
return "nil"
}
s := strings.Join([]string{`&PartitionStatefulSetStrategy{`,
`Ordinal:` + fmt.Sprintf("%v", this.Ordinal) + `,`,
`}`,
}, "")
return s
}
func (this *RollbackConfig) String() string { func (this *RollbackConfig) String() string {
if this == nil { if this == nil {
return "nil" return "nil"
@ -1511,6 +1505,16 @@ func (this *RollingUpdateDeployment) String() string {
}, "") }, "")
return s return s
} }
func (this *RollingUpdateStatefulSetStrategy) String() string {
if this == nil {
return "nil"
}
s := strings.Join([]string{`&RollingUpdateStatefulSetStrategy{`,
`Partition:` + valueToStringGenerated(this.Partition) + `,`,
`}`,
}, "")
return s
}
func (this *Scale) String() string { func (this *Scale) String() string {
if this == nil { if this == nil {
return "nil" return "nil"
@ -1617,7 +1621,7 @@ func (this *StatefulSetUpdateStrategy) String() string {
} }
s := strings.Join([]string{`&StatefulSetUpdateStrategy{`, s := strings.Join([]string{`&StatefulSetUpdateStrategy{`,
`Type:` + fmt.Sprintf("%v", this.Type) + `,`, `Type:` + fmt.Sprintf("%v", this.Type) + `,`,
`Partition:` + strings.Replace(fmt.Sprintf("%v", this.Partition), "PartitionStatefulSetStrategy", "PartitionStatefulSetStrategy", 1) + `,`, `RollingUpdate:` + strings.Replace(fmt.Sprintf("%v", this.RollingUpdate), "RollingUpdateStatefulSetStrategy", "RollingUpdateStatefulSetStrategy", 1) + `,`,
`}`, `}`,
}, "") }, "")
return s return s
@ -3174,75 +3178,6 @@ func (m *DeploymentStrategy) Unmarshal(dAtA []byte) error {
} }
return nil return nil
} }
func (m *PartitionStatefulSetStrategy) 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: PartitionStatefulSetStrategy: wiretype end group for non-group")
}
if fieldNum <= 0 {
return fmt.Errorf("proto: PartitionStatefulSetStrategy: illegal tag %d (wire type %d)", fieldNum, wire)
}
switch fieldNum {
case 1:
if wireType != 0 {
return fmt.Errorf("proto: wrong wireType = %d for field Ordinal", wireType)
}
m.Ordinal = 0
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowGenerated
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
iNdEx++
m.Ordinal |= (int32(b) & 0x7F) << shift
if b < 0x80 {
break
}
}
default:
iNdEx = preIndex
skippy, err := skipGenerated(dAtA[iNdEx:])
if err != nil {
return err
}
if skippy < 0 {
return ErrInvalidLengthGenerated
}
if (iNdEx + skippy) > l {
return io.ErrUnexpectedEOF
}
iNdEx += skippy
}
}
if iNdEx > l {
return io.ErrUnexpectedEOF
}
return nil
}
func (m *RollbackConfig) Unmarshal(dAtA []byte) error { func (m *RollbackConfig) Unmarshal(dAtA []byte) error {
l := len(dAtA) l := len(dAtA)
iNdEx := 0 iNdEx := 0
@ -3428,6 +3363,76 @@ func (m *RollingUpdateDeployment) Unmarshal(dAtA []byte) error {
} }
return nil 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++
wire |= (uint64(b) & 0x7F) << shift
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++
v |= (int32(b) & 0x7F) << shift
if b < 0x80 {
break
}
}
m.Partition = &v
default:
iNdEx = preIndex
skippy, err := skipGenerated(dAtA[iNdEx:])
if err != nil {
return err
}
if skippy < 0 {
return ErrInvalidLengthGenerated
}
if (iNdEx + skippy) > l {
return io.ErrUnexpectedEOF
}
iNdEx += skippy
}
}
if iNdEx > l {
return io.ErrUnexpectedEOF
}
return nil
}
func (m *Scale) Unmarshal(dAtA []byte) error { func (m *Scale) Unmarshal(dAtA []byte) error {
l := len(dAtA) l := len(dAtA)
iNdEx := 0 iNdEx := 0
@ -4638,7 +4643,7 @@ func (m *StatefulSetUpdateStrategy) Unmarshal(dAtA []byte) error {
iNdEx = postIndex iNdEx = postIndex
case 2: case 2:
if wireType != 2 { if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field Partition", wireType) return fmt.Errorf("proto: wrong wireType = %d for field RollingUpdate", wireType)
} }
var msglen int var msglen int
for shift := uint(0); ; shift += 7 { for shift := uint(0); ; shift += 7 {
@ -4662,10 +4667,10 @@ func (m *StatefulSetUpdateStrategy) Unmarshal(dAtA []byte) error {
if postIndex > l { if postIndex > l {
return io.ErrUnexpectedEOF return io.ErrUnexpectedEOF
} }
if m.Partition == nil { if m.RollingUpdate == nil {
m.Partition = &PartitionStatefulSetStrategy{} m.RollingUpdate = &RollingUpdateStatefulSetStrategy{}
} }
if err := m.Partition.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { if err := m.RollingUpdate.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
return err return err
} }
iNdEx = postIndex iNdEx = postIndex
@ -4800,119 +4805,119 @@ func init() {
} }
var fileDescriptorGenerated = []byte{ var fileDescriptorGenerated = []byte{
// 1818 bytes of a gzipped FileDescriptorProto // 1809 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe4, 0x58, 0x4f, 0x4f, 0x23, 0xc9, 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe4, 0x58, 0x4f, 0x6f, 0x23, 0x49,
0x15, 0xa7, 0xfd, 0x07, 0x4c, 0xb1, 0x98, 0xa1, 0x20, 0xe0, 0x65, 0x37, 0x06, 0xf9, 0xb0, 0xcb, 0x15, 0x4f, 0xfb, 0x4f, 0xe2, 0x54, 0x36, 0xce, 0x4c, 0x25, 0x4c, 0xbc, 0x59, 0x70, 0x22, 0x1f,
0x44, 0x4b, 0x3b, 0xc3, 0x4c, 0x76, 0x67, 0x20, 0x1a, 0x85, 0x66, 0xc8, 0x66, 0x22, 0x08, 0xa8, 0x76, 0xb3, 0xb0, 0x69, 0x33, 0x99, 0x61, 0x77, 0x26, 0x41, 0x23, 0xd2, 0x99, 0x61, 0x19, 0x94,
0x0c, 0xa3, 0xec, 0x64, 0x23, 0x6d, 0xb9, 0x5d, 0xd3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0xf4, 0x2b, 0x6c, 0xd0, 0xe5, 0x1a, 0x00,
0xff, 0xff, 0x4f, 0x0f, 0xec, 0xcc, 0xce, 0x1a, 0x00, 0x00, 0x00,
} }

View File

@ -224,14 +224,6 @@ message DeploymentStrategy {
optional RollingUpdateDeployment rollingUpdate = 2; optional RollingUpdateDeployment rollingUpdate = 2;
} }
// PartitionStatefulSetStrategy contains the parameters used with the
// PartitionStatefulSetStrategyType.
message PartitionStatefulSetStrategy {
// Ordinal indicates the ordinal at which the StatefulSet should be
// partitioned.
optional int32 ordinal = 1;
}
message RollbackConfig { message RollbackConfig {
// The revision to rollback to. If set to 0, rollback to the last revision. // The revision to rollback to. If set to 0, rollback to the last revision.
// +optional // +optional
@ -268,6 +260,13 @@ message RollingUpdateDeployment {
optional k8s.io.apimachinery.pkg.util.intstr.IntOrString maxSurge = 2; optional k8s.io.apimachinery.pkg.util.intstr.IntOrString maxSurge = 2;
} }
// RollingUpdateStatefulSetStrategy is used to communicate parameter for RollingUpdateStatefulSetStrategyType.
message RollingUpdateStatefulSetStrategy {
// Partition indicates the ordinal at which the StatefulSet should be
// partitioned.
optional int32 partition = 1;
}
// Scale represents a scaling request for a resource. // Scale represents a scaling request for a resource.
message Scale { message Scale {
// Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata. // Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata.
@ -436,10 +435,7 @@ message StatefulSetUpdateStrategy {
// Type indicates the type of the StatefulSetUpdateStrategy. // Type indicates the type of the StatefulSetUpdateStrategy.
optional string type = 1; optional string type = 1;
// Partition is used to communicate the ordinal at which to partition // RollingUpdate is used to communicate parameters when Type is RollingUpdateStatefulSetStrategyType.
// the StatefulSet when Type is PartitionStatefulSetStrategyType. This optional RollingUpdateStatefulSetStrategy rollingUpdate = 2;
// value must be set when Type is PartitionStatefulSetStrategyType,
// and it must be nil otherwise.
optional PartitionStatefulSetStrategy partition = 2;
} }

View File

@ -1386,7 +1386,7 @@ func (x *StatefulSetUpdateStrategy) CodecEncodeSelf(e *codec1978.Encoder) {
_, _, _ = yysep2, yyq2, yy2arr2 _, _, _ = yysep2, yyq2, yy2arr2
const yyr2 bool = false const yyr2 bool = false
yyq2[0] = x.Type != "" yyq2[0] = x.Type != ""
yyq2[1] = x.Partition != nil yyq2[1] = x.RollingUpdate != nil
var yynn2 int var yynn2 int
if yyr2 || yy2arr2 { if yyr2 || yy2arr2 {
r.EncodeArrayStart(2) r.EncodeArrayStart(2)
@ -1418,10 +1418,10 @@ func (x *StatefulSetUpdateStrategy) CodecEncodeSelf(e *codec1978.Encoder) {
if yyr2 || yy2arr2 { if yyr2 || yy2arr2 {
z.EncSendContainerState(codecSelfer_containerArrayElem1234) z.EncSendContainerState(codecSelfer_containerArrayElem1234)
if yyq2[1] { if yyq2[1] {
if x.Partition == nil { if x.RollingUpdate == nil {
r.EncodeNil() r.EncodeNil()
} else { } else {
x.Partition.CodecEncodeSelf(e) x.RollingUpdate.CodecEncodeSelf(e)
} }
} else { } else {
r.EncodeNil() r.EncodeNil()
@ -1429,12 +1429,12 @@ func (x *StatefulSetUpdateStrategy) CodecEncodeSelf(e *codec1978.Encoder) {
} else { } else {
if yyq2[1] { if yyq2[1] {
z.EncSendContainerState(codecSelfer_containerMapKey1234) z.EncSendContainerState(codecSelfer_containerMapKey1234)
r.EncodeString(codecSelferC_UTF81234, string("partition")) r.EncodeString(codecSelferC_UTF81234, string("rollingUpdate"))
z.EncSendContainerState(codecSelfer_containerMapValue1234) z.EncSendContainerState(codecSelfer_containerMapValue1234)
if x.Partition == nil { if x.RollingUpdate == nil {
r.EncodeNil() r.EncodeNil()
} else { } else {
x.Partition.CodecEncodeSelf(e) x.RollingUpdate.CodecEncodeSelf(e)
} }
} }
} }
@ -1506,16 +1506,16 @@ func (x *StatefulSetUpdateStrategy) codecDecodeSelfFromMap(l int, d *codec1978.D
yyv4 := &x.Type yyv4 := &x.Type
yyv4.CodecDecodeSelf(d) yyv4.CodecDecodeSelf(d)
} }
case "partition": case "rollingUpdate":
if r.TryDecodeAsNil() { if r.TryDecodeAsNil() {
if x.Partition != nil { if x.RollingUpdate != nil {
x.Partition = nil x.RollingUpdate = nil
} }
} else { } else {
if x.Partition == nil { if x.RollingUpdate == nil {
x.Partition = new(PartitionStatefulSetStrategy) x.RollingUpdate = new(RollingUpdateStatefulSetStrategy)
} }
x.Partition.CodecDecodeSelf(d) x.RollingUpdate.CodecDecodeSelf(d)
} }
default: default:
z.DecStructFieldNotFound(-1, yys3) z.DecStructFieldNotFound(-1, yys3)
@ -1560,14 +1560,14 @@ func (x *StatefulSetUpdateStrategy) codecDecodeSelfFromArray(l int, d *codec1978
} }
z.DecSendContainerState(codecSelfer_containerArrayElem1234) z.DecSendContainerState(codecSelfer_containerArrayElem1234)
if r.TryDecodeAsNil() { if r.TryDecodeAsNil() {
if x.Partition != nil { if x.RollingUpdate != nil {
x.Partition = nil x.RollingUpdate = nil
} }
} else { } else {
if x.Partition == nil { if x.RollingUpdate == nil {
x.Partition = new(PartitionStatefulSetStrategy) x.RollingUpdate = new(RollingUpdateStatefulSetStrategy)
} }
x.Partition.CodecDecodeSelf(d) x.RollingUpdate.CodecDecodeSelf(d)
} }
for { for {
yyj6++ yyj6++
@ -1611,7 +1611,7 @@ func (x *StatefulSetUpdateStrategyType) CodecDecodeSelf(d *codec1978.Decoder) {
} }
} }
func (x *PartitionStatefulSetStrategy) CodecEncodeSelf(e *codec1978.Encoder) { func (x *RollingUpdateStatefulSetStrategy) CodecEncodeSelf(e *codec1978.Encoder) {
var h codecSelfer1234 var h codecSelfer1234
z, r := codec1978.GenHelperEncoder(e) z, r := codec1978.GenHelperEncoder(e)
_, _, _ = h, z, r _, _, _ = h, z, r
@ -1628,11 +1628,12 @@ func (x *PartitionStatefulSetStrategy) CodecEncodeSelf(e *codec1978.Encoder) {
var yyq2 [1]bool var yyq2 [1]bool
_, _, _ = yysep2, yyq2, yy2arr2 _, _, _ = yysep2, yyq2, yy2arr2
const yyr2 bool = false const yyr2 bool = false
yyq2[0] = x.Partition != nil
var yynn2 int var yynn2 int
if yyr2 || yy2arr2 { if yyr2 || yy2arr2 {
r.EncodeArrayStart(1) r.EncodeArrayStart(1)
} else { } else {
yynn2 = 1 yynn2 = 0
for _, b := range yyq2 { for _, b := range yyq2 {
if b { if b {
yynn2++ yynn2++
@ -1643,21 +1644,37 @@ func (x *PartitionStatefulSetStrategy) CodecEncodeSelf(e *codec1978.Encoder) {
} }
if yyr2 || yy2arr2 { if yyr2 || yy2arr2 {
z.EncSendContainerState(codecSelfer_containerArrayElem1234) z.EncSendContainerState(codecSelfer_containerArrayElem1234)
yym4 := z.EncBinary() if yyq2[0] {
_ = yym4 if x.Partition == nil {
if false { r.EncodeNil()
} else { } else {
r.EncodeInt(int64(x.Ordinal)) yy4 := *x.Partition
}
} else {
z.EncSendContainerState(codecSelfer_containerMapKey1234)
r.EncodeString(codecSelferC_UTF81234, string("ordinal"))
z.EncSendContainerState(codecSelfer_containerMapValue1234)
yym5 := z.EncBinary() yym5 := z.EncBinary()
_ = yym5 _ = yym5
if false { if false {
} else { } else {
r.EncodeInt(int64(x.Ordinal)) r.EncodeInt(int64(yy4))
}
}
} else {
r.EncodeNil()
}
} else {
if yyq2[0] {
z.EncSendContainerState(codecSelfer_containerMapKey1234)
r.EncodeString(codecSelferC_UTF81234, string("partition"))
z.EncSendContainerState(codecSelfer_containerMapValue1234)
if x.Partition == nil {
r.EncodeNil()
} else {
yy6 := *x.Partition
yym7 := z.EncBinary()
_ = yym7
if false {
} else {
r.EncodeInt(int64(yy6))
}
}
} }
} }
if yyr2 || yy2arr2 { if yyr2 || yy2arr2 {
@ -1669,7 +1686,7 @@ func (x *PartitionStatefulSetStrategy) CodecEncodeSelf(e *codec1978.Encoder) {
} }
} }
func (x *PartitionStatefulSetStrategy) CodecDecodeSelf(d *codec1978.Decoder) { func (x *RollingUpdateStatefulSetStrategy) CodecDecodeSelf(d *codec1978.Decoder) {
var h codecSelfer1234 var h codecSelfer1234
z, r := codec1978.GenHelperDecoder(d) z, r := codec1978.GenHelperDecoder(d)
_, _, _ = h, z, r _, _, _ = h, z, r
@ -1699,7 +1716,7 @@ func (x *PartitionStatefulSetStrategy) CodecDecodeSelf(d *codec1978.Decoder) {
} }
} }
func (x *PartitionStatefulSetStrategy) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { func (x *RollingUpdateStatefulSetStrategy) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) {
var h codecSelfer1234 var h codecSelfer1234
z, r := codec1978.GenHelperDecoder(d) z, r := codec1978.GenHelperDecoder(d)
_, _, _ = h, z, r _, _, _ = h, z, r
@ -1721,16 +1738,20 @@ func (x *PartitionStatefulSetStrategy) codecDecodeSelfFromMap(l int, d *codec197
yys3 := string(yys3Slc) yys3 := string(yys3Slc)
z.DecSendContainerState(codecSelfer_containerMapValue1234) z.DecSendContainerState(codecSelfer_containerMapValue1234)
switch yys3 { switch yys3 {
case "ordinal": case "partition":
if r.TryDecodeAsNil() { if r.TryDecodeAsNil() {
x.Ordinal = 0 if x.Partition != nil {
x.Partition = nil
}
} else { } else {
yyv4 := &x.Ordinal if x.Partition == nil {
x.Partition = new(int32)
}
yym5 := z.DecBinary() yym5 := z.DecBinary()
_ = yym5 _ = yym5
if false { if false {
} else { } else {
*((*int32)(yyv4)) = int32(r.DecodeInt(32)) *((*int32)(x.Partition)) = int32(r.DecodeInt(32))
} }
} }
default: default:
@ -1740,7 +1761,7 @@ func (x *PartitionStatefulSetStrategy) codecDecodeSelfFromMap(l int, d *codec197
z.DecSendContainerState(codecSelfer_containerMapEnd1234) z.DecSendContainerState(codecSelfer_containerMapEnd1234)
} }
func (x *PartitionStatefulSetStrategy) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { func (x *RollingUpdateStatefulSetStrategy) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) {
var h codecSelfer1234 var h codecSelfer1234
z, r := codec1978.GenHelperDecoder(d) z, r := codec1978.GenHelperDecoder(d)
_, _, _ = h, z, r _, _, _ = h, z, r
@ -1759,14 +1780,18 @@ func (x *PartitionStatefulSetStrategy) codecDecodeSelfFromArray(l int, d *codec1
} }
z.DecSendContainerState(codecSelfer_containerArrayElem1234) z.DecSendContainerState(codecSelfer_containerArrayElem1234)
if r.TryDecodeAsNil() { if r.TryDecodeAsNil() {
x.Ordinal = 0 if x.Partition != nil {
x.Partition = nil
}
} else { } else {
yyv7 := &x.Ordinal if x.Partition == nil {
x.Partition = new(int32)
}
yym8 := z.DecBinary() yym8 := z.DecBinary()
_ = yym8 _ = yym8
if false { if false {
} else { } else {
*((*int32)(yyv7)) = int32(r.DecodeInt(32)) *((*int32)(x.Partition)) = int32(r.DecodeInt(32))
} }
} }
for { for {

View File

@ -118,11 +118,8 @@ const (
type StatefulSetUpdateStrategy struct { type StatefulSetUpdateStrategy struct {
// Type indicates the type of the StatefulSetUpdateStrategy. // Type indicates the type of the StatefulSetUpdateStrategy.
Type StatefulSetUpdateStrategyType `json:"type,omitempty" protobuf:"bytes,1,opt,name=type,casttype=StatefulSetStrategyType"` Type StatefulSetUpdateStrategyType `json:"type,omitempty" protobuf:"bytes,1,opt,name=type,casttype=StatefulSetStrategyType"`
// Partition is used to communicate the ordinal at which to partition // RollingUpdate is used to communicate parameters when Type is RollingUpdateStatefulSetStrategyType.
// the StatefulSet when Type is PartitionStatefulSetStrategyType. This RollingUpdate *RollingUpdateStatefulSetStrategy `json:"rollingUpdate,omitempty" protobuf:"bytes,2,opt,name=rollingUpdate"`
// value must be set when Type is PartitionStatefulSetStrategyType,
// and it must be nil otherwise.
Partition *PartitionStatefulSetStrategy `json:"partition,omitempty" protobuf:"bytes,2,opt,name=partition"`
} }
// StatefulSetUpdateStrategyType is a string enumeration type that enumerates // StatefulSetUpdateStrategyType is a string enumeration type that enumerates
@ -130,14 +127,6 @@ type StatefulSetUpdateStrategy struct {
type StatefulSetUpdateStrategyType string type StatefulSetUpdateStrategyType string
const ( const (
// PartitionStatefulSetStrategyType indicates that updates will only be
// applied to a partition of the StatefulSet. This is useful for canaries
// and phased roll outs. When a scale operation is performed with this
// strategy, new Pods will be created from the specification version indicated
// by the StatefulSet's currentRevision if there ordinal is less than the supplied
// Partition's ordinal. Otherwise, they will be created from the specification
// version indicated by the StatefulSet's updateRevision.
PartitionStatefulSetStrategyType StatefulSetUpdateStrategyType = "Partition"
// RollingUpdateStatefulSetStrategyType indicates that update will be // RollingUpdateStatefulSetStrategyType indicates that update will be
// applied to all Pods in the StatefulSet with respect to the StatefulSet // applied to all Pods in the StatefulSet with respect to the StatefulSet
// ordering constraints. When a scale operation is performed with this // ordering constraints. When a scale operation is performed with this
@ -152,12 +141,11 @@ const (
OnDeleteStatefulSetStrategyType = "OnDelete" OnDeleteStatefulSetStrategyType = "OnDelete"
) )
// PartitionStatefulSetStrategy contains the parameters used with the // RollingUpdateStatefulSetStrategy is used to communicate parameter for RollingUpdateStatefulSetStrategyType.
// PartitionStatefulSetStrategyType. type RollingUpdateStatefulSetStrategy struct {
type PartitionStatefulSetStrategy struct { // Partition indicates the ordinal at which the StatefulSet should be
// Ordinal indicates the ordinal at which the StatefulSet should be
// partitioned. // partitioned.
Ordinal int32 `json:"ordinal" protobuf:"varint,1,opt,name=ordinal"` Partition *int32 `json:"partition,omitempty" protobuf:"varint,1,opt,name=partition"`
} }
// A StatefulSetSpec is the specification of a StatefulSet. // A StatefulSetSpec is the specification of a StatefulSet.

View File

@ -137,15 +137,6 @@ func (DeploymentStrategy) SwaggerDoc() map[string]string {
return map_DeploymentStrategy return map_DeploymentStrategy
} }
var map_PartitionStatefulSetStrategy = map[string]string{
"": "PartitionStatefulSetStrategy contains the parameters used with the PartitionStatefulSetStrategyType.",
"ordinal": "Ordinal indicates the ordinal at which the StatefulSet should be partitioned.",
}
func (PartitionStatefulSetStrategy) SwaggerDoc() map[string]string {
return map_PartitionStatefulSetStrategy
}
var map_RollbackConfig = map[string]string{ var map_RollbackConfig = map[string]string{
"revision": "The revision to rollback to. If set to 0, rollback to the last revision.", "revision": "The revision to rollback to. If set to 0, rollback to the last revision.",
} }
@ -164,6 +155,15 @@ func (RollingUpdateDeployment) SwaggerDoc() map[string]string {
return map_RollingUpdateDeployment return map_RollingUpdateDeployment
} }
var map_RollingUpdateStatefulSetStrategy = map[string]string{
"": "RollingUpdateStatefulSetStrategy is used to communicate parameter for RollingUpdateStatefulSetStrategyType.",
"partition": "Partition indicates the ordinal at which the StatefulSet should be partitioned.",
}
func (RollingUpdateStatefulSetStrategy) SwaggerDoc() map[string]string {
return map_RollingUpdateStatefulSetStrategy
}
var map_Scale = map[string]string{ var map_Scale = map[string]string{
"": "Scale represents a scaling request for a resource.", "": "Scale represents a scaling request for a resource.",
"metadata": "Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata.", "metadata": "Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata.",
@ -247,7 +247,7 @@ func (StatefulSetStatus) SwaggerDoc() map[string]string {
var map_StatefulSetUpdateStrategy = map[string]string{ var map_StatefulSetUpdateStrategy = map[string]string{
"": "StatefulSetUpdateStrategy indicates the strategy that the StatefulSet controller will use to perform updates. It includes any additional parameters necessary to perform the update for the indicated strategy.", "": "StatefulSetUpdateStrategy indicates the strategy that the StatefulSet controller will use to perform updates. It includes any additional parameters necessary to perform the update for the indicated strategy.",
"type": "Type indicates the type of the StatefulSetUpdateStrategy.", "type": "Type indicates the type of the StatefulSetUpdateStrategy.",
"partition": "Partition is used to communicate the ordinal at which to partition the StatefulSet when Type is PartitionStatefulSetStrategyType. This value must be set when Type is PartitionStatefulSetStrategyType, and it must be nil otherwise.", "rollingUpdate": "RollingUpdate is used to communicate parameters when Type is RollingUpdateStatefulSetStrategyType.",
} }
func (StatefulSetUpdateStrategy) SwaggerDoc() map[string]string { func (StatefulSetUpdateStrategy) SwaggerDoc() map[string]string {

View File

@ -42,8 +42,8 @@ func RegisterConversions(scheme *runtime.Scheme) error {
Convert_apps_ControllerRevision_To_v1beta1_ControllerRevision, Convert_apps_ControllerRevision_To_v1beta1_ControllerRevision,
Convert_v1beta1_ControllerRevisionList_To_apps_ControllerRevisionList, Convert_v1beta1_ControllerRevisionList_To_apps_ControllerRevisionList,
Convert_apps_ControllerRevisionList_To_v1beta1_ControllerRevisionList, Convert_apps_ControllerRevisionList_To_v1beta1_ControllerRevisionList,
Convert_v1beta1_PartitionStatefulSetStrategy_To_apps_PartitionStatefulSetStrategy, Convert_v1beta1_RollingUpdateStatefulSetStrategy_To_apps_RollingUpdateStatefulSetStrategy,
Convert_apps_PartitionStatefulSetStrategy_To_v1beta1_PartitionStatefulSetStrategy, Convert_apps_RollingUpdateStatefulSetStrategy_To_v1beta1_RollingUpdateStatefulSetStrategy,
Convert_v1beta1_StatefulSet_To_apps_StatefulSet, Convert_v1beta1_StatefulSet_To_apps_StatefulSet,
Convert_apps_StatefulSet_To_v1beta1_StatefulSet, Convert_apps_StatefulSet_To_v1beta1_StatefulSet,
Convert_v1beta1_StatefulSetList_To_apps_StatefulSetList, Convert_v1beta1_StatefulSetList_To_apps_StatefulSetList,
@ -127,24 +127,28 @@ func Convert_apps_ControllerRevisionList_To_v1beta1_ControllerRevisionList(in *a
return autoConvert_apps_ControllerRevisionList_To_v1beta1_ControllerRevisionList(in, out, s) return autoConvert_apps_ControllerRevisionList_To_v1beta1_ControllerRevisionList(in, out, s)
} }
func autoConvert_v1beta1_PartitionStatefulSetStrategy_To_apps_PartitionStatefulSetStrategy(in *PartitionStatefulSetStrategy, out *apps.PartitionStatefulSetStrategy, s conversion.Scope) error { func autoConvert_v1beta1_RollingUpdateStatefulSetStrategy_To_apps_RollingUpdateStatefulSetStrategy(in *RollingUpdateStatefulSetStrategy, out *apps.RollingUpdateStatefulSetStrategy, s conversion.Scope) error {
out.Ordinal = in.Ordinal if err := v1.Convert_Pointer_int32_To_int32(&in.Partition, &out.Partition, s); err != nil {
return err
}
return nil return nil
} }
// Convert_v1beta1_PartitionStatefulSetStrategy_To_apps_PartitionStatefulSetStrategy is an autogenerated conversion function. // Convert_v1beta1_RollingUpdateStatefulSetStrategy_To_apps_RollingUpdateStatefulSetStrategy is an autogenerated conversion function.
func Convert_v1beta1_PartitionStatefulSetStrategy_To_apps_PartitionStatefulSetStrategy(in *PartitionStatefulSetStrategy, out *apps.PartitionStatefulSetStrategy, s conversion.Scope) error { func Convert_v1beta1_RollingUpdateStatefulSetStrategy_To_apps_RollingUpdateStatefulSetStrategy(in *RollingUpdateStatefulSetStrategy, out *apps.RollingUpdateStatefulSetStrategy, s conversion.Scope) error {
return autoConvert_v1beta1_PartitionStatefulSetStrategy_To_apps_PartitionStatefulSetStrategy(in, out, s) return autoConvert_v1beta1_RollingUpdateStatefulSetStrategy_To_apps_RollingUpdateStatefulSetStrategy(in, out, s)
} }
func autoConvert_apps_PartitionStatefulSetStrategy_To_v1beta1_PartitionStatefulSetStrategy(in *apps.PartitionStatefulSetStrategy, out *PartitionStatefulSetStrategy, s conversion.Scope) error { func autoConvert_apps_RollingUpdateStatefulSetStrategy_To_v1beta1_RollingUpdateStatefulSetStrategy(in *apps.RollingUpdateStatefulSetStrategy, out *RollingUpdateStatefulSetStrategy, s conversion.Scope) error {
out.Ordinal = in.Ordinal if err := v1.Convert_int32_To_Pointer_int32(&in.Partition, &out.Partition, s); err != nil {
return err
}
return nil return nil
} }
// Convert_apps_PartitionStatefulSetStrategy_To_v1beta1_PartitionStatefulSetStrategy is an autogenerated conversion function. // Convert_apps_RollingUpdateStatefulSetStrategy_To_v1beta1_RollingUpdateStatefulSetStrategy is an autogenerated conversion function.
func Convert_apps_PartitionStatefulSetStrategy_To_v1beta1_PartitionStatefulSetStrategy(in *apps.PartitionStatefulSetStrategy, out *PartitionStatefulSetStrategy, s conversion.Scope) error { func Convert_apps_RollingUpdateStatefulSetStrategy_To_v1beta1_RollingUpdateStatefulSetStrategy(in *apps.RollingUpdateStatefulSetStrategy, out *RollingUpdateStatefulSetStrategy, s conversion.Scope) error {
return autoConvert_apps_PartitionStatefulSetStrategy_To_v1beta1_PartitionStatefulSetStrategy(in, out, s) return autoConvert_apps_RollingUpdateStatefulSetStrategy_To_v1beta1_RollingUpdateStatefulSetStrategy(in, out, s)
} }
func autoConvert_v1beta1_StatefulSet_To_apps_StatefulSet(in *StatefulSet, out *apps.StatefulSet, s conversion.Scope) error { func autoConvert_v1beta1_StatefulSet_To_apps_StatefulSet(in *StatefulSet, out *apps.StatefulSet, s conversion.Scope) error {
@ -291,12 +295,28 @@ func Convert_apps_StatefulSetStatus_To_v1beta1_StatefulSetStatus(in *apps.Statef
func autoConvert_v1beta1_StatefulSetUpdateStrategy_To_apps_StatefulSetUpdateStrategy(in *StatefulSetUpdateStrategy, out *apps.StatefulSetUpdateStrategy, s conversion.Scope) error { func autoConvert_v1beta1_StatefulSetUpdateStrategy_To_apps_StatefulSetUpdateStrategy(in *StatefulSetUpdateStrategy, out *apps.StatefulSetUpdateStrategy, s conversion.Scope) error {
out.Type = apps.StatefulSetUpdateStrategyType(in.Type) out.Type = apps.StatefulSetUpdateStrategyType(in.Type)
out.Partition = (*apps.PartitionStatefulSetStrategy)(unsafe.Pointer(in.Partition)) if in.RollingUpdate != nil {
in, out := &in.RollingUpdate, &out.RollingUpdate
*out = new(apps.RollingUpdateStatefulSetStrategy)
if err := Convert_v1beta1_RollingUpdateStatefulSetStrategy_To_apps_RollingUpdateStatefulSetStrategy(*in, *out, s); err != nil {
return err
}
} else {
out.RollingUpdate = nil
}
return nil return nil
} }
func autoConvert_apps_StatefulSetUpdateStrategy_To_v1beta1_StatefulSetUpdateStrategy(in *apps.StatefulSetUpdateStrategy, out *StatefulSetUpdateStrategy, s conversion.Scope) error { func autoConvert_apps_StatefulSetUpdateStrategy_To_v1beta1_StatefulSetUpdateStrategy(in *apps.StatefulSetUpdateStrategy, out *StatefulSetUpdateStrategy, s conversion.Scope) error {
out.Type = StatefulSetUpdateStrategyType(in.Type) out.Type = StatefulSetUpdateStrategyType(in.Type)
out.Partition = (*PartitionStatefulSetStrategy)(unsafe.Pointer(in.Partition)) if in.RollingUpdate != nil {
in, out := &in.RollingUpdate, &out.RollingUpdate
*out = new(RollingUpdateStatefulSetStrategy)
if err := Convert_apps_RollingUpdateStatefulSetStrategy_To_v1beta1_RollingUpdateStatefulSetStrategy(*in, *out, s); err != nil {
return err
}
} else {
out.RollingUpdate = nil
}
return nil return nil
} }

View File

@ -46,9 +46,9 @@ func RegisterDeepCopies(scheme *runtime.Scheme) error {
conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1beta1_DeploymentSpec, InType: reflect.TypeOf(&DeploymentSpec{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1beta1_DeploymentSpec, InType: reflect.TypeOf(&DeploymentSpec{})},
conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1beta1_DeploymentStatus, InType: reflect.TypeOf(&DeploymentStatus{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1beta1_DeploymentStatus, InType: reflect.TypeOf(&DeploymentStatus{})},
conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1beta1_DeploymentStrategy, InType: reflect.TypeOf(&DeploymentStrategy{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1beta1_DeploymentStrategy, InType: reflect.TypeOf(&DeploymentStrategy{})},
conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1beta1_PartitionStatefulSetStrategy, InType: reflect.TypeOf(&PartitionStatefulSetStrategy{})},
conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1beta1_RollbackConfig, InType: reflect.TypeOf(&RollbackConfig{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1beta1_RollbackConfig, InType: reflect.TypeOf(&RollbackConfig{})},
conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1beta1_RollingUpdateDeployment, InType: reflect.TypeOf(&RollingUpdateDeployment{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1beta1_RollingUpdateDeployment, InType: reflect.TypeOf(&RollingUpdateDeployment{})},
conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1beta1_RollingUpdateStatefulSetStrategy, InType: reflect.TypeOf(&RollingUpdateStatefulSetStrategy{})},
conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1beta1_Scale, InType: reflect.TypeOf(&Scale{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1beta1_Scale, InType: reflect.TypeOf(&Scale{})},
conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1beta1_ScaleSpec, InType: reflect.TypeOf(&ScaleSpec{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1beta1_ScaleSpec, InType: reflect.TypeOf(&ScaleSpec{})},
conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1beta1_ScaleStatus, InType: reflect.TypeOf(&ScaleStatus{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1beta1_ScaleStatus, InType: reflect.TypeOf(&ScaleStatus{})},
@ -253,16 +253,6 @@ func DeepCopy_v1beta1_DeploymentStrategy(in interface{}, out interface{}, c *con
} }
} }
// DeepCopy_v1beta1_PartitionStatefulSetStrategy is an autogenerated deepcopy function.
func DeepCopy_v1beta1_PartitionStatefulSetStrategy(in interface{}, out interface{}, c *conversion.Cloner) error {
{
in := in.(*PartitionStatefulSetStrategy)
out := out.(*PartitionStatefulSetStrategy)
*out = *in
return nil
}
}
// DeepCopy_v1beta1_RollbackConfig is an autogenerated deepcopy function. // DeepCopy_v1beta1_RollbackConfig is an autogenerated deepcopy function.
func DeepCopy_v1beta1_RollbackConfig(in interface{}, out interface{}, c *conversion.Cloner) error { func DeepCopy_v1beta1_RollbackConfig(in interface{}, out interface{}, c *conversion.Cloner) error {
{ {
@ -293,6 +283,21 @@ func DeepCopy_v1beta1_RollingUpdateDeployment(in interface{}, out interface{}, c
} }
} }
// DeepCopy_v1beta1_RollingUpdateStatefulSetStrategy is an autogenerated deepcopy function.
func DeepCopy_v1beta1_RollingUpdateStatefulSetStrategy(in interface{}, out interface{}, c *conversion.Cloner) error {
{
in := in.(*RollingUpdateStatefulSetStrategy)
out := out.(*RollingUpdateStatefulSetStrategy)
*out = *in
if in.Partition != nil {
in, out := &in.Partition, &out.Partition
*out = new(int32)
**out = **in
}
return nil
}
}
// DeepCopy_v1beta1_Scale is an autogenerated deepcopy function. // DeepCopy_v1beta1_Scale is an autogenerated deepcopy function.
func DeepCopy_v1beta1_Scale(in interface{}, out interface{}, c *conversion.Cloner) error { func DeepCopy_v1beta1_Scale(in interface{}, out interface{}, c *conversion.Cloner) error {
{ {
@ -442,10 +447,12 @@ func DeepCopy_v1beta1_StatefulSetUpdateStrategy(in interface{}, out interface{},
in := in.(*StatefulSetUpdateStrategy) in := in.(*StatefulSetUpdateStrategy)
out := out.(*StatefulSetUpdateStrategy) out := out.(*StatefulSetUpdateStrategy)
*out = *in *out = *in
if in.Partition != nil { if in.RollingUpdate != nil {
in, out := &in.Partition, &out.Partition in, out := &in.RollingUpdate, &out.RollingUpdate
*out = new(PartitionStatefulSetStrategy) *out = new(RollingUpdateStatefulSetStrategy)
**out = **in if err := DeepCopy_v1beta1_RollingUpdateStatefulSetStrategy(*in, *out, c); err != nil {
return err
}
} }
return nil return nil
} }

View File

@ -38,7 +38,7 @@ func RegisterDeepCopies(scheme *runtime.Scheme) error {
return scheme.AddGeneratedDeepCopyFuncs( return scheme.AddGeneratedDeepCopyFuncs(
conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_apps_ControllerRevision, InType: reflect.TypeOf(&ControllerRevision{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_apps_ControllerRevision, InType: reflect.TypeOf(&ControllerRevision{})},
conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_apps_ControllerRevisionList, InType: reflect.TypeOf(&ControllerRevisionList{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_apps_ControllerRevisionList, InType: reflect.TypeOf(&ControllerRevisionList{})},
conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_apps_PartitionStatefulSetStrategy, InType: reflect.TypeOf(&PartitionStatefulSetStrategy{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_apps_RollingUpdateStatefulSetStrategy, InType: reflect.TypeOf(&RollingUpdateStatefulSetStrategy{})},
conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_apps_StatefulSet, InType: reflect.TypeOf(&StatefulSet{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_apps_StatefulSet, InType: reflect.TypeOf(&StatefulSet{})},
conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_apps_StatefulSetList, InType: reflect.TypeOf(&StatefulSetList{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_apps_StatefulSetList, InType: reflect.TypeOf(&StatefulSetList{})},
conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_apps_StatefulSetSpec, InType: reflect.TypeOf(&StatefulSetSpec{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_apps_StatefulSetSpec, InType: reflect.TypeOf(&StatefulSetSpec{})},
@ -89,11 +89,11 @@ func DeepCopy_apps_ControllerRevisionList(in interface{}, out interface{}, c *co
} }
} }
// DeepCopy_apps_PartitionStatefulSetStrategy is an autogenerated deepcopy function. // DeepCopy_apps_RollingUpdateStatefulSetStrategy is an autogenerated deepcopy function.
func DeepCopy_apps_PartitionStatefulSetStrategy(in interface{}, out interface{}, c *conversion.Cloner) error { func DeepCopy_apps_RollingUpdateStatefulSetStrategy(in interface{}, out interface{}, c *conversion.Cloner) error {
{ {
in := in.(*PartitionStatefulSetStrategy) in := in.(*RollingUpdateStatefulSetStrategy)
out := out.(*PartitionStatefulSetStrategy) out := out.(*RollingUpdateStatefulSetStrategy)
*out = *in *out = *in
return nil return nil
} }
@ -198,9 +198,9 @@ func DeepCopy_apps_StatefulSetUpdateStrategy(in interface{}, out interface{}, c
in := in.(*StatefulSetUpdateStrategy) in := in.(*StatefulSetUpdateStrategy)
out := out.(*StatefulSetUpdateStrategy) out := out.(*StatefulSetUpdateStrategy)
*out = *in *out = *in
if in.Partition != nil { if in.RollingUpdate != nil {
in, out := &in.Partition, &out.Partition in, out := &in.RollingUpdate, &out.RollingUpdate
*out = new(PartitionStatefulSetStrategy) *out = new(RollingUpdateStatefulSetStrategy)
**out = **in **out = **in
} }
return nil return nil