mirror of https://github.com/kubernetes/kops.git
Add apimachinery
This commit is contained in:
parent
5ce8f9e712
commit
1fa2ae8d9f
|
|
@ -95,6 +95,8 @@ func RegisterConversions(scheme *runtime.Scheme) error {
|
|||
Convert_kops_FlannelNetworkingSpec_To_v1alpha1_FlannelNetworkingSpec,
|
||||
Convert_v1alpha1_HTTPProxy_To_kops_HTTPProxy,
|
||||
Convert_kops_HTTPProxy_To_v1alpha1_HTTPProxy,
|
||||
Convert_v1alpha1_HeptioAuthenticationSpec_To_kops_HeptioAuthenticationSpec,
|
||||
Convert_kops_HeptioAuthenticationSpec_To_v1alpha1_HeptioAuthenticationSpec,
|
||||
Convert_v1alpha1_HookSpec_To_kops_HookSpec,
|
||||
Convert_kops_HookSpec_To_v1alpha1_HookSpec,
|
||||
Convert_v1alpha1_IAMSpec_To_kops_IAMSpec,
|
||||
|
|
@ -294,6 +296,15 @@ func autoConvert_v1alpha1_AuthenticationSpec_To_kops_AuthenticationSpec(in *Auth
|
|||
} else {
|
||||
out.Kopeio = nil
|
||||
}
|
||||
if in.Heptio != nil {
|
||||
in, out := &in.Heptio, &out.Heptio
|
||||
*out = new(kops.HeptioAuthenticationSpec)
|
||||
if err := Convert_v1alpha1_HeptioAuthenticationSpec_To_kops_HeptioAuthenticationSpec(*in, *out, s); err != nil {
|
||||
return err
|
||||
}
|
||||
} else {
|
||||
out.Heptio = nil
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
|
|
@ -312,6 +323,15 @@ func autoConvert_kops_AuthenticationSpec_To_v1alpha1_AuthenticationSpec(in *kops
|
|||
} else {
|
||||
out.Kopeio = nil
|
||||
}
|
||||
if in.Heptio != nil {
|
||||
in, out := &in.Heptio, &out.Heptio
|
||||
*out = new(HeptioAuthenticationSpec)
|
||||
if err := Convert_kops_HeptioAuthenticationSpec_To_v1alpha1_HeptioAuthenticationSpec(*in, *out, s); err != nil {
|
||||
return err
|
||||
}
|
||||
} else {
|
||||
out.Heptio = nil
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
|
|
@ -1563,6 +1583,24 @@ func Convert_kops_HTTPProxy_To_v1alpha1_HTTPProxy(in *kops.HTTPProxy, out *HTTPP
|
|||
return autoConvert_kops_HTTPProxy_To_v1alpha1_HTTPProxy(in, out, s)
|
||||
}
|
||||
|
||||
func autoConvert_v1alpha1_HeptioAuthenticationSpec_To_kops_HeptioAuthenticationSpec(in *HeptioAuthenticationSpec, out *kops.HeptioAuthenticationSpec, s conversion.Scope) error {
|
||||
return nil
|
||||
}
|
||||
|
||||
// Convert_v1alpha1_HeptioAuthenticationSpec_To_kops_HeptioAuthenticationSpec is an autogenerated conversion function.
|
||||
func Convert_v1alpha1_HeptioAuthenticationSpec_To_kops_HeptioAuthenticationSpec(in *HeptioAuthenticationSpec, out *kops.HeptioAuthenticationSpec, s conversion.Scope) error {
|
||||
return autoConvert_v1alpha1_HeptioAuthenticationSpec_To_kops_HeptioAuthenticationSpec(in, out, s)
|
||||
}
|
||||
|
||||
func autoConvert_kops_HeptioAuthenticationSpec_To_v1alpha1_HeptioAuthenticationSpec(in *kops.HeptioAuthenticationSpec, out *HeptioAuthenticationSpec, s conversion.Scope) error {
|
||||
return nil
|
||||
}
|
||||
|
||||
// Convert_kops_HeptioAuthenticationSpec_To_v1alpha1_HeptioAuthenticationSpec is an autogenerated conversion function.
|
||||
func Convert_kops_HeptioAuthenticationSpec_To_v1alpha1_HeptioAuthenticationSpec(in *kops.HeptioAuthenticationSpec, out *HeptioAuthenticationSpec, s conversion.Scope) error {
|
||||
return autoConvert_kops_HeptioAuthenticationSpec_To_v1alpha1_HeptioAuthenticationSpec(in, out, s)
|
||||
}
|
||||
|
||||
func autoConvert_v1alpha1_HookSpec_To_kops_HookSpec(in *HookSpec, out *kops.HookSpec, s conversion.Scope) error {
|
||||
out.Name = in.Name
|
||||
out.Disabled = in.Disabled
|
||||
|
|
|
|||
|
|
@ -153,6 +153,15 @@ func (in *AuthenticationSpec) DeepCopyInto(out *AuthenticationSpec) {
|
|||
**out = **in
|
||||
}
|
||||
}
|
||||
if in.Heptio != nil {
|
||||
in, out := &in.Heptio, &out.Heptio
|
||||
if *in == nil {
|
||||
*out = nil
|
||||
} else {
|
||||
*out = new(HeptioAuthenticationSpec)
|
||||
**out = **in
|
||||
}
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
|
|
@ -1362,6 +1371,22 @@ func (in *HTTPProxy) DeepCopy() *HTTPProxy {
|
|||
return out
|
||||
}
|
||||
|
||||
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
||||
func (in *HeptioAuthenticationSpec) DeepCopyInto(out *HeptioAuthenticationSpec) {
|
||||
*out = *in
|
||||
return
|
||||
}
|
||||
|
||||
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HeptioAuthenticationSpec.
|
||||
func (in *HeptioAuthenticationSpec) DeepCopy() *HeptioAuthenticationSpec {
|
||||
if in == nil {
|
||||
return nil
|
||||
}
|
||||
out := new(HeptioAuthenticationSpec)
|
||||
in.DeepCopyInto(out)
|
||||
return out
|
||||
}
|
||||
|
||||
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
||||
func (in *HookSpec) DeepCopyInto(out *HookSpec) {
|
||||
*out = *in
|
||||
|
|
|
|||
|
|
@ -99,6 +99,8 @@ func RegisterConversions(scheme *runtime.Scheme) error {
|
|||
Convert_kops_FlannelNetworkingSpec_To_v1alpha2_FlannelNetworkingSpec,
|
||||
Convert_v1alpha2_HTTPProxy_To_kops_HTTPProxy,
|
||||
Convert_kops_HTTPProxy_To_v1alpha2_HTTPProxy,
|
||||
Convert_v1alpha2_HeptioAuthenticationSpec_To_kops_HeptioAuthenticationSpec,
|
||||
Convert_kops_HeptioAuthenticationSpec_To_v1alpha2_HeptioAuthenticationSpec,
|
||||
Convert_v1alpha2_HookSpec_To_kops_HookSpec,
|
||||
Convert_kops_HookSpec_To_v1alpha2_HookSpec,
|
||||
Convert_v1alpha2_IAMSpec_To_kops_IAMSpec,
|
||||
|
|
@ -308,6 +310,15 @@ func autoConvert_v1alpha2_AuthenticationSpec_To_kops_AuthenticationSpec(in *Auth
|
|||
} else {
|
||||
out.Kopeio = nil
|
||||
}
|
||||
if in.Heptio != nil {
|
||||
in, out := &in.Heptio, &out.Heptio
|
||||
*out = new(kops.HeptioAuthenticationSpec)
|
||||
if err := Convert_v1alpha2_HeptioAuthenticationSpec_To_kops_HeptioAuthenticationSpec(*in, *out, s); err != nil {
|
||||
return err
|
||||
}
|
||||
} else {
|
||||
out.Heptio = nil
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
|
|
@ -326,6 +337,15 @@ func autoConvert_kops_AuthenticationSpec_To_v1alpha2_AuthenticationSpec(in *kops
|
|||
} else {
|
||||
out.Kopeio = nil
|
||||
}
|
||||
if in.Heptio != nil {
|
||||
in, out := &in.Heptio, &out.Heptio
|
||||
*out = new(HeptioAuthenticationSpec)
|
||||
if err := Convert_kops_HeptioAuthenticationSpec_To_v1alpha2_HeptioAuthenticationSpec(*in, *out, s); err != nil {
|
||||
return err
|
||||
}
|
||||
} else {
|
||||
out.Heptio = nil
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
|
|
@ -1674,6 +1694,24 @@ func Convert_kops_HTTPProxy_To_v1alpha2_HTTPProxy(in *kops.HTTPProxy, out *HTTPP
|
|||
return autoConvert_kops_HTTPProxy_To_v1alpha2_HTTPProxy(in, out, s)
|
||||
}
|
||||
|
||||
func autoConvert_v1alpha2_HeptioAuthenticationSpec_To_kops_HeptioAuthenticationSpec(in *HeptioAuthenticationSpec, out *kops.HeptioAuthenticationSpec, s conversion.Scope) error {
|
||||
return nil
|
||||
}
|
||||
|
||||
// Convert_v1alpha2_HeptioAuthenticationSpec_To_kops_HeptioAuthenticationSpec is an autogenerated conversion function.
|
||||
func Convert_v1alpha2_HeptioAuthenticationSpec_To_kops_HeptioAuthenticationSpec(in *HeptioAuthenticationSpec, out *kops.HeptioAuthenticationSpec, s conversion.Scope) error {
|
||||
return autoConvert_v1alpha2_HeptioAuthenticationSpec_To_kops_HeptioAuthenticationSpec(in, out, s)
|
||||
}
|
||||
|
||||
func autoConvert_kops_HeptioAuthenticationSpec_To_v1alpha2_HeptioAuthenticationSpec(in *kops.HeptioAuthenticationSpec, out *HeptioAuthenticationSpec, s conversion.Scope) error {
|
||||
return nil
|
||||
}
|
||||
|
||||
// Convert_kops_HeptioAuthenticationSpec_To_v1alpha2_HeptioAuthenticationSpec is an autogenerated conversion function.
|
||||
func Convert_kops_HeptioAuthenticationSpec_To_v1alpha2_HeptioAuthenticationSpec(in *kops.HeptioAuthenticationSpec, out *HeptioAuthenticationSpec, s conversion.Scope) error {
|
||||
return autoConvert_kops_HeptioAuthenticationSpec_To_v1alpha2_HeptioAuthenticationSpec(in, out, s)
|
||||
}
|
||||
|
||||
func autoConvert_v1alpha2_HookSpec_To_kops_HookSpec(in *HookSpec, out *kops.HookSpec, s conversion.Scope) error {
|
||||
out.Name = in.Name
|
||||
out.Disabled = in.Disabled
|
||||
|
|
|
|||
|
|
@ -153,6 +153,15 @@ func (in *AuthenticationSpec) DeepCopyInto(out *AuthenticationSpec) {
|
|||
**out = **in
|
||||
}
|
||||
}
|
||||
if in.Heptio != nil {
|
||||
in, out := &in.Heptio, &out.Heptio
|
||||
if *in == nil {
|
||||
*out = nil
|
||||
} else {
|
||||
*out = new(HeptioAuthenticationSpec)
|
||||
**out = **in
|
||||
}
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
|
|
@ -1329,6 +1338,22 @@ func (in *HTTPProxy) DeepCopy() *HTTPProxy {
|
|||
return out
|
||||
}
|
||||
|
||||
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
||||
func (in *HeptioAuthenticationSpec) DeepCopyInto(out *HeptioAuthenticationSpec) {
|
||||
*out = *in
|
||||
return
|
||||
}
|
||||
|
||||
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HeptioAuthenticationSpec.
|
||||
func (in *HeptioAuthenticationSpec) DeepCopy() *HeptioAuthenticationSpec {
|
||||
if in == nil {
|
||||
return nil
|
||||
}
|
||||
out := new(HeptioAuthenticationSpec)
|
||||
in.DeepCopyInto(out)
|
||||
return out
|
||||
}
|
||||
|
||||
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
||||
func (in *HookSpec) DeepCopyInto(out *HookSpec) {
|
||||
*out = *in
|
||||
|
|
|
|||
|
|
@ -169,6 +169,15 @@ func (in *AuthenticationSpec) DeepCopyInto(out *AuthenticationSpec) {
|
|||
**out = **in
|
||||
}
|
||||
}
|
||||
if in.Heptio != nil {
|
||||
in, out := &in.Heptio, &out.Heptio
|
||||
if *in == nil {
|
||||
*out = nil
|
||||
} else {
|
||||
*out = new(HeptioAuthenticationSpec)
|
||||
**out = **in
|
||||
}
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
|
|
@ -1492,6 +1501,22 @@ func (in *HTTPProxy) DeepCopy() *HTTPProxy {
|
|||
return out
|
||||
}
|
||||
|
||||
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
||||
func (in *HeptioAuthenticationSpec) DeepCopyInto(out *HeptioAuthenticationSpec) {
|
||||
*out = *in
|
||||
return
|
||||
}
|
||||
|
||||
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HeptioAuthenticationSpec.
|
||||
func (in *HeptioAuthenticationSpec) DeepCopy() *HeptioAuthenticationSpec {
|
||||
if in == nil {
|
||||
return nil
|
||||
}
|
||||
out := new(HeptioAuthenticationSpec)
|
||||
in.DeepCopyInto(out)
|
||||
return out
|
||||
}
|
||||
|
||||
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
||||
func (in *HookSpec) DeepCopyInto(out *HookSpec) {
|
||||
*out = *in
|
||||
|
|
|
|||
Loading…
Reference in New Issue