forked from openshift/origin
-
Notifications
You must be signed in to change notification settings - Fork 1
/
zz_generated.deepcopy.go
153 lines (139 loc) · 4.45 KB
/
zz_generated.deepcopy.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
// +build !ignore_autogenerated
// Code generated by deepcopy-gen. DO NOT EDIT.
package imagepolicy
import (
v1 "k8s.io/apimachinery/pkg/apis/meta/v1"
labels "k8s.io/apimachinery/pkg/labels"
runtime "k8s.io/apimachinery/pkg/runtime"
schema "k8s.io/apimachinery/pkg/runtime/schema"
)
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *ImageCondition) DeepCopyInto(out *ImageCondition) {
*out = *in
if in.OnResources != nil {
in, out := &in.OnResources, &out.OnResources
*out = make([]schema.GroupResource, len(*in))
copy(*out, *in)
}
if in.MatchRegistries != nil {
in, out := &in.MatchRegistries, &out.MatchRegistries
*out = make([]string, len(*in))
copy(*out, *in)
}
if in.MatchDockerImageLabels != nil {
in, out := &in.MatchDockerImageLabels, &out.MatchDockerImageLabels
*out = make([]ValueCondition, len(*in))
copy(*out, *in)
}
if in.MatchImageLabels != nil {
in, out := &in.MatchImageLabels, &out.MatchImageLabels
*out = make([]v1.LabelSelector, len(*in))
for i := range *in {
(*in)[i].DeepCopyInto(&(*out)[i])
}
}
if in.MatchImageLabelSelectors != nil {
in, out := &in.MatchImageLabelSelectors, &out.MatchImageLabelSelectors
*out = make([]labels.Selector, len(*in))
for i := range *in {
if (*in)[i] == nil {
(*out)[i] = nil
} else {
(*out)[i] = (*in)[i].DeepCopySelector()
}
}
}
if in.MatchImageAnnotations != nil {
in, out := &in.MatchImageAnnotations, &out.MatchImageAnnotations
*out = make([]ValueCondition, len(*in))
copy(*out, *in)
}
return
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImageCondition.
func (in *ImageCondition) DeepCopy() *ImageCondition {
if in == nil {
return nil
}
out := new(ImageCondition)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *ImageExecutionPolicyRule) DeepCopyInto(out *ImageExecutionPolicyRule) {
*out = *in
in.ImageCondition.DeepCopyInto(&out.ImageCondition)
return
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImageExecutionPolicyRule.
func (in *ImageExecutionPolicyRule) DeepCopy() *ImageExecutionPolicyRule {
if in == nil {
return nil
}
out := new(ImageExecutionPolicyRule)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *ImagePolicyConfig) DeepCopyInto(out *ImagePolicyConfig) {
*out = *in
out.TypeMeta = in.TypeMeta
if in.ResolutionRules != nil {
in, out := &in.ResolutionRules, &out.ResolutionRules
*out = make([]ImageResolutionPolicyRule, len(*in))
copy(*out, *in)
}
if in.ExecutionRules != nil {
in, out := &in.ExecutionRules, &out.ExecutionRules
*out = make([]ImageExecutionPolicyRule, len(*in))
for i := range *in {
(*in)[i].DeepCopyInto(&(*out)[i])
}
}
return
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImagePolicyConfig.
func (in *ImagePolicyConfig) DeepCopy() *ImagePolicyConfig {
if in == nil {
return nil
}
out := new(ImagePolicyConfig)
in.DeepCopyInto(out)
return out
}
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (in *ImagePolicyConfig) DeepCopyObject() runtime.Object {
if c := in.DeepCopy(); c != nil {
return c
}
return nil
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *ImageResolutionPolicyRule) DeepCopyInto(out *ImageResolutionPolicyRule) {
*out = *in
out.TargetResource = in.TargetResource
return
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImageResolutionPolicyRule.
func (in *ImageResolutionPolicyRule) DeepCopy() *ImageResolutionPolicyRule {
if in == nil {
return nil
}
out := new(ImageResolutionPolicyRule)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *ValueCondition) DeepCopyInto(out *ValueCondition) {
*out = *in
return
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ValueCondition.
func (in *ValueCondition) DeepCopy() *ValueCondition {
if in == nil {
return nil
}
out := new(ValueCondition)
in.DeepCopyInto(out)
return out
}