mirror of
https://github.com/k3s-io/kubernetes.git
synced 2026-01-06 16:06:51 +00:00
core generated files
This commit is contained in:
@@ -194,6 +194,8 @@ func RegisterConversions(scheme *runtime.Scheme) error {
|
||||
Convert_api_NodeAffinity_To_v1_NodeAffinity,
|
||||
Convert_v1_NodeCondition_To_api_NodeCondition,
|
||||
Convert_api_NodeCondition_To_v1_NodeCondition,
|
||||
Convert_v1_NodeConfigSource_To_api_NodeConfigSource,
|
||||
Convert_api_NodeConfigSource_To_v1_NodeConfigSource,
|
||||
Convert_v1_NodeDaemonEndpoints_To_api_NodeDaemonEndpoints,
|
||||
Convert_api_NodeDaemonEndpoints_To_v1_NodeDaemonEndpoints,
|
||||
Convert_v1_NodeList_To_api_NodeList,
|
||||
@@ -2439,6 +2441,26 @@ func Convert_api_NodeCondition_To_v1_NodeCondition(in *api.NodeCondition, out *v
|
||||
return autoConvert_api_NodeCondition_To_v1_NodeCondition(in, out, s)
|
||||
}
|
||||
|
||||
func autoConvert_v1_NodeConfigSource_To_api_NodeConfigSource(in *v1.NodeConfigSource, out *api.NodeConfigSource, s conversion.Scope) error {
|
||||
out.ConfigMapRef = (*api.ObjectReference)(unsafe.Pointer(in.ConfigMapRef))
|
||||
return nil
|
||||
}
|
||||
|
||||
// Convert_v1_NodeConfigSource_To_api_NodeConfigSource is an autogenerated conversion function.
|
||||
func Convert_v1_NodeConfigSource_To_api_NodeConfigSource(in *v1.NodeConfigSource, out *api.NodeConfigSource, s conversion.Scope) error {
|
||||
return autoConvert_v1_NodeConfigSource_To_api_NodeConfigSource(in, out, s)
|
||||
}
|
||||
|
||||
func autoConvert_api_NodeConfigSource_To_v1_NodeConfigSource(in *api.NodeConfigSource, out *v1.NodeConfigSource, s conversion.Scope) error {
|
||||
out.ConfigMapRef = (*v1.ObjectReference)(unsafe.Pointer(in.ConfigMapRef))
|
||||
return nil
|
||||
}
|
||||
|
||||
// Convert_api_NodeConfigSource_To_v1_NodeConfigSource is an autogenerated conversion function.
|
||||
func Convert_api_NodeConfigSource_To_v1_NodeConfigSource(in *api.NodeConfigSource, out *v1.NodeConfigSource, s conversion.Scope) error {
|
||||
return autoConvert_api_NodeConfigSource_To_v1_NodeConfigSource(in, out, s)
|
||||
}
|
||||
|
||||
func autoConvert_v1_NodeDaemonEndpoints_To_api_NodeDaemonEndpoints(in *v1.NodeDaemonEndpoints, out *api.NodeDaemonEndpoints, s conversion.Scope) error {
|
||||
if err := Convert_v1_DaemonEndpoint_To_api_DaemonEndpoint(&in.KubeletEndpoint, &out.KubeletEndpoint, s); err != nil {
|
||||
return err
|
||||
@@ -2607,6 +2629,7 @@ func autoConvert_v1_NodeSpec_To_api_NodeSpec(in *v1.NodeSpec, out *api.NodeSpec,
|
||||
out.ProviderID = in.ProviderID
|
||||
out.Unschedulable = in.Unschedulable
|
||||
out.Taints = *(*[]api.Taint)(unsafe.Pointer(&in.Taints))
|
||||
out.ConfigSource = (*api.NodeConfigSource)(unsafe.Pointer(in.ConfigSource))
|
||||
return nil
|
||||
}
|
||||
|
||||
@@ -2621,6 +2644,7 @@ func autoConvert_api_NodeSpec_To_v1_NodeSpec(in *api.NodeSpec, out *v1.NodeSpec,
|
||||
out.ProviderID = in.ProviderID
|
||||
out.Unschedulable = in.Unschedulable
|
||||
out.Taints = *(*[]v1.Taint)(unsafe.Pointer(&in.Taints))
|
||||
out.ConfigSource = (*v1.NodeConfigSource)(unsafe.Pointer(in.ConfigSource))
|
||||
return nil
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user