diff --git a/pkg/apis/backendconfig/v1/zz_generated.deepcopy.go b/pkg/apis/backendconfig/v1/zz_generated.deepcopy.go index 7b8b775ec0..86e8e5fb67 100644 --- a/pkg/apis/backendconfig/v1/zz_generated.deepcopy.go +++ b/pkg/apis/backendconfig/v1/zz_generated.deepcopy.go @@ -1,7 +1,7 @@ // +build !ignore_autogenerated /* -Copyright 2018 The Kubernetes Authors. +Copyright 2020 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. @@ -56,7 +56,7 @@ func (in *BackendConfig) DeepCopyObject() runtime.Object { func (in *BackendConfigList) DeepCopyInto(out *BackendConfigList) { *out = *in out.TypeMeta = in.TypeMeta - out.ListMeta = in.ListMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) if in.Items != nil { in, out := &in.Items, &out.Items *out = make([]BackendConfig, len(*in)) @@ -118,6 +118,16 @@ func (in *BackendConfigSpec) DeepCopyInto(out *BackendConfigSpec) { *out = new(SessionAffinityConfig) (*in).DeepCopyInto(*out) } + if in.CustomRequestHeaders != nil { + in, out := &in.CustomRequestHeaders, &out.CustomRequestHeaders + *out = new(CustomRequestHeadersConfig) + (*in).DeepCopyInto(*out) + } + if in.HealthCheck != nil { + in, out := &in.HealthCheck, &out.HealthCheck + *out = new(HealthCheckConfig) + (*in).DeepCopyInto(*out) + } return } @@ -210,6 +220,78 @@ func (in *ConnectionDrainingConfig) DeepCopy() *ConnectionDrainingConfig { return out } +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CustomRequestHeadersConfig) DeepCopyInto(out *CustomRequestHeadersConfig) { + *out = *in + if in.Headers != nil { + in, out := &in.Headers, &out.Headers + *out = make([]string, len(*in)) + copy(*out, *in) + } + return +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomRequestHeadersConfig. +func (in *CustomRequestHeadersConfig) DeepCopy() *CustomRequestHeadersConfig { + if in == nil { + return nil + } + out := new(CustomRequestHeadersConfig) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *HealthCheckConfig) DeepCopyInto(out *HealthCheckConfig) { + *out = *in + if in.CheckIntervalSec != nil { + in, out := &in.CheckIntervalSec, &out.CheckIntervalSec + *out = new(int64) + **out = **in + } + if in.TimeoutSec != nil { + in, out := &in.TimeoutSec, &out.TimeoutSec + *out = new(int64) + **out = **in + } + if in.HealthyThreshold != nil { + in, out := &in.HealthyThreshold, &out.HealthyThreshold + *out = new(int64) + **out = **in + } + if in.UnhealthyThreshold != nil { + in, out := &in.UnhealthyThreshold, &out.UnhealthyThreshold + *out = new(int64) + **out = **in + } + if in.Type != nil { + in, out := &in.Type, &out.Type + *out = new(string) + **out = **in + } + if in.Port != nil { + in, out := &in.Port, &out.Port + *out = new(int64) + **out = **in + } + if in.RequestPath != nil { + in, out := &in.RequestPath, &out.RequestPath + *out = new(string) + **out = **in + } + return +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HealthCheckConfig. +func (in *HealthCheckConfig) DeepCopy() *HealthCheckConfig { + if in == nil { + return nil + } + out := new(HealthCheckConfig) + in.DeepCopyInto(out) + return out +} + // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *IAPConfig) DeepCopyInto(out *IAPConfig) { *out = *in diff --git a/pkg/apis/backendconfig/v1beta1/zz_generated.deepcopy.go b/pkg/apis/backendconfig/v1beta1/zz_generated.deepcopy.go index e73a15ca9f..1b454c75c8 100644 --- a/pkg/apis/backendconfig/v1beta1/zz_generated.deepcopy.go +++ b/pkg/apis/backendconfig/v1beta1/zz_generated.deepcopy.go @@ -1,7 +1,7 @@ // +build !ignore_autogenerated /* -Copyright 2018 The Kubernetes Authors. +Copyright 2020 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. @@ -56,7 +56,7 @@ func (in *BackendConfig) DeepCopyObject() runtime.Object { func (in *BackendConfigList) DeepCopyInto(out *BackendConfigList) { *out = *in out.TypeMeta = in.TypeMeta - out.ListMeta = in.ListMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) if in.Items != nil { in, out := &in.Items, &out.Items *out = make([]BackendConfig, len(*in)) @@ -118,6 +118,11 @@ func (in *BackendConfigSpec) DeepCopyInto(out *BackendConfigSpec) { *out = new(SessionAffinityConfig) (*in).DeepCopyInto(*out) } + if in.CustomRequestHeaders != nil { + in, out := &in.CustomRequestHeaders, &out.CustomRequestHeaders + *out = new(CustomRequestHeadersConfig) + (*in).DeepCopyInto(*out) + } return } @@ -210,6 +215,27 @@ func (in *ConnectionDrainingConfig) DeepCopy() *ConnectionDrainingConfig { return out } +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CustomRequestHeadersConfig) DeepCopyInto(out *CustomRequestHeadersConfig) { + *out = *in + if in.Headers != nil { + in, out := &in.Headers, &out.Headers + *out = make([]string, len(*in)) + copy(*out, *in) + } + return +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomRequestHeadersConfig. +func (in *CustomRequestHeadersConfig) DeepCopy() *CustomRequestHeadersConfig { + if in == nil { + return nil + } + out := new(CustomRequestHeadersConfig) + in.DeepCopyInto(out) + return out +} + // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *IAPConfig) DeepCopyInto(out *IAPConfig) { *out = *in diff --git a/pkg/backendconfig/client/clientset/versioned/clientset.go b/pkg/backendconfig/client/clientset/versioned/clientset.go index 796c63af07..854b2ea8a2 100644 --- a/pkg/backendconfig/client/clientset/versioned/clientset.go +++ b/pkg/backendconfig/client/clientset/versioned/clientset.go @@ -1,5 +1,5 @@ /* -Copyright 2018 The Kubernetes Authors. +Copyright 2020 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. @@ -19,6 +19,8 @@ limitations under the License. package versioned import ( + "fmt" + discovery "k8s.io/client-go/discovery" rest "k8s.io/client-go/rest" flowcontrol "k8s.io/client-go/util/flowcontrol" @@ -30,8 +32,6 @@ type Interface interface { Discovery() discovery.DiscoveryInterface CloudV1beta1() cloudv1beta1.CloudV1beta1Interface CloudV1() cloudv1.CloudV1Interface - // Deprecated: please explicitly pick a version if possible. - Cloud() cloudv1.CloudV1Interface } // Clientset contains the clients for groups. Each group has exactly one @@ -52,12 +52,6 @@ func (c *Clientset) CloudV1() cloudv1.CloudV1Interface { return c.cloudV1 } -// Deprecated: Cloud retrieves the default version of CloudClient. -// Please explicitly pick a version. -func (c *Clientset) Cloud() cloudv1.CloudV1Interface { - return c.cloudV1 -} - // Discovery retrieves the DiscoveryClient func (c *Clientset) Discovery() discovery.DiscoveryInterface { if c == nil { @@ -67,9 +61,14 @@ func (c *Clientset) Discovery() discovery.DiscoveryInterface { } // NewForConfig creates a new Clientset for the given config. +// If config's RateLimiter is not set and QPS and Burst are acceptable, +// NewForConfig will generate a rate-limiter in configShallowCopy. func NewForConfig(c *rest.Config) (*Clientset, error) { configShallowCopy := *c if configShallowCopy.RateLimiter == nil && configShallowCopy.QPS > 0 { + if configShallowCopy.Burst <= 0 { + return nil, fmt.Errorf("Burst is required to be greater than 0 when RateLimiter is not set and QPS is set to greater than 0") + } configShallowCopy.RateLimiter = flowcontrol.NewTokenBucketRateLimiter(configShallowCopy.QPS, configShallowCopy.Burst) } var cs Clientset diff --git a/pkg/backendconfig/client/clientset/versioned/doc.go b/pkg/backendconfig/client/clientset/versioned/doc.go index 006b792140..6ee812fc57 100644 --- a/pkg/backendconfig/client/clientset/versioned/doc.go +++ b/pkg/backendconfig/client/clientset/versioned/doc.go @@ -1,5 +1,5 @@ /* -Copyright 2018 The Kubernetes Authors. +Copyright 2020 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. diff --git a/pkg/backendconfig/client/clientset/versioned/fake/clientset_generated.go b/pkg/backendconfig/client/clientset/versioned/fake/clientset_generated.go index c64f7916ba..e45e073208 100644 --- a/pkg/backendconfig/client/clientset/versioned/fake/clientset_generated.go +++ b/pkg/backendconfig/client/clientset/versioned/fake/clientset_generated.go @@ -1,5 +1,5 @@ /* -Copyright 2018 The Kubernetes Authors. +Copyright 2020 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. @@ -43,7 +43,7 @@ func NewSimpleClientset(objects ...runtime.Object) *Clientset { } } - cs := &Clientset{} + cs := &Clientset{tracker: o} cs.discovery = &fakediscovery.FakeDiscovery{Fake: &cs.Fake} cs.AddReactor("*", "*", testing.ObjectReaction(o)) cs.AddWatchReactor("*", func(action testing.Action) (handled bool, ret watch.Interface, err error) { @@ -65,12 +65,17 @@ func NewSimpleClientset(objects ...runtime.Object) *Clientset { type Clientset struct { testing.Fake discovery *fakediscovery.FakeDiscovery + tracker testing.ObjectTracker } func (c *Clientset) Discovery() discovery.DiscoveryInterface { return c.discovery } +func (c *Clientset) Tracker() testing.ObjectTracker { + return c.tracker +} + var _ clientset.Interface = &Clientset{} // CloudV1beta1 retrieves the CloudV1beta1Client @@ -82,8 +87,3 @@ func (c *Clientset) CloudV1beta1() cloudv1beta1.CloudV1beta1Interface { func (c *Clientset) CloudV1() cloudv1.CloudV1Interface { return &fakecloudv1.FakeCloudV1{Fake: &c.Fake} } - -// Cloud retrieves the CloudV1Client -func (c *Clientset) Cloud() cloudv1.CloudV1Interface { - return &fakecloudv1.FakeCloudV1{Fake: &c.Fake} -} diff --git a/pkg/backendconfig/client/clientset/versioned/fake/doc.go b/pkg/backendconfig/client/clientset/versioned/fake/doc.go index 0bc260bcaa..d6baf01acb 100644 --- a/pkg/backendconfig/client/clientset/versioned/fake/doc.go +++ b/pkg/backendconfig/client/clientset/versioned/fake/doc.go @@ -1,5 +1,5 @@ /* -Copyright 2018 The Kubernetes Authors. +Copyright 2020 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. diff --git a/pkg/backendconfig/client/clientset/versioned/fake/register.go b/pkg/backendconfig/client/clientset/versioned/fake/register.go index fe3e1229a2..b3c4702a2b 100644 --- a/pkg/backendconfig/client/clientset/versioned/fake/register.go +++ b/pkg/backendconfig/client/clientset/versioned/fake/register.go @@ -1,5 +1,5 @@ /* -Copyright 2018 The Kubernetes Authors. +Copyright 2020 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. diff --git a/pkg/backendconfig/client/clientset/versioned/scheme/doc.go b/pkg/backendconfig/client/clientset/versioned/scheme/doc.go index 5c5c8debb6..7d06c9402d 100644 --- a/pkg/backendconfig/client/clientset/versioned/scheme/doc.go +++ b/pkg/backendconfig/client/clientset/versioned/scheme/doc.go @@ -1,5 +1,5 @@ /* -Copyright 2018 The Kubernetes Authors. +Copyright 2020 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. diff --git a/pkg/backendconfig/client/clientset/versioned/scheme/register.go b/pkg/backendconfig/client/clientset/versioned/scheme/register.go index fa04ca7f7c..df1a2003a5 100644 --- a/pkg/backendconfig/client/clientset/versioned/scheme/register.go +++ b/pkg/backendconfig/client/clientset/versioned/scheme/register.go @@ -1,5 +1,5 @@ /* -Copyright 2018 The Kubernetes Authors. +Copyright 2020 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. diff --git a/pkg/backendconfig/client/clientset/versioned/typed/backendconfig/v1/backendconfig.go b/pkg/backendconfig/client/clientset/versioned/typed/backendconfig/v1/backendconfig.go index 9bbec37f7a..56d3aad2c5 100644 --- a/pkg/backendconfig/client/clientset/versioned/typed/backendconfig/v1/backendconfig.go +++ b/pkg/backendconfig/client/clientset/versioned/typed/backendconfig/v1/backendconfig.go @@ -1,5 +1,5 @@ /* -Copyright 2018 The Kubernetes Authors. +Copyright 2020 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. diff --git a/pkg/backendconfig/client/clientset/versioned/typed/backendconfig/v1/backendconfig_client.go b/pkg/backendconfig/client/clientset/versioned/typed/backendconfig/v1/backendconfig_client.go index b7e7620446..053ce4d21b 100644 --- a/pkg/backendconfig/client/clientset/versioned/typed/backendconfig/v1/backendconfig_client.go +++ b/pkg/backendconfig/client/clientset/versioned/typed/backendconfig/v1/backendconfig_client.go @@ -1,5 +1,5 @@ /* -Copyright 2018 The Kubernetes Authors. +Copyright 2020 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. @@ -19,7 +19,6 @@ limitations under the License. package v1 import ( - serializer "k8s.io/apimachinery/pkg/runtime/serializer" rest "k8s.io/client-go/rest" v1 "k8s.io/ingress-gce/pkg/apis/backendconfig/v1" "k8s.io/ingress-gce/pkg/backendconfig/client/clientset/versioned/scheme" @@ -71,7 +70,7 @@ func setConfigDefaults(config *rest.Config) error { gv := v1.SchemeGroupVersion config.GroupVersion = &gv config.APIPath = "/apis" - config.NegotiatedSerializer = serializer.DirectCodecFactory{CodecFactory: scheme.Codecs} + config.NegotiatedSerializer = scheme.Codecs.WithoutConversion() if config.UserAgent == "" { config.UserAgent = rest.DefaultKubernetesUserAgent() diff --git a/pkg/backendconfig/client/clientset/versioned/typed/backendconfig/v1/doc.go b/pkg/backendconfig/client/clientset/versioned/typed/backendconfig/v1/doc.go index d007a2903d..1917a62947 100644 --- a/pkg/backendconfig/client/clientset/versioned/typed/backendconfig/v1/doc.go +++ b/pkg/backendconfig/client/clientset/versioned/typed/backendconfig/v1/doc.go @@ -1,5 +1,5 @@ /* -Copyright 2018 The Kubernetes Authors. +Copyright 2020 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. diff --git a/pkg/backendconfig/client/clientset/versioned/typed/backendconfig/v1/fake/doc.go b/pkg/backendconfig/client/clientset/versioned/typed/backendconfig/v1/fake/doc.go index 87a1873edc..0243e68ff4 100644 --- a/pkg/backendconfig/client/clientset/versioned/typed/backendconfig/v1/fake/doc.go +++ b/pkg/backendconfig/client/clientset/versioned/typed/backendconfig/v1/fake/doc.go @@ -1,5 +1,5 @@ /* -Copyright 2018 The Kubernetes Authors. +Copyright 2020 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. diff --git a/pkg/backendconfig/client/clientset/versioned/typed/backendconfig/v1/fake/fake_backendconfig.go b/pkg/backendconfig/client/clientset/versioned/typed/backendconfig/v1/fake/fake_backendconfig.go index 1d3ab12f6d..b67e8089a1 100644 --- a/pkg/backendconfig/client/clientset/versioned/typed/backendconfig/v1/fake/fake_backendconfig.go +++ b/pkg/backendconfig/client/clientset/versioned/typed/backendconfig/v1/fake/fake_backendconfig.go @@ -1,5 +1,5 @@ /* -Copyright 2018 The Kubernetes Authors. +Copyright 2020 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. diff --git a/pkg/backendconfig/client/clientset/versioned/typed/backendconfig/v1/fake/fake_backendconfig_client.go b/pkg/backendconfig/client/clientset/versioned/typed/backendconfig/v1/fake/fake_backendconfig_client.go index b283596896..4ab0a512b9 100644 --- a/pkg/backendconfig/client/clientset/versioned/typed/backendconfig/v1/fake/fake_backendconfig_client.go +++ b/pkg/backendconfig/client/clientset/versioned/typed/backendconfig/v1/fake/fake_backendconfig_client.go @@ -1,5 +1,5 @@ /* -Copyright 2018 The Kubernetes Authors. +Copyright 2020 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. diff --git a/pkg/backendconfig/client/clientset/versioned/typed/backendconfig/v1/generated_expansion.go b/pkg/backendconfig/client/clientset/versioned/typed/backendconfig/v1/generated_expansion.go index eaae261add..b21d0b0707 100644 --- a/pkg/backendconfig/client/clientset/versioned/typed/backendconfig/v1/generated_expansion.go +++ b/pkg/backendconfig/client/clientset/versioned/typed/backendconfig/v1/generated_expansion.go @@ -1,5 +1,5 @@ /* -Copyright 2018 The Kubernetes Authors. +Copyright 2020 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. diff --git a/pkg/backendconfig/client/clientset/versioned/typed/backendconfig/v1beta1/backendconfig.go b/pkg/backendconfig/client/clientset/versioned/typed/backendconfig/v1beta1/backendconfig.go index f07492167b..ac2b8e0bcc 100644 --- a/pkg/backendconfig/client/clientset/versioned/typed/backendconfig/v1beta1/backendconfig.go +++ b/pkg/backendconfig/client/clientset/versioned/typed/backendconfig/v1beta1/backendconfig.go @@ -1,5 +1,5 @@ /* -Copyright 2018 The Kubernetes Authors. +Copyright 2020 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. diff --git a/pkg/backendconfig/client/clientset/versioned/typed/backendconfig/v1beta1/backendconfig_client.go b/pkg/backendconfig/client/clientset/versioned/typed/backendconfig/v1beta1/backendconfig_client.go index 6e35797a21..0c0b584bc8 100644 --- a/pkg/backendconfig/client/clientset/versioned/typed/backendconfig/v1beta1/backendconfig_client.go +++ b/pkg/backendconfig/client/clientset/versioned/typed/backendconfig/v1beta1/backendconfig_client.go @@ -1,5 +1,5 @@ /* -Copyright 2018 The Kubernetes Authors. +Copyright 2020 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. @@ -19,7 +19,6 @@ limitations under the License. package v1beta1 import ( - serializer "k8s.io/apimachinery/pkg/runtime/serializer" rest "k8s.io/client-go/rest" v1beta1 "k8s.io/ingress-gce/pkg/apis/backendconfig/v1beta1" "k8s.io/ingress-gce/pkg/backendconfig/client/clientset/versioned/scheme" @@ -71,7 +70,7 @@ func setConfigDefaults(config *rest.Config) error { gv := v1beta1.SchemeGroupVersion config.GroupVersion = &gv config.APIPath = "/apis" - config.NegotiatedSerializer = serializer.DirectCodecFactory{CodecFactory: scheme.Codecs} + config.NegotiatedSerializer = scheme.Codecs.WithoutConversion() if config.UserAgent == "" { config.UserAgent = rest.DefaultKubernetesUserAgent() diff --git a/pkg/backendconfig/client/clientset/versioned/typed/backendconfig/v1beta1/doc.go b/pkg/backendconfig/client/clientset/versioned/typed/backendconfig/v1beta1/doc.go index 11ae7049d1..68f9a55b51 100644 --- a/pkg/backendconfig/client/clientset/versioned/typed/backendconfig/v1beta1/doc.go +++ b/pkg/backendconfig/client/clientset/versioned/typed/backendconfig/v1beta1/doc.go @@ -1,5 +1,5 @@ /* -Copyright 2018 The Kubernetes Authors. +Copyright 2020 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. diff --git a/pkg/backendconfig/client/clientset/versioned/typed/backendconfig/v1beta1/fake/doc.go b/pkg/backendconfig/client/clientset/versioned/typed/backendconfig/v1beta1/fake/doc.go index 87a1873edc..0243e68ff4 100644 --- a/pkg/backendconfig/client/clientset/versioned/typed/backendconfig/v1beta1/fake/doc.go +++ b/pkg/backendconfig/client/clientset/versioned/typed/backendconfig/v1beta1/fake/doc.go @@ -1,5 +1,5 @@ /* -Copyright 2018 The Kubernetes Authors. +Copyright 2020 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. diff --git a/pkg/backendconfig/client/clientset/versioned/typed/backendconfig/v1beta1/fake/fake_backendconfig.go b/pkg/backendconfig/client/clientset/versioned/typed/backendconfig/v1beta1/fake/fake_backendconfig.go index 0f01f33d54..6fa9e3cf63 100644 --- a/pkg/backendconfig/client/clientset/versioned/typed/backendconfig/v1beta1/fake/fake_backendconfig.go +++ b/pkg/backendconfig/client/clientset/versioned/typed/backendconfig/v1beta1/fake/fake_backendconfig.go @@ -1,5 +1,5 @@ /* -Copyright 2018 The Kubernetes Authors. +Copyright 2020 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. diff --git a/pkg/backendconfig/client/clientset/versioned/typed/backendconfig/v1beta1/fake/fake_backendconfig_client.go b/pkg/backendconfig/client/clientset/versioned/typed/backendconfig/v1beta1/fake/fake_backendconfig_client.go index c4fb5730e7..c68191f3b6 100644 --- a/pkg/backendconfig/client/clientset/versioned/typed/backendconfig/v1beta1/fake/fake_backendconfig_client.go +++ b/pkg/backendconfig/client/clientset/versioned/typed/backendconfig/v1beta1/fake/fake_backendconfig_client.go @@ -1,5 +1,5 @@ /* -Copyright 2018 The Kubernetes Authors. +Copyright 2020 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. diff --git a/pkg/backendconfig/client/clientset/versioned/typed/backendconfig/v1beta1/generated_expansion.go b/pkg/backendconfig/client/clientset/versioned/typed/backendconfig/v1beta1/generated_expansion.go index 8eaa8d24fc..7b31be569e 100644 --- a/pkg/backendconfig/client/clientset/versioned/typed/backendconfig/v1beta1/generated_expansion.go +++ b/pkg/backendconfig/client/clientset/versioned/typed/backendconfig/v1beta1/generated_expansion.go @@ -1,5 +1,5 @@ /* -Copyright 2018 The Kubernetes Authors. +Copyright 2020 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. diff --git a/pkg/backendconfig/client/informers/externalversions/backendconfig/interface.go b/pkg/backendconfig/client/informers/externalversions/backendconfig/interface.go index e39dc2e3f4..c9349dcbee 100644 --- a/pkg/backendconfig/client/informers/externalversions/backendconfig/interface.go +++ b/pkg/backendconfig/client/informers/externalversions/backendconfig/interface.go @@ -1,5 +1,5 @@ /* -Copyright 2018 The Kubernetes Authors. +Copyright 2020 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. @@ -16,7 +16,7 @@ limitations under the License. // Code generated by informer-gen. DO NOT EDIT. -package cloud +package backendconfig import ( v1 "k8s.io/ingress-gce/pkg/backendconfig/client/informers/externalversions/backendconfig/v1" diff --git a/pkg/backendconfig/client/informers/externalversions/backendconfig/v1/backendconfig.go b/pkg/backendconfig/client/informers/externalversions/backendconfig/v1/backendconfig.go index 9ffdfbbf84..4a73eebe10 100644 --- a/pkg/backendconfig/client/informers/externalversions/backendconfig/v1/backendconfig.go +++ b/pkg/backendconfig/client/informers/externalversions/backendconfig/v1/backendconfig.go @@ -1,5 +1,5 @@ /* -Copyright 2018 The Kubernetes Authors. +Copyright 2020 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. diff --git a/pkg/backendconfig/client/informers/externalversions/backendconfig/v1/interface.go b/pkg/backendconfig/client/informers/externalversions/backendconfig/v1/interface.go index 256a1ffb80..37fc1ee50d 100644 --- a/pkg/backendconfig/client/informers/externalversions/backendconfig/v1/interface.go +++ b/pkg/backendconfig/client/informers/externalversions/backendconfig/v1/interface.go @@ -1,5 +1,5 @@ /* -Copyright 2018 The Kubernetes Authors. +Copyright 2020 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. diff --git a/pkg/backendconfig/client/informers/externalversions/backendconfig/v1beta1/backendconfig.go b/pkg/backendconfig/client/informers/externalversions/backendconfig/v1beta1/backendconfig.go index 3b75407f07..5fbaeba97e 100644 --- a/pkg/backendconfig/client/informers/externalversions/backendconfig/v1beta1/backendconfig.go +++ b/pkg/backendconfig/client/informers/externalversions/backendconfig/v1beta1/backendconfig.go @@ -1,5 +1,5 @@ /* -Copyright 2018 The Kubernetes Authors. +Copyright 2020 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. diff --git a/pkg/backendconfig/client/informers/externalversions/backendconfig/v1beta1/interface.go b/pkg/backendconfig/client/informers/externalversions/backendconfig/v1beta1/interface.go index f234bb1374..da58a393da 100644 --- a/pkg/backendconfig/client/informers/externalversions/backendconfig/v1beta1/interface.go +++ b/pkg/backendconfig/client/informers/externalversions/backendconfig/v1beta1/interface.go @@ -1,5 +1,5 @@ /* -Copyright 2018 The Kubernetes Authors. +Copyright 2020 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. diff --git a/pkg/backendconfig/client/informers/externalversions/factory.go b/pkg/backendconfig/client/informers/externalversions/factory.go index eee774ade2..f2a8f643fc 100644 --- a/pkg/backendconfig/client/informers/externalversions/factory.go +++ b/pkg/backendconfig/client/informers/externalversions/factory.go @@ -1,5 +1,5 @@ /* -Copyright 2018 The Kubernetes Authors. +Copyright 2020 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. diff --git a/pkg/backendconfig/client/informers/externalversions/generic.go b/pkg/backendconfig/client/informers/externalversions/generic.go index 04312918c8..472e51aff7 100644 --- a/pkg/backendconfig/client/informers/externalversions/generic.go +++ b/pkg/backendconfig/client/informers/externalversions/generic.go @@ -1,5 +1,5 @@ /* -Copyright 2018 The Kubernetes Authors. +Copyright 2020 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. diff --git a/pkg/backendconfig/client/informers/externalversions/internalinterfaces/factory_interfaces.go b/pkg/backendconfig/client/informers/externalversions/internalinterfaces/factory_interfaces.go index 79029f8df9..eea327eddc 100644 --- a/pkg/backendconfig/client/informers/externalversions/internalinterfaces/factory_interfaces.go +++ b/pkg/backendconfig/client/informers/externalversions/internalinterfaces/factory_interfaces.go @@ -1,5 +1,5 @@ /* -Copyright 2018 The Kubernetes Authors. +Copyright 2020 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. diff --git a/pkg/backendconfig/client/listers/backendconfig/v1/backendconfig.go b/pkg/backendconfig/client/listers/backendconfig/v1/backendconfig.go index 1c9c5cfd74..eee63f4413 100644 --- a/pkg/backendconfig/client/listers/backendconfig/v1/backendconfig.go +++ b/pkg/backendconfig/client/listers/backendconfig/v1/backendconfig.go @@ -1,5 +1,5 @@ /* -Copyright 2018 The Kubernetes Authors. +Copyright 2020 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. diff --git a/pkg/backendconfig/client/listers/backendconfig/v1/expansion_generated.go b/pkg/backendconfig/client/listers/backendconfig/v1/expansion_generated.go index 23f33fb6c6..e216f5f50e 100644 --- a/pkg/backendconfig/client/listers/backendconfig/v1/expansion_generated.go +++ b/pkg/backendconfig/client/listers/backendconfig/v1/expansion_generated.go @@ -1,5 +1,5 @@ /* -Copyright 2018 The Kubernetes Authors. +Copyright 2020 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. diff --git a/pkg/backendconfig/client/listers/backendconfig/v1beta1/backendconfig.go b/pkg/backendconfig/client/listers/backendconfig/v1beta1/backendconfig.go index c75458a647..44468113c6 100644 --- a/pkg/backendconfig/client/listers/backendconfig/v1beta1/backendconfig.go +++ b/pkg/backendconfig/client/listers/backendconfig/v1beta1/backendconfig.go @@ -1,5 +1,5 @@ /* -Copyright 2018 The Kubernetes Authors. +Copyright 2020 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. diff --git a/pkg/backendconfig/client/listers/backendconfig/v1beta1/expansion_generated.go b/pkg/backendconfig/client/listers/backendconfig/v1beta1/expansion_generated.go index 0405ed5212..11d7f5473f 100644 --- a/pkg/backendconfig/client/listers/backendconfig/v1beta1/expansion_generated.go +++ b/pkg/backendconfig/client/listers/backendconfig/v1beta1/expansion_generated.go @@ -1,5 +1,5 @@ /* -Copyright 2018 The Kubernetes Authors. +Copyright 2020 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.