354 lines
		
	
	
		
			9.1 KiB
		
	
	
	
		
			Go
		
	
	
	
			
		
		
	
	
			354 lines
		
	
	
		
			9.1 KiB
		
	
	
	
		
			Go
		
	
	
	
| // +build !ignore_autogenerated
 | |
| 
 | |
| // Code generated by deepcopy-gen. DO NOT EDIT.
 | |
| 
 | |
| package v1alpha1
 | |
| 
 | |
| import (
 | |
| 	v1 "k8s.io/api/core/v1"
 | |
| 	runtime "k8s.io/apimachinery/pkg/runtime"
 | |
| )
 | |
| 
 | |
| // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
 | |
| func (in *Build) DeepCopyInto(out *Build) {
 | |
| 	*out = *in
 | |
| 	if in.CreateTime != nil {
 | |
| 		in, out := &in.CreateTime, &out.CreateTime
 | |
| 		*out = (*in).DeepCopy()
 | |
| 	}
 | |
| 	if in.LastUpdateTime != nil {
 | |
| 		in, out := &in.LastUpdateTime, &out.LastUpdateTime
 | |
| 		*out = (*in).DeepCopy()
 | |
| 	}
 | |
| 	return
 | |
| }
 | |
| 
 | |
| // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Build.
 | |
| func (in *Build) DeepCopy() *Build {
 | |
| 	if in == nil {
 | |
| 		return nil
 | |
| 	}
 | |
| 	out := new(Build)
 | |
| 	in.DeepCopyInto(out)
 | |
| 	return out
 | |
| }
 | |
| 
 | |
| // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
 | |
| func (in *Container) DeepCopyInto(out *Container) {
 | |
| 	*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.Ports != nil {
 | |
| 		in, out := &in.Ports, &out.Ports
 | |
| 		*out = make([]v1.ContainerPort, len(*in))
 | |
| 		copy(*out, *in)
 | |
| 	}
 | |
| 	if in.EnvFrom != nil {
 | |
| 		in, out := &in.EnvFrom, &out.EnvFrom
 | |
| 		*out = make([]v1.EnvFromSource, len(*in))
 | |
| 		for i := range *in {
 | |
| 			(*in)[i].DeepCopyInto(&(*out)[i])
 | |
| 		}
 | |
| 	}
 | |
| 	if in.Env != nil {
 | |
| 		in, out := &in.Env, &out.Env
 | |
| 		*out = make([]v1.EnvVar, len(*in))
 | |
| 		for i := range *in {
 | |
| 			(*in)[i].DeepCopyInto(&(*out)[i])
 | |
| 		}
 | |
| 	}
 | |
| 	in.Resources.DeepCopyInto(&out.Resources)
 | |
| 	if in.VolumeMounts != nil {
 | |
| 		in, out := &in.VolumeMounts, &out.VolumeMounts
 | |
| 		*out = make([]v1.VolumeMount, len(*in))
 | |
| 		for i := range *in {
 | |
| 			(*in)[i].DeepCopyInto(&(*out)[i])
 | |
| 		}
 | |
| 	}
 | |
| 	if in.LivenessProbe != nil {
 | |
| 		in, out := &in.LivenessProbe, &out.LivenessProbe
 | |
| 		*out = new(v1.Probe)
 | |
| 		(*in).DeepCopyInto(*out)
 | |
| 	}
 | |
| 	if in.ReadinessProbe != nil {
 | |
| 		in, out := &in.ReadinessProbe, &out.ReadinessProbe
 | |
| 		*out = new(v1.Probe)
 | |
| 		(*in).DeepCopyInto(*out)
 | |
| 	}
 | |
| 	if in.Lifecycle != nil {
 | |
| 		in, out := &in.Lifecycle, &out.Lifecycle
 | |
| 		*out = new(v1.Lifecycle)
 | |
| 		(*in).DeepCopyInto(*out)
 | |
| 	}
 | |
| 	if in.SecurityContext != nil {
 | |
| 		in, out := &in.SecurityContext, &out.SecurityContext
 | |
| 		*out = new(v1.SecurityContext)
 | |
| 		(*in).DeepCopyInto(*out)
 | |
| 	}
 | |
| 	return
 | |
| }
 | |
| 
 | |
| // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Container.
 | |
| func (in *Container) DeepCopy() *Container {
 | |
| 	if in == nil {
 | |
| 		return nil
 | |
| 	}
 | |
| 	out := new(Container)
 | |
| 	in.DeepCopyInto(out)
 | |
| 	return out
 | |
| }
 | |
| 
 | |
| // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
 | |
