mirror of
https://github.com/k3s-io/kubernetes.git
synced 2026-01-05 23:47:50 +00:00
Support the subresource of node proxy
This commit is contained in:
@@ -104,6 +104,7 @@ func init() {
|
||||
DeepCopy_api_NodeCondition,
|
||||
DeepCopy_api_NodeDaemonEndpoints,
|
||||
DeepCopy_api_NodeList,
|
||||
DeepCopy_api_NodeProxyOptions,
|
||||
DeepCopy_api_NodeResources,
|
||||
DeepCopy_api_NodeSelector,
|
||||
DeepCopy_api_NodeSelectorRequirement,
|
||||
@@ -1401,6 +1402,14 @@ func DeepCopy_api_NodeList(in NodeList, out *NodeList, c *conversion.Cloner) err
|
||||
return nil
|
||||
}
|
||||
|
||||
func DeepCopy_api_NodeProxyOptions(in NodeProxyOptions, out *NodeProxyOptions, c *conversion.Cloner) error {
|
||||
if err := DeepCopy_unversioned_TypeMeta(in.TypeMeta, &out.TypeMeta, c); err != nil {
|
||||
return err
|
||||
}
|
||||
out.Path = in.Path
|
||||
return nil
|
||||
}
|
||||
|
||||
func DeepCopy_api_NodeResources(in NodeResources, out *NodeResources, c *conversion.Cloner) error {
|
||||
if in.Capacity != nil {
|
||||
in, out := in.Capacity, &out.Capacity
|
||||
|
||||
Reference in New Issue
Block a user