677 lines
20 KiB
Go
677 lines
20 KiB
Go
//go:build !ignore_autogenerated
|
|
|
|
// Code generated by controller-gen. DO NOT EDIT.
|
|
|
|
package v1alpha1
|
|
|
|
import (
|
|
"k8s.io/api/core/v1"
|
|
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
|
|
"k8s.io/apimachinery/pkg/runtime"
|
|
)
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *EnvVar) DeepCopyInto(out *EnvVar) {
|
|
*out = *in
|
|
if in.Value != nil {
|
|
in, out := &in.Value, &out.Value
|
|
*out = new(string)
|
|
**out = **in
|
|
}
|
|
if in.ValueFrom != nil {
|
|
in, out := &in.ValueFrom, &out.ValueFrom
|
|
*out = new(EnvVarSource)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EnvVar.
|
|
func (in *EnvVar) DeepCopy() *EnvVar {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(EnvVar)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *EnvVarSource) DeepCopyInto(out *EnvVarSource) {
|
|
*out = *in
|
|
if in.SecretKeyRef != nil {
|
|
in, out := &in.SecretKeyRef, &out.SecretKeyRef
|
|
*out = new(v1.SecretKeySelector)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
if in.ConfigMapKeyRef != nil {
|
|
in, out := &in.ConfigMapKeyRef, &out.ConfigMapKeyRef
|
|
*out = new(v1.ConfigMapKeySelector)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EnvVarSource.
|
|
func (in *EnvVarSource) DeepCopy() *EnvVarSource {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(EnvVarSource)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *ExecutionReference) DeepCopyInto(out *ExecutionReference) {
|
|
*out = *in
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExecutionReference.
|
|
func (in *ExecutionReference) DeepCopy() *ExecutionReference {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(ExecutionReference)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *ExecutionResourcePolicy) DeepCopyInto(out *ExecutionResourcePolicy) {
|
|
*out = *in
|
|
in.Defaults.DeepCopyInto(&out.Defaults)
|
|
in.Minimum.DeepCopyInto(&out.Minimum)
|
|
in.Maximum.DeepCopyInto(&out.Maximum)
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExecutionResourcePolicy.
|
|
func (in *ExecutionResourcePolicy) DeepCopy() *ExecutionResourcePolicy {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(ExecutionResourcePolicy)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *ExecutionResourceRequirements) DeepCopyInto(out *ExecutionResourceRequirements) {
|
|
*out = *in
|
|
in.Requests.DeepCopyInto(&out.Requests)
|
|
in.Limits.DeepCopyInto(&out.Limits)
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExecutionResourceRequirements.
|
|
func (in *ExecutionResourceRequirements) DeepCopy() *ExecutionResourceRequirements {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(ExecutionResourceRequirements)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *ExecutionStatus) DeepCopyInto(out *ExecutionStatus) {
|
|
*out = *in
|
|
if in.References != nil {
|
|
in, out := &in.References, &out.References
|
|
*out = make([]ExecutionReference, len(*in))
|
|
copy(*out, *in)
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExecutionStatus.
|
|
func (in *ExecutionStatus) DeepCopy() *ExecutionStatus {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(ExecutionStatus)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *Job) DeepCopyInto(out *Job) {
|
|
*out = *in
|
|
out.TypeMeta = in.TypeMeta
|
|
in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
|
|
in.Spec.DeepCopyInto(&out.Spec)
|
|
in.Status.DeepCopyInto(&out.Status)
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Job.
|
|
func (in *Job) DeepCopy() *Job {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(Job)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
|
func (in *Job) 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 *JobClass) DeepCopyInto(out *JobClass) {
|
|
*out = *in
|
|
out.TypeMeta = in.TypeMeta
|
|
in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
|
|
in.Spec.DeepCopyInto(&out.Spec)
|
|
in.Status.DeepCopyInto(&out.Status)
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JobClass.
|
|
func (in *JobClass) DeepCopy() *JobClass {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(JobClass)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
|
func (in *JobClass) 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 *JobClassList) DeepCopyInto(out *JobClassList) {
|
|
*out = *in
|
|
out.TypeMeta = in.TypeMeta
|
|
in.ListMeta.DeepCopyInto(&out.ListMeta)
|
|
if in.Items != nil {
|
|
in, out := &in.Items, &out.Items
|
|
*out = make([]JobClass, len(*in))
|
|
for i := range *in {
|
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
|
}
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JobClassList.
|
|
func (in *JobClassList) DeepCopy() *JobClassList {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(JobClassList)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
|
func (in *JobClassList) 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 *JobClassSpec) DeepCopyInto(out *JobClassSpec) {
|
|
*out = *in
|
|
out.ParametersRef = in.ParametersRef
|
|
if in.AllowedNamespaces != nil {
|
|
in, out := &in.AllowedNamespaces, &out.AllowedNamespaces
|
|
*out = new(metav1.LabelSelector)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
in.Resources.DeepCopyInto(&out.Resources)
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JobClassSpec.
|
|
func (in *JobClassSpec) DeepCopy() *JobClassSpec {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(JobClassSpec)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *JobClassStatus) DeepCopyInto(out *JobClassStatus) {
|
|
*out = *in
|
|
if in.Conditions != nil {
|
|
in, out := &in.Conditions, &out.Conditions
|
|
*out = make([]metav1.Condition, len(*in))
|
|
for i := range *in {
|
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
|
}
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JobClassStatus.
|
|
func (in *JobClassStatus) DeepCopy() *JobClassStatus {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(JobClassStatus)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *JobList) DeepCopyInto(out *JobList) {
|
|
*out = *in
|
|
out.TypeMeta = in.TypeMeta
|
|
in.ListMeta.DeepCopyInto(&out.ListMeta)
|
|
if in.Items != nil {
|
|
in, out := &in.Items, &out.Items
|
|
*out = make([]Job, len(*in))
|
|
for i := range *in {
|
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
|
}
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JobList.
|
|
func (in *JobList) DeepCopy() *JobList {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(JobList)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
|
func (in *JobList) 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 *JobResult) DeepCopyInto(out *JobResult) {
|
|
*out = *in
|
|
if in.ExitCode != nil {
|
|
in, out := &in.ExitCode, &out.ExitCode
|
|
*out = new(int32)
|
|
**out = **in
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JobResult.
|
|
func (in *JobResult) DeepCopy() *JobResult {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(JobResult)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *JobSpec) DeepCopyInto(out *JobSpec) {
|
|
*out = *in
|
|
in.Task.DeepCopyInto(&out.Task)
|
|
in.Resources.DeepCopyInto(&out.Resources)
|
|
if in.ActiveDeadlineSeconds != nil {
|
|
in, out := &in.ActiveDeadlineSeconds, &out.ActiveDeadlineSeconds
|
|
*out = new(int64)
|
|
**out = **in
|
|
}
|
|
if in.TTLSecondsAfterFinished != nil {
|
|
in, out := &in.TTLSecondsAfterFinished, &out.TTLSecondsAfterFinished
|
|
*out = new(int32)
|
|
**out = **in
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JobSpec.
|
|
func (in *JobSpec) DeepCopy() *JobSpec {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(JobSpec)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *JobStatus) DeepCopyInto(out *JobStatus) {
|
|
*out = *in
|
|
if in.Conditions != nil {
|
|
in, out := &in.Conditions, &out.Conditions
|
|
*out = make([]metav1.Condition, len(*in))
|
|
for i := range *in {
|
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
|
}
|
|
}
|
|
if in.ResolvedJobClass != nil {
|
|
in, out := &in.ResolvedJobClass, &out.ResolvedJobClass
|
|
*out = new(ResolvedJobClassReference)
|
|
**out = **in
|
|
}
|
|
in.EffectiveResources.DeepCopyInto(&out.EffectiveResources)
|
|
if in.Execution != nil {
|
|
in, out := &in.Execution, &out.Execution
|
|
*out = new(ExecutionStatus)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
if in.StartTime != nil {
|
|
in, out := &in.StartTime, &out.StartTime
|
|
*out = (*in).DeepCopy()
|
|
}
|
|
if in.CompletionTime != nil {
|
|
in, out := &in.CompletionTime, &out.CompletionTime
|
|
*out = (*in).DeepCopy()
|
|
}
|
|
if in.Result != nil {
|
|
in, out := &in.Result, &out.Result
|
|
*out = new(JobResult)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JobStatus.
|
|
func (in *JobStatus) DeepCopy() *JobStatus {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(JobStatus)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *KubernetesExecutionParameters) DeepCopyInto(out *KubernetesExecutionParameters) {
|
|
*out = *in
|
|
out.TypeMeta = in.TypeMeta
|
|
in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
|
|
in.Spec.DeepCopyInto(&out.Spec)
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KubernetesExecutionParameters.
|
|
func (in *KubernetesExecutionParameters) DeepCopy() *KubernetesExecutionParameters {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(KubernetesExecutionParameters)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
|
func (in *KubernetesExecutionParameters) 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 *KubernetesExecutionParametersList) DeepCopyInto(out *KubernetesExecutionParametersList) {
|
|
*out = *in
|
|
out.TypeMeta = in.TypeMeta
|
|
in.ListMeta.DeepCopyInto(&out.ListMeta)
|
|
if in.Items != nil {
|
|
in, out := &in.Items, &out.Items
|
|
*out = make([]KubernetesExecutionParameters, len(*in))
|
|
for i := range *in {
|
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
|
}
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KubernetesExecutionParametersList.
|
|
func (in *KubernetesExecutionParametersList) DeepCopy() *KubernetesExecutionParametersList {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(KubernetesExecutionParametersList)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
|
func (in *KubernetesExecutionParametersList) 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 *KubernetesExecutionParametersSpec) DeepCopyInto(out *KubernetesExecutionParametersSpec) {
|
|
*out = *in
|
|
in.Scheduling.DeepCopyInto(&out.Scheduling)
|
|
if in.PodSecurityContext != nil {
|
|
in, out := &in.PodSecurityContext, &out.PodSecurityContext
|
|
*out = new(v1.PodSecurityContext)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KubernetesExecutionParametersSpec.
|
|
func (in *KubernetesExecutionParametersSpec) DeepCopy() *KubernetesExecutionParametersSpec {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(KubernetesExecutionParametersSpec)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *KubernetesSchedulingParameters) DeepCopyInto(out *KubernetesSchedulingParameters) {
|
|
*out = *in
|
|
if in.NodeSelector != nil {
|
|
in, out := &in.NodeSelector, &out.NodeSelector
|
|
*out = make(map[string]string, len(*in))
|
|
for key, val := range *in {
|
|
(*out)[key] = val
|
|
}
|
|
}
|
|
if in.Tolerations != nil {
|
|
in, out := &in.Tolerations, &out.Tolerations
|
|
*out = make([]v1.Toleration, len(*in))
|
|
for i := range *in {
|
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
|
}
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KubernetesSchedulingParameters.
|
|
func (in *KubernetesSchedulingParameters) DeepCopy() *KubernetesSchedulingParameters {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(KubernetesSchedulingParameters)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *NamespacedKeyReference) DeepCopyInto(out *NamespacedKeyReference) {
|
|
*out = *in
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NamespacedKeyReference.
|
|
func (in *NamespacedKeyReference) DeepCopy() *NamespacedKeyReference {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(NamespacedKeyReference)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *OpenSandboxExecutionParameters) DeepCopyInto(out *OpenSandboxExecutionParameters) {
|
|
*out = *in
|
|
out.TypeMeta = in.TypeMeta
|
|
in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
|
|
out.Spec = in.Spec
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OpenSandboxExecutionParameters.
|
|
func (in *OpenSandboxExecutionParameters) DeepCopy() *OpenSandboxExecutionParameters {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(OpenSandboxExecutionParameters)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
|
func (in *OpenSandboxExecutionParameters) 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 *OpenSandboxExecutionParametersList) DeepCopyInto(out *OpenSandboxExecutionParametersList) {
|
|
*out = *in
|
|
out.TypeMeta = in.TypeMeta
|
|
in.ListMeta.DeepCopyInto(&out.ListMeta)
|
|
if in.Items != nil {
|
|
in, out := &in.Items, &out.Items
|
|
*out = make([]OpenSandboxExecutionParameters, len(*in))
|
|
for i := range *in {
|
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
|
}
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OpenSandboxExecutionParametersList.
|
|
func (in *OpenSandboxExecutionParametersList) DeepCopy() *OpenSandboxExecutionParametersList {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(OpenSandboxExecutionParametersList)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
|
func (in *OpenSandboxExecutionParametersList) 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 *OpenSandboxExecutionParametersSpec) DeepCopyInto(out *OpenSandboxExecutionParametersSpec) {
|
|
*out = *in
|
|
out.APIKeySecretRef = in.APIKeySecretRef
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OpenSandboxExecutionParametersSpec.
|
|
func (in *OpenSandboxExecutionParametersSpec) DeepCopy() *OpenSandboxExecutionParametersSpec {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(OpenSandboxExecutionParametersSpec)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *ParametersReference) DeepCopyInto(out *ParametersReference) {
|
|
*out = *in
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ParametersReference.
|
|
func (in *ParametersReference) DeepCopy() *ParametersReference {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(ParametersReference)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *ResolvedJobClassReference) DeepCopyInto(out *ResolvedJobClassReference) {
|
|
*out = *in
|
|
out.ParametersRef = in.ParametersRef
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResolvedJobClassReference.
|
|
func (in *ResolvedJobClassReference) DeepCopy() *ResolvedJobClassReference {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(ResolvedJobClassReference)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *ResourceValues) DeepCopyInto(out *ResourceValues) {
|
|
*out = *in
|
|
if in.CPU != nil {
|
|
in, out := &in.CPU, &out.CPU
|
|
x := (*in).DeepCopy()
|
|
*out = &x
|
|
}
|
|
if in.Memory != nil {
|
|
in, out := &in.Memory, &out.Memory
|
|
x := (*in).DeepCopy()
|
|
*out = &x
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceValues.
|
|
func (in *ResourceValues) DeepCopy() *ResourceValues {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(ResourceValues)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *TaskSpec) DeepCopyInto(out *TaskSpec) {
|
|
*out = *in
|
|
if in.ImagePullSecrets != nil {
|
|
in, out := &in.ImagePullSecrets, &out.ImagePullSecrets
|
|
*out = make([]v1.LocalObjectReference, len(*in))
|
|
copy(*out, *in)
|
|
}
|
|
if in.Command != nil {
|
|
in, out := &in.Command, &out.Command
|
|
*out = make([]string, len(*in))
|
|
copy(*out, *in)
|
|
}
|
|
if in.Args != nil {
|
|
in, out := &in.Args, &out.Args
|
|
*out = make([]string, len(*in))
|
|
copy(*out, *in)
|
|
}
|
|
if in.Env != nil {
|
|
in, out := &in.Env, &out.Env
|
|
*out = make([]EnvVar, len(*in))
|
|
for i := range *in {
|
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
|
}
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TaskSpec.
|
|
func (in *TaskSpec) DeepCopy() *TaskSpec {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(TaskSpec)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|