
This initial commit includes support for Mcrouter, Memcached, basic CI tests as well as Helm charts for deploying things. Depends-On: https://review.opendev.org/713107 Depends-On: https://review.opendev.org/713115 Change-Id: I0b1ab6d8e716460e095bc3953614e336620f984e
231 lines
6.4 KiB
Go
231 lines
6.4 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 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 *Mcrouter) DeepCopyInto(out *Mcrouter) {
|
|
*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 Mcrouter.
|
|
func (in *Mcrouter) DeepCopy() *Mcrouter {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(Mcrouter)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
|
func (in *Mcrouter) 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 *McrouterList) DeepCopyInto(out *McrouterList) {
|
|
*out = *in
|
|
out.TypeMeta = in.TypeMeta
|
|
in.ListMeta.DeepCopyInto(&out.ListMeta)
|
|
if in.Items != nil {
|
|
in, out := &in.Items, &out.Items
|
|
*out = make([]Mcrouter, len(*in))
|
|
for i := range *in {
|
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
|
}
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new McrouterList.
|
|
func (in *McrouterList) DeepCopy() *McrouterList {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(McrouterList)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
|
func (in *McrouterList) 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 *McrouterPoolSpec) DeepCopyInto(out *McrouterPoolSpec) {
|
|
*out = *in
|
|
if in.Servers != nil {
|
|
in, out := &in.Servers, &out.Servers
|
|
*out = make([]string, len(*in))
|
|
copy(*out, *in)
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new McrouterPoolSpec.
|
|
func (in *McrouterPoolSpec) DeepCopy() *McrouterPoolSpec {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(McrouterPoolSpec)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *McrouterSpec) DeepCopyInto(out *McrouterSpec) {
|
|
*out = *in
|
|
if in.Pools != nil {
|
|
in, out := &in.Pools, &out.Pools
|
|
*out = make(map[string]McrouterPoolSpec, len(*in))
|
|
for key, val := range *in {
|
|
(*out)[key] = *val.DeepCopy()
|
|
}
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new McrouterSpec.
|
|
func (in *McrouterSpec) DeepCopy() *McrouterSpec {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(McrouterSpec)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *McrouterStatus) DeepCopyInto(out *McrouterStatus) {
|
|
*out = *in
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new McrouterStatus.
|
|
func (in *McrouterStatus) DeepCopy() *McrouterStatus {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(McrouterStatus)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *Memcached) DeepCopyInto(out *Memcached) {
|
|
*out = *in
|
|
out.TypeMeta = in.TypeMeta
|
|
in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
|
|
out.Spec = in.Spec
|
|
out.Status = in.Status
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Memcached.
|
|
func (in *Memcached) DeepCopy() *Memcached {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(Memcached)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
|
func (in *Memcached) 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 *MemcachedList) DeepCopyInto(out *MemcachedList) {
|
|
*out = *in
|
|
out.TypeMeta = in.TypeMeta
|
|
in.ListMeta.DeepCopyInto(&out.ListMeta)
|
|
if in.Items != nil {
|
|
in, out := &in.Items, &out.Items
|
|
*out = make([]Memcached, len(*in))
|
|
for i := range *in {
|
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
|
}
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MemcachedList.
|
|
func (in *MemcachedList) DeepCopy() *MemcachedList {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(MemcachedList)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
|
func (in *MemcachedList) 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 *MemcachedSpec) DeepCopyInto(out *MemcachedSpec) {
|
|
*out = *in
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MemcachedSpec.
|
|
func (in *MemcachedSpec) DeepCopy() *MemcachedSpec {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(MemcachedSpec)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *MemcachedStatus) DeepCopyInto(out *MemcachedStatus) {
|
|
*out = *in
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MemcachedStatus.
|
|
func (in *MemcachedStatus) DeepCopy() *MemcachedStatus {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(MemcachedStatus)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|