Update generated

Signed-off-by: Patrik Cyvoct <patrik@ptrk.io>
This commit is contained in:
Patrik Cyvoct 2020-10-30 09:30:54 +01:00
parent 7bdf2af648
commit af7494e896
No known key found for this signature in database
GPG Key ID: 4334D82B950FB63A
21 changed files with 951 additions and 865 deletions

View File

@ -7337,6 +7337,10 @@
"ip": {
"description": "IP is set for load-balancer ingress points that are IP based (typically GCE or OpenStack load-balancers)",
"type": "string"
},
"ipMode": {
"description": "IPMode specifies the IP mode to use for this ingress Defaults to `VIP` if IP is set, null otherwise",
"type": "string"
}
},
"type": "object"

View File

@ -4291,6 +4291,7 @@ func Convert_core_List_To_v1_List(in *core.List, out *v1.List, s conversion.Scop
func autoConvert_v1_LoadBalancerIngress_To_core_LoadBalancerIngress(in *v1.LoadBalancerIngress, out *core.LoadBalancerIngress, s conversion.Scope) error {
out.IP = in.IP
out.Hostname = in.Hostname
out.IPMode = (*core.LoadBalancerIPMode)(unsafe.Pointer(in.IPMode))
return nil
}
@ -4302,6 +4303,7 @@ func Convert_v1_LoadBalancerIngress_To_core_LoadBalancerIngress(in *v1.LoadBalan
func autoConvert_core_LoadBalancerIngress_To_v1_LoadBalancerIngress(in *core.LoadBalancerIngress, out *v1.LoadBalancerIngress, s conversion.Scope) error {
out.IP = in.IP
out.Hostname = in.Hostname
out.IPMode = (*v1.LoadBalancerIPMode)(unsafe.Pointer(in.IPMode))
return nil
}

View File

@ -2146,6 +2146,11 @@ func (in *List) DeepCopyObject() runtime.Object {
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *LoadBalancerIngress) DeepCopyInto(out *LoadBalancerIngress) {
*out = *in
if in.IPMode != nil {
in, out := &in.IPMode, &out.IPMode
*out = new(LoadBalancerIPMode)
**out = **in
}
return
}
@ -2165,7 +2170,9 @@ func (in *LoadBalancerStatus) DeepCopyInto(out *LoadBalancerStatus) {
if in.Ingress != nil {
in, out := &in.Ingress, &out.Ingress
*out = make([]LoadBalancerIngress, len(*in))
copy(*out, *in)
for i := range *in {
(*in)[i].DeepCopyInto(&(*out)[i])
}
}
return
}

View File

@ -39,6 +39,7 @@ go_test(
srcs = ["proxier_test.go"],
embed = [":go_default_library"],
deps = [
"//pkg/features:go_default_library",
"//pkg/proxy:go_default_library",
"//pkg/proxy/healthcheck:go_default_library",
"//pkg/proxy/util:go_default_library",
@ -53,6 +54,8 @@ go_test(
"//staging/src/k8s.io/apimachinery/pkg/apis/meta/v1:go_default_library",
"//staging/src/k8s.io/apimachinery/pkg/types:go_default_library",
"//staging/src/k8s.io/apimachinery/pkg/util/intstr:go_default_library",
"//staging/src/k8s.io/apiserver/pkg/util/feature:go_default_library",
"//staging/src/k8s.io/component-base/featuregate/testing:go_default_library",
"//vendor/github.com/stretchr/testify/assert:go_default_library",
"//vendor/k8s.io/klog/v2:go_default_library",
"//vendor/k8s.io/utils/exec:go_default_library",

View File

@ -15,6 +15,7 @@ go_test(
],
embed = [":go_default_library"],
deps = [
"//pkg/features:go_default_library",
"//pkg/proxy:go_default_library",
"//pkg/proxy/healthcheck:go_default_library",
"//pkg/proxy/ipvs/testing:go_default_library",
@ -34,6 +35,8 @@ go_test(
"//staging/src/k8s.io/apimachinery/pkg/types:go_default_library",
"//staging/src/k8s.io/apimachinery/pkg/util/intstr:go_default_library",
"//staging/src/k8s.io/apimachinery/pkg/util/sets:go_default_library",
"//staging/src/k8s.io/apiserver/pkg/util/feature:go_default_library",
"//staging/src/k8s.io/component-base/featuregate/testing:go_default_library",
"//vendor/github.com/stretchr/testify/assert:go_default_library",
"//vendor/k8s.io/utils/exec:go_default_library",
"//vendor/k8s.io/utils/exec/testing:go_default_library",

File diff suppressed because it is too large Load Diff

View File

@ -2036,6 +2036,11 @@ message LoadBalancerIngress {
// (typically AWS load-balancers)
// +optional
optional string hostname = 2;
// IPMode specifies the IP mode to use for this ingress
// Defaults to `VIP` if IP is set, null otherwise
// +optional
optional string ipMode = 3;
}
// LoadBalancerStatus represents the status of a load-balancer.

View File

@ -953,6 +953,7 @@ var map_LoadBalancerIngress = map[string]string{
"": "LoadBalancerIngress represents the status of a load-balancer ingress point: traffic intended for the service should be sent to an ingress point.",
"ip": "IP is set for load-balancer ingress points that are IP based (typically GCE or OpenStack load-balancers)",
"hostname": "Hostname is set for load-balancer ingress points that are DNS based (typically AWS load-balancers)",
"ipMode": "IPMode specifies the IP mode to use for this ingress Defaults to `VIP` if IP is set, null otherwise",
}
func (LoadBalancerIngress) SwaggerDoc() map[string]string {

View File

@ -2144,6 +2144,11 @@ func (in *List) DeepCopyObject() runtime.Object {
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *LoadBalancerIngress) DeepCopyInto(out *LoadBalancerIngress) {
*out = *in
if in.IPMode != nil {
in, out := &in.IPMode, &out.IPMode
*out = new(LoadBalancerIPMode)
**out = **in
}
return
}
@ -2163,7 +2168,9 @@ func (in *LoadBalancerStatus) DeepCopyInto(out *LoadBalancerStatus) {
if in.Ingress != nil {
in, out := &in.Ingress, &out.Ingress
*out = make([]LoadBalancerIngress, len(*in))
copy(*out, *in)
for i := range *in {
(*in)[i].DeepCopyInto(&(*out)[i])
}
}
return
}

View File

@ -89,7 +89,8 @@
"ingress": [
{
"ip": "31",
"hostname": "32"
"hostname": "32",
"ipMode": "ƕP喂ƈ"
}
]
}

View File

@ -66,3 +66,4 @@ status:
ingress:
- hostname: "32"
ip: "31"
ipMode: ƕP喂ƈ

View File

@ -87,7 +87,8 @@
"ingress": [
{
"ip": "33",
"hostname": "34"
"hostname": "34",
"ipMode": "ěĂ凗蓏Ŋ蛊ĉy緅縕"
}
]
}

View File

@ -60,3 +60,4 @@ status:
ingress:
- hostname: "34"
ip: "33"
ipMode: ěĂ凗蓏Ŋ蛊ĉy緅縕

View File

@ -97,7 +97,8 @@
"ingress": [
{
"ip": "34",
"hostname": "35"
"hostname": "35",
"ipMode": "ɑ"
}
]
}

View File

@ -66,3 +66,4 @@ status:
ingress:
- hostname: "35"
ip: "34"
ipMode: ɑ

View File

@ -87,7 +87,8 @@
"ingress": [
{
"ip": "33",
"hostname": "34"
"hostname": "34",
"ipMode": "ěĂ凗蓏Ŋ蛊ĉy緅縕"
}
]
}

View File

@ -60,3 +60,4 @@ status:
ingress:
- hostname: "34"
ip: "33"
ipMode: ěĂ凗蓏Ŋ蛊ĉy緅縕