* Copyright (c) 2024 Huawei Technologies Co., Ltd.
* openFuyao is licensed under Mulan PSL v2.
* You can use this software according to the terms and conditions of the Mulan PSL v2.
* You may obtain a copy of Mulan PSL v2 at:
* http://license.coscl.org.cn/MulanPSL2
* THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
* EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
* MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
* See the Mulan PSL v2 for more details.
*/
package v1
import (
runtime "k8s.io/apimachinery/pkg/runtime"
)
func (in *ColocationWorkloadMatchRule) DeepCopyInto(out *ColocationWorkloadMatchRule) {
*out = *in
out.TypeMeta = in.TypeMeta
in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
out.Spec = in.Spec
out.Status = in.Status
}
func (in *ColocationWorkloadMatchRule) DeepCopy() *ColocationWorkloadMatchRule {
if in == nil {
return nil
}
out := new(ColocationWorkloadMatchRule)
in.DeepCopyInto(out)
return out
}
func (in *ColocationWorkloadMatchRule) DeepCopyObject() runtime.Object {
if c := in.DeepCopy(); c != nil {
return c
}
return nil
}
func (in *ColocationWorkloadMatchRuleList) DeepCopyInto(out *ColocationWorkloadMatchRuleList) {
*out = *in
out.TypeMeta = in.TypeMeta
in.ListMeta.DeepCopyInto(&out.ListMeta)
if in.Items != nil {
in, out := &in.Items, &out.Items
*out = make([]ColocationWorkloadMatchRule, len(*in))
for i := range *in {
(*in)[i].DeepCopyInto(&(*out)[i])
}
}
}
func (in *ColocationWorkloadMatchRuleList) DeepCopy() *ColocationWorkloadMatchRuleList {
if in == nil {
return nil
}
out := new(ColocationWorkloadMatchRuleList)
in.DeepCopyInto(out)
return out
}
func (in *ColocationWorkloadMatchRuleList) DeepCopyObject() runtime.Object {
if c := in.DeepCopy(); c != nil {
return c
}
return nil
}
func (in *ColocationWorkloadMatchRuleSpec) DeepCopyInto(out *ColocationWorkloadMatchRuleSpec) {
*out = *in
}
func (in *ColocationWorkloadMatchRuleSpec) DeepCopy() *ColocationWorkloadMatchRuleSpec {
if in == nil {
return nil
}
out := new(ColocationWorkloadMatchRuleSpec)
in.DeepCopyInto(out)
return out
}
func (in *ColocationWorkloadMatchRuleStatus) DeepCopyInto(out *ColocationWorkloadMatchRuleStatus) {
*out = *in
}
func (in *ColocationWorkloadMatchRuleStatus) DeepCopy() *ColocationWorkloadMatchRuleStatus {
if in == nil {
return nil
}
out := new(ColocationWorkloadMatchRuleStatus)
in.DeepCopyInto(out)
return out
}