| func (in *Jenkins) DeepCopyInto(out *Jenkins) {
 | |
| 	*out = *in
 | |
| 	out.TypeMeta = in.TypeMeta
 | |
| 	in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
 | |
| 	in.Spec.DeepCopyInto(&out.Spec)
 | |
| 	in.Status.DeepCopyInto(&out.Status)
 | |
| 	return
 | |
| }
 | |
| 
 | |
| // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Jenkins.
 | |
| func (in *Jenkins) DeepCopy() *Jenkins {
 | |
| 	if in == nil {
 | |
| 		return nil
 | |
| 	}
 | |
| 	out := new(Jenkins)
 | |
| 	in.DeepCopyInto(out)
 | |
| 	return out
 | |
| }
 | |
| 
 | |
| // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
 | |
| func (in *Jenkins) 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 *JenkinsList) DeepCopyInto(out *JenkinsList) {
 | |
| 	*out = *in
 | |
| 	out.TypeMeta = in.TypeMeta
 | |
| 	out.ListMeta = in.ListMeta
 | |
| 	if in.Items != nil {
 | |
| 		in, out := &in.Items, &out.Items
 | |
| 		*out = make([]Jenkins, len(*in))
 | |
| 		for i := range *in {
 | |
| 			(*in)[i].DeepCopyInto(&(*out)[i])
 | |
| 		}
 | |
| 	}
 | |
| 	return
 | |
| }
 | |
| 
 | |
| // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JenkinsList.
 | |
| func (in *JenkinsList) DeepCopy() *JenkinsList {
 | |
| 	if in == nil {
 | |
| 		return nil
 | |
| 	}
 | |
| 	out := new(JenkinsList)
 | |
| 	in.DeepCopyInto(out)
 | |
| 	return out
 | |
| }
 | |
| 
 | |
| // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
 | |
| func (in *JenkinsList) 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 *JenkinsMaster) DeepCopyInto(out *JenkinsMaster) {
 | |
| 	*out = *in
 | |
| 	in.Container.DeepCopyInto(&out.Container)
 | |
| 	if in.Annotations != nil {
 | |
| 		in, out := &in.Annotations, &out.Annotations
 | |
| 		*out = make(map[string]string, len(*in))
 | |
| 		for key, val := range *in {
 | |
| 			(*out)[key] = val
 | |
| 		}
 | |
| 	}
 | |
| 	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.Containers != nil {
 | |
| 		in, out := &in.Containers, &out.Containers
 | |
| 		*out = make([]Container, len(*in))
 | |
| 		for i := range *in {
 | |
| 			(*in)[i].DeepCopyInto(&(*out)[i])
 | |
| 		}
 | |
| 	}
 | |
| 	if in.Volumes != nil {
 | |
| 		in, out := &in.Volumes, &out.Volumes
 | |
| 		*out = make([]v1.Volume, len(*in))
 | |
| 		for i := range *in {
 | |
| 			(*in)[i].DeepCopyInto(&(*out)[i])
 | |
| 		}
 | |
| 	}
 | |
| 	if in.OperatorPlugins != nil {
 | |
| 		in, out := &in.OperatorPlugins, &out.OperatorPlugins
 | |
| 		*out = make(map[string][]string, len(*in))
 | |
| 		for key, val := range *in {
 | |
| 			var outVal []string
 | |
| 			if val == nil {
 | |
| 				(*out)[key] = nil
 | |
| 			} else {
 | |
| 				in, out := &val, &outVal
 | |
| 				*out = make([]string, len(*in))
 | |
| 				copy(*out, *in)
 | |
| 			}
 | |
| 			(*out)[key] = outVal
 | |
| 		}
 | |
| 	}
 | |
| 	if in.Plugins != nil {
 | |
| 		in, out := &in.Plugins, &out.Plugins
 | |
| 		*out = make(map[string][]string, len(*in))
 | |
| 		for key, val := range *in {
 | |
| 			var outVal []string
 | |
| 			if val == nil {
 | |
| 				(*out)[key] = nil
 | |
| 			} else {
 | |
| 				in, out := &val, &outVal
 | |
| 				*out = make([]string, len(*in))
 | |
| 				copy(*out, *in)
 | |
| 			}
 | |
| 			(*out)[key] = outVal
 | |
| 		}
 | |
| 	}
 | |
| 	return
 | |
| }
 | |
| 
 | |
| // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JenkinsMaster.
 | |
| func (in *JenkinsMaster) DeepCopy() *JenkinsMaster {
 | |
| 	if in == nil {
 | |
| 		return nil
 | |
| 	}
 | |
| 	out := new(JenkinsMaster)
 | |
| 	in.DeepCopyInto(out)
 | |
| 	return out
 | |
| }
 | |
| 
 | |
| // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
 | |
