snapshots #10

Merged
jandre merged 69 commits from snapshots into master 2023-04-24 06:49:52 +00:00
2 changed files with 9 additions and 0 deletions
Showing only changes of commit da8b224cf0 - Show all commits

View File

@ -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 {

View File

@ -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.