267 lines
7.8 KiB
Go
267 lines
7.8 KiB
Go
// +build !ignore_autogenerated
|
|
|
|
/*
|
|
Copyright 2020 The Flux CD contributors.
|
|
|
|
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 v1alpha1
|
|
|
|
import (
|
|
"k8s.io/apimachinery/pkg/apis/meta/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 *ImagePolicy) DeepCopyInto(out *ImagePolicy) {
|
|
*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 ImagePolicy.
|
|
func (in *ImagePolicy) DeepCopy() *ImagePolicy {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(ImagePolicy)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
|
func (in *ImagePolicy) 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 *ImagePolicyChoice) DeepCopyInto(out *ImagePolicyChoice) {
|
|
*out = *in
|
|
if in.SemVer != nil {
|
|
in, out := &in.SemVer, &out.SemVer
|
|
*out = new(SemVerPolicy)
|
|
**out = **in
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImagePolicyChoice.
|
|
func (in *ImagePolicyChoice) DeepCopy() *ImagePolicyChoice {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(ImagePolicyChoice)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *ImagePolicyList) DeepCopyInto(out *ImagePolicyList) {
|
|
*out = *in
|
|
out.TypeMeta = in.TypeMeta
|
|
in.ListMeta.DeepCopyInto(&out.ListMeta)
|
|
if in.Items != nil {
|
|
in, out := &in.Items, &out.Items
|
|
*out = make([]ImagePolicy, len(*in))
|
|
for i := range *in {
|
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
|
}
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImagePolicyList.
|
|
func (in *ImagePolicyList) DeepCopy() *ImagePolicyList {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(ImagePolicyList)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
|
func (in *ImagePolicyList) 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 *ImagePolicySpec) DeepCopyInto(out *ImagePolicySpec) {
|
|
*out = *in
|
|
out.ImageRepositoryRef = in.ImageRepositoryRef
|
|
in.Policy.DeepCopyInto(&out.Policy)
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImagePolicySpec.
|
|
func (in *ImagePolicySpec) DeepCopy() *ImagePolicySpec {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(ImagePolicySpec)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *ImagePolicyStatus) DeepCopyInto(out *ImagePolicyStatus) {
|
|
*out = *in
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImagePolicyStatus.
|
|
func (in *ImagePolicyStatus) DeepCopy() *ImagePolicyStatus {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(ImagePolicyStatus)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *ImageRepository) DeepCopyInto(out *ImageRepository) {
|
|
*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 ImageRepository.
|
|
func (in *ImageRepository) DeepCopy() *ImageRepository {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(ImageRepository)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
|
func (in *ImageRepository) 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 *ImageRepositoryList) DeepCopyInto(out *ImageRepositoryList) {
|
|
*out = *in
|
|
out.TypeMeta = in.TypeMeta
|
|
in.ListMeta.DeepCopyInto(&out.ListMeta)
|
|
if in.Items != nil {
|
|
in, out := &in.Items, &out.Items
|
|
*out = make([]ImageRepository, len(*in))
|
|
for i := range *in {
|
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
|
}
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImageRepositoryList.
|
|
func (in *ImageRepositoryList) DeepCopy() *ImageRepositoryList {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(ImageRepositoryList)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
|
func (in *ImageRepositoryList) 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 *ImageRepositorySpec) DeepCopyInto(out *ImageRepositorySpec) {
|
|
*out = *in
|
|
if in.ScanInterval != nil {
|
|
in, out := &in.ScanInterval, &out.ScanInterval
|
|
*out = new(v1.Duration)
|
|
**out = **in
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImageRepositorySpec.
|
|
func (in *ImageRepositorySpec) DeepCopy() *ImageRepositorySpec {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(ImageRepositorySpec)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *ImageRepositoryStatus) DeepCopyInto(out *ImageRepositoryStatus) {
|
|
*out = *in
|
|
if in.LastScanTime != nil {
|
|
in, out := &in.LastScanTime, &out.LastScanTime
|
|
*out = (*in).DeepCopy()
|
|
}
|
|
out.LastScanResult = in.LastScanResult
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImageRepositoryStatus.
|
|
func (in *ImageRepositoryStatus) DeepCopy() *ImageRepositoryStatus {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(ImageRepositoryStatus)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *ScanResult) DeepCopyInto(out *ScanResult) {
|
|
*out = *in
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ScanResult.
|
|
func (in *ScanResult) DeepCopy() *ScanResult {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(ScanResult)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *SemVerPolicy) DeepCopyInto(out *SemVerPolicy) {
|
|
*out = *in
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SemVerPolicy.
|
|
func (in *SemVerPolicy) DeepCopy() *SemVerPolicy {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(SemVerPolicy)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|