259 lines
6.8 KiB
Go
259 lines
6.8 KiB
Go
// +build !ignore_autogenerated
|
|
|
|
/*
|
|
Copyright The Kubernetes Authors.
|
|
|
|
Licensed under the Apache License, Version 2.0 (the "License");
|
|
you may not use this file except in compliance with the License.
|
|
You may obtain a copy of the License at
|
|
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
Unless required by applicable law or agreed to in writing, software
|
|
distributed under the License is distributed on an "AS IS" BASIS,
|
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
See the License for the specific language governing permissions and
|
|
limitations under the License.
|
|
*/
|
|
|
|
// 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 *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
|
|
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
|
|
}
|
|
}
|
|
in.Resources.DeepCopyInto(&out.Resources)
|
|
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))
|
|
for i := range *in {
|
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
|
}
|
|
}
|
|
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.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 *PrivateKey) DeepCopyInto(out *PrivateKey) {
|
|
*out = *in
|
|
if in.SecretKeyRef != nil {
|
|
in, out := &in.SecretKeyRef, &out.SecretKeyRef
|
|
*out = new(v1.SecretKeySelector)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PrivateKey.
|
|
func (in *PrivateKey) DeepCopy() *PrivateKey {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(PrivateKey)
|
|
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
|
|
in.PrivateKey.DeepCopyInto(&out.PrivateKey)
|
|
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
|
|
}
|