| func (in *JenkinsSpec) DeepCopyInto(out *JenkinsSpec) {
 | |
| 	*out = *in
 | |
| 	in.Master.DeepCopyInto(&out.Master)
 | |
| 	if in.SeedJobs != nil {
 | |
| 		in, out := &in.SeedJobs, &out.SeedJobs
 | |
| 		*out = make([]SeedJob, len(*in))
 | |
| 		copy(*out, *in)
 | |
| 	}
 | |
| 	in.Service.DeepCopyInto(&out.Service)
 | |
| 	in.SlaveService.DeepCopyInto(&out.SlaveService)
 | |
| 	return
 | |
| }
 | |
| 
 | |
| // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JenkinsSpec.
 | |
| func (in *JenkinsSpec) DeepCopy() *JenkinsSpec {
 | |
| 	if in == nil {
 | |
| 		return nil
 | |
| 	}
 | |
| 	out := new(JenkinsSpec)
 | |
| 	in.DeepCopyInto(out)
 | |
| 	return out
 | |
| }
 | |
| 
 | |
| // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
 | |
| func (in *JenkinsStatus) DeepCopyInto(out *JenkinsStatus) {
 | |
| 	*out = *in
 | |
| 	if in.ProvisionStartTime != nil {
 | |
| 		in, out := &in.ProvisionStartTime, &out.ProvisionStartTime
 | |
| 		*out = (*in).DeepCopy()
 | |
| 	}
 | |
| 	if in.BaseConfigurationCompletedTime != nil {
 | |
| 		in, out := &in.BaseConfigurationCompletedTime, &out.BaseConfigurationCompletedTime
 | |
| 		*out = (*in).DeepCopy()
 | |
| 	}
 | |
| 	if in.UserConfigurationCompletedTime != nil {
 | |
| 		in, out := &in.UserConfigurationCompletedTime, &out.UserConfigurationCompletedTime
 | |
| 		*out = (*in).DeepCopy()
 | |
| 	}
 | |
| 	if in.Builds != nil {
 | |
| 		in, out := &in.Builds, &out.Builds
 | |
| 		*out = make([]Build, len(*in))
 | |
| 		for i := range *in {
 | |
| 			(*in)[i].DeepCopyInto(&(*out)[i])
 | |
| 		}
 | |
| 	}
 | |
| 	return
 | |
| }
 | |
| 
 | |
| // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JenkinsStatus.
 | |
| func (in *JenkinsStatus) DeepCopy() *JenkinsStatus {
 | |
| 	if in == nil {
 | |
| 		return nil
 | |
| 	}
 | |
| 	out := new(JenkinsStatus)
 | |
| 	in.DeepCopyInto(out)
 | |
| 	return out
 | |
| }
 | |
| 
 | |
| // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
 | |
| func (in *SeedJob) DeepCopyInto(out *SeedJob) {
 | |
| 	*out = *in
 | |
| 	return
 | |
| }
 | |
| 
 | |
| // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SeedJob.
 | |
| func (in *SeedJob) DeepCopy() *SeedJob {
 | |
| 	if in == nil {
 | |
| 		return nil
 | |
| 	}
 | |
| 	out := new(SeedJob)
 | |
| 	in.DeepCopyInto(out)
 | |
| 	return out
 | |
| }
 | |
| 
 | |
| // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
 | |
| func (in *Service) DeepCopyInto(out *Service) {
 | |
| 	*out = *in
 | |
| 	if in.Annotations != nil {
 | |
| 		in, out := &in.Annotations, &out.Annotations
 | |
| 		*out = make(map[string]string, len(*in))
 | |
| 		for key, val := range *in {
 | |
| 			(*out)[key] = val
 | |
| 		}
 | |
| 	}
 | |
| 	if in.Labels != nil {
 | |
| 		in, out := &in.Labels, &out.Labels
 | |
| 		*out = make(map[string]string, len(*in))
 | |
| 		for key, val := range *in {
 | |
| 			(*out)[key] = val
 | |
| 		}
 | |
| 	}
 | |
| 	if in.LoadBalancerSourceRanges != nil {
 | |
| 		in, out := &in.LoadBalancerSourceRanges, &out.LoadBalancerSourceRanges
 | |
| 		*out = make([]string, len(*in))
 | |
| 		copy(*out, *in)
 | |
| 	}
 | |
| 	return
 | |
| }
 | |
| 
 | |
| // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Service.
 | |
| func (in *Service) DeepCopy() *Service {
 | |
| 	if in == nil {
 | |
| 		return nil
 | |
| 	}
 | |
| 	out := new(Service)
 | |
| 	in.DeepCopyInto(out)
 | |
| 	return out
 | |
| }
 |