snapshots #10
@ -57,6 +57,8 @@ type TargetContainer struct {
|
|||||||
Steps []Step `json:"steps,omitempty"`
|
Steps []Step `json:"steps,omitempty"`
|
||||||
// +kubebuilder:default:=/formol-shared
|
// +kubebuilder:default:=/formol-shared
|
||||||
SharePath string `json:"sharePath"`
|
SharePath string `json:"sharePath"`
|
||||||
|
// +optional
|
||||||
|
Job []Step `json:"job,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
type Target struct {
|
type Target struct {
|
||||||
|
|||||||
@ -614,6 +614,13 @@ func (in *TargetContainer) DeepCopyInto(out *TargetContainer) {
|
|||||||
(*in)[i].DeepCopyInto(&(*out)[i])
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
if in.Job != nil {
|
||||||
|
in, out := &in.Job, &out.Job
|
||||||
|
*out = make([]Step, len(*in))
|
||||||
|
for i := range *in {
|
||||||
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TargetContainer.
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TargetContainer.
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user