Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
K
k3s
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jacklull
k3s
Commits
7ceeee86
Unverified
Commit
7ceeee86
authored
Mar 20, 2017
by
Jordan Liggitt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update client-go
parent
939ca532
Hide whitespace changes
Inline
Side-by-side
Showing
14 changed files
with
270 additions
and
70 deletions
+270
-70
zz_generated.conversion.go
...rc/k8s.io/client-go/pkg/api/v1/zz_generated.conversion.go
+117
-29
zz_generated.conversion.go
...lient-go/pkg/apis/apps/v1beta1/zz_generated.conversion.go
+1
-1
zz_generated.conversion.go
...ent-go/pkg/apis/autoscaling/v1/zz_generated.conversion.go
+1
-1
zz_generated.conversion.go
.../pkg/apis/autoscaling/v2alpha1/zz_generated.conversion.go
+10
-2
zz_generated.conversion.go
...io/client-go/pkg/apis/batch/v1/zz_generated.conversion.go
+1
-1
zz_generated.conversion.go
...ent-go/pkg/apis/batch/v2alpha1/zz_generated.conversion.go
+1
-1
zz_generated.conversion.go
.../pkg/apis/certificates/v1beta1/zz_generated.conversion.go
+10
-2
zz_generated.conversion.go
...go/pkg/apis/extensions/v1beta1/zz_generated.conversion.go
+39
-11
zz_generated.conversion.go
...ent-go/pkg/apis/policy/v1beta1/zz_generated.conversion.go
+5
-1
zz_generated.conversion.go
...ient-go/pkg/apis/rbac/v1alpha1/zz_generated.conversion.go
+29
-9
zz_generated.conversion.go
...lient-go/pkg/apis/rbac/v1beta1/zz_generated.conversion.go
+45
-9
zz_generated.conversion.go
...-go/pkg/apis/settings/v1alpha1/zz_generated.conversion.go
+1
-1
zz_generated.conversion.go
.../client-go/pkg/apis/storage/v1/zz_generated.conversion.go
+5
-1
zz_generated.conversion.go
...nt-go/pkg/apis/storage/v1beta1/zz_generated.conversion.go
+5
-1
No files found.
staging/src/k8s.io/client-go/pkg/api/v1/zz_generated.conversion.go
View file @
7ceeee86
...
@@ -565,7 +565,11 @@ func Convert_v1_CephFSVolumeSource_To_api_CephFSVolumeSource(in *CephFSVolumeSou
...
@@ -565,7 +565,11 @@ func Convert_v1_CephFSVolumeSource_To_api_CephFSVolumeSource(in *CephFSVolumeSou
}
}
func
autoConvert_api_CephFSVolumeSource_To_v1_CephFSVolumeSource
(
in
*
api
.
CephFSVolumeSource
,
out
*
CephFSVolumeSource
,
s
conversion
.
Scope
)
error
{
func
autoConvert_api_CephFSVolumeSource_To_v1_CephFSVolumeSource
(
in
*
api
.
CephFSVolumeSource
,
out
*
CephFSVolumeSource
,
s
conversion
.
Scope
)
error
{
out
.
Monitors
=
*
(
*
[]
string
)(
unsafe
.
Pointer
(
&
in
.
Monitors
))
if
in
.
Monitors
==
nil
{
out
.
Monitors
=
make
([]
string
,
0
)
}
else
{
out
.
Monitors
=
*
(
*
[]
string
)(
unsafe
.
Pointer
(
&
in
.
Monitors
))
}
out
.
Path
=
in
.
Path
out
.
Path
=
in
.
Path
out
.
User
=
in
.
User
out
.
User
=
in
.
User
out
.
SecretFile
=
in
.
SecretFile
out
.
SecretFile
=
in
.
SecretFile
...
@@ -656,7 +660,11 @@ func Convert_v1_ComponentStatusList_To_api_ComponentStatusList(in *ComponentStat
...
@@ -656,7 +660,11 @@ func Convert_v1_ComponentStatusList_To_api_ComponentStatusList(in *ComponentStat
func
autoConvert_api_ComponentStatusList_To_v1_ComponentStatusList
(
in
*
api
.
ComponentStatusList
,
out
*
ComponentStatusList
,
s
conversion
.
Scope
)
error
{
func
autoConvert_api_ComponentStatusList_To_v1_ComponentStatusList
(
in
*
api
.
ComponentStatusList
,
out
*
ComponentStatusList
,
s
conversion
.
Scope
)
error
{
out
.
ListMeta
=
in
.
ListMeta
out
.
ListMeta
=
in
.
ListMeta
out
.
Items
=
*
(
*
[]
ComponentStatus
)(
unsafe
.
Pointer
(
&
in
.
Items
))
if
in
.
Items
==
nil
{
out
.
Items
=
make
([]
ComponentStatus
,
0
)
}
else
{
out
.
Items
=
*
(
*
[]
ComponentStatus
)(
unsafe
.
Pointer
(
&
in
.
Items
))
}
return
nil
return
nil
}
}
...
@@ -746,7 +754,11 @@ func Convert_v1_ConfigMapList_To_api_ConfigMapList(in *ConfigMapList, out *api.C
...
@@ -746,7 +754,11 @@ func Convert_v1_ConfigMapList_To_api_ConfigMapList(in *ConfigMapList, out *api.C
func
autoConvert_api_ConfigMapList_To_v1_ConfigMapList
(
in
*
api
.
ConfigMapList
,
out
*
ConfigMapList
,
s
conversion
.
Scope
)
error
{
func
autoConvert_api_ConfigMapList_To_v1_ConfigMapList
(
in
*
api
.
ConfigMapList
,
out
*
ConfigMapList
,
s
conversion
.
Scope
)
error
{
out
.
ListMeta
=
in
.
ListMeta
out
.
ListMeta
=
in
.
ListMeta
out
.
Items
=
*
(
*
[]
ConfigMap
)(
unsafe
.
Pointer
(
&
in
.
Items
))
if
in
.
Items
==
nil
{
out
.
Items
=
make
([]
ConfigMap
,
0
)
}
else
{
out
.
Items
=
*
(
*
[]
ConfigMap
)(
unsafe
.
Pointer
(
&
in
.
Items
))
}
return
nil
return
nil
}
}
...
@@ -879,7 +891,11 @@ func Convert_v1_ContainerImage_To_api_ContainerImage(in *ContainerImage, out *ap
...
@@ -879,7 +891,11 @@ func Convert_v1_ContainerImage_To_api_ContainerImage(in *ContainerImage, out *ap
}
}
func
autoConvert_api_ContainerImage_To_v1_ContainerImage
(
in
*
api
.
ContainerImage
,
out
*
ContainerImage
,
s
conversion
.
Scope
)
error
{
func
autoConvert_api_ContainerImage_To_v1_ContainerImage
(
in
*
api
.
ContainerImage
,
out
*
ContainerImage
,
s
conversion
.
Scope
)
error
{
out
.
Names
=
*
(
*
[]
string
)(
unsafe
.
Pointer
(
&
in
.
Names
))
if
in
.
Names
==
nil
{
out
.
Names
=
make
([]
string
,
0
)
}
else
{
out
.
Names
=
*
(
*
[]
string
)(
unsafe
.
Pointer
(
&
in
.
Names
))
}
out
.
SizeBytes
=
in
.
SizeBytes
out
.
SizeBytes
=
in
.
SizeBytes
return
nil
return
nil
}
}
...
@@ -1246,7 +1262,11 @@ func Convert_v1_Endpoints_To_api_Endpoints(in *Endpoints, out *api.Endpoints, s
...
@@ -1246,7 +1262,11 @@ func Convert_v1_Endpoints_To_api_Endpoints(in *Endpoints, out *api.Endpoints, s
func
autoConvert_api_Endpoints_To_v1_Endpoints
(
in
*
api
.
Endpoints
,
out
*
Endpoints
,
s
conversion
.
Scope
)
error
{
func
autoConvert_api_Endpoints_To_v1_Endpoints
(
in
*
api
.
Endpoints
,
out
*
Endpoints
,
s
conversion
.
Scope
)
error
{
out
.
ObjectMeta
=
in
.
ObjectMeta
out
.
ObjectMeta
=
in
.
ObjectMeta
out
.
Subsets
=
*
(
*
[]
EndpointSubset
)(
unsafe
.
Pointer
(
&
in
.
Subsets
))
if
in
.
Subsets
==
nil
{
out
.
Subsets
=
make
([]
EndpointSubset
,
0
)
}
else
{
out
.
Subsets
=
*
(
*
[]
EndpointSubset
)(
unsafe
.
Pointer
(
&
in
.
Subsets
))
}
return
nil
return
nil
}
}
...
@@ -1266,7 +1286,11 @@ func Convert_v1_EndpointsList_To_api_EndpointsList(in *EndpointsList, out *api.E
...
@@ -1266,7 +1286,11 @@ func Convert_v1_EndpointsList_To_api_EndpointsList(in *EndpointsList, out *api.E
func
autoConvert_api_EndpointsList_To_v1_EndpointsList
(
in
*
api
.
EndpointsList
,
out
*
EndpointsList
,
s
conversion
.
Scope
)
error
{
func
autoConvert_api_EndpointsList_To_v1_EndpointsList
(
in
*
api
.
EndpointsList
,
out
*
EndpointsList
,
s
conversion
.
Scope
)
error
{
out
.
ListMeta
=
in
.
ListMeta
out
.
ListMeta
=
in
.
ListMeta
out
.
Items
=
*
(
*
[]
Endpoints
)(
unsafe
.
Pointer
(
&
in
.
Items
))
if
in
.
Items
==
nil
{
out
.
Items
=
make
([]
Endpoints
,
0
)
}
else
{
out
.
Items
=
*
(
*
[]
Endpoints
)(
unsafe
.
Pointer
(
&
in
.
Items
))
}
return
nil
return
nil
}
}
...
@@ -1396,7 +1420,11 @@ func Convert_v1_EventList_To_api_EventList(in *EventList, out *api.EventList, s
...
@@ -1396,7 +1420,11 @@ func Convert_v1_EventList_To_api_EventList(in *EventList, out *api.EventList, s
func
autoConvert_api_EventList_To_v1_EventList
(
in
*
api
.
EventList
,
out
*
EventList
,
s
conversion
.
Scope
)
error
{
func
autoConvert_api_EventList_To_v1_EventList
(
in
*
api
.
EventList
,
out
*
EventList
,
s
conversion
.
Scope
)
error
{
out
.
ListMeta
=
in
.
ListMeta
out
.
ListMeta
=
in
.
ListMeta
out
.
Items
=
*
(
*
[]
Event
)(
unsafe
.
Pointer
(
&
in
.
Items
))
if
in
.
Items
==
nil
{
out
.
Items
=
make
([]
Event
,
0
)
}
else
{
out
.
Items
=
*
(
*
[]
Event
)(
unsafe
.
Pointer
(
&
in
.
Items
))
}
return
nil
return
nil
}
}
...
@@ -1455,7 +1483,11 @@ func Convert_v1_FCVolumeSource_To_api_FCVolumeSource(in *FCVolumeSource, out *ap
...
@@ -1455,7 +1483,11 @@ func Convert_v1_FCVolumeSource_To_api_FCVolumeSource(in *FCVolumeSource, out *ap
}
}
func
autoConvert_api_FCVolumeSource_To_v1_FCVolumeSource
(
in
*
api
.
FCVolumeSource
,
out
*
FCVolumeSource
,
s
conversion
.
Scope
)
error
{
func
autoConvert_api_FCVolumeSource_To_v1_FCVolumeSource
(
in
*
api
.
FCVolumeSource
,
out
*
FCVolumeSource
,
s
conversion
.
Scope
)
error
{
out
.
TargetWWNs
=
*
(
*
[]
string
)(
unsafe
.
Pointer
(
&
in
.
TargetWWNs
))
if
in
.
TargetWWNs
==
nil
{
out
.
TargetWWNs
=
make
([]
string
,
0
)
}
else
{
out
.
TargetWWNs
=
*
(
*
[]
string
)(
unsafe
.
Pointer
(
&
in
.
TargetWWNs
))
}
out
.
Lun
=
(
*
int32
)(
unsafe
.
Pointer
(
in
.
Lun
))
out
.
Lun
=
(
*
int32
)(
unsafe
.
Pointer
(
in
.
Lun
))
out
.
FSType
=
in
.
FSType
out
.
FSType
=
in
.
FSType
out
.
ReadOnly
=
in
.
ReadOnly
out
.
ReadOnly
=
in
.
ReadOnly
...
@@ -1802,7 +1834,11 @@ func Convert_v1_LimitRangeList_To_api_LimitRangeList(in *LimitRangeList, out *ap
...
@@ -1802,7 +1834,11 @@ func Convert_v1_LimitRangeList_To_api_LimitRangeList(in *LimitRangeList, out *ap
func
autoConvert_api_LimitRangeList_To_v1_LimitRangeList
(
in
*
api
.
LimitRangeList
,
out
*
LimitRangeList
,
s
conversion
.
Scope
)
error
{
func
autoConvert_api_LimitRangeList_To_v1_LimitRangeList
(
in
*
api
.
LimitRangeList
,
out
*
LimitRangeList
,
s
conversion
.
Scope
)
error
{
out
.
ListMeta
=
in
.
ListMeta
out
.
ListMeta
=
in
.
ListMeta
out
.
Items
=
*
(
*
[]
LimitRange
)(
unsafe
.
Pointer
(
&
in
.
Items
))
if
in
.
Items
==
nil
{
out
.
Items
=
make
([]
LimitRange
,
0
)
}
else
{
out
.
Items
=
*
(
*
[]
LimitRange
)(
unsafe
.
Pointer
(
&
in
.
Items
))
}
return
nil
return
nil
}
}
...
@@ -1820,7 +1856,11 @@ func Convert_v1_LimitRangeSpec_To_api_LimitRangeSpec(in *LimitRangeSpec, out *ap
...
@@ -1820,7 +1856,11 @@ func Convert_v1_LimitRangeSpec_To_api_LimitRangeSpec(in *LimitRangeSpec, out *ap
}
}
func
autoConvert_api_LimitRangeSpec_To_v1_LimitRangeSpec
(
in
*
api
.
LimitRangeSpec
,
out
*
LimitRangeSpec
,
s
conversion
.
Scope
)
error
{
func
autoConvert_api_LimitRangeSpec_To_v1_LimitRangeSpec
(
in
*
api
.
LimitRangeSpec
,
out
*
LimitRangeSpec
,
s
conversion
.
Scope
)
error
{
out
.
Limits
=
*
(
*
[]
LimitRangeItem
)(
unsafe
.
Pointer
(
&
in
.
Limits
))
if
in
.
Limits
==
nil
{
out
.
Limits
=
make
([]
LimitRangeItem
,
0
)
}
else
{
out
.
Limits
=
*
(
*
[]
LimitRangeItem
)(
unsafe
.
Pointer
(
&
in
.
Limits
))
}
return
nil
return
nil
}
}
...
@@ -1859,7 +1899,7 @@ func autoConvert_api_List_To_v1_List(in *api.List, out *List, s conversion.Scope
...
@@ -1859,7 +1899,7 @@ func autoConvert_api_List_To_v1_List(in *api.List, out *List, s conversion.Scope
}
}
}
}
}
else
{
}
else
{
out
.
Items
=
nil
out
.
Items
=
make
([]
runtime
.
RawExtension
,
0
)
}
}
return
nil
return
nil
}
}
...
@@ -2022,7 +2062,11 @@ func Convert_v1_NamespaceList_To_api_NamespaceList(in *NamespaceList, out *api.N
...
@@ -2022,7 +2062,11 @@ func Convert_v1_NamespaceList_To_api_NamespaceList(in *NamespaceList, out *api.N
func
autoConvert_api_NamespaceList_To_v1_NamespaceList
(
in
*
api
.
NamespaceList
,
out
*
NamespaceList
,
s
conversion
.
Scope
)
error
{
func
autoConvert_api_NamespaceList_To_v1_NamespaceList
(
in
*
api
.
NamespaceList
,
out
*
NamespaceList
,
s
conversion
.
Scope
)
error
{
out
.
ListMeta
=
in
.
ListMeta
out
.
ListMeta
=
in
.
ListMeta
out
.
Items
=
*
(
*
[]
Namespace
)(
unsafe
.
Pointer
(
&
in
.
Items
))
if
in
.
Items
==
nil
{
out
.
Items
=
make
([]
Namespace
,
0
)
}
else
{
out
.
Items
=
*
(
*
[]
Namespace
)(
unsafe
.
Pointer
(
&
in
.
Items
))
}
return
nil
return
nil
}
}
...
@@ -2198,7 +2242,11 @@ func Convert_v1_NodeList_To_api_NodeList(in *NodeList, out *api.NodeList, s conv
...
@@ -2198,7 +2242,11 @@ func Convert_v1_NodeList_To_api_NodeList(in *NodeList, out *api.NodeList, s conv
func
autoConvert_api_NodeList_To_v1_NodeList
(
in
*
api
.
NodeList
,
out
*
NodeList
,
s
conversion
.
Scope
)
error
{
func
autoConvert_api_NodeList_To_v1_NodeList
(
in
*
api
.
NodeList
,
out
*
NodeList
,
s
conversion
.
Scope
)
error
{
out
.
ListMeta
=
in
.
ListMeta
out
.
ListMeta
=
in
.
ListMeta
out
.
Items
=
*
(
*
[]
Node
)(
unsafe
.
Pointer
(
&
in
.
Items
))
if
in
.
Items
==
nil
{
out
.
Items
=
make
([]
Node
,
0
)
}
else
{
out
.
Items
=
*
(
*
[]
Node
)(
unsafe
.
Pointer
(
&
in
.
Items
))
}
return
nil
return
nil
}
}
...
@@ -2252,7 +2300,11 @@ func Convert_v1_NodeSelector_To_api_NodeSelector(in *NodeSelector, out *api.Node
...
@@ -2252,7 +2300,11 @@ func Convert_v1_NodeSelector_To_api_NodeSelector(in *NodeSelector, out *api.Node
}
}
func
autoConvert_api_NodeSelector_To_v1_NodeSelector
(
in
*
api
.
NodeSelector
,
out
*
NodeSelector
,
s
conversion
.
Scope
)
error
{
func
autoConvert_api_NodeSelector_To_v1_NodeSelector
(
in
*
api
.
NodeSelector
,
out
*
NodeSelector
,
s
conversion
.
Scope
)
error
{
out
.
NodeSelectorTerms
=
*
(
*
[]
NodeSelectorTerm
)(
unsafe
.
Pointer
(
&
in
.
NodeSelectorTerms
))
if
in
.
NodeSelectorTerms
==
nil
{
out
.
NodeSelectorTerms
=
make
([]
NodeSelectorTerm
,
0
)
}
else
{
out
.
NodeSelectorTerms
=
*
(
*
[]
NodeSelectorTerm
)(
unsafe
.
Pointer
(
&
in
.
NodeSelectorTerms
))
}
return
nil
return
nil
}
}
...
@@ -2292,7 +2344,11 @@ func Convert_v1_NodeSelectorTerm_To_api_NodeSelectorTerm(in *NodeSelectorTerm, o
...
@@ -2292,7 +2344,11 @@ func Convert_v1_NodeSelectorTerm_To_api_NodeSelectorTerm(in *NodeSelectorTerm, o
}
}
func
autoConvert_api_NodeSelectorTerm_To_v1_NodeSelectorTerm
(
in
*
api
.
NodeSelectorTerm
,
out
*
NodeSelectorTerm
,
s
conversion
.
Scope
)
error
{
func
autoConvert_api_NodeSelectorTerm_To_v1_NodeSelectorTerm
(
in
*
api
.
NodeSelectorTerm
,
out
*
NodeSelectorTerm
,
s
conversion
.
Scope
)
error
{
out
.
MatchExpressions
=
*
(
*
[]
NodeSelectorRequirement
)(
unsafe
.
Pointer
(
&
in
.
MatchExpressions
))
if
in
.
MatchExpressions
==
nil
{
out
.
MatchExpressions
=
make
([]
NodeSelectorRequirement
,
0
)
}
else
{
out
.
MatchExpressions
=
*
(
*
[]
NodeSelectorRequirement
)(
unsafe
.
Pointer
(
&
in
.
MatchExpressions
))
}
return
nil
return
nil
}
}
...
@@ -2574,7 +2630,11 @@ func Convert_v1_PersistentVolumeClaimList_To_api_PersistentVolumeClaimList(in *P
...
@@ -2574,7 +2630,11 @@ func Convert_v1_PersistentVolumeClaimList_To_api_PersistentVolumeClaimList(in *P
func
autoConvert_api_PersistentVolumeClaimList_To_v1_PersistentVolumeClaimList
(
in
*
api
.
PersistentVolumeClaimList
,
out
*
PersistentVolumeClaimList
,
s
conversion
.
Scope
)
error
{
func
autoConvert_api_PersistentVolumeClaimList_To_v1_PersistentVolumeClaimList
(
in
*
api
.
PersistentVolumeClaimList
,
out
*
PersistentVolumeClaimList
,
s
conversion
.
Scope
)
error
{
out
.
ListMeta
=
in
.
ListMeta
out
.
ListMeta
=
in
.
ListMeta
out
.
Items
=
*
(
*
[]
PersistentVolumeClaim
)(
unsafe
.
Pointer
(
&
in
.
Items
))
if
in
.
Items
==
nil
{
out
.
Items
=
make
([]
PersistentVolumeClaim
,
0
)
}
else
{
out
.
Items
=
*
(
*
[]
PersistentVolumeClaim
)(
unsafe
.
Pointer
(
&
in
.
Items
))
}
return
nil
return
nil
}
}
...
@@ -2685,7 +2745,7 @@ func autoConvert_api_PersistentVolumeList_To_v1_PersistentVolumeList(in *api.Per
...
@@ -2685,7 +2745,7 @@ func autoConvert_api_PersistentVolumeList_To_v1_PersistentVolumeList(in *api.Per
}
}
}
}
}
else
{
}
else
{
out
.
Items
=
nil
out
.
Items
=
make
([]
PersistentVolume
,
0
)
}
}
return
nil
return
nil
}
}
...
@@ -2980,7 +3040,11 @@ func autoConvert_api_PodExecOptions_To_v1_PodExecOptions(in *api.PodExecOptions,
...
@@ -2980,7 +3040,11 @@ func autoConvert_api_PodExecOptions_To_v1_PodExecOptions(in *api.PodExecOptions,
out
.
Stderr
=
in
.
Stderr
out
.
Stderr
=
in
.
Stderr
out
.
TTY
=
in
.
TTY
out
.
TTY
=
in
.
TTY
out
.
Container
=
in
.
Container
out
.
Container
=
in
.
Container
out
.
Command
=
*
(
*
[]
string
)(
unsafe
.
Pointer
(
&
in
.
Command
))
if
in
.
Command
==
nil
{
out
.
Command
=
make
([]
string
,
0
)
}
else
{
out
.
Command
=
*
(
*
[]
string
)(
unsafe
.
Pointer
(
&
in
.
Command
))
}
return
nil
return
nil
}
}
...
@@ -3019,7 +3083,7 @@ func autoConvert_api_PodList_To_v1_PodList(in *api.PodList, out *PodList, s conv
...
@@ -3019,7 +3083,7 @@ func autoConvert_api_PodList_To_v1_PodList(in *api.PodList, out *PodList, s conv
}
}
}
}
}
else
{
}
else
{
out
.
Items
=
nil
out
.
Items
=
make
([]
Pod
,
0
)
}
}
return
nil
return
nil
}
}
...
@@ -3192,7 +3256,11 @@ func autoConvert_api_PodSpec_To_v1_PodSpec(in *api.PodSpec, out *PodSpec, s conv
...
@@ -3192,7 +3256,11 @@ func autoConvert_api_PodSpec_To_v1_PodSpec(in *api.PodSpec, out *PodSpec, s conv
out
.
Volumes
=
nil
out
.
Volumes
=
nil
}
}
out
.
InitContainers
=
*
(
*
[]
Container
)(
unsafe
.
Pointer
(
&
in
.
InitContainers
))
out
.
InitContainers
=
*
(
*
[]
Container
)(
unsafe
.
Pointer
(
&
in
.
InitContainers
))
out
.
Containers
=
*
(
*
[]
Container
)(
unsafe
.
Pointer
(
&
in
.
Containers
))
if
in
.
Containers
==
nil
{
out
.
Containers
=
make
([]
Container
,
0
)
}
else
{
out
.
Containers
=
*
(
*
[]
Container
)(
unsafe
.
Pointer
(
&
in
.
Containers
))
}
out
.
RestartPolicy
=
RestartPolicy
(
in
.
RestartPolicy
)
out
.
RestartPolicy
=
RestartPolicy
(
in
.
RestartPolicy
)
out
.
TerminationGracePeriodSeconds
=
(
*
int64
)(
unsafe
.
Pointer
(
in
.
TerminationGracePeriodSeconds
))
out
.
TerminationGracePeriodSeconds
=
(
*
int64
)(
unsafe
.
Pointer
(
in
.
TerminationGracePeriodSeconds
))
out
.
ActiveDeadlineSeconds
=
(
*
int64
)(
unsafe
.
Pointer
(
in
.
ActiveDeadlineSeconds
))
out
.
ActiveDeadlineSeconds
=
(
*
int64
)(
unsafe
.
Pointer
(
in
.
ActiveDeadlineSeconds
))
...
@@ -3326,7 +3394,7 @@ func autoConvert_api_PodTemplateList_To_v1_PodTemplateList(in *api.PodTemplateLi
...
@@ -3326,7 +3394,7 @@ func autoConvert_api_PodTemplateList_To_v1_PodTemplateList(in *api.PodTemplateLi
}
}
}
}
}
else
{
}
else
{
out
.
Items
=
nil
out
.
Items
=
make
([]
PodTemplate
,
0
)
}
}
return
nil
return
nil
}
}
...
@@ -3486,7 +3554,11 @@ func Convert_v1_ProjectedVolumeSource_To_api_ProjectedVolumeSource(in *Projected
...
@@ -3486,7 +3554,11 @@ func Convert_v1_ProjectedVolumeSource_To_api_ProjectedVolumeSource(in *Projected
}
}
func
autoConvert_api_ProjectedVolumeSource_To_v1_ProjectedVolumeSource
(
in
*
api
.
ProjectedVolumeSource
,
out
*
ProjectedVolumeSource
,
s
conversion
.
Scope
)
error
{
func
autoConvert_api_ProjectedVolumeSource_To_v1_ProjectedVolumeSource
(
in
*
api
.
ProjectedVolumeSource
,
out
*
ProjectedVolumeSource
,
s
conversion
.
Scope
)
error
{
out
.
Sources
=
*
(
*
[]
VolumeProjection
)(
unsafe
.
Pointer
(
&
in
.
Sources
))
if
in
.
Sources
==
nil
{
out
.
Sources
=
make
([]
VolumeProjection
,
0
)
}
else
{
out
.
Sources
=
*
(
*
[]
VolumeProjection
)(
unsafe
.
Pointer
(
&
in
.
Sources
))
}
out
.
DefaultMode
=
(
*
int32
)(
unsafe
.
Pointer
(
in
.
DefaultMode
))
out
.
DefaultMode
=
(
*
int32
)(
unsafe
.
Pointer
(
in
.
DefaultMode
))
return
nil
return
nil
}
}
...
@@ -3538,7 +3610,11 @@ func Convert_v1_RBDVolumeSource_To_api_RBDVolumeSource(in *RBDVolumeSource, out
...
@@ -3538,7 +3610,11 @@ func Convert_v1_RBDVolumeSource_To_api_RBDVolumeSource(in *RBDVolumeSource, out
}
}
func
autoConvert_api_RBDVolumeSource_To_v1_RBDVolumeSource
(
in
*
api
.
RBDVolumeSource
,
out
*
RBDVolumeSource
,
s
conversion
.
Scope
)
error
{
func
autoConvert_api_RBDVolumeSource_To_v1_RBDVolumeSource
(
in
*
api
.
RBDVolumeSource
,
out
*
RBDVolumeSource
,
s
conversion
.
Scope
)
error
{
out
.
CephMonitors
=
*
(
*
[]
string
)(
unsafe
.
Pointer
(
&
in
.
CephMonitors
))
if
in
.
CephMonitors
==
nil
{
out
.
CephMonitors
=
make
([]
string
,
0
)
}
else
{
out
.
CephMonitors
=
*
(
*
[]
string
)(
unsafe
.
Pointer
(
&
in
.
CephMonitors
))
}
out
.
RBDImage
=
in
.
RBDImage
out
.
RBDImage
=
in
.
RBDImage
out
.
FSType
=
in
.
FSType
out
.
FSType
=
in
.
FSType
out
.
RBDPool
=
in
.
RBDPool
out
.
RBDPool
=
in
.
RBDPool
...
@@ -3567,7 +3643,11 @@ func Convert_v1_RangeAllocation_To_api_RangeAllocation(in *RangeAllocation, out
...
@@ -3567,7 +3643,11 @@ func Convert_v1_RangeAllocation_To_api_RangeAllocation(in *RangeAllocation, out
func
autoConvert_api_RangeAllocation_To_v1_RangeAllocation
(
in
*
api
.
RangeAllocation
,
out
*
RangeAllocation
,
s
conversion
.
Scope
)
error
{
func
autoConvert_api_RangeAllocation_To_v1_RangeAllocation
(
in
*
api
.
RangeAllocation
,
out
*
RangeAllocation
,
s
conversion
.
Scope
)
error
{
out
.
ObjectMeta
=
in
.
ObjectMeta
out
.
ObjectMeta
=
in
.
ObjectMeta
out
.
Range
=
in
.
Range
out
.
Range
=
in
.
Range
out
.
Data
=
*
(
*
[]
byte
)(
unsafe
.
Pointer
(
&
in
.
Data
))
if
in
.
Data
==
nil
{
out
.
Data
=
make
([]
byte
,
0
)
}
else
{
out
.
Data
=
*
(
*
[]
byte
)(
unsafe
.
Pointer
(
&
in
.
Data
))
}
return
nil
return
nil
}
}
...
@@ -3662,7 +3742,7 @@ func autoConvert_api_ReplicationControllerList_To_v1_ReplicationControllerList(i
...
@@ -3662,7 +3742,7 @@ func autoConvert_api_ReplicationControllerList_To_v1_ReplicationControllerList(i
}
}
}
}
}
else
{
}
else
{
out
.
Items
=
nil
out
.
Items
=
make
([]
ReplicationController
,
0
)
}
}
return
nil
return
nil
}
}
...
@@ -3799,7 +3879,11 @@ func Convert_v1_ResourceQuotaList_To_api_ResourceQuotaList(in *ResourceQuotaList
...
@@ -3799,7 +3879,11 @@ func Convert_v1_ResourceQuotaList_To_api_ResourceQuotaList(in *ResourceQuotaList
func
autoConvert_api_ResourceQuotaList_To_v1_ResourceQuotaList
(
in
*
api
.
ResourceQuotaList
,
out
*
ResourceQuotaList
,
s
conversion
.
Scope
)
error
{
func
autoConvert_api_ResourceQuotaList_To_v1_ResourceQuotaList
(
in
*
api
.
ResourceQuotaList
,
out
*
ResourceQuotaList
,
s
conversion
.
Scope
)
error
{
out
.
ListMeta
=
in
.
ListMeta
out
.
ListMeta
=
in
.
ListMeta
out
.
Items
=
*
(
*
[]
ResourceQuota
)(
unsafe
.
Pointer
(
&
in
.
Items
))
if
in
.
Items
==
nil
{
out
.
Items
=
make
([]
ResourceQuota
,
0
)
}
else
{
out
.
Items
=
*
(
*
[]
ResourceQuota
)(
unsafe
.
Pointer
(
&
in
.
Items
))
}
return
nil
return
nil
}
}
...
@@ -4027,7 +4111,7 @@ func autoConvert_api_SecretList_To_v1_SecretList(in *api.SecretList, out *Secret
...
@@ -4027,7 +4111,7 @@ func autoConvert_api_SecretList_To_v1_SecretList(in *api.SecretList, out *Secret
}
}
}
}
}
else
{
}
else
{
out
.
Items
=
nil
out
.
Items
=
make
([]
Secret
,
0
)
}
}
return
nil
return
nil
}
}
...
@@ -4202,7 +4286,11 @@ func Convert_v1_ServiceAccountList_To_api_ServiceAccountList(in *ServiceAccountL
...
@@ -4202,7 +4286,11 @@ func Convert_v1_ServiceAccountList_To_api_ServiceAccountList(in *ServiceAccountL
func
autoConvert_api_ServiceAccountList_To_v1_ServiceAccountList
(
in
*
api
.
ServiceAccountList
,
out
*
ServiceAccountList
,
s
conversion
.
Scope
)
error
{
func
autoConvert_api_ServiceAccountList_To_v1_ServiceAccountList
(
in
*
api
.
ServiceAccountList
,
out
*
ServiceAccountList
,
s
conversion
.
Scope
)
error
{
out
.
ListMeta
=
in
.
ListMeta
out
.
ListMeta
=
in
.
ListMeta
out
.
Items
=
*
(
*
[]
ServiceAccount
)(
unsafe
.
Pointer
(
&
in
.
Items
))
if
in
.
Items
==
nil
{
out
.
Items
=
make
([]
ServiceAccount
,
0
)
}
else
{
out
.
Items
=
*
(
*
[]
ServiceAccount
)(
unsafe
.
Pointer
(
&
in
.
Items
))
}
return
nil
return
nil
}
}
...
@@ -4241,7 +4329,7 @@ func autoConvert_api_ServiceList_To_v1_ServiceList(in *api.ServiceList, out *Ser
...
@@ -4241,7 +4329,7 @@ func autoConvert_api_ServiceList_To_v1_ServiceList(in *api.ServiceList, out *Ser
}
}
}
}
}
else
{
}
else
{
out
.
Items
=
nil
out
.
Items
=
make
([]
Service
,
0
)
}
}
return
nil
return
nil
}
}
...
...
staging/src/k8s.io/client-go/pkg/apis/apps/v1beta1/zz_generated.conversion.go
View file @
7ceeee86
...
@@ -110,7 +110,7 @@ func autoConvert_apps_StatefulSetList_To_v1beta1_StatefulSetList(in *apps.Statef
...
@@ -110,7 +110,7 @@ func autoConvert_apps_StatefulSetList_To_v1beta1_StatefulSetList(in *apps.Statef
}
}
}
}
}
else
{
}
else
{
out
.
Items
=
nil
out
.
Items
=
make
([]
StatefulSet
,
0
)
}
}
return
nil
return
nil
}
}
...
...
staging/src/k8s.io/client-go/pkg/apis/autoscaling/v1/zz_generated.conversion.go
View file @
7ceeee86
...
@@ -149,7 +149,7 @@ func autoConvert_autoscaling_HorizontalPodAutoscalerList_To_v1_HorizontalPodAuto
...
@@ -149,7 +149,7 @@ func autoConvert_autoscaling_HorizontalPodAutoscalerList_To_v1_HorizontalPodAuto
}
}
}
}
}
else
{
}
else
{
out
.
Items
=
nil
out
.
Items
=
make
([]
HorizontalPodAutoscaler
,
0
)
}
}
return
nil
return
nil
}
}
...
...
staging/src/k8s.io/client-go/pkg/apis/autoscaling/v2alpha1/zz_generated.conversion.go
View file @
7ceeee86
...
@@ -132,7 +132,11 @@ func Convert_v2alpha1_HorizontalPodAutoscalerList_To_autoscaling_HorizontalPodAu
...
@@ -132,7 +132,11 @@ func Convert_v2alpha1_HorizontalPodAutoscalerList_To_autoscaling_HorizontalPodAu
func
autoConvert_autoscaling_HorizontalPodAutoscalerList_To_v2alpha1_HorizontalPodAutoscalerList
(
in
*
autoscaling
.
HorizontalPodAutoscalerList
,
out
*
HorizontalPodAutoscalerList
,
s
conversion
.
Scope
)
error
{
func
autoConvert_autoscaling_HorizontalPodAutoscalerList_To_v2alpha1_HorizontalPodAutoscalerList
(
in
*
autoscaling
.
HorizontalPodAutoscalerList
,
out
*
HorizontalPodAutoscalerList
,
s
conversion
.
Scope
)
error
{
out
.
ListMeta
=
in
.
ListMeta
out
.
ListMeta
=
in
.
ListMeta
out
.
Items
=
*
(
*
[]
HorizontalPodAutoscaler
)(
unsafe
.
Pointer
(
&
in
.
Items
))
if
in
.
Items
==
nil
{
out
.
Items
=
make
([]
HorizontalPodAutoscaler
,
0
)
}
else
{
out
.
Items
=
*
(
*
[]
HorizontalPodAutoscaler
)(
unsafe
.
Pointer
(
&
in
.
Items
))
}
return
nil
return
nil
}
}
...
@@ -186,7 +190,11 @@ func autoConvert_autoscaling_HorizontalPodAutoscalerStatus_To_v2alpha1_Horizonta
...
@@ -186,7 +190,11 @@ func autoConvert_autoscaling_HorizontalPodAutoscalerStatus_To_v2alpha1_Horizonta
out
.
LastScaleTime
=
(
*
v1
.
Time
)(
unsafe
.
Pointer
(
in
.
LastScaleTime
))
out
.
LastScaleTime
=
(
*
v1
.
Time
)(
unsafe
.
Pointer
(
in
.
LastScaleTime
))
out
.
CurrentReplicas
=
in
.
CurrentReplicas
out
.
CurrentReplicas
=
in
.
CurrentReplicas
out
.
DesiredReplicas
=
in
.
DesiredReplicas
out
.
DesiredReplicas
=
in
.
DesiredReplicas
out
.
CurrentMetrics
=
*
(
*
[]
MetricStatus
)(
unsafe
.
Pointer
(
&
in
.
CurrentMetrics
))
if
in
.
CurrentMetrics
==
nil
{
out
.
CurrentMetrics
=
make
([]
MetricStatus
,
0
)
}
else
{
out
.
CurrentMetrics
=
*
(
*
[]
MetricStatus
)(
unsafe
.
Pointer
(
&
in
.
CurrentMetrics
))
}
return
nil
return
nil
}
}
...
...
staging/src/k8s.io/client-go/pkg/apis/batch/v1/zz_generated.conversion.go
View file @
7ceeee86
...
@@ -140,7 +140,7 @@ func autoConvert_batch_JobList_To_v1_JobList(in *batch.JobList, out *JobList, s
...
@@ -140,7 +140,7 @@ func autoConvert_batch_JobList_To_v1_JobList(in *batch.JobList, out *JobList, s
}
}
}
}
}
else
{
}
else
{
out
.
Items
=
nil
out
.
Items
=
make
([]
Job
,
0
)
}
}
return
nil
return
nil
}
}
...
...
staging/src/k8s.io/client-go/pkg/apis/batch/v2alpha1/zz_generated.conversion.go
View file @
7ceeee86
...
@@ -115,7 +115,7 @@ func autoConvert_batch_CronJobList_To_v2alpha1_CronJobList(in *batch.CronJobList
...
@@ -115,7 +115,7 @@ func autoConvert_batch_CronJobList_To_v2alpha1_CronJobList(in *batch.CronJobList
}
}
}
}
}
else
{
}
else
{
out
.
Items
=
nil
out
.
Items
=
make
([]
CronJob
,
0
)
}
}
return
nil
return
nil
}
}
...
...
staging/src/k8s.io/client-go/pkg/apis/certificates/v1beta1/zz_generated.conversion.go
View file @
7ceeee86
...
@@ -114,7 +114,11 @@ func Convert_v1beta1_CertificateSigningRequestList_To_certificates_CertificateSi
...
@@ -114,7 +114,11 @@ func Convert_v1beta1_CertificateSigningRequestList_To_certificates_CertificateSi
func
autoConvert_certificates_CertificateSigningRequestList_To_v1beta1_CertificateSigningRequestList
(
in
*
certificates
.
CertificateSigningRequestList
,
out
*
CertificateSigningRequestList
,
s
conversion
.
Scope
)
error
{
func
autoConvert_certificates_CertificateSigningRequestList_To_v1beta1_CertificateSigningRequestList
(
in
*
certificates
.
CertificateSigningRequestList
,
out
*
CertificateSigningRequestList
,
s
conversion
.
Scope
)
error
{
out
.
ListMeta
=
in
.
ListMeta
out
.
ListMeta
=
in
.
ListMeta
out
.
Items
=
*
(
*
[]
CertificateSigningRequest
)(
unsafe
.
Pointer
(
&
in
.
Items
))
if
in
.
Items
==
nil
{
out
.
Items
=
make
([]
CertificateSigningRequest
,
0
)
}
else
{
out
.
Items
=
*
(
*
[]
CertificateSigningRequest
)(
unsafe
.
Pointer
(
&
in
.
Items
))
}
return
nil
return
nil
}
}
...
@@ -137,7 +141,11 @@ func Convert_v1beta1_CertificateSigningRequestSpec_To_certificates_CertificateSi
...
@@ -137,7 +141,11 @@ func Convert_v1beta1_CertificateSigningRequestSpec_To_certificates_CertificateSi
}
}
func
autoConvert_certificates_CertificateSigningRequestSpec_To_v1beta1_CertificateSigningRequestSpec
(
in
*
certificates
.
CertificateSigningRequestSpec
,
out
*
CertificateSigningRequestSpec
,
s
conversion
.
Scope
)
error
{
func
autoConvert_certificates_CertificateSigningRequestSpec_To_v1beta1_CertificateSigningRequestSpec
(
in
*
certificates
.
CertificateSigningRequestSpec
,
out
*
CertificateSigningRequestSpec
,
s
conversion
.
Scope
)
error
{
out
.
Request
=
*
(
*
[]
byte
)(
unsafe
.
Pointer
(
&
in
.
Request
))
if
in
.
Request
==
nil
{
out
.
Request
=
make
([]
byte
,
0
)
}
else
{
out
.
Request
=
*
(
*
[]
byte
)(
unsafe
.
Pointer
(
&
in
.
Request
))
}
out
.
Usages
=
*
(
*
[]
KeyUsage
)(
unsafe
.
Pointer
(
&
in
.
Usages
))
out
.
Usages
=
*
(
*
[]
KeyUsage
)(
unsafe
.
Pointer
(
&
in
.
Usages
))
out
.
Username
=
in
.
Username
out
.
Username
=
in
.
Username
out
.
UID
=
in
.
UID
out
.
UID
=
in
.
UID
...
...
staging/src/k8s.io/client-go/pkg/apis/extensions/v1beta1/zz_generated.conversion.go
View file @
7ceeee86
...
@@ -206,7 +206,11 @@ func Convert_v1beta1_CustomMetricCurrentStatusList_To_extensions_CustomMetricCur
...
@@ -206,7 +206,11 @@ func Convert_v1beta1_CustomMetricCurrentStatusList_To_extensions_CustomMetricCur
}
}
func
autoConvert_extensions_CustomMetricCurrentStatusList_To_v1beta1_CustomMetricCurrentStatusList
(
in
*
extensions
.
CustomMetricCurrentStatusList
,
out
*
CustomMetricCurrentStatusList
,
s
conversion
.
Scope
)
error
{
func
autoConvert_extensions_CustomMetricCurrentStatusList_To_v1beta1_CustomMetricCurrentStatusList
(
in
*
extensions
.
CustomMetricCurrentStatusList
,
out
*
CustomMetricCurrentStatusList
,
s
conversion
.
Scope
)
error
{
out
.
Items
=
*
(
*
[]
CustomMetricCurrentStatus
)(
unsafe
.
Pointer
(
&
in
.
Items
))
if
in
.
Items
==
nil
{
out
.
Items
=
make
([]
CustomMetricCurrentStatus
,
0
)
}
else
{
out
.
Items
=
*
(
*
[]
CustomMetricCurrentStatus
)(
unsafe
.
Pointer
(
&
in
.
Items
))
}
return
nil
return
nil
}
}
...
@@ -244,7 +248,11 @@ func Convert_v1beta1_CustomMetricTargetList_To_extensions_CustomMetricTargetList
...
@@ -244,7 +248,11 @@ func Convert_v1beta1_CustomMetricTargetList_To_extensions_CustomMetricTargetList
}
}
func
autoConvert_extensions_CustomMetricTargetList_To_v1beta1_CustomMetricTargetList
(
in
*
extensions
.
CustomMetricTargetList
,
out
*
CustomMetricTargetList
,
s
conversion
.
Scope
)
error
{
func
autoConvert_extensions_CustomMetricTargetList_To_v1beta1_CustomMetricTargetList
(
in
*
extensions
.
CustomMetricTargetList
,
out
*
CustomMetricTargetList
,
s
conversion
.
Scope
)
error
{
out
.
Items
=
*
(
*
[]
CustomMetricTarget
)(
unsafe
.
Pointer
(
&
in
.
Items
))
if
in
.
Items
==
nil
{
out
.
Items
=
make
([]
CustomMetricTarget
,
0
)
}
else
{
out
.
Items
=
*
(
*
[]
CustomMetricTarget
)(
unsafe
.
Pointer
(
&
in
.
Items
))
}
return
nil
return
nil
}
}
...
@@ -313,7 +321,7 @@ func autoConvert_extensions_DaemonSetList_To_v1beta1_DaemonSetList(in *extension
...
@@ -313,7 +321,7 @@ func autoConvert_extensions_DaemonSetList_To_v1beta1_DaemonSetList(in *extension
}
}
}
}
}
else
{
}
else
{
out
.
Items
=
nil
out
.
Items
=
make
([]
DaemonSet
,
0
)
}
}
return
nil
return
nil
}
}
...
@@ -513,7 +521,7 @@ func autoConvert_extensions_DeploymentList_To_v1beta1_DeploymentList(in *extensi
...
@@ -513,7 +521,7 @@ func autoConvert_extensions_DeploymentList_To_v1beta1_DeploymentList(in *extensi
}
}
}
}
}
else
{
}
else
{
out
.
Items
=
nil
out
.
Items
=
make
([]
Deployment
,
0
)
}
}
return
nil
return
nil
}
}
...
@@ -698,7 +706,11 @@ func Convert_v1beta1_HTTPIngressRuleValue_To_extensions_HTTPIngressRuleValue(in
...
@@ -698,7 +706,11 @@ func Convert_v1beta1_HTTPIngressRuleValue_To_extensions_HTTPIngressRuleValue(in
}
}
func
autoConvert_extensions_HTTPIngressRuleValue_To_v1beta1_HTTPIngressRuleValue
(
in
*
extensions
.
HTTPIngressRuleValue
,
out
*
HTTPIngressRuleValue
,
s
conversion
.
Scope
)
error
{
func
autoConvert_extensions_HTTPIngressRuleValue_To_v1beta1_HTTPIngressRuleValue
(
in
*
extensions
.
HTTPIngressRuleValue
,
out
*
HTTPIngressRuleValue
,
s
conversion
.
Scope
)
error
{
out
.
Paths
=
*
(
*
[]
HTTPIngressPath
)(
unsafe
.
Pointer
(
&
in
.
Paths
))
if
in
.
Paths
==
nil
{
out
.
Paths
=
make
([]
HTTPIngressPath
,
0
)
}
else
{
out
.
Paths
=
*
(
*
[]
HTTPIngressPath
)(
unsafe
.
Pointer
(
&
in
.
Paths
))
}
return
nil
return
nil
}
}
...
@@ -808,7 +820,11 @@ func Convert_v1beta1_IngressList_To_extensions_IngressList(in *IngressList, out
...
@@ -808,7 +820,11 @@ func Convert_v1beta1_IngressList_To_extensions_IngressList(in *IngressList, out
func
autoConvert_extensions_IngressList_To_v1beta1_IngressList
(
in
*
extensions
.
IngressList
,
out
*
IngressList
,
s
conversion
.
Scope
)
error
{
func
autoConvert_extensions_IngressList_To_v1beta1_IngressList
(
in
*
extensions
.
IngressList
,
out
*
IngressList
,
s
conversion
.
Scope
)
error
{
out
.
ListMeta
=
in
.
ListMeta
out
.
ListMeta
=
in
.
ListMeta
out
.
Items
=
*
(
*
[]
Ingress
)(
unsafe
.
Pointer
(
&
in
.
Items
))
if
in
.
Items
==
nil
{
out
.
Items
=
make
([]
Ingress
,
0
)
}
else
{
out
.
Items
=
*
(
*
[]
Ingress
)(
unsafe
.
Pointer
(
&
in
.
Items
))
}
return
nil
return
nil
}
}
...
@@ -980,7 +996,11 @@ func Convert_v1beta1_NetworkPolicyList_To_extensions_NetworkPolicyList(in *Netwo
...
@@ -980,7 +996,11 @@ func Convert_v1beta1_NetworkPolicyList_To_extensions_NetworkPolicyList(in *Netwo
func
autoConvert_extensions_NetworkPolicyList_To_v1beta1_NetworkPolicyList
(
in
*
extensions
.
NetworkPolicyList
,
out
*
NetworkPolicyList
,
s
conversion
.
Scope
)
error
{
func
autoConvert_extensions_NetworkPolicyList_To_v1beta1_NetworkPolicyList
(
in
*
extensions
.
NetworkPolicyList
,
out
*
NetworkPolicyList
,
s
conversion
.
Scope
)
error
{
out
.
ListMeta
=
in
.
ListMeta
out
.
ListMeta
=
in
.
ListMeta
out
.
Items
=
*
(
*
[]
NetworkPolicy
)(
unsafe
.
Pointer
(
&
in
.
Items
))
if
in
.
Items
==
nil
{
out
.
Items
=
make
([]
NetworkPolicy
,
0
)
}
else
{
out
.
Items
=
*
(
*
[]
NetworkPolicy
)(
unsafe
.
Pointer
(
&
in
.
Items
))
}
return
nil
return
nil
}
}
...
@@ -1103,7 +1123,7 @@ func autoConvert_extensions_PodSecurityPolicyList_To_v1beta1_PodSecurityPolicyLi
...
@@ -1103,7 +1123,7 @@ func autoConvert_extensions_PodSecurityPolicyList_To_v1beta1_PodSecurityPolicyLi
}
}
}
}
}
else
{
}
else
{
out
.
Items
=
nil
out
.
Items
=
make
([]
PodSecurityPolicy
,
0
)
}
}
return
nil
return
nil
}
}
...
@@ -1279,7 +1299,7 @@ func autoConvert_extensions_ReplicaSetList_To_v1beta1_ReplicaSetList(in *extensi
...
@@ -1279,7 +1299,7 @@ func autoConvert_extensions_ReplicaSetList_To_v1beta1_ReplicaSetList(in *extensi
}
}
}
}
}
else
{
}
else
{
out
.
Items
=
nil
out
.
Items
=
make
([]
ReplicaSet
,
0
)
}
}
return
nil
return
nil
}
}
...
@@ -1571,7 +1591,11 @@ func Convert_v1beta1_ThirdPartyResourceDataList_To_extensions_ThirdPartyResource
...
@@ -1571,7 +1591,11 @@ func Convert_v1beta1_ThirdPartyResourceDataList_To_extensions_ThirdPartyResource
func
autoConvert_extensions_ThirdPartyResourceDataList_To_v1beta1_ThirdPartyResourceDataList
(
in
*
extensions
.
ThirdPartyResourceDataList
,
out
*
ThirdPartyResourceDataList
,
s
conversion
.
Scope
)
error
{
func
autoConvert_extensions_ThirdPartyResourceDataList_To_v1beta1_ThirdPartyResourceDataList
(
in
*
extensions
.
ThirdPartyResourceDataList
,
out
*
ThirdPartyResourceDataList
,
s
conversion
.
Scope
)
error
{
out
.
ListMeta
=
in
.
ListMeta
out
.
ListMeta
=
in
.
ListMeta
out
.
Items
=
*
(
*
[]
ThirdPartyResourceData
)(
unsafe
.
Pointer
(
&
in
.
Items
))
if
in
.
Items
==
nil
{
out
.
Items
=
make
([]
ThirdPartyResourceData
,
0
)
}
else
{
out
.
Items
=
*
(
*
[]
ThirdPartyResourceData
)(
unsafe
.
Pointer
(
&
in
.
Items
))
}
return
nil
return
nil
}
}
...
@@ -1591,7 +1615,11 @@ func Convert_v1beta1_ThirdPartyResourceList_To_extensions_ThirdPartyResourceList
...
@@ -1591,7 +1615,11 @@ func Convert_v1beta1_ThirdPartyResourceList_To_extensions_ThirdPartyResourceList
func
autoConvert_extensions_ThirdPartyResourceList_To_v1beta1_ThirdPartyResourceList
(
in
*
extensions
.
ThirdPartyResourceList
,
out
*
ThirdPartyResourceList
,
s
conversion
.
Scope
)
error
{
func
autoConvert_extensions_ThirdPartyResourceList_To_v1beta1_ThirdPartyResourceList
(
in
*
extensions
.
ThirdPartyResourceList
,
out
*
ThirdPartyResourceList
,
s
conversion
.
Scope
)
error
{
out
.
ListMeta
=
in
.
ListMeta
out
.
ListMeta
=
in
.
ListMeta
out
.
Items
=
*
(
*
[]
ThirdPartyResource
)(
unsafe
.
Pointer
(
&
in
.
Items
))
if
in
.
Items
==
nil
{
out
.
Items
=
make
([]
ThirdPartyResource
,
0
)
}
else
{
out
.
Items
=
*
(
*
[]
ThirdPartyResource
)(
unsafe
.
Pointer
(
&
in
.
Items
))
}
return
nil
return
nil
}
}
...
...
staging/src/k8s.io/client-go/pkg/apis/policy/v1beta1/zz_generated.conversion.go
View file @
7ceeee86
...
@@ -111,7 +111,11 @@ func Convert_v1beta1_PodDisruptionBudgetList_To_policy_PodDisruptionBudgetList(i
...
@@ -111,7 +111,11 @@ func Convert_v1beta1_PodDisruptionBudgetList_To_policy_PodDisruptionBudgetList(i
func
autoConvert_policy_PodDisruptionBudgetList_To_v1beta1_PodDisruptionBudgetList
(
in
*
policy
.
PodDisruptionBudgetList
,
out
*
PodDisruptionBudgetList
,
s
conversion
.
Scope
)
error
{
func
autoConvert_policy_PodDisruptionBudgetList_To_v1beta1_PodDisruptionBudgetList
(
in
*
policy
.
PodDisruptionBudgetList
,
out
*
PodDisruptionBudgetList
,
s
conversion
.
Scope
)
error
{
out
.
ListMeta
=
in
.
ListMeta
out
.
ListMeta
=
in
.
ListMeta
out
.
Items
=
*
(
*
[]
PodDisruptionBudget
)(
unsafe
.
Pointer
(
&
in
.
Items
))
if
in
.
Items
==
nil
{
out
.
Items
=
make
([]
PodDisruptionBudget
,
0
)
}
else
{
out
.
Items
=
*
(
*
[]
PodDisruptionBudget
)(
unsafe
.
Pointer
(
&
in
.
Items
))
}
return
nil
return
nil
}
}
...
...
staging/src/k8s.io/client-go/pkg/apis/rbac/v1alpha1/zz_generated.conversion.go
View file @
7ceeee86
...
@@ -76,7 +76,11 @@ func Convert_v1alpha1_ClusterRole_To_rbac_ClusterRole(in *ClusterRole, out *rbac
...
@@ -76,7 +76,11 @@ func Convert_v1alpha1_ClusterRole_To_rbac_ClusterRole(in *ClusterRole, out *rbac
func
autoConvert_rbac_ClusterRole_To_v1alpha1_ClusterRole
(
in
*
rbac
.
ClusterRole
,
out
*
ClusterRole
,
s
conversion
.
Scope
)
error
{
func
autoConvert_rbac_ClusterRole_To_v1alpha1_ClusterRole
(
in
*
rbac
.
ClusterRole
,
out
*
ClusterRole
,
s
conversion
.
Scope
)
error
{
out
.
ObjectMeta
=
in
.
ObjectMeta
out
.
ObjectMeta
=
in
.
ObjectMeta
out
.
Rules
=
*
(
*
[]
PolicyRule
)(
unsafe
.
Pointer
(
&
in
.
Rules
))
if
in
.
Rules
==
nil
{
out
.
Rules
=
make
([]
PolicyRule
,
0
)
}
else
{
out
.
Rules
=
*
(
*
[]
PolicyRule
)(
unsafe
.
Pointer
(
&
in
.
Rules
))
}
return
nil
return
nil
}
}
...
@@ -118,7 +122,7 @@ func autoConvert_rbac_ClusterRoleBinding_To_v1alpha1_ClusterRoleBinding(in *rbac
...
@@ -118,7 +122,7 @@ func autoConvert_rbac_ClusterRoleBinding_To_v1alpha1_ClusterRoleBinding(in *rbac
}
}
}
}
}
else
{
}
else
{
out
.
Subjects
=
nil
out
.
Subjects
=
make
([]
Subject
,
0
)
}
}
if
err
:=
Convert_rbac_RoleRef_To_v1alpha1_RoleRef
(
&
in
.
RoleRef
,
&
out
.
RoleRef
,
s
);
err
!=
nil
{
if
err
:=
Convert_rbac_RoleRef_To_v1alpha1_RoleRef
(
&
in
.
RoleRef
,
&
out
.
RoleRef
,
s
);
err
!=
nil
{
return
err
return
err
...
@@ -183,7 +187,7 @@ func autoConvert_rbac_ClusterRoleBindingList_To_v1alpha1_ClusterRoleBindingList(
...
@@ -183,7 +187,7 @@ func autoConvert_rbac_ClusterRoleBindingList_To_v1alpha1_ClusterRoleBindingList(
}
}
}
}
}
else
{
}
else
{
out
.
Items
=
nil
out
.
Items
=
make
([]
ClusterRoleBinding
,
0
)
}
}
return
nil
return
nil
}
}
...
@@ -204,7 +208,11 @@ func Convert_v1alpha1_ClusterRoleList_To_rbac_ClusterRoleList(in *ClusterRoleLis
...
@@ -204,7 +208,11 @@ func Convert_v1alpha1_ClusterRoleList_To_rbac_ClusterRoleList(in *ClusterRoleLis
func
autoConvert_rbac_ClusterRoleList_To_v1alpha1_ClusterRoleList
(
in
*
rbac
.
ClusterRoleList
,
out
*
ClusterRoleList
,
s
conversion
.
Scope
)
error
{
func
autoConvert_rbac_ClusterRoleList_To_v1alpha1_ClusterRoleList
(
in
*
rbac
.
ClusterRoleList
,
out
*
ClusterRoleList
,
s
conversion
.
Scope
)
error
{
out
.
ListMeta
=
in
.
ListMeta
out
.
ListMeta
=
in
.
ListMeta
out
.
Items
=
*
(
*
[]
ClusterRole
)(
unsafe
.
Pointer
(
&
in
.
Items
))
if
in
.
Items
==
nil
{
out
.
Items
=
make
([]
ClusterRole
,
0
)
}
else
{
out
.
Items
=
*
(
*
[]
ClusterRole
)(
unsafe
.
Pointer
(
&
in
.
Items
))
}
return
nil
return
nil
}
}
...
@@ -226,7 +234,11 @@ func Convert_v1alpha1_PolicyRule_To_rbac_PolicyRule(in *PolicyRule, out *rbac.Po
...
@@ -226,7 +234,11 @@ func Convert_v1alpha1_PolicyRule_To_rbac_PolicyRule(in *PolicyRule, out *rbac.Po
}
}
func
autoConvert_rbac_PolicyRule_To_v1alpha1_PolicyRule
(
in
*
rbac
.
PolicyRule
,
out
*
PolicyRule
,
s
conversion
.
Scope
)
error
{
func
autoConvert_rbac_PolicyRule_To_v1alpha1_PolicyRule
(
in
*
rbac
.
PolicyRule
,
out
*
PolicyRule
,
s
conversion
.
Scope
)
error
{
out
.
Verbs
=
*
(
*
[]
string
)(
unsafe
.
Pointer
(
&
in
.
Verbs
))
if
in
.
Verbs
==
nil
{
out
.
Verbs
=
make
([]
string
,
0
)
}
else
{
out
.
Verbs
=
*
(
*
[]
string
)(
unsafe
.
Pointer
(
&
in
.
Verbs
))
}
out
.
APIGroups
=
*
(
*
[]
string
)(
unsafe
.
Pointer
(
&
in
.
APIGroups
))
out
.
APIGroups
=
*
(
*
[]
string
)(
unsafe
.
Pointer
(
&
in
.
APIGroups
))
out
.
Resources
=
*
(
*
[]
string
)(
unsafe
.
Pointer
(
&
in
.
Resources
))
out
.
Resources
=
*
(
*
[]
string
)(
unsafe
.
Pointer
(
&
in
.
Resources
))
out
.
ResourceNames
=
*
(
*
[]
string
)(
unsafe
.
Pointer
(
&
in
.
ResourceNames
))
out
.
ResourceNames
=
*
(
*
[]
string
)(
unsafe
.
Pointer
(
&
in
.
ResourceNames
))
...
@@ -272,7 +284,11 @@ func Convert_v1alpha1_Role_To_rbac_Role(in *Role, out *rbac.Role, s conversion.S
...
@@ -272,7 +284,11 @@ func Convert_v1alpha1_Role_To_rbac_Role(in *Role, out *rbac.Role, s conversion.S
func
autoConvert_rbac_Role_To_v1alpha1_Role
(
in
*
rbac
.
Role
,
out
*
Role
,
s
conversion
.
Scope
)
error
{
func
autoConvert_rbac_Role_To_v1alpha1_Role
(
in
*
rbac
.
Role
,
out
*
Role
,
s
conversion
.
Scope
)
error
{
out
.
ObjectMeta
=
in
.
ObjectMeta
out
.
ObjectMeta
=
in
.
ObjectMeta
out
.
Rules
=
*
(
*
[]
PolicyRule
)(
unsafe
.
Pointer
(
&
in
.
Rules
))
if
in
.
Rules
==
nil
{
out
.
Rules
=
make
([]
PolicyRule
,
0
)
}
else
{
out
.
Rules
=
*
(
*
[]
PolicyRule
)(
unsafe
.
Pointer
(
&
in
.
Rules
))
}
return
nil
return
nil
}
}
...
@@ -314,7 +330,7 @@ func autoConvert_rbac_RoleBinding_To_v1alpha1_RoleBinding(in *rbac.RoleBinding,
...
@@ -314,7 +330,7 @@ func autoConvert_rbac_RoleBinding_To_v1alpha1_RoleBinding(in *rbac.RoleBinding,
}
}
}
}
}
else
{
}
else
{
out
.
Subjects
=
nil
out
.
Subjects
=
make
([]
Subject
,
0
)
}
}
if
err
:=
Convert_rbac_RoleRef_To_v1alpha1_RoleRef
(
&
in
.
RoleRef
,
&
out
.
RoleRef
,
s
);
err
!=
nil
{
if
err
:=
Convert_rbac_RoleRef_To_v1alpha1_RoleRef
(
&
in
.
RoleRef
,
&
out
.
RoleRef
,
s
);
err
!=
nil
{
return
err
return
err
...
@@ -357,7 +373,7 @@ func autoConvert_rbac_RoleBindingList_To_v1alpha1_RoleBindingList(in *rbac.RoleB
...
@@ -357,7 +373,7 @@ func autoConvert_rbac_RoleBindingList_To_v1alpha1_RoleBindingList(in *rbac.RoleB
}
}
}
}
}
else
{
}
else
{
out
.
Items
=
nil
out
.
Items
=
make
([]
RoleBinding
,
0
)
}
}
return
nil
return
nil
}
}
...
@@ -378,7 +394,11 @@ func Convert_v1alpha1_RoleList_To_rbac_RoleList(in *RoleList, out *rbac.RoleList
...
@@ -378,7 +394,11 @@ func Convert_v1alpha1_RoleList_To_rbac_RoleList(in *RoleList, out *rbac.RoleList
func
autoConvert_rbac_RoleList_To_v1alpha1_RoleList
(
in
*
rbac
.
RoleList
,
out
*
RoleList
,
s
conversion
.
Scope
)
error
{
func
autoConvert_rbac_RoleList_To_v1alpha1_RoleList
(
in
*
rbac
.
RoleList
,
out
*
RoleList
,
s
conversion
.
Scope
)
error
{
out
.
ListMeta
=
in
.
ListMeta
out
.
ListMeta
=
in
.
ListMeta
out
.
Items
=
*
(
*
[]
Role
)(
unsafe
.
Pointer
(
&
in
.
Items
))
if
in
.
Items
==
nil
{
out
.
Items
=
make
([]
Role
,
0
)
}
else
{
out
.
Items
=
*
(
*
[]
Role
)(
unsafe
.
Pointer
(
&
in
.
Items
))
}
return
nil
return
nil
}
}
...
...
staging/src/k8s.io/client-go/pkg/apis/rbac/v1beta1/zz_generated.conversion.go
View file @
7ceeee86
...
@@ -76,7 +76,11 @@ func Convert_v1beta1_ClusterRole_To_rbac_ClusterRole(in *ClusterRole, out *rbac.
...
@@ -76,7 +76,11 @@ func Convert_v1beta1_ClusterRole_To_rbac_ClusterRole(in *ClusterRole, out *rbac.
func
autoConvert_rbac_ClusterRole_To_v1beta1_ClusterRole
(
in
*
rbac
.
ClusterRole
,
out
*
ClusterRole
,
s
conversion
.
Scope
)
error
{
func
autoConvert_rbac_ClusterRole_To_v1beta1_ClusterRole
(
in
*
rbac
.
ClusterRole
,
out
*
ClusterRole
,
s
conversion
.
Scope
)
error
{
out
.
ObjectMeta
=
in
.
ObjectMeta
out
.
ObjectMeta
=
in
.
ObjectMeta
out
.
Rules
=
*
(
*
[]
PolicyRule
)(
unsafe
.
Pointer
(
&
in
.
Rules
))
if
in
.
Rules
==
nil
{
out
.
Rules
=
make
([]
PolicyRule
,
0
)
}
else
{
out
.
Rules
=
*
(
*
[]
PolicyRule
)(
unsafe
.
Pointer
(
&
in
.
Rules
))
}
return
nil
return
nil
}
}
...
@@ -99,7 +103,11 @@ func Convert_v1beta1_ClusterRoleBinding_To_rbac_ClusterRoleBinding(in *ClusterRo
...
@@ -99,7 +103,11 @@ func Convert_v1beta1_ClusterRoleBinding_To_rbac_ClusterRoleBinding(in *ClusterRo
func
autoConvert_rbac_ClusterRoleBinding_To_v1beta1_ClusterRoleBinding
(
in
*
rbac
.
ClusterRoleBinding
,
out
*
ClusterRoleBinding
,
s
conversion
.
Scope
)
error
{
func
autoConvert_rbac_ClusterRoleBinding_To_v1beta1_ClusterRoleBinding
(
in
*
rbac
.
ClusterRoleBinding
,
out
*
ClusterRoleBinding
,
s
conversion
.
Scope
)
error
{
out
.
ObjectMeta
=
in
.
ObjectMeta
out
.
ObjectMeta
=
in
.
ObjectMeta
out
.
Subjects
=
*
(
*
[]
Subject
)(
unsafe
.
Pointer
(
&
in
.
Subjects
))
if
in
.
Subjects
==
nil
{
out
.
Subjects
=
make
([]
Subject
,
0
)
}
else
{
out
.
Subjects
=
*
(
*
[]
Subject
)(
unsafe
.
Pointer
(
&
in
.
Subjects
))
}
if
err
:=
Convert_rbac_RoleRef_To_v1beta1_RoleRef
(
&
in
.
RoleRef
,
&
out
.
RoleRef
,
s
);
err
!=
nil
{
if
err
:=
Convert_rbac_RoleRef_To_v1beta1_RoleRef
(
&
in
.
RoleRef
,
&
out
.
RoleRef
,
s
);
err
!=
nil
{
return
err
return
err
}
}
...
@@ -144,7 +152,11 @@ func Convert_v1beta1_ClusterRoleBindingList_To_rbac_ClusterRoleBindingList(in *C
...
@@ -144,7 +152,11 @@ func Convert_v1beta1_ClusterRoleBindingList_To_rbac_ClusterRoleBindingList(in *C
func
autoConvert_rbac_ClusterRoleBindingList_To_v1beta1_ClusterRoleBindingList
(
in
*
rbac
.
ClusterRoleBindingList
,
out
*
ClusterRoleBindingList
,
s
conversion
.
Scope
)
error
{
func
autoConvert_rbac_ClusterRoleBindingList_To_v1beta1_ClusterRoleBindingList
(
in
*
rbac
.
ClusterRoleBindingList
,
out
*
ClusterRoleBindingList
,
s
conversion
.
Scope
)
error
{
out
.
ListMeta
=
in
.
ListMeta
out
.
ListMeta
=
in
.
ListMeta
out
.
Items
=
*
(
*
[]
ClusterRoleBinding
)(
unsafe
.
Pointer
(
&
in
.
Items
))
if
in
.
Items
==
nil
{
out
.
Items
=
make
([]
ClusterRoleBinding
,
0
)
}
else
{
out
.
Items
=
*
(
*
[]
ClusterRoleBinding
)(
unsafe
.
Pointer
(
&
in
.
Items
))
}
return
nil
return
nil
}
}
...
@@ -164,7 +176,11 @@ func Convert_v1beta1_ClusterRoleList_To_rbac_ClusterRoleList(in *ClusterRoleList
...
@@ -164,7 +176,11 @@ func Convert_v1beta1_ClusterRoleList_To_rbac_ClusterRoleList(in *ClusterRoleList
func
autoConvert_rbac_ClusterRoleList_To_v1beta1_ClusterRoleList
(
in
*
rbac
.
ClusterRoleList
,
out
*
ClusterRoleList
,
s
conversion
.
Scope
)
error
{
func
autoConvert_rbac_ClusterRoleList_To_v1beta1_ClusterRoleList
(
in
*
rbac
.
ClusterRoleList
,
out
*
ClusterRoleList
,
s
conversion
.
Scope
)
error
{
out
.
ListMeta
=
in
.
ListMeta
out
.
ListMeta
=
in
.
ListMeta
out
.
Items
=
*
(
*
[]
ClusterRole
)(
unsafe
.
Pointer
(
&
in
.
Items
))
if
in
.
Items
==
nil
{
out
.
Items
=
make
([]
ClusterRole
,
0
)
}
else
{
out
.
Items
=
*
(
*
[]
ClusterRole
)(
unsafe
.
Pointer
(
&
in
.
Items
))
}
return
nil
return
nil
}
}
...
@@ -186,7 +202,11 @@ func Convert_v1beta1_PolicyRule_To_rbac_PolicyRule(in *PolicyRule, out *rbac.Pol
...
@@ -186,7 +202,11 @@ func Convert_v1beta1_PolicyRule_To_rbac_PolicyRule(in *PolicyRule, out *rbac.Pol
}
}
func
autoConvert_rbac_PolicyRule_To_v1beta1_PolicyRule
(
in
*
rbac
.
PolicyRule
,
out
*
PolicyRule
,
s
conversion
.
Scope
)
error
{
func
autoConvert_rbac_PolicyRule_To_v1beta1_PolicyRule
(
in
*
rbac
.
PolicyRule
,
out
*
PolicyRule
,
s
conversion
.
Scope
)
error
{
out
.
Verbs
=
*
(
*
[]
string
)(
unsafe
.
Pointer
(
&
in
.
Verbs
))
if
in
.
Verbs
==
nil
{
out
.
Verbs
=
make
([]
string
,
0
)
}
else
{
out
.
Verbs
=
*
(
*
[]
string
)(
unsafe
.
Pointer
(
&
in
.
Verbs
))
}
out
.
APIGroups
=
*
(
*
[]
string
)(
unsafe
.
Pointer
(
&
in
.
APIGroups
))
out
.
APIGroups
=
*
(
*
[]
string
)(
unsafe
.
Pointer
(
&
in
.
APIGroups
))
out
.
Resources
=
*
(
*
[]
string
)(
unsafe
.
Pointer
(
&
in
.
Resources
))
out
.
Resources
=
*
(
*
[]
string
)(
unsafe
.
Pointer
(
&
in
.
Resources
))
out
.
ResourceNames
=
*
(
*
[]
string
)(
unsafe
.
Pointer
(
&
in
.
ResourceNames
))
out
.
ResourceNames
=
*
(
*
[]
string
)(
unsafe
.
Pointer
(
&
in
.
ResourceNames
))
...
@@ -232,7 +252,11 @@ func Convert_v1beta1_Role_To_rbac_Role(in *Role, out *rbac.Role, s conversion.Sc
...
@@ -232,7 +252,11 @@ func Convert_v1beta1_Role_To_rbac_Role(in *Role, out *rbac.Role, s conversion.Sc
func
autoConvert_rbac_Role_To_v1beta1_Role
(
in
*
rbac
.
Role
,
out
*
Role
,
s
conversion
.
Scope
)
error
{
func
autoConvert_rbac_Role_To_v1beta1_Role
(
in
*
rbac
.
Role
,
out
*
Role
,
s
conversion
.
Scope
)
error
{
out
.
ObjectMeta
=
in
.
ObjectMeta
out
.
ObjectMeta
=
in
.
ObjectMeta
out
.
Rules
=
*
(
*
[]
PolicyRule
)(
unsafe
.
Pointer
(
&
in
.
Rules
))
if
in
.
Rules
==
nil
{
out
.
Rules
=
make
([]
PolicyRule
,
0
)
}
else
{
out
.
Rules
=
*
(
*
[]
PolicyRule
)(
unsafe
.
Pointer
(
&
in
.
Rules
))
}
return
nil
return
nil
}
}
...
@@ -255,7 +279,11 @@ func Convert_v1beta1_RoleBinding_To_rbac_RoleBinding(in *RoleBinding, out *rbac.
...
@@ -255,7 +279,11 @@ func Convert_v1beta1_RoleBinding_To_rbac_RoleBinding(in *RoleBinding, out *rbac.
func
autoConvert_rbac_RoleBinding_To_v1beta1_RoleBinding
(
in
*
rbac
.
RoleBinding
,
out
*
RoleBinding
,
s
conversion
.
Scope
)
error
{
func
autoConvert_rbac_RoleBinding_To_v1beta1_RoleBinding
(
in
*
rbac
.
RoleBinding
,
out
*
RoleBinding
,
s
conversion
.
Scope
)
error
{
out
.
ObjectMeta
=
in
.
ObjectMeta
out
.
ObjectMeta
=
in
.
ObjectMeta
out
.
Subjects
=
*
(
*
[]
Subject
)(
unsafe
.
Pointer
(
&
in
.
Subjects
))
if
in
.
Subjects
==
nil
{
out
.
Subjects
=
make
([]
Subject
,
0
)
}
else
{
out
.
Subjects
=
*
(
*
[]
Subject
)(
unsafe
.
Pointer
(
&
in
.
Subjects
))
}
if
err
:=
Convert_rbac_RoleRef_To_v1beta1_RoleRef
(
&
in
.
RoleRef
,
&
out
.
RoleRef
,
s
);
err
!=
nil
{
if
err
:=
Convert_rbac_RoleRef_To_v1beta1_RoleRef
(
&
in
.
RoleRef
,
&
out
.
RoleRef
,
s
);
err
!=
nil
{
return
err
return
err
}
}
...
@@ -278,7 +306,11 @@ func Convert_v1beta1_RoleBindingList_To_rbac_RoleBindingList(in *RoleBindingList
...
@@ -278,7 +306,11 @@ func Convert_v1beta1_RoleBindingList_To_rbac_RoleBindingList(in *RoleBindingList
func
autoConvert_rbac_RoleBindingList_To_v1beta1_RoleBindingList
(
in
*
rbac
.
RoleBindingList
,
out
*
RoleBindingList
,
s
conversion
.
Scope
)
error
{
func
autoConvert_rbac_RoleBindingList_To_v1beta1_RoleBindingList
(
in
*
rbac
.
RoleBindingList
,
out
*
RoleBindingList
,
s
conversion
.
Scope
)
error
{
out
.
ListMeta
=
in
.
ListMeta
out
.
ListMeta
=
in
.
ListMeta
out
.
Items
=
*
(
*
[]
RoleBinding
)(
unsafe
.
Pointer
(
&
in
.
Items
))
if
in
.
Items
==
nil
{
out
.
Items
=
make
([]
RoleBinding
,
0
)
}
else
{
out
.
Items
=
*
(
*
[]
RoleBinding
)(
unsafe
.
Pointer
(
&
in
.
Items
))
}
return
nil
return
nil
}
}
...
@@ -298,7 +330,11 @@ func Convert_v1beta1_RoleList_To_rbac_RoleList(in *RoleList, out *rbac.RoleList,
...
@@ -298,7 +330,11 @@ func Convert_v1beta1_RoleList_To_rbac_RoleList(in *RoleList, out *rbac.RoleList,
func
autoConvert_rbac_RoleList_To_v1beta1_RoleList
(
in
*
rbac
.
RoleList
,
out
*
RoleList
,
s
conversion
.
Scope
)
error
{
func
autoConvert_rbac_RoleList_To_v1beta1_RoleList
(
in
*
rbac
.
RoleList
,
out
*
RoleList
,
s
conversion
.
Scope
)
error
{
out
.
ListMeta
=
in
.
ListMeta
out
.
ListMeta
=
in
.
ListMeta
out
.
Items
=
*
(
*
[]
Role
)(
unsafe
.
Pointer
(
&
in
.
Items
))
if
in
.
Items
==
nil
{
out
.
Items
=
make
([]
Role
,
0
)
}
else
{
out
.
Items
=
*
(
*
[]
Role
)(
unsafe
.
Pointer
(
&
in
.
Items
))
}
return
nil
return
nil
}
}
...
...
staging/src/k8s.io/client-go/pkg/apis/settings/v1alpha1/zz_generated.conversion.go
View file @
7ceeee86
...
@@ -101,7 +101,7 @@ func autoConvert_settings_PodPresetList_To_v1alpha1_PodPresetList(in *settings.P
...
@@ -101,7 +101,7 @@ func autoConvert_settings_PodPresetList_To_v1alpha1_PodPresetList(in *settings.P
}
}
}
}
}
else
{
}
else
{
out
.
Items
=
nil
out
.
Items
=
make
([]
PodPreset
,
0
)
}
}
return
nil
return
nil
}
}
...
...
staging/src/k8s.io/client-go/pkg/apis/storage/v1/zz_generated.conversion.go
View file @
7ceeee86
...
@@ -76,7 +76,11 @@ func Convert_v1_StorageClassList_To_storage_StorageClassList(in *StorageClassLis
...
@@ -76,7 +76,11 @@ func Convert_v1_StorageClassList_To_storage_StorageClassList(in *StorageClassLis
func
autoConvert_storage_StorageClassList_To_v1_StorageClassList
(
in
*
storage
.
StorageClassList
,
out
*
StorageClassList
,
s
conversion
.
Scope
)
error
{
func
autoConvert_storage_StorageClassList_To_v1_StorageClassList
(
in
*
storage
.
StorageClassList
,
out
*
StorageClassList
,
s
conversion
.
Scope
)
error
{
out
.
ListMeta
=
in
.
ListMeta
out
.
ListMeta
=
in
.
ListMeta
out
.
Items
=
*
(
*
[]
StorageClass
)(
unsafe
.
Pointer
(
&
in
.
Items
))
if
in
.
Items
==
nil
{
out
.
Items
=
make
([]
StorageClass
,
0
)
}
else
{
out
.
Items
=
*
(
*
[]
StorageClass
)(
unsafe
.
Pointer
(
&
in
.
Items
))
}
return
nil
return
nil
}
}
...
...
staging/src/k8s.io/client-go/pkg/apis/storage/v1beta1/zz_generated.conversion.go
View file @
7ceeee86
...
@@ -76,7 +76,11 @@ func Convert_v1beta1_StorageClassList_To_storage_StorageClassList(in *StorageCla
...
@@ -76,7 +76,11 @@ func Convert_v1beta1_StorageClassList_To_storage_StorageClassList(in *StorageCla
func
autoConvert_storage_StorageClassList_To_v1beta1_StorageClassList
(
in
*
storage
.
StorageClassList
,
out
*
StorageClassList
,
s
conversion
.
Scope
)
error
{
func
autoConvert_storage_StorageClassList_To_v1beta1_StorageClassList
(
in
*
storage
.
StorageClassList
,
out
*
StorageClassList
,
s
conversion
.
Scope
)
error
{
out
.
ListMeta
=
in
.
ListMeta
out
.
ListMeta
=
in
.
ListMeta
out
.
Items
=
*
(
*
[]
StorageClass
)(
unsafe
.
Pointer
(
&
in
.
Items
))
if
in
.
Items
==
nil
{
out
.
Items
=
make
([]
StorageClass
,
0
)
}
else
{
out
.
Items
=
*
(
*
[]
StorageClass
)(
unsafe
.
Pointer
(
&
in
.
Items
))
}
return
nil
return
nil
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment