28ba560f8e
Change-Id: I1b97b2aaa8864f3b46ccde7d7f97434d08f5c0df
368 lines
9.9 KiB
Go
368 lines
9.9 KiB
Go
// +build !ignore_autogenerated
|
|
|
|
/*
|
|
|
|
|
|
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 *CPUConfiguration) DeepCopyInto(out *CPUConfiguration) {
|
|
*out = *in
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CPUConfiguration.
|
|
func (in *CPUConfiguration) DeepCopy() *CPUConfiguration {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(CPUConfiguration)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *DiskDrivesTemplate) DeepCopyInto(out *DiskDrivesTemplate) {
|
|
*out = *in
|
|
if in.Options != nil {
|
|
in, out := &in.Options, &out.Options
|
|
*out = new(DiskOptions)
|
|
**out = **in
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DiskDrivesTemplate.
|
|
func (in *DiskDrivesTemplate) DeepCopy() *DiskDrivesTemplate {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(DiskDrivesTemplate)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *DiskOptions) DeepCopyInto(out *DiskOptions) {
|
|
*out = *in
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DiskOptions.
|
|
func (in *DiskOptions) DeepCopy() *DiskOptions {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(DiskOptions)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *InterfaceOptions) DeepCopyInto(out *InterfaceOptions) {
|
|
*out = *in
|
|
if in.InterfaceName != nil {
|
|
in, out := &in.InterfaceName, &out.InterfaceName
|
|
*out = make([]string, len(*in))
|
|
copy(*out, *in)
|
|
}
|
|
if in.BridgeName != nil {
|
|
in, out := &in.BridgeName, &out.BridgeName
|
|
*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 InterfaceOptions.
|
|
func (in *InterfaceOptions) DeepCopy() *InterfaceOptions {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(InterfaceOptions)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *LibvirtTemplate) DeepCopyInto(out *LibvirtTemplate) {
|
|
*out = *in
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LibvirtTemplate.
|
|
func (in *LibvirtTemplate) DeepCopy() *LibvirtTemplate {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(LibvirtTemplate)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *Network) DeepCopyInto(out *Network) {
|
|
*out = *in
|
|
if in.DNSServers != nil {
|
|
in, out := &in.DNSServers, &out.DNSServers
|
|
*out = make([]string, len(*in))
|
|
copy(*out, *in)
|
|
}
|
|
if in.Routes != nil {
|
|
in, out := &in.Routes, &out.Routes
|
|
*out = new(VMRoutes)
|
|
**out = **in
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Network.
|
|
func (in *Network) DeepCopy() *Network {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(Network)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *NetworkInterface) DeepCopyInto(out *NetworkInterface) {
|
|
*out = *in
|
|
if in.Options != nil {
|
|
in, out := &in.Options, &out.Options
|
|
*out = new(InterfaceOptions)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkInterface.
|
|
func (in *NetworkInterface) DeepCopy() *NetworkInterface {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(NetworkInterface)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *NodeSelector) DeepCopyInto(out *NodeSelector) {
|
|
*out = *in
|
|
if in.MatchLabels != nil {
|
|
in, out := &in.MatchLabels, &out.MatchLabels
|
|
*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 NodeSelector.
|
|
func (in *NodeSelector) DeepCopy() *NodeSelector {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(NodeSelector)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *NodeSet) DeepCopyInto(out *NodeSet) {
|
|
*out = *in
|
|
if in.NodeLabel != nil {
|
|
in, out := &in.NodeLabel, &out.NodeLabel
|
|
*out = new(VMNodeFlavor)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
if in.LibvirtTemplateDefinition != nil {
|
|
in, out := &in.LibvirtTemplateDefinition, &out.LibvirtTemplateDefinition
|
|
*out = new(LibvirtTemplate)
|
|
**out = **in
|
|
}
|
|
if in.NetworkInterface != nil {
|
|
in, out := &in.NetworkInterface, &out.NetworkInterface
|
|
*out = new(NetworkInterface)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
if in.DiskDrives != nil {
|
|
in, out := &in.DiskDrives, &out.DiskDrives
|
|
*out = new(DiskDrivesTemplate)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeSet.
|
|
func (in *NodeSet) DeepCopy() *NodeSet {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(NodeSet)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *VMNodeFlavor) DeepCopyInto(out *VMNodeFlavor) {
|
|
*out = *in
|
|
if in.VMFlavor != nil {
|
|
in, out := &in.VMFlavor, &out.VMFlavor
|
|
*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 VMNodeFlavor.
|
|
func (in *VMNodeFlavor) DeepCopy() *VMNodeFlavor {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(VMNodeFlavor)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *VMRoutes) DeepCopyInto(out *VMRoutes) {
|
|
*out = *in
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VMRoutes.
|
|
func (in *VMRoutes) DeepCopy() *VMRoutes {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(VMRoutes)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *Vino) DeepCopyInto(out *Vino) {
|
|
*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 Vino.
|
|
func (in *Vino) DeepCopy() *Vino {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(Vino)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
|
func (in *Vino) 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 *VinoList) DeepCopyInto(out *VinoList) {
|
|
*out = *in
|
|
out.TypeMeta = in.TypeMeta
|
|
in.ListMeta.DeepCopyInto(&out.ListMeta)
|
|
if in.Items != nil {
|
|
in, out := &in.Items, &out.Items
|
|
*out = make([]Vino, len(*in))
|
|
for i := range *in {
|
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
|
}
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VinoList.
|
|
func (in *VinoList) DeepCopy() *VinoList {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(VinoList)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
|
func (in *VinoList) 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 *VinoSpec) DeepCopyInto(out *VinoSpec) {
|
|
*out = *in
|
|
if in.NodeSelector != nil {
|
|
in, out := &in.NodeSelector, &out.NodeSelector
|
|
*out = new(NodeSelector)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
if in.Configuration != nil {
|
|
in, out := &in.Configuration, &out.Configuration
|
|
*out = new(CPUConfiguration)
|
|
**out = **in
|
|
}
|
|
if in.Network != nil {
|
|
in, out := &in.Network, &out.Network
|
|
*out = new(Network)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
if in.Node != nil {
|
|
in, out := &in.Node, &out.Node
|
|
*out = make([]NodeSet, len(*in))
|
|
for i := range *in {
|
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
|
}
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VinoSpec.
|
|
func (in *VinoSpec) DeepCopy() *VinoSpec {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(VinoSpec)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *VinoStatus) DeepCopyInto(out *VinoStatus) {
|
|
*out = *in
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VinoStatus.
|
|
func (in *VinoStatus) DeepCopy() *VinoStatus {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(VinoStatus)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|