mirror of
https://github.com/lukaszraczylo/kubernetes-images-sync-operator.git
synced 2026-06-05 22:53:39 +00:00
271 lines
8.0 KiB
Go
271 lines
8.0 KiB
Go
//go:build !ignore_autogenerated
|
|
|
|
/*
|
|
Copyright 2024.
|
|
|
|
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 controller-gen. DO NOT EDIT.
|
|
|
|
package v1
|
|
|
|
import (
|
|
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 *ClusterImage) DeepCopyInto(out *ClusterImage) {
|
|
*out = *in
|
|
out.TypeMeta = in.TypeMeta
|
|
in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
|
|
in.Spec.DeepCopyInto(&out.Spec)
|
|
out.Status = in.Status
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterImage.
|
|
func (in *ClusterImage) DeepCopy() *ClusterImage {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(ClusterImage)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
|
func (in *ClusterImage) 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 *ClusterImageExport) DeepCopyInto(out *ClusterImageExport) {
|
|
*out = *in
|
|
out.TypeMeta = in.TypeMeta
|
|
in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
|
|
in.Spec.DeepCopyInto(&out.Spec)
|
|
out.Status = in.Status
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterImageExport.
|
|
func (in *ClusterImageExport) DeepCopy() *ClusterImageExport {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(ClusterImageExport)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
|
func (in *ClusterImageExport) 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 *ClusterImageExportList) DeepCopyInto(out *ClusterImageExportList) {
|
|
*out = *in
|
|
out.TypeMeta = in.TypeMeta
|
|
in.ListMeta.DeepCopyInto(&out.ListMeta)
|
|
if in.Items != nil {
|
|
in, out := &in.Items, &out.Items
|
|
*out = make([]ClusterImageExport, len(*in))
|
|
for i := range *in {
|
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
|
}
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterImageExportList.
|
|
func (in *ClusterImageExportList) DeepCopy() *ClusterImageExportList {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(ClusterImageExportList)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
|
func (in *ClusterImageExportList) 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 *ClusterImageExportSpec) DeepCopyInto(out *ClusterImageExportSpec) {
|
|
*out = *in
|
|
in.CreatedAt.DeepCopyInto(&out.CreatedAt)
|
|
if in.Excludes != nil {
|
|
in, out := &in.Excludes, &out.Excludes
|
|
*out = make([]string, len(*in))
|
|
copy(*out, *in)
|
|
}
|
|
if in.Includes != nil {
|
|
in, out := &in.Includes, &out.Includes
|
|
*out = make([]string, len(*in))
|
|
copy(*out, *in)
|
|
}
|
|
if in.Namespaces != nil {
|
|
in, out := &in.Namespaces, &out.Namespaces
|
|
*out = make([]string, len(*in))
|
|
copy(*out, *in)
|
|
}
|
|
if in.ExcludedNamespaces != nil {
|
|
in, out := &in.ExcludedNamespaces, &out.ExcludedNamespaces
|
|
*out = make([]string, len(*in))
|
|
copy(*out, *in)
|
|
}
|
|
out.Storage = in.Storage
|
|
if in.JobAnnotations != nil {
|
|
in, out := &in.JobAnnotations, &out.JobAnnotations
|
|
*out = make(map[string]string, len(*in))
|
|
for key, val := range *in {
|
|
(*out)[key] = val
|
|
}
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterImageExportSpec.
|
|
func (in *ClusterImageExportSpec) DeepCopy() *ClusterImageExportSpec {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(ClusterImageExportSpec)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *ClusterImageExportStatus) DeepCopyInto(out *ClusterImageExportStatus) {
|
|
*out = *in
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterImageExportStatus.
|
|
func (in *ClusterImageExportStatus) DeepCopy() *ClusterImageExportStatus {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(ClusterImageExportStatus)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *ClusterImageList) DeepCopyInto(out *ClusterImageList) {
|
|
*out = *in
|
|
out.TypeMeta = in.TypeMeta
|
|
in.ListMeta.DeepCopyInto(&out.ListMeta)
|
|
if in.Items != nil {
|
|
in, out := &in.Items, &out.Items
|
|
*out = make([]ClusterImage, len(*in))
|
|
for i := range *in {
|
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
|
}
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterImageList.
|
|
func (in *ClusterImageList) DeepCopy() *ClusterImageList {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(ClusterImageList)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
|
func (in *ClusterImageList) 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 *ClusterImageSpec) DeepCopyInto(out *ClusterImageSpec) {
|
|
*out = *in
|
|
if in.JobAnnotations != nil {
|
|
in, out := &in.JobAnnotations, &out.JobAnnotations
|
|
*out = make(map[string]string, len(*in))
|
|
for key, val := range *in {
|
|
(*out)[key] = val
|
|
}
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterImageSpec.
|
|
func (in *ClusterImageSpec) DeepCopy() *ClusterImageSpec {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(ClusterImageSpec)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *ClusterImageStatus) DeepCopyInto(out *ClusterImageStatus) {
|
|
*out = *in
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterImageStatus.
|
|
func (in *ClusterImageStatus) DeepCopy() *ClusterImageStatus {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(ClusterImageStatus)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *ClusterImageStorageS3) DeepCopyInto(out *ClusterImageStorageS3) {
|
|
*out = *in
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterImageStorageS3.
|
|
func (in *ClusterImageStorageS3) DeepCopy() *ClusterImageStorageS3 {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(ClusterImageStorageS3)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *ClusterImageStorageSpec) DeepCopyInto(out *ClusterImageStorageSpec) {
|
|
*out = *in
|
|
out.S3 = in.S3
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterImageStorageSpec.
|
|
func (in *ClusterImageStorageSpec) DeepCopy() *ClusterImageStorageSpec {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(ClusterImageStorageSpec)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|