f8c94e43bb
change api group name to seaweedfs.com
260 lines
7.1 KiB
Go
260 lines
7.1 KiB
Go
// +build !ignore_autogenerated
|
|
|
|
// Code generated by operator-sdk. DO NOT EDIT.
|
|
|
|
package v1alpha1
|
|
|
|
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 *ContainerSpec) DeepCopyInto(out *ContainerSpec) {
|
|
*out = *in
|
|
if in.Requests != nil {
|
|
in, out := &in.Requests, &out.Requests
|
|
*out = new(ResourceRequirement)
|
|
**out = **in
|
|
}
|
|
if in.Limits != nil {
|
|
in, out := &in.Limits, &out.Limits
|
|
*out = new(ResourceRequirement)
|
|
**out = **in
|
|
}
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContainerSpec.
|
|
func (in *ContainerSpec) DeepCopy() *ContainerSpec {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(ContainerSpec)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *FilerSpec) DeepCopyInto(out *FilerSpec) {
|
|
*out = *in
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FilerSpec.
|
|
func (in *FilerSpec) DeepCopy() *FilerSpec {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(FilerSpec)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *FilerStatus) DeepCopyInto(out *FilerStatus) {
|
|
*out = *in
|
|
in.ContainerSpec.DeepCopyInto(&out.ContainerSpec)
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FilerStatus.
|
|
func (in *FilerStatus) DeepCopy() *FilerStatus {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(FilerStatus)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *MasterSpec) DeepCopyInto(out *MasterSpec) {
|
|
*out = *in
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MasterSpec.
|
|
func (in *MasterSpec) DeepCopy() *MasterSpec {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(MasterSpec)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *MasterStatus) DeepCopyInto(out *MasterStatus) {
|
|
*out = *in
|
|
in.ContainerSpec.DeepCopyInto(&out.ContainerSpec)
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MasterStatus.
|
|
func (in *MasterStatus) DeepCopy() *MasterStatus {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(MasterStatus)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *ResourceRequirement) DeepCopyInto(out *ResourceRequirement) {
|
|
*out = *in
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceRequirement.
|
|
func (in *ResourceRequirement) DeepCopy() *ResourceRequirement {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(ResourceRequirement)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *SeaweedfsCluster) DeepCopyInto(out *SeaweedfsCluster) {
|
|
*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 SeaweedfsCluster.
|
|
func (in *SeaweedfsCluster) DeepCopy() *SeaweedfsCluster {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(SeaweedfsCluster)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
|
func (in *SeaweedfsCluster) 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 *SeaweedfsClusterList) DeepCopyInto(out *SeaweedfsClusterList) {
|
|
*out = *in
|
|
out.TypeMeta = in.TypeMeta
|
|
out.ListMeta = in.ListMeta
|
|
if in.Items != nil {
|
|
in, out := &in.Items, &out.Items
|
|
*out = make([]SeaweedfsCluster, len(*in))
|
|
for i := range *in {
|
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
|
}
|
|
}
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SeaweedfsClusterList.
|
|
func (in *SeaweedfsClusterList) DeepCopy() *SeaweedfsClusterList {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(SeaweedfsClusterList)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
|
func (in *SeaweedfsClusterList) 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 *SeaweedfsClusterSpec) DeepCopyInto(out *SeaweedfsClusterSpec) {
|
|
*out = *in
|
|
out.Master = in.Master
|
|
if in.Volumes != nil {
|
|
in, out := &in.Volumes, &out.Volumes
|
|
*out = make([]VolumeSpec, len(*in))
|
|
copy(*out, *in)
|
|
}
|
|
out.Filer = in.Filer
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SeaweedfsClusterSpec.
|
|
func (in *SeaweedfsClusterSpec) DeepCopy() *SeaweedfsClusterSpec {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(SeaweedfsClusterSpec)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *SeaweedfsClusterStatus) DeepCopyInto(out *SeaweedfsClusterStatus) {
|
|
*out = *in
|
|
in.Master.DeepCopyInto(&out.Master)
|
|
if in.Volumes != nil {
|
|
in, out := &in.Volumes, &out.Volumes
|
|
*out = make([]VolumesStatus, len(*in))
|
|
for i := range *in {
|
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
|
}
|
|
}
|
|
in.Filer.DeepCopyInto(&out.Filer)
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SeaweedfsClusterStatus.
|
|
func (in *SeaweedfsClusterStatus) DeepCopy() *SeaweedfsClusterStatus {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(SeaweedfsClusterStatus)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *VolumeSpec) DeepCopyInto(out *VolumeSpec) {
|
|
*out = *in
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumeSpec.
|
|
func (in *VolumeSpec) DeepCopy() *VolumeSpec {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(VolumeSpec)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *VolumesStatus) DeepCopyInto(out *VolumesStatus) {
|
|
*out = *in
|
|
in.ContainerSpec.DeepCopyInto(&out.ContainerSpec)
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumesStatus.
|
|
func (in *VolumesStatus) DeepCopy() *VolumesStatus {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(VolumesStatus)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|