b9bf13f065
- Adds stackube proxy which listens on endpoints, services and namespaces, creates load balancer rules for clusterIP service - Switch to govendor for managing vendors - Add hack scripts for verifying govet and gofmt Change-Id: I8594c16d294f46ae0d3dec6dae6fa491e7891b8b Implements: blueprint stackube-proxy
116 lines
3.4 KiB
Go
116 lines
3.4 KiB
Go
// +build !ignore_autogenerated
|
|
|
|
/*
|
|
Copyright 2017 The Kubernetes 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.
|
|
*/
|
|
|
|
// This file was autogenerated by deepcopy-gen. Do not edit it manually!
|
|
|
|
package v1
|
|
|
|
import (
|
|
conversion "k8s.io/apimachinery/pkg/conversion"
|
|
runtime "k8s.io/apimachinery/pkg/runtime"
|
|
reflect "reflect"
|
|
)
|
|
|
|
// Deprecated: register deep-copy functions.
|
|
func init() {
|
|
SchemeBuilder.Register(RegisterDeepCopies)
|
|
}
|
|
|
|
// Deprecated: RegisterDeepCopies adds deep-copy functions to the given scheme. Public
|
|
// to allow building arbitrary schemes.
|
|
func RegisterDeepCopies(scheme *runtime.Scheme) error {
|
|
return scheme.AddGeneratedDeepCopyFuncs(
|
|
conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error {
|
|
in.(*StorageClass).DeepCopyInto(out.(*StorageClass))
|
|
return nil
|
|
}, InType: reflect.TypeOf(&StorageClass{})},
|
|
conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error {
|
|
in.(*StorageClassList).DeepCopyInto(out.(*StorageClassList))
|
|
return nil
|
|
}, InType: reflect.TypeOf(&StorageClassList{})},
|
|
)
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *StorageClass) DeepCopyInto(out *StorageClass) {
|
|
*out = *in
|
|
out.TypeMeta = in.TypeMeta
|
|
in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
|
|
if in.Parameters != nil {
|
|
in, out := &in.Parameters, &out.Parameters
|
|
*out = make(map[string]string, len(*in))
|
|
for key, val := range *in {
|
|
(*out)[key] = val
|
|
}
|
|
}
|
|
return
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new StorageClass.
|
|
func (x *StorageClass) DeepCopy() *StorageClass {
|
|
if x == nil {
|
|
return nil
|
|
}
|
|
out := new(StorageClass)
|
|
x.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
|
func (x *StorageClass) DeepCopyObject() runtime.Object {
|
|
if c := x.DeepCopy(); c != nil {
|
|
return c
|
|
} else {
|
|
return nil
|
|
}
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *StorageClassList) DeepCopyInto(out *StorageClassList) {
|
|
*out = *in
|
|
out.TypeMeta = in.TypeMeta
|
|
out.ListMeta = in.ListMeta
|
|
if in.Items != nil {
|
|
in, out := &in.Items, &out.Items
|
|
*out = make([]StorageClass, len(*in))
|
|
for i := range *in {
|
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
|
}
|
|
}
|
|
return
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new StorageClassList.
|
|
func (x *StorageClassList) DeepCopy() *StorageClassList {
|
|
if x == nil {
|
|
return nil
|
|
}
|
|
out := new(StorageClassList)
|
|
x.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
|
func (x *StorageClassList) DeepCopyObject() runtime.Object {
|
|
if c := x.DeepCopy(); c != nil {
|
|
return c
|
|
} else {
|
|
return nil
|
|
}
|
|
}
|