mirror of
https://github.com/YuzuZensai/Minikura.git
synced 2026-09-13 10:49:21 +00:00
308 lines
8.7 KiB
Go
308 lines
8.7 KiB
Go
//go:build !ignore_autogenerated
|
|
|
|
// Code generated by controller-gen. DO NOT EDIT.
|
|
|
|
package v1alpha1
|
|
|
|
import (
|
|
"k8s.io/api/core/v1"
|
|
metav1 "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 *EnvVar) DeepCopyInto(out *EnvVar) {
|
|
*out = *in
|
|
if in.ValueFrom != nil {
|
|
in, out := &in.ValueFrom, &out.ValueFrom
|
|
*out = new(v1.EnvVarSource)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EnvVar.
|
|
func (in *EnvVar) DeepCopy() *EnvVar {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(EnvVar)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *JVMOptions) DeepCopyInto(out *JVMOptions) {
|
|
*out = *in
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JVMOptions.
|
|
func (in *JVMOptions) DeepCopy() *JVMOptions {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(JVMOptions)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *MinecraftProperties) DeepCopyInto(out *MinecraftProperties) {
|
|
*out = *in
|
|
if in.PVP != nil {
|
|
in, out := &in.PVP, &out.PVP
|
|
*out = new(bool)
|
|
**out = **in
|
|
}
|
|
if in.OnlineMode != nil {
|
|
in, out := &in.OnlineMode, &out.OnlineMode
|
|
*out = new(bool)
|
|
**out = **in
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MinecraftProperties.
|
|
func (in *MinecraftProperties) DeepCopy() *MinecraftProperties {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(MinecraftProperties)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *MinecraftServer) DeepCopyInto(out *MinecraftServer) {
|
|
*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 MinecraftServer.
|
|
func (in *MinecraftServer) DeepCopy() *MinecraftServer {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(MinecraftServer)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
|
func (in *MinecraftServer) 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 *MinecraftServerList) DeepCopyInto(out *MinecraftServerList) {
|
|
*out = *in
|
|
out.TypeMeta = in.TypeMeta
|
|
in.ListMeta.DeepCopyInto(&out.ListMeta)
|
|
if in.Items != nil {
|
|
in, out := &in.Items, &out.Items
|
|
*out = make([]MinecraftServer, len(*in))
|
|
for i := range *in {
|
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
|
}
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MinecraftServerList.
|
|
func (in *MinecraftServerList) DeepCopy() *MinecraftServerList {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(MinecraftServerList)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
|
func (in *MinecraftServerList) 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 *MinecraftServerSpec) DeepCopyInto(out *MinecraftServerSpec) {
|
|
*out = *in
|
|
out.Resources = in.Resources
|
|
out.JVM = in.JVM
|
|
in.Properties.DeepCopyInto(&out.Properties)
|
|
if in.Env != nil {
|
|
in, out := &in.Env, &out.Env
|
|
*out = make([]EnvVar, len(*in))
|
|
for i := range *in {
|
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
|
}
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MinecraftServerSpec.
|
|
func (in *MinecraftServerSpec) DeepCopy() *MinecraftServerSpec {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(MinecraftServerSpec)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *MinecraftServerStatus) DeepCopyInto(out *MinecraftServerStatus) {
|
|
*out = *in
|
|
if in.Conditions != nil {
|
|
in, out := &in.Conditions, &out.Conditions
|
|
*out = make([]metav1.Condition, len(*in))
|
|
for i := range *in {
|
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
|
}
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MinecraftServerStatus.
|
|
func (in *MinecraftServerStatus) DeepCopy() *MinecraftServerStatus {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(MinecraftServerStatus)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *Resources) DeepCopyInto(out *Resources) {
|
|
*out = *in
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Resources.
|
|
func (in *Resources) DeepCopy() *Resources {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(Resources)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *ReverseProxyServer) DeepCopyInto(out *ReverseProxyServer) {
|
|
*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 ReverseProxyServer.
|
|
func (in *ReverseProxyServer) DeepCopy() *ReverseProxyServer {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(ReverseProxyServer)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
|
func (in *ReverseProxyServer) 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 *ReverseProxyServerList) DeepCopyInto(out *ReverseProxyServerList) {
|
|
*out = *in
|
|
out.TypeMeta = in.TypeMeta
|
|
in.ListMeta.DeepCopyInto(&out.ListMeta)
|
|
if in.Items != nil {
|
|
in, out := &in.Items, &out.Items
|
|
*out = make([]ReverseProxyServer, len(*in))
|
|
for i := range *in {
|
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
|
}
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ReverseProxyServerList.
|
|
func (in *ReverseProxyServerList) DeepCopy() *ReverseProxyServerList {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(ReverseProxyServerList)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
|
func (in *ReverseProxyServerList) 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 *ReverseProxyServerSpec) DeepCopyInto(out *ReverseProxyServerSpec) {
|
|
*out = *in
|
|
out.Resources = in.Resources
|
|
out.JVM = in.JVM
|
|
if in.Env != nil {
|
|
in, out := &in.Env, &out.Env
|
|
*out = make([]EnvVar, len(*in))
|
|
for i := range *in {
|
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
|
}
|
|
}
|
|
if in.BackendSelector != nil {
|
|
in, out := &in.BackendSelector, &out.BackendSelector
|
|
*out = new(metav1.LabelSelector)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ReverseProxyServerSpec.
|
|
func (in *ReverseProxyServerSpec) DeepCopy() *ReverseProxyServerSpec {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(ReverseProxyServerSpec)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *ReverseProxyServerStatus) DeepCopyInto(out *ReverseProxyServerStatus) {
|
|
*out = *in
|
|
if in.Backends != nil {
|
|
in, out := &in.Backends, &out.Backends
|
|
*out = make([]string, len(*in))
|
|
copy(*out, *in)
|
|
}
|
|
if in.Conditions != nil {
|
|
in, out := &in.Conditions, &out.Conditions
|
|
*out = make([]metav1.Condition, len(*in))
|
|
for i := range *in {
|
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
|
}
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ReverseProxyServerStatus.
|
|
func (in *ReverseProxyServerStatus) DeepCopy() *ReverseProxyServerStatus {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(ReverseProxyServerStatus)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|