Files
open-cluster-management/vendor/github.com/openshift/api/openshiftcontrolplane/v1/zz_generated.deepcopy.go

624 lines
18 KiB
Go
Generated

// +build !ignore_autogenerated
// Code generated by deepcopy-gen. DO NOT EDIT.
package v1
import (
buildv1 "github.com/openshift/api/build/v1"
configv1 "github.com/openshift/api/config/v1"
corev1 "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 AllowedRegistries) DeepCopyInto(out *AllowedRegistries) {
{
in := &in
*out = make(AllowedRegistries, len(*in))
copy(*out, *in)
return
}
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AllowedRegistries.
func (in AllowedRegistries) DeepCopy() AllowedRegistries {
if in == nil {
return nil
}
out := new(AllowedRegistries)
in.DeepCopyInto(out)
return *out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *BuildControllerConfig) DeepCopyInto(out *BuildControllerConfig) {
*out = *in
out.ImageTemplateFormat = in.ImageTemplateFormat
if in.BuildDefaults != nil {
in, out := &in.BuildDefaults, &out.BuildDefaults
*out = new(BuildDefaultsConfig)
(*in).DeepCopyInto(*out)
}
if in.BuildOverrides != nil {
in, out := &in.BuildOverrides, &out.BuildOverrides
*out = new(BuildOverridesConfig)
(*in).DeepCopyInto(*out)
}
return
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BuildControllerConfig.
func (in *BuildControllerConfig) DeepCopy() *BuildControllerConfig {
if in == nil {
return nil
}
out := new(BuildControllerConfig)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *BuildDefaultsConfig) DeepCopyInto(out *BuildDefaultsConfig) {
*out = *in
out.TypeMeta = in.TypeMeta
if in.Env != nil {
in, out := &in.Env, &out.Env
*out = make([]corev1.EnvVar, len(*in))
for i := range *in {
(*in)[i].DeepCopyInto(&(*out)[i])
}
}
if in.SourceStrategyDefaults != nil {
in, out := &in.SourceStrategyDefaults, &out.SourceStrategyDefaults
*out = new(SourceStrategyDefaultsConfig)
(*in).DeepCopyInto(*out)
}
if in.ImageLabels != nil {
in, out := &in.ImageLabels, &out.ImageLabels
*out = make([]buildv1.ImageLabel, len(*in))
copy(*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.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)
return
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BuildDefaultsConfig.
func (in *BuildDefaultsConfig) DeepCopy() *BuildDefaultsConfig {
if in == nil {
return nil
}
out := new(BuildDefaultsConfig)
in.DeepCopyInto(out)
return out
}
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (in *BuildDefaultsConfig) 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 *BuildOverridesConfig) DeepCopyInto(out *BuildOverridesConfig) {
*out = *in
out.TypeMeta = in.TypeMeta
if in.ForcePull != nil {
in, out := &in.ForcePull, &out.ForcePull
*out = new(bool)
**out = **in
}
if in.ImageLabels != nil {
in, out := &in.ImageLabels, &out.ImageLabels
*out = make([]buildv1.ImageLabel, len(*in))
copy(*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.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.Tolerations != nil {
in, out := &in.Tolerations, &out.Tolerations
*out = make([]corev1.Toleration, len(*in))
for i := range *in {
(*in)[i].DeepCopyInto(&(*out)[i])
}
}
return
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BuildOverridesConfig.
func (in *BuildOverridesConfig) DeepCopy() *BuildOverridesConfig {
if in == nil {
return nil
}
out := new(BuildOverridesConfig)
in.DeepCopyInto(out)
return out
}
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (in *BuildOverridesConfig) 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 *ClusterNetworkEntry) DeepCopyInto(out *ClusterNetworkEntry) {
*out = *in
return
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterNetworkEntry.
func (in *ClusterNetworkEntry) DeepCopy() *ClusterNetworkEntry {
if in == nil {
return nil
}
out := new(ClusterNetworkEntry)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *DeployerControllerConfig) DeepCopyInto(out *DeployerControllerConfig) {
*out = *in
out.ImageTemplateFormat = in.ImageTemplateFormat
return
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeployerControllerConfig.
func (in *DeployerControllerConfig) DeepCopy() *DeployerControllerConfig {
if in == nil {
return nil
}
out := new(DeployerControllerConfig)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *DockerPullSecretControllerConfig) DeepCopyInto(out *DockerPullSecretControllerConfig) {
*out = *in
if in.RegistryURLs != nil {
in, out := &in.RegistryURLs, &out.RegistryURLs
*out = make([]string, len(*in))
copy(*out, *in)
}
return
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DockerPullSecretControllerConfig.
func (in *DockerPullSecretControllerConfig) DeepCopy() *DockerPullSecretControllerConfig {
if in == nil {
return nil
}
out := new(DockerPullSecretControllerConfig)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *FrontProxyConfig) DeepCopyInto(out *FrontProxyConfig) {
*out = *in
if in.AllowedNames != nil {
in, out := &in.AllowedNames, &out.AllowedNames
*out = make([]string, len(*in))
copy(*out, *in)
}
if in.UsernameHeaders != nil {
in, out := &in.UsernameHeaders, &out.UsernameHeaders
*out = make([]string, len(*in))
copy(*out, *in)
}
if in.GroupHeaders != nil {
in, out := &in.GroupHeaders, &out.GroupHeaders
*out = make([]string, len(*in))
copy(*out, *in)
}
if in.ExtraHeaderPrefixes != nil {
in, out := &in.ExtraHeaderPrefixes, &out.ExtraHeaderPrefixes
*out = make([]string, len(*in))
copy(*out, *in)
}
return
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FrontProxyConfig.
func (in *FrontProxyConfig) DeepCopy() *FrontProxyConfig {
if in == nil {
return nil
}
out := new(FrontProxyConfig)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *ImageConfig) DeepCopyInto(out *ImageConfig) {
*out = *in
return
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImageConfig.
func (in *ImageConfig) DeepCopy() *ImageConfig {
if in == nil {
return nil
}
out := new(ImageConfig)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *ImageImportControllerConfig) DeepCopyInto(out *ImageImportControllerConfig) {
*out = *in
return
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImageImportControllerConfig.
func (in *ImageImportControllerConfig) DeepCopy() *ImageImportControllerConfig {
if in == nil {
return nil
}
out := new(ImageImportControllerConfig)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *ImagePolicyConfig) DeepCopyInto(out *ImagePolicyConfig) {
*out = *in
if in.AllowedRegistriesForImport != nil {
in, out := &in.AllowedRegistriesForImport, &out.AllowedRegistriesForImport
*out = make(AllowedRegistries, len(*in))
copy(*out, *in)
}
if in.ExternalRegistryHostnames != nil {
in, out := &in.ExternalRegistryHostnames, &out.ExternalRegistryHostnames
*out = make([]string, len(*in))
copy(*out, *in)
}
return
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImagePolicyConfig.
func (in *ImagePolicyConfig) DeepCopy() *ImagePolicyConfig {
if in == nil {
return nil
}
out := new(ImagePolicyConfig)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *IngressControllerConfig) DeepCopyInto(out *IngressControllerConfig) {
*out = *in
return
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IngressControllerConfig.
func (in *IngressControllerConfig) DeepCopy() *IngressControllerConfig {
if in == nil {
return nil
}
out := new(IngressControllerConfig)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *JenkinsPipelineConfig) DeepCopyInto(out *JenkinsPipelineConfig) {
*out = *in
if in.AutoProvisionEnabled != nil {
in, out := &in.AutoProvisionEnabled, &out.AutoProvisionEnabled
*out = new(bool)
**out = **in
}
if in.Parameters != nil {
in, out := &in.Parameters, &out.Parameters
*out = make(map[string]string, len(*in))
for key, val := range *in {
(*out)[key] = val
}
}
return
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JenkinsPipelineConfig.
func (in *JenkinsPipelineConfig) DeepCopy() *JenkinsPipelineConfig {
if in == nil {
return nil
}
out := new(JenkinsPipelineConfig)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *NetworkControllerConfig) DeepCopyInto(out *NetworkControllerConfig) {
*out = *in
if in.ClusterNetworks != nil {
in, out := &in.ClusterNetworks, &out.ClusterNetworks
*out = make([]ClusterNetworkEntry, len(*in))
copy(*out, *in)
}
return
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkControllerConfig.
func (in *NetworkControllerConfig) DeepCopy() *NetworkControllerConfig {
if in == nil {
return nil
}
out := new(NetworkControllerConfig)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *OpenShiftAPIServerConfig) DeepCopyInto(out *OpenShiftAPIServerConfig) {
*out = *in
out.TypeMeta = in.TypeMeta
in.GenericAPIServerConfig.DeepCopyInto(&out.GenericAPIServerConfig)
in.AggregatorConfig.DeepCopyInto(&out.AggregatorConfig)
in.ImagePolicyConfig.DeepCopyInto(&out.ImagePolicyConfig)
out.ProjectConfig = in.ProjectConfig
out.RoutingConfig = in.RoutingConfig
in.JenkinsPipelineConfig.DeepCopyInto(&out.JenkinsPipelineConfig)
if in.APIServerArguments != nil {
in, out := &in.APIServerArguments, &out.APIServerArguments
*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 OpenShiftAPIServerConfig.
func (in *OpenShiftAPIServerConfig) DeepCopy() *OpenShiftAPIServerConfig {
if in == nil {
return nil
}
out := new(OpenShiftAPIServerConfig)
in.DeepCopyInto(out)
return out
}
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (in *OpenShiftAPIServerConfig) 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 *OpenShiftControllerManagerConfig) DeepCopyInto(out *OpenShiftControllerManagerConfig) {
*out = *in
out.TypeMeta = in.TypeMeta
out.KubeClientConfig = in.KubeClientConfig
if in.ServingInfo != nil {
in, out := &in.ServingInfo, &out.ServingInfo
*out = new(configv1.HTTPServingInfo)
(*in).DeepCopyInto(*out)
}
out.LeaderElection = in.LeaderElection
if in.Controllers != nil {
in, out := &in.Controllers, &out.Controllers
*out = make([]string, len(*in))
copy(*out, *in)
}
out.ResourceQuota = in.ResourceQuota
in.ServiceServingCert.DeepCopyInto(&out.ServiceServingCert)
out.Deployer = in.Deployer
in.Build.DeepCopyInto(&out.Build)
in.ServiceAccount.DeepCopyInto(&out.ServiceAccount)
in.DockerPullSecret.DeepCopyInto(&out.DockerPullSecret)
in.Network.DeepCopyInto(&out.Network)
out.Ingress = in.Ingress
out.ImageImport = in.ImageImport
out.SecurityAllocator = in.SecurityAllocator
return
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OpenShiftControllerManagerConfig.
func (in *OpenShiftControllerManagerConfig) DeepCopy() *OpenShiftControllerManagerConfig {
if in == nil {
return nil
}
out := new(OpenShiftControllerManagerConfig)
in.DeepCopyInto(out)
return out
}
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (in *OpenShiftControllerManagerConfig) 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 *ProjectConfig) DeepCopyInto(out *ProjectConfig) {
*out = *in
return
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProjectConfig.
func (in *ProjectConfig) DeepCopy() *ProjectConfig {
if in == nil {
return nil
}
out := new(ProjectConfig)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *RegistryLocation) DeepCopyInto(out *RegistryLocation) {
*out = *in
return
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RegistryLocation.
func (in *RegistryLocation) DeepCopy() *RegistryLocation {
if in == nil {
return nil
}
out := new(RegistryLocation)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *ResourceQuotaControllerConfig) DeepCopyInto(out *ResourceQuotaControllerConfig) {
*out = *in
out.SyncPeriod = in.SyncPeriod
out.MinResyncPeriod = in.MinResyncPeriod
return
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceQuotaControllerConfig.
func (in *ResourceQuotaControllerConfig) DeepCopy() *ResourceQuotaControllerConfig {
if in == nil {
return nil
}
out := new(ResourceQuotaControllerConfig)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *RoutingConfig) DeepCopyInto(out *RoutingConfig) {
*out = *in
return
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RoutingConfig.
func (in *RoutingConfig) DeepCopy() *RoutingConfig {
if in == nil {
return nil
}
out := new(RoutingConfig)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *SecurityAllocator) DeepCopyInto(out *SecurityAllocator) {
*out = *in
return
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecurityAllocator.
func (in *SecurityAllocator) DeepCopy() *SecurityAllocator {
if in == nil {
return nil
}
out := new(SecurityAllocator)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *ServiceAccountControllerConfig) DeepCopyInto(out *ServiceAccountControllerConfig) {
*out = *in
if in.ManagedNames != nil {
in, out := &in.ManagedNames, &out.ManagedNames
*out = make([]string, len(*in))
copy(*out, *in)
}
return
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceAccountControllerConfig.
func (in *ServiceAccountControllerConfig) DeepCopy() *ServiceAccountControllerConfig {
if in == nil {
return nil
}
out := new(ServiceAccountControllerConfig)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *ServiceServingCert) DeepCopyInto(out *ServiceServingCert) {
*out = *in
if in.Signer != nil {
in, out := &in.Signer, &out.Signer
*out = new(configv1.CertInfo)
**out = **in
}
return
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceServingCert.
func (in *ServiceServingCert) DeepCopy() *ServiceServingCert {
if in == nil {
return nil
}
out := new(ServiceServingCert)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *SourceStrategyDefaultsConfig) DeepCopyInto(out *SourceStrategyDefaultsConfig) {
*out = *in
if in.Incremental != nil {
in, out := &in.Incremental, &out.Incremental
*out = new(bool)
**out = **in
}
return
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SourceStrategyDefaultsConfig.
func (in *SourceStrategyDefaultsConfig) DeepCopy() *SourceStrategyDefaultsConfig {
if in == nil {
return nil
}
out := new(SourceStrategyDefaultsConfig)
in.DeepCopyInto(out)
return out
}