Commit 3e97eb44 authored by Geoff Simmons's avatar Geoff Simmons

Update generated deepcopy for req-disposition config.

parent 9cfe2b74
......@@ -252,6 +252,27 @@ func (in *DirectorSpec) DeepCopy() *DirectorSpec {
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *DispositionSpec) DeepCopyInto(out *DispositionSpec) {
*out = *in
if in.Status != nil {
in, out := &in.Status, &out.Status
*out = new(int64)
**out = **in
}
return
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DispositionSpec.
func (in *DispositionSpec) DeepCopy() *DispositionSpec {
if in == nil {
return nil
}
out := new(DispositionSpec)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *MatchFlagsType) DeepCopyInto(out *MatchFlagsType) {
*out = *in
......@@ -319,6 +340,61 @@ func (in *ProbeSpec) DeepCopy() *ProbeSpec {
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *ReqCondition) DeepCopyInto(out *ReqCondition) {
*out = *in
if in.Values != nil {
in, out := &in.Values, &out.Values
*out = make([]string, len(*in))
copy(*out, *in)
}
if in.MatchFlags != nil {
in, out := &in.MatchFlags, &out.MatchFlags
*out = new(MatchFlagsType)
(*in).DeepCopyInto(*out)
}
if in.Count != nil {
in, out := &in.Count, &out.Count
*out = new(int64)
**out = **in
}
return
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ReqCondition.
func (in *ReqCondition) DeepCopy() *ReqCondition {
if in == nil {
return nil
}
out := new(ReqCondition)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *RequestDispSpec) DeepCopyInto(out *RequestDispSpec) {
*out = *in
if in.Conditions != nil {
in, out := &in.Conditions, &out.Conditions
*out = make([]ReqCondition, len(*in))
for i := range *in {
(*in)[i].DeepCopyInto(&(*out)[i])
}
}
in.Disposition.DeepCopyInto(&out.Disposition)
return
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RequestDispSpec.
func (in *RequestDispSpec) DeepCopy() *RequestDispSpec {
if in == nil {
return nil
}
out := new(RequestDispSpec)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *ResultHdrType) DeepCopyInto(out *ResultHdrType) {
*out = *in
......@@ -488,6 +564,13 @@ func (in *VarnishConfigSpec) DeepCopyInto(out *VarnishConfigSpec) {
(*in)[i].DeepCopyInto(&(*out)[i])
}
}
if in.ReqDispositions != nil {
in, out := &in.ReqDispositions, &out.ReqDispositions
*out = make([]RequestDispSpec, len(*in))
for i := range *in {
(*in)[i].DeepCopyInto(&(*out)[i])
}
}
return
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment