File tree Expand file tree Collapse file tree 1 file changed +17
-0
lines changed Expand file tree Collapse file tree 1 file changed +17
-0
lines changed Original file line number Diff line number Diff line change @@ -45,6 +45,23 @@ func (in *BackendSpec) DeepCopyInto(out *BackendSpec) {
45
45
b , _ := in .Config .MarshalBinary ()
46
46
_ = out .Config .UnmarshalBinary (b )
47
47
}
48
+ if in .Acls != nil {
49
+ out .Acls = make (models.Acls , len (in .Acls ))
50
+ for i , v := range in .Acls {
51
+ b , _ := v .MarshalBinary ()
52
+ out .Acls [i ] = & models.ACL {}
53
+ _ = out .Acls [i ].UnmarshalBinary (b )
54
+ }
55
+ }
56
+
57
+ if in .HTTPRequests != nil {
58
+ out .HTTPRequests = make (models.HTTPRequestRules , len (in .HTTPRequests ))
59
+ for i , v := range in .HTTPRequests {
60
+ b , _ := v .MarshalBinary ()
61
+ out .HTTPRequests [i ] = & models.HTTPRequestRule {}
62
+ _ = out .HTTPRequests [i ].UnmarshalBinary (b )
63
+ }
64
+ }
48
65
}
49
66
50
67
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
You can’t perform that action at this time.
0 commit comments