Update dependencies to K8s 1.8

This commit is contained in:
Nick Sardo 2017-09-29 10:12:14 -07:00
parent ba6c89672d
commit 6a59f4c9a2
1114 changed files with 160955 additions and 262845 deletions

View file

@ -1,7 +1,5 @@
package(default_visibility = ["//visibility:public"])
licenses(["notice"])
load(
"@io_bazel_rules_go//go:def.bzl",
"go_library",
@ -13,21 +11,36 @@ go_library(
"doc.go",
"generated.pb.go",
"register.go",
"types.generated.go",
"types.go",
"types_swagger_doc_generated.go",
"zz_generated.deepcopy.go",
],
tags = ["automanaged"],
deps = [
"//vendor/github.com/gogo/protobuf/proto:go_default_library",
"//vendor/github.com/ugorji/go/codec:go_default_library",
"//vendor/k8s.io/api/core/v1:go_default_library",
"//vendor/k8s.io/apimachinery/pkg/api/resource:go_default_library",
"//vendor/k8s.io/apimachinery/pkg/apis/meta/v1:go_default_library",
"//vendor/k8s.io/apimachinery/pkg/conversion:go_default_library",
"//vendor/k8s.io/apimachinery/pkg/runtime:go_default_library",
"//vendor/k8s.io/apimachinery/pkg/runtime/schema:go_default_library",
"//vendor/k8s.io/apimachinery/pkg/types:go_default_library",
],
)
filegroup(
name = "package-srcs",
srcs = glob(["**"]),
tags = ["automanaged"],
visibility = ["//visibility:private"],
)
filegroup(
name = "all-srcs",
srcs = [":package-srcs"],
tags = ["automanaged"],
)
filegroup(
name = "go_default_library_protos",
srcs = ["generated.proto"],
visibility = ["//visibility:public"],
)

File diff suppressed because it is too large Load diff

View file

@ -28,13 +28,14 @@ import (
reflect "reflect"
)
// Deprecated: register deep-copy functions.
func init() {
SchemeBuilder.Register(RegisterDeepCopies)
}
// Deprecated: RegisterDeepCopies adds deep-copy functions to the given scheme. Public
// RegisterDeepCopies adds deep-copy functions to the given scheme. Public
// to allow building arbitrary schemes.
//
// Deprecated: deepcopy registration will go away when static deepcopy is fully implemented.
func RegisterDeepCopies(scheme *runtime.Scheme) error {
return scheme.AddGeneratedDeepCopyFuncs(
conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error {
@ -114,13 +115,13 @@ func (in *CrossVersionObjectReference) DeepCopyInto(out *CrossVersionObjectRefer
return
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new CrossVersionObjectReference.
func (x *CrossVersionObjectReference) DeepCopy() *CrossVersionObjectReference {
if x == nil {
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CrossVersionObjectReference.
func (in *CrossVersionObjectReference) DeepCopy() *CrossVersionObjectReference {
if in == nil {
return nil
}
out := new(CrossVersionObjectReference)
x.DeepCopyInto(out)
in.DeepCopyInto(out)
return out
}
@ -134,19 +135,19 @@ func (in *HorizontalPodAutoscaler) DeepCopyInto(out *HorizontalPodAutoscaler) {
return
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new HorizontalPodAutoscaler.
func (x *HorizontalPodAutoscaler) DeepCopy() *HorizontalPodAutoscaler {
if x == nil {
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HorizontalPodAutoscaler.
func (in *HorizontalPodAutoscaler) DeepCopy() *HorizontalPodAutoscaler {
if in == nil {
return nil
}
out := new(HorizontalPodAutoscaler)
x.DeepCopyInto(out)
in.DeepCopyInto(out)
return out
}
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *HorizontalPodAutoscaler) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil {
func (in *HorizontalPodAutoscaler) DeepCopyObject() runtime.Object {
if c := in.DeepCopy(); c != nil {
return c
} else {
return nil
@ -160,13 +161,13 @@ func (in *HorizontalPodAutoscalerCondition) DeepCopyInto(out *HorizontalPodAutos
return
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new HorizontalPodAutoscalerCondition.
func (x *HorizontalPodAutoscalerCondition) DeepCopy() *HorizontalPodAutoscalerCondition {
if x == nil {
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HorizontalPodAutoscalerCondition.
func (in *HorizontalPodAutoscalerCondition) DeepCopy() *HorizontalPodAutoscalerCondition {
if in == nil {
return nil
}
out := new(HorizontalPodAutoscalerCondition)
x.DeepCopyInto(out)
in.DeepCopyInto(out)
return out
}
@ -185,19 +186,19 @@ func (in *HorizontalPodAutoscalerList) DeepCopyInto(out *HorizontalPodAutoscaler
return
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new HorizontalPodAutoscalerList.
func (x *HorizontalPodAutoscalerList) DeepCopy() *HorizontalPodAutoscalerList {
if x == nil {
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HorizontalPodAutoscalerList.
func (in *HorizontalPodAutoscalerList) DeepCopy() *HorizontalPodAutoscalerList {
if in == nil {
return nil
}
out := new(HorizontalPodAutoscalerList)
x.DeepCopyInto(out)
in.DeepCopyInto(out)
return out
}
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *HorizontalPodAutoscalerList) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil {
func (in *HorizontalPodAutoscalerList) DeepCopyObject() runtime.Object {
if c := in.DeepCopy(); c != nil {
return c
} else {
return nil
@ -229,13 +230,13 @@ func (in *HorizontalPodAutoscalerSpec) DeepCopyInto(out *HorizontalPodAutoscaler
return
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new HorizontalPodAutoscalerSpec.
func (x *HorizontalPodAutoscalerSpec) DeepCopy() *HorizontalPodAutoscalerSpec {
if x == nil {
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HorizontalPodAutoscalerSpec.
func (in *HorizontalPodAutoscalerSpec) DeepCopy() *HorizontalPodAutoscalerSpec {
if in == nil {
return nil
}
out := new(HorizontalPodAutoscalerSpec)
x.DeepCopyInto(out)
in.DeepCopyInto(out)
return out
}
@ -272,13 +273,13 @@ func (in *HorizontalPodAutoscalerStatus) DeepCopyInto(out *HorizontalPodAutoscal
return
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new HorizontalPodAutoscalerStatus.
func (x *HorizontalPodAutoscalerStatus) DeepCopy() *HorizontalPodAutoscalerStatus {
if x == nil {
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HorizontalPodAutoscalerStatus.
func (in *HorizontalPodAutoscalerStatus) DeepCopy() *HorizontalPodAutoscalerStatus {
if in == nil {
return nil
}
out := new(HorizontalPodAutoscalerStatus)
x.DeepCopyInto(out)
in.DeepCopyInto(out)
return out
}
@ -315,13 +316,13 @@ func (in *MetricSpec) DeepCopyInto(out *MetricSpec) {
return
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new MetricSpec.
func (x *MetricSpec) DeepCopy() *MetricSpec {
if x == nil {
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MetricSpec.
func (in *MetricSpec) DeepCopy() *MetricSpec {
if in == nil {
return nil
}
out := new(MetricSpec)
x.DeepCopyInto(out)
in.DeepCopyInto(out)
return out
}
@ -358,13 +359,13 @@ func (in *MetricStatus) DeepCopyInto(out *MetricStatus) {
return
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new MetricStatus.
func (x *MetricStatus) DeepCopy() *MetricStatus {
if x == nil {
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MetricStatus.
func (in *MetricStatus) DeepCopy() *MetricStatus {
if in == nil {
return nil
}
out := new(MetricStatus)
x.DeepCopyInto(out)
in.DeepCopyInto(out)
return out
}
@ -376,13 +377,13 @@ func (in *ObjectMetricSource) DeepCopyInto(out *ObjectMetricSource) {
return
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ObjectMetricSource.
func (x *ObjectMetricSource) DeepCopy() *ObjectMetricSource {
if x == nil {
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ObjectMetricSource.
func (in *ObjectMetricSource) DeepCopy() *ObjectMetricSource {
if in == nil {
return nil
}
out := new(ObjectMetricSource)
x.DeepCopyInto(out)
in.DeepCopyInto(out)
return out
}
@ -394,13 +395,13 @@ func (in *ObjectMetricStatus) DeepCopyInto(out *ObjectMetricStatus) {
return
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ObjectMetricStatus.
func (x *ObjectMetricStatus) DeepCopy() *ObjectMetricStatus {
if x == nil {
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ObjectMetricStatus.
func (in *ObjectMetricStatus) DeepCopy() *ObjectMetricStatus {
if in == nil {
return nil
}
out := new(ObjectMetricStatus)
x.DeepCopyInto(out)
in.DeepCopyInto(out)
return out
}
@ -411,13 +412,13 @@ func (in *PodsMetricSource) DeepCopyInto(out *PodsMetricSource) {
return
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new PodsMetricSource.
func (x *PodsMetricSource) DeepCopy() *PodsMetricSource {
if x == nil {
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodsMetricSource.
func (in *PodsMetricSource) DeepCopy() *PodsMetricSource {
if in == nil {
return nil
}
out := new(PodsMetricSource)
x.DeepCopyInto(out)
in.DeepCopyInto(out)
return out
}
@ -428,13 +429,13 @@ func (in *PodsMetricStatus) DeepCopyInto(out *PodsMetricStatus) {
return
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new PodsMetricStatus.
func (x *PodsMetricStatus) DeepCopy() *PodsMetricStatus {
if x == nil {
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodsMetricStatus.
func (in *PodsMetricStatus) DeepCopy() *PodsMetricStatus {
if in == nil {
return nil
}
out := new(PodsMetricStatus)
x.DeepCopyInto(out)
in.DeepCopyInto(out)
return out
}
@ -462,13 +463,13 @@ func (in *ResourceMetricSource) DeepCopyInto(out *ResourceMetricSource) {
return
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ResourceMetricSource.
func (x *ResourceMetricSource) DeepCopy() *ResourceMetricSource {
if x == nil {
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceMetricSource.
func (in *ResourceMetricSource) DeepCopy() *ResourceMetricSource {
if in == nil {
return nil
}
out := new(ResourceMetricSource)
x.DeepCopyInto(out)
in.DeepCopyInto(out)
return out
}
@ -488,13 +489,13 @@ func (in *ResourceMetricStatus) DeepCopyInto(out *ResourceMetricStatus) {
return
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ResourceMetricStatus.
func (x *ResourceMetricStatus) DeepCopy() *ResourceMetricStatus {
if x == nil {
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceMetricStatus.
func (in *ResourceMetricStatus) DeepCopy() *ResourceMetricStatus {
if in == nil {
return nil
}
out := new(ResourceMetricStatus)
x.DeepCopyInto(out)
in.DeepCopyInto(out)
return out
}
@ -508,19 +509,19 @@ func (in *Scale) DeepCopyInto(out *Scale) {
return
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new Scale.
func (x *Scale) DeepCopy() *Scale {
if x == nil {
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Scale.
func (in *Scale) DeepCopy() *Scale {
if in == nil {
return nil
}
out := new(Scale)
x.DeepCopyInto(out)
in.DeepCopyInto(out)
return out
}
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *Scale) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil {
func (in *Scale) DeepCopyObject() runtime.Object {
if c := in.DeepCopy(); c != nil {
return c
} else {
return nil
@ -533,13 +534,13 @@ func (in *ScaleSpec) DeepCopyInto(out *ScaleSpec) {
return
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ScaleSpec.
func (x *ScaleSpec) DeepCopy() *ScaleSpec {
if x == nil {
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ScaleSpec.
func (in *ScaleSpec) DeepCopy() *ScaleSpec {
if in == nil {
return nil
}
out := new(ScaleSpec)
x.DeepCopyInto(out)
in.DeepCopyInto(out)
return out
}
@ -549,12 +550,12 @@ func (in *ScaleStatus) DeepCopyInto(out *ScaleStatus) {
return
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ScaleStatus.
func (x *ScaleStatus) DeepCopy() *ScaleStatus {
if x == nil {
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ScaleStatus.
func (in *ScaleStatus) DeepCopy() *ScaleStatus {
if in == nil {
return nil
}
out := new(ScaleStatus)
x.DeepCopyInto(out)
in.DeepCopyInto(out)
return out
}