145 lines
4.1 KiB
Go
145 lines
4.1 KiB
Go
// +build !ignore_autogenerated
|
|
|
|
/*
|
|
Copyright 2018 The Crossplane 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 main. DO NOT EDIT.
|
|
|
|
package v1alpha1
|
|
|
|
import (
|
|
s3 "github.com/aws/aws-sdk-go-v2/service/s3"
|
|
storagev1alpha1 "github.com/crossplaneio/crossplane/pkg/apis/storage/v1alpha1"
|
|
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 *S3Bucket) DeepCopyInto(out *S3Bucket) {
|
|
*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 S3Bucket.
|
|
func (in *S3Bucket) DeepCopy() *S3Bucket {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(S3Bucket)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
|
func (in *S3Bucket) 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 *S3BucketList) DeepCopyInto(out *S3BucketList) {
|
|
*out = *in
|
|
out.TypeMeta = in.TypeMeta
|
|
out.ListMeta = in.ListMeta
|
|
if in.Items != nil {
|
|
in, out := &in.Items, &out.Items
|
|
*out = make([]S3Bucket, len(*in))
|
|
for i := range *in {
|
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
|
}
|
|
}
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new S3BucketList.
|
|
func (in *S3BucketList) DeepCopy() *S3BucketList {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(S3BucketList)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
|
func (in *S3BucketList) 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 *S3BucketSpec) DeepCopyInto(out *S3BucketSpec) {
|
|
*out = *in
|
|
if in.CannedACL != nil {
|
|
in, out := &in.CannedACL, &out.CannedACL
|
|
*out = new(s3.BucketCannedACL)
|
|
**out = **in
|
|
}
|
|
if in.LocalPermission != nil {
|
|
in, out := &in.LocalPermission, &out.LocalPermission
|
|
*out = new(storagev1alpha1.LocalPermissionType)
|
|
**out = **in
|
|
}
|
|
out.ProviderRef = in.ProviderRef
|
|
if in.ClaimRef != nil {
|
|
in, out := &in.ClaimRef, &out.ClaimRef
|
|
*out = new(v1.ObjectReference)
|
|
**out = **in
|
|
}
|
|
if in.ClassRef != nil {
|
|
in, out := &in.ClassRef, &out.ClassRef
|
|
*out = new(v1.ObjectReference)
|
|
**out = **in
|
|
}
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new S3BucketSpec.
|
|
func (in *S3BucketSpec) DeepCopy() *S3BucketSpec {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(S3BucketSpec)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *S3BucketStatus) DeepCopyInto(out *S3BucketStatus) {
|
|
*out = *in
|
|
in.DeprecatedConditionedStatus.DeepCopyInto(&out.DeprecatedConditionedStatus)
|
|
out.BindingStatusPhase = in.BindingStatusPhase
|
|
out.ConnectionSecretRef = in.ConnectionSecretRef
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new S3BucketStatus.
|
|
func (in *S3BucketStatus) DeepCopy() *S3BucketStatus {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(S3BucketStatus)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|