Skip to content

Commit

Permalink
api machinery for weave connection limit
Browse files Browse the repository at this point in the history
  • Loading branch information
chris-h-phillips committed Feb 7, 2018
1 parent b620deb commit 99830c4
Show file tree
Hide file tree
Showing 5 changed files with 31 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pkg/apis/kops/v1alpha1/zz_generated.conversion.go
Original file line number Diff line number Diff line change
Expand Up @@ -2704,6 +2704,7 @@ func Convert_kops_UserData_To_v1alpha1_UserData(in *kops.UserData, out *UserData

func autoConvert_v1alpha1_WeaveNetworkingSpec_To_kops_WeaveNetworkingSpec(in *WeaveNetworkingSpec, out *kops.WeaveNetworkingSpec, s conversion.Scope) error {
out.MTU = in.MTU
out.ConnLimit = in.ConnLimit
return nil
}

Expand All @@ -2714,6 +2715,7 @@ func Convert_v1alpha1_WeaveNetworkingSpec_To_kops_WeaveNetworkingSpec(in *WeaveN

func autoConvert_kops_WeaveNetworkingSpec_To_v1alpha1_WeaveNetworkingSpec(in *kops.WeaveNetworkingSpec, out *WeaveNetworkingSpec, s conversion.Scope) error {
out.MTU = in.MTU
out.ConnLimit = in.ConnLimit
return nil
}

Expand Down
9 changes: 9 additions & 0 deletions pkg/apis/kops/v1alpha1/zz_generated.deepcopy.go
Original file line number Diff line number Diff line change
Expand Up @@ -2730,6 +2730,15 @@ func (in *WeaveNetworkingSpec) DeepCopyInto(out *WeaveNetworkingSpec) {
**out = **in
}
}
if in.ConnLimit != nil {
in, out := &in.ConnLimit, &out.ConnLimit
if *in == nil {
*out = nil
} else {
*out = new(int32)
**out = **in
}
}
return
}

Expand Down
2 changes: 2 additions & 0 deletions pkg/apis/kops/v1alpha2/zz_generated.conversion.go
Original file line number Diff line number Diff line change
Expand Up @@ -3024,6 +3024,7 @@ func Convert_kops_UserData_To_v1alpha2_UserData(in *kops.UserData, out *UserData

func autoConvert_v1alpha2_WeaveNetworkingSpec_To_kops_WeaveNetworkingSpec(in *WeaveNetworkingSpec, out *kops.WeaveNetworkingSpec, s conversion.Scope) error {
out.MTU = in.MTU
out.ConnLimit = in.ConnLimit
return nil
}

Expand All @@ -3034,6 +3035,7 @@ func Convert_v1alpha2_WeaveNetworkingSpec_To_kops_WeaveNetworkingSpec(in *WeaveN

func autoConvert_kops_WeaveNetworkingSpec_To_v1alpha2_WeaveNetworkingSpec(in *kops.WeaveNetworkingSpec, out *WeaveNetworkingSpec, s conversion.Scope) error {
out.MTU = in.MTU
out.ConnLimit = in.ConnLimit
return nil
}

Expand Down
9 changes: 9 additions & 0 deletions pkg/apis/kops/v1alpha2/zz_generated.deepcopy.go
Original file line number Diff line number Diff line change
Expand Up @@ -2840,6 +2840,15 @@ func (in *WeaveNetworkingSpec) DeepCopyInto(out *WeaveNetworkingSpec) {
**out = **in
}
}
if in.ConnLimit != nil {
in, out := &in.ConnLimit, &out.ConnLimit
if *in == nil {
*out = nil
} else {
*out = new(int32)
**out = **in
}
}
return
}

Expand Down
9 changes: 9 additions & 0 deletions pkg/apis/kops/zz_generated.deepcopy.go
Original file line number Diff line number Diff line change
Expand Up @@ -3051,6 +3051,15 @@ func (in *WeaveNetworkingSpec) DeepCopyInto(out *WeaveNetworkingSpec) {
**out = **in
}
}
if in.ConnLimit != nil {
in, out := &in.ConnLimit, &out.ConnLimit
if *in == nil {
*out = nil
} else {
*out = new(int32)
**out = **in
}
}
return
}

Expand Down

0 comments on commit 99830c4

Please sign in to comment.