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
c2fb3910
Commit
c2fb3910
authored
Jul 11, 2016
by
Chao Xu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
generated changes
parent
dc2e12d2
Hide whitespace changes
Inline
Side-by-side
Showing
120 changed files
with
297 additions
and
239 deletions
+297
-239
fake_testtype.go
.../typed/testgroup.k8s.io/unversioned/fake/fake_testtype.go
+1
-2
fake_service.go
...rnalclientset/typed/core/unversioned/fake/fake_service.go
+2
-2
service.go
...ation_internalclientset/typed/core/unversioned/service.go
+3
-2
cluster.go
...internalclientset/typed/federation/unversioned/cluster.go
+3
-2
fake_cluster.go
...ientset/typed/federation/unversioned/fake/fake_cluster.go
+2
-2
fake_service.go
...federation_release_1_4/typed/core/v1/fake/fake_service.go
+2
-2
service.go
...generated/federation_release_1_4/typed/core/v1/service.go
+3
-2
cluster.go
...ederation_release_1_4/typed/federation/v1beta1/cluster.go
+3
-2
fake_cluster.go
...release_1_4/typed/federation/v1beta1/fake/fake_cluster.go
+2
-2
fake_horizontalpodautoscaler.go
...oscaling/unversioned/fake/fake_horizontalpodautoscaler.go
+2
-2
horizontalpodautoscaler.go
.../typed/autoscaling/unversioned/horizontalpodautoscaler.go
+3
-2
fake_job.go
...nternalclientset/typed/batch/unversioned/fake/fake_job.go
+2
-2
fake_scheduledjob.go
...ientset/typed/batch/unversioned/fake/fake_scheduledjob.go
+2
-2
job.go
...enerated/internalclientset/typed/batch/unversioned/job.go
+3
-2
scheduledjob.go
...internalclientset/typed/batch/unversioned/scheduledjob.go
+3
-2
certificatesigningrequest.go
...ped/certificates/unversioned/certificatesigningrequest.go
+3
-2
fake_certificatesigningrequest.go
...icates/unversioned/fake/fake_certificatesigningrequest.go
+2
-2
componentstatus.go
...ternalclientset/typed/core/unversioned/componentstatus.go
+3
-2
configmap.go
...ted/internalclientset/typed/core/unversioned/configmap.go
+3
-2
endpoints.go
...ted/internalclientset/typed/core/unversioned/endpoints.go
+3
-2
event.go
...nerated/internalclientset/typed/core/unversioned/event.go
+3
-2
fake_componentstatus.go
...ntset/typed/core/unversioned/fake/fake_componentstatus.go
+2
-2
fake_configmap.go
...alclientset/typed/core/unversioned/fake/fake_configmap.go
+2
-2
fake_endpoints.go
...alclientset/typed/core/unversioned/fake/fake_endpoints.go
+2
-2
fake_event.go
...ternalclientset/typed/core/unversioned/fake/fake_event.go
+2
-2
fake_limitrange.go
...lclientset/typed/core/unversioned/fake/fake_limitrange.go
+2
-2
fake_namespace.go
...alclientset/typed/core/unversioned/fake/fake_namespace.go
+2
-2
fake_node.go
...nternalclientset/typed/core/unversioned/fake/fake_node.go
+2
-2
fake_node_expansion.go
...entset/typed/core/unversioned/fake/fake_node_expansion.go
+1
-1
fake_persistentvolume.go
...tset/typed/core/unversioned/fake/fake_persistentvolume.go
+2
-2
fake_persistentvolumeclaim.go
...typed/core/unversioned/fake/fake_persistentvolumeclaim.go
+2
-2
fake_pod.go
...internalclientset/typed/core/unversioned/fake/fake_pod.go
+2
-2
fake_podtemplate.go
...clientset/typed/core/unversioned/fake/fake_podtemplate.go
+2
-2
fake_replicationcontroller.go
...typed/core/unversioned/fake/fake_replicationcontroller.go
+2
-2
fake_resourcequota.go
...ientset/typed/core/unversioned/fake/fake_resourcequota.go
+2
-2
fake_secret.go
...ernalclientset/typed/core/unversioned/fake/fake_secret.go
+2
-2
fake_service.go
...rnalclientset/typed/core/unversioned/fake/fake_service.go
+2
-2
fake_serviceaccount.go
...entset/typed/core/unversioned/fake/fake_serviceaccount.go
+2
-2
limitrange.go
...ed/internalclientset/typed/core/unversioned/limitrange.go
+3
-2
namespace.go
...ted/internalclientset/typed/core/unversioned/namespace.go
+3
-2
node.go
...enerated/internalclientset/typed/core/unversioned/node.go
+3
-2
persistentvolume.go
...ernalclientset/typed/core/unversioned/persistentvolume.go
+3
-2
persistentvolumeclaim.go
...clientset/typed/core/unversioned/persistentvolumeclaim.go
+3
-2
pod.go
...generated/internalclientset/typed/core/unversioned/pod.go
+3
-2
podtemplate.go
...d/internalclientset/typed/core/unversioned/podtemplate.go
+3
-2
replicationcontroller.go
...clientset/typed/core/unversioned/replicationcontroller.go
+3
-2
resourcequota.go
...internalclientset/typed/core/unversioned/resourcequota.go
+3
-2
secret.go
...erated/internalclientset/typed/core/unversioned/secret.go
+3
-2
service.go
...rated/internalclientset/typed/core/unversioned/service.go
+3
-2
serviceaccount.go
...nternalclientset/typed/core/unversioned/serviceaccount.go
+3
-2
daemonset.go
...ternalclientset/typed/extensions/unversioned/daemonset.go
+3
-2
deployment.go
...ernalclientset/typed/extensions/unversioned/deployment.go
+3
-2
fake_daemonset.go
...ntset/typed/extensions/unversioned/fake/fake_daemonset.go
+2
-2
fake_deployment.go
...tset/typed/extensions/unversioned/fake/fake_deployment.go
+2
-2
fake_ingress.go
...ientset/typed/extensions/unversioned/fake/fake_ingress.go
+2
-2
fake_podsecuritypolicy.go
...ped/extensions/unversioned/fake/fake_podsecuritypolicy.go
+2
-2
fake_replicaset.go
...tset/typed/extensions/unversioned/fake/fake_replicaset.go
+2
-2
fake_thirdpartyresource.go
...ed/extensions/unversioned/fake/fake_thirdpartyresource.go
+2
-2
ingress.go
...internalclientset/typed/extensions/unversioned/ingress.go
+3
-2
podsecuritypolicy.go
...ientset/typed/extensions/unversioned/podsecuritypolicy.go
+3
-2
replicaset.go
...ernalclientset/typed/extensions/unversioned/replicaset.go
+3
-2
thirdpartyresource.go
...entset/typed/extensions/unversioned/thirdpartyresource.go
+3
-2
clusterrole.go
...d/internalclientset/typed/rbac/unversioned/clusterrole.go
+3
-2
clusterrolebinding.go
...nalclientset/typed/rbac/unversioned/clusterrolebinding.go
+3
-2
fake_clusterrole.go
...clientset/typed/rbac/unversioned/fake/fake_clusterrole.go
+2
-2
fake_clusterrolebinding.go
...et/typed/rbac/unversioned/fake/fake_clusterrolebinding.go
+2
-2
fake_role.go
...nternalclientset/typed/rbac/unversioned/fake/fake_role.go
+2
-2
fake_rolebinding.go
...clientset/typed/rbac/unversioned/fake/fake_rolebinding.go
+2
-2
role.go
...enerated/internalclientset/typed/rbac/unversioned/role.go
+3
-2
rolebinding.go
...d/internalclientset/typed/rbac/unversioned/rolebinding.go
+3
-2
fake_horizontalpodautoscaler.go
...typed/autoscaling/v1/fake/fake_horizontalpodautoscaler.go
+2
-2
horizontalpodautoscaler.go
...lease_1_4/typed/autoscaling/v1/horizontalpodautoscaler.go
+3
-2
fake_job.go
...set_generated/release_1_4/typed/batch/v1/fake/fake_job.go
+2
-2
job.go
...ent/clientset_generated/release_1_4/typed/batch/v1/job.go
+3
-2
componentstatus.go
...et_generated/release_1_4/typed/core/v1/componentstatus.go
+3
-2
configmap.go
...lientset_generated/release_1_4/typed/core/v1/configmap.go
+3
-2
endpoints.go
...lientset_generated/release_1_4/typed/core/v1/endpoints.go
+3
-2
event.go
...nt/clientset_generated/release_1_4/typed/core/v1/event.go
+3
-2
fake_componentstatus.go
...ed/release_1_4/typed/core/v1/fake/fake_componentstatus.go
+2
-2
fake_configmap.go
...enerated/release_1_4/typed/core/v1/fake/fake_configmap.go
+2
-2
fake_endpoints.go
...enerated/release_1_4/typed/core/v1/fake/fake_endpoints.go
+2
-2
fake_event.go
...et_generated/release_1_4/typed/core/v1/fake/fake_event.go
+2
-2
fake_limitrange.go
...nerated/release_1_4/typed/core/v1/fake/fake_limitrange.go
+2
-2
fake_namespace.go
...enerated/release_1_4/typed/core/v1/fake/fake_namespace.go
+2
-2
fake_node.go
...set_generated/release_1_4/typed/core/v1/fake/fake_node.go
+2
-2
fake_persistentvolume.go
...d/release_1_4/typed/core/v1/fake/fake_persistentvolume.go
+2
-2
fake_pod.go
...tset_generated/release_1_4/typed/core/v1/fake/fake_pod.go
+2
-2
fake_podtemplate.go
...erated/release_1_4/typed/core/v1/fake/fake_podtemplate.go
+2
-2
fake_replicationcontroller.go
...ease_1_4/typed/core/v1/fake/fake_replicationcontroller.go
+2
-2
fake_resourcequota.go
...ated/release_1_4/typed/core/v1/fake/fake_resourcequota.go
+2
-2
fake_secret.go
...t_generated/release_1_4/typed/core/v1/fake/fake_secret.go
+2
-2
fake_service.go
..._generated/release_1_4/typed/core/v1/fake/fake_service.go
+2
-2
fake_serviceaccount.go
...ted/release_1_4/typed/core/v1/fake/fake_serviceaccount.go
+2
-2
limitrange.go
...ientset_generated/release_1_4/typed/core/v1/limitrange.go
+3
-2
namespace.go
...lientset_generated/release_1_4/typed/core/v1/namespace.go
+3
-2
node.go
...ent/clientset_generated/release_1_4/typed/core/v1/node.go
+3
-2
persistentvolume.go
...t_generated/release_1_4/typed/core/v1/persistentvolume.go
+3
-2
pod.go
...ient/clientset_generated/release_1_4/typed/core/v1/pod.go
+3
-2
podtemplate.go
...entset_generated/release_1_4/typed/core/v1/podtemplate.go
+3
-2
replicationcontroller.go
...erated/release_1_4/typed/core/v1/replicationcontroller.go
+3
-2
resourcequota.go
...tset_generated/release_1_4/typed/core/v1/resourcequota.go
+3
-2
secret.go
...t/clientset_generated/release_1_4/typed/core/v1/secret.go
+3
-2
service.go
.../clientset_generated/release_1_4/typed/core/v1/service.go
+3
-2
serviceaccount.go
...set_generated/release_1_4/typed/core/v1/serviceaccount.go
+3
-2
daemonset.go
...nerated/release_1_4/typed/extensions/v1beta1/daemonset.go
+3
-2
deployment.go
...erated/release_1_4/typed/extensions/v1beta1/deployment.go
+3
-2
fake_daemonset.go
...lease_1_4/typed/extensions/v1beta1/fake/fake_daemonset.go
+2
-2
fake_deployment.go
...ease_1_4/typed/extensions/v1beta1/fake/fake_deployment.go
+2
-2
fake_horizontalpodautoscaler.go
...d/extensions/v1beta1/fake/fake_horizontalpodautoscaler.go
+2
-2
fake_ingress.go
...release_1_4/typed/extensions/v1beta1/fake/fake_ingress.go
+2
-2
fake_job.go
...ted/release_1_4/typed/extensions/v1beta1/fake/fake_job.go
+2
-2
fake_podsecuritypolicy.go
...4/typed/extensions/v1beta1/fake/fake_podsecuritypolicy.go
+2
-2
fake_replicaset.go
...ease_1_4/typed/extensions/v1beta1/fake/fake_replicaset.go
+2
-2
fake_thirdpartyresource.go
.../typed/extensions/v1beta1/fake/fake_thirdpartyresource.go
+2
-2
horizontalpodautoscaler.go
...e_1_4/typed/extensions/v1beta1/horizontalpodautoscaler.go
+3
-2
ingress.go
...generated/release_1_4/typed/extensions/v1beta1/ingress.go
+3
-2
job.go
...set_generated/release_1_4/typed/extensions/v1beta1/job.go
+3
-2
podsecuritypolicy.go
...release_1_4/typed/extensions/v1beta1/podsecuritypolicy.go
+3
-2
replicaset.go
...erated/release_1_4/typed/extensions/v1beta1/replicaset.go
+3
-2
thirdpartyresource.go
...elease_1_4/typed/extensions/v1beta1/thirdpartyresource.go
+3
-2
No files found.
cmd/libs/go2idl/client-gen/testoutput/clientset_generated/test_internalclientset/typed/testgroup.k8s.io/unversioned/fake/fake_testtype.go
View file @
c2fb3910
...
...
@@ -23,7 +23,6 @@ import (
core
"k8s.io/kubernetes/pkg/client/testing/core"
labels
"k8s.io/kubernetes/pkg/labels"
watch
"k8s.io/kubernetes/pkg/watch"
"path"
)
// FakeTestTypes implements TestTypeInterface
...
...
@@ -119,7 +118,7 @@ func (c *FakeTestTypes) Watch(opts api.ListOptions) (watch.Interface, error) {
// Patch applies the patch and returns the patched testType.
func
(
c
*
FakeTestTypes
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
,
subresources
...
string
)
(
result
*
testgroup_k8s_io
.
TestType
,
err
error
)
{
obj
,
err
:=
c
.
Fake
.
Invokes
(
core
.
NewPatchSubresourceAction
(
testtypesResource
,
c
.
ns
,
name
,
data
,
path
.
Join
(
subresources
...
)
),
&
testgroup_k8s_io
.
TestType
{})
Invokes
(
core
.
NewPatchSubresourceAction
(
testtypesResource
,
c
.
ns
,
name
,
data
,
subresources
...
),
&
testgroup_k8s_io
.
TestType
{})
if
obj
==
nil
{
return
nil
,
err
...
...
federation/client/clientset_generated/federation_internalclientset/typed/core/unversioned/fake/fake_service.go
View file @
c2fb3910
...
...
@@ -115,9 +115,9 @@ func (c *FakeServices) Watch(opts api.ListOptions) (watch.Interface, error) {
}
// Patch applies the patch and returns the patched service.
func
(
c
*
FakeServices
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
)
(
result
*
api
.
Service
,
err
error
)
{
func
(
c
*
FakeServices
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
,
subresources
...
string
)
(
result
*
api
.
Service
,
err
error
)
{
obj
,
err
:=
c
.
Fake
.
Invokes
(
core
.
NewPatch
Action
(
servicesResource
,
c
.
ns
,
name
,
data
),
&
api
.
Service
{})
Invokes
(
core
.
NewPatch
SubresourceAction
(
servicesResource
,
c
.
ns
,
name
,
data
,
subresources
...
),
&
api
.
Service
{})
if
obj
==
nil
{
return
nil
,
err
...
...
federation/client/clientset_generated/federation_internalclientset/typed/core/unversioned/service.go
View file @
c2fb3910
...
...
@@ -37,7 +37,7 @@ type ServiceInterface interface {
Get
(
name
string
)
(
*
api
.
Service
,
error
)
List
(
opts
api
.
ListOptions
)
(
*
api
.
ServiceList
,
error
)
Watch
(
opts
api
.
ListOptions
)
(
watch
.
Interface
,
error
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
)
(
result
*
api
.
Service
,
err
error
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
,
subresources
...
string
)
(
result
*
api
.
Service
,
err
error
)
ServiceExpansion
}
...
...
@@ -150,11 +150,12 @@ func (c *services) Watch(opts api.ListOptions) (watch.Interface, error) {
}
// Patch applies the patch and returns the patched service.
func
(
c
*
services
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
)
(
result
*
api
.
Service
,
err
error
)
{
func
(
c
*
services
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
,
subresources
...
string
)
(
result
*
api
.
Service
,
err
error
)
{
result
=
&
api
.
Service
{}
err
=
c
.
client
.
Patch
(
pt
)
.
Namespace
(
c
.
ns
)
.
Resource
(
"services"
)
.
SubResource
(
subresources
...
)
.
Name
(
name
)
.
Body
(
data
)
.
Do
()
.
...
...
federation/client/clientset_generated/federation_internalclientset/typed/federation/unversioned/cluster.go
View file @
c2fb3910
...
...
@@ -38,7 +38,7 @@ type ClusterInterface interface {
Get
(
name
string
)
(
*
federation
.
Cluster
,
error
)
List
(
opts
api
.
ListOptions
)
(
*
federation
.
ClusterList
,
error
)
Watch
(
opts
api
.
ListOptions
)
(
watch
.
Interface
,
error
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
)
(
result
*
federation
.
Cluster
,
err
error
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
,
subresources
...
string
)
(
result
*
federation
.
Cluster
,
err
error
)
ClusterExpansion
}
...
...
@@ -141,10 +141,11 @@ func (c *clusters) Watch(opts api.ListOptions) (watch.Interface, error) {
}
// Patch applies the patch and returns the patched cluster.
func
(
c
*
clusters
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
)
(
result
*
federation
.
Cluster
,
err
error
)
{
func
(
c
*
clusters
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
,
subresources
...
string
)
(
result
*
federation
.
Cluster
,
err
error
)
{
result
=
&
federation
.
Cluster
{}
err
=
c
.
client
.
Patch
(
pt
)
.
Resource
(
"clusters"
)
.
SubResource
(
subresources
...
)
.
Name
(
name
)
.
Body
(
data
)
.
Do
()
.
...
...
federation/client/clientset_generated/federation_internalclientset/typed/federation/unversioned/fake/fake_cluster.go
View file @
c2fb3910
...
...
@@ -108,9 +108,9 @@ func (c *FakeClusters) Watch(opts api.ListOptions) (watch.Interface, error) {
}
// Patch applies the patch and returns the patched cluster.
func
(
c
*
FakeClusters
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
)
(
result
*
federation
.
Cluster
,
err
error
)
{
func
(
c
*
FakeClusters
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
,
subresources
...
string
)
(
result
*
federation
.
Cluster
,
err
error
)
{
obj
,
err
:=
c
.
Fake
.
Invokes
(
core
.
NewRootPatch
Action
(
clustersResource
,
name
,
data
),
&
federation
.
Cluster
{})
Invokes
(
core
.
NewRootPatch
SubresourceAction
(
clustersResource
,
name
,
data
,
subresources
...
),
&
federation
.
Cluster
{})
if
obj
==
nil
{
return
nil
,
err
}
...
...
federation/client/clientset_generated/federation_release_1_4/typed/core/v1/fake/fake_service.go
View file @
c2fb3910
...
...
@@ -116,9 +116,9 @@ func (c *FakeServices) Watch(opts api.ListOptions) (watch.Interface, error) {
}
// Patch applies the patch and returns the patched service.
func
(
c
*
FakeServices
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
)
(
result
*
v1
.
Service
,
err
error
)
{
func
(
c
*
FakeServices
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
,
subresources
...
string
)
(
result
*
v1
.
Service
,
err
error
)
{
obj
,
err
:=
c
.
Fake
.
Invokes
(
core
.
NewPatch
Action
(
servicesResource
,
c
.
ns
,
name
,
data
),
&
v1
.
Service
{})
Invokes
(
core
.
NewPatch
SubresourceAction
(
servicesResource
,
c
.
ns
,
name
,
data
,
subresources
...
),
&
v1
.
Service
{})
if
obj
==
nil
{
return
nil
,
err
...
...
federation/client/clientset_generated/federation_release_1_4/typed/core/v1/service.go
View file @
c2fb3910
...
...
@@ -38,7 +38,7 @@ type ServiceInterface interface {
Get
(
name
string
)
(
*
v1
.
Service
,
error
)
List
(
opts
api
.
ListOptions
)
(
*
v1
.
ServiceList
,
error
)
Watch
(
opts
api
.
ListOptions
)
(
watch
.
Interface
,
error
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
)
(
result
*
v1
.
Service
,
err
error
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
,
subresources
...
string
)
(
result
*
v1
.
Service
,
err
error
)
ServiceExpansion
}
...
...
@@ -151,11 +151,12 @@ func (c *services) Watch(opts api.ListOptions) (watch.Interface, error) {
}
// Patch applies the patch and returns the patched service.
func
(
c
*
services
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
)
(
result
*
v1
.
Service
,
err
error
)
{
func
(
c
*
services
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
,
subresources
...
string
)
(
result
*
v1
.
Service
,
err
error
)
{
result
=
&
v1
.
Service
{}
err
=
c
.
client
.
Patch
(
pt
)
.
Namespace
(
c
.
ns
)
.
Resource
(
"services"
)
.
SubResource
(
subresources
...
)
.
Name
(
name
)
.
Body
(
data
)
.
Do
()
.
...
...
federation/client/clientset_generated/federation_release_1_4/typed/federation/v1beta1/cluster.go
View file @
c2fb3910
...
...
@@ -38,7 +38,7 @@ type ClusterInterface interface {
Get
(
name
string
)
(
*
v1beta1
.
Cluster
,
error
)
List
(
opts
api
.
ListOptions
)
(
*
v1beta1
.
ClusterList
,
error
)
Watch
(
opts
api
.
ListOptions
)
(
watch
.
Interface
,
error
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
)
(
result
*
v1beta1
.
Cluster
,
err
error
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
,
subresources
...
string
)
(
result
*
v1beta1
.
Cluster
,
err
error
)
ClusterExpansion
}
...
...
@@ -141,10 +141,11 @@ func (c *clusters) Watch(opts api.ListOptions) (watch.Interface, error) {
}
// Patch applies the patch and returns the patched cluster.
func
(
c
*
clusters
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
)
(
result
*
v1beta1
.
Cluster
,
err
error
)
{
func
(
c
*
clusters
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
,
subresources
...
string
)
(
result
*
v1beta1
.
Cluster
,
err
error
)
{
result
=
&
v1beta1
.
Cluster
{}
err
=
c
.
client
.
Patch
(
pt
)
.
Resource
(
"clusters"
)
.
SubResource
(
subresources
...
)
.
Name
(
name
)
.
Body
(
data
)
.
Do
()
.
...
...
federation/client/clientset_generated/federation_release_1_4/typed/federation/v1beta1/fake/fake_cluster.go
View file @
c2fb3910
...
...
@@ -108,9 +108,9 @@ func (c *FakeClusters) Watch(opts api.ListOptions) (watch.Interface, error) {
}
// Patch applies the patch and returns the patched cluster.
func
(
c
*
FakeClusters
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
)
(
result
*
v1beta1
.
Cluster
,
err
error
)
{
func
(
c
*
FakeClusters
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
,
subresources
...
string
)
(
result
*
v1beta1
.
Cluster
,
err
error
)
{
obj
,
err
:=
c
.
Fake
.
Invokes
(
core
.
NewRootPatch
Action
(
clustersResource
,
name
,
data
),
&
v1beta1
.
Cluster
{})
Invokes
(
core
.
NewRootPatch
SubresourceAction
(
clustersResource
,
name
,
data
,
subresources
...
),
&
v1beta1
.
Cluster
{})
if
obj
==
nil
{
return
nil
,
err
}
...
...
pkg/client/clientset_generated/internalclientset/typed/autoscaling/unversioned/fake/fake_horizontalpodautoscaler.go
View file @
c2fb3910
...
...
@@ -116,9 +116,9 @@ func (c *FakeHorizontalPodAutoscalers) Watch(opts api.ListOptions) (watch.Interf
}
// Patch applies the patch and returns the patched horizontalPodAutoscaler.
func
(
c
*
FakeHorizontalPodAutoscalers
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
)
(
result
*
autoscaling
.
HorizontalPodAutoscaler
,
err
error
)
{
func
(
c
*
FakeHorizontalPodAutoscalers
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
,
subresources
...
string
)
(
result
*
autoscaling
.
HorizontalPodAutoscaler
,
err
error
)
{
obj
,
err
:=
c
.
Fake
.
Invokes
(
core
.
NewPatch
Action
(
horizontalpodautoscalersResource
,
c
.
ns
,
name
,
data
),
&
autoscaling
.
HorizontalPodAutoscaler
{})
Invokes
(
core
.
NewPatch
SubresourceAction
(
horizontalpodautoscalersResource
,
c
.
ns
,
name
,
data
,
subresources
...
),
&
autoscaling
.
HorizontalPodAutoscaler
{})
if
obj
==
nil
{
return
nil
,
err
...
...
pkg/client/clientset_generated/internalclientset/typed/autoscaling/unversioned/horizontalpodautoscaler.go
View file @
c2fb3910
...
...
@@ -38,7 +38,7 @@ type HorizontalPodAutoscalerInterface interface {
Get
(
name
string
)
(
*
autoscaling
.
HorizontalPodAutoscaler
,
error
)
List
(
opts
api
.
ListOptions
)
(
*
autoscaling
.
HorizontalPodAutoscalerList
,
error
)
Watch
(
opts
api
.
ListOptions
)
(
watch
.
Interface
,
error
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
)
(
result
*
autoscaling
.
HorizontalPodAutoscaler
,
err
error
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
,
subresources
...
string
)
(
result
*
autoscaling
.
HorizontalPodAutoscaler
,
err
error
)
HorizontalPodAutoscalerExpansion
}
...
...
@@ -151,11 +151,12 @@ func (c *horizontalPodAutoscalers) Watch(opts api.ListOptions) (watch.Interface,
}
// Patch applies the patch and returns the patched horizontalPodAutoscaler.
func
(
c
*
horizontalPodAutoscalers
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
)
(
result
*
autoscaling
.
HorizontalPodAutoscaler
,
err
error
)
{
func
(
c
*
horizontalPodAutoscalers
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
,
subresources
...
string
)
(
result
*
autoscaling
.
HorizontalPodAutoscaler
,
err
error
)
{
result
=
&
autoscaling
.
HorizontalPodAutoscaler
{}
err
=
c
.
client
.
Patch
(
pt
)
.
Namespace
(
c
.
ns
)
.
Resource
(
"horizontalpodautoscalers"
)
.
SubResource
(
subresources
...
)
.
Name
(
name
)
.
Body
(
data
)
.
Do
()
.
...
...
pkg/client/clientset_generated/internalclientset/typed/batch/unversioned/fake/fake_job.go
View file @
c2fb3910
...
...
@@ -116,9 +116,9 @@ func (c *FakeJobs) Watch(opts api.ListOptions) (watch.Interface, error) {
}
// Patch applies the patch and returns the patched job.
func
(
c
*
FakeJobs
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
)
(
result
*
batch
.
Job
,
err
error
)
{
func
(
c
*
FakeJobs
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
,
subresources
...
string
)
(
result
*
batch
.
Job
,
err
error
)
{
obj
,
err
:=
c
.
Fake
.
Invokes
(
core
.
NewPatch
Action
(
jobsResource
,
c
.
ns
,
name
,
data
),
&
batch
.
Job
{})
Invokes
(
core
.
NewPatch
SubresourceAction
(
jobsResource
,
c
.
ns
,
name
,
data
,
subresources
...
),
&
batch
.
Job
{})
if
obj
==
nil
{
return
nil
,
err
...
...
pkg/client/clientset_generated/internalclientset/typed/batch/unversioned/fake/fake_scheduledjob.go
View file @
c2fb3910
...
...
@@ -116,9 +116,9 @@ func (c *FakeScheduledJobs) Watch(opts api.ListOptions) (watch.Interface, error)
}
// Patch applies the patch and returns the patched scheduledJob.
func
(
c
*
FakeScheduledJobs
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
)
(
result
*
batch
.
ScheduledJob
,
err
error
)
{
func
(
c
*
FakeScheduledJobs
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
,
subresources
...
string
)
(
result
*
batch
.
ScheduledJob
,
err
error
)
{
obj
,
err
:=
c
.
Fake
.
Invokes
(
core
.
NewPatch
Action
(
scheduledjobsResource
,
c
.
ns
,
name
,
data
),
&
batch
.
ScheduledJob
{})
Invokes
(
core
.
NewPatch
SubresourceAction
(
scheduledjobsResource
,
c
.
ns
,
name
,
data
,
subresources
...
),
&
batch
.
ScheduledJob
{})
if
obj
==
nil
{
return
nil
,
err
...
...
pkg/client/clientset_generated/internalclientset/typed/batch/unversioned/job.go
View file @
c2fb3910
...
...
@@ -38,7 +38,7 @@ type JobInterface interface {
Get
(
name
string
)
(
*
batch
.
Job
,
error
)
List
(
opts
api
.
ListOptions
)
(
*
batch
.
JobList
,
error
)
Watch
(
opts
api
.
ListOptions
)
(
watch
.
Interface
,
error
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
)
(
result
*
batch
.
Job
,
err
error
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
,
subresources
...
string
)
(
result
*
batch
.
Job
,
err
error
)
JobExpansion
}
...
...
@@ -151,11 +151,12 @@ func (c *jobs) Watch(opts api.ListOptions) (watch.Interface, error) {
}
// Patch applies the patch and returns the patched job.
func
(
c
*
jobs
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
)
(
result
*
batch
.
Job
,
err
error
)
{
func
(
c
*
jobs
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
,
subresources
...
string
)
(
result
*
batch
.
Job
,
err
error
)
{
result
=
&
batch
.
Job
{}
err
=
c
.
client
.
Patch
(
pt
)
.
Namespace
(
c
.
ns
)
.
Resource
(
"jobs"
)
.
SubResource
(
subresources
...
)
.
Name
(
name
)
.
Body
(
data
)
.
Do
()
.
...
...
pkg/client/clientset_generated/internalclientset/typed/batch/unversioned/scheduledjob.go
View file @
c2fb3910
...
...
@@ -38,7 +38,7 @@ type ScheduledJobInterface interface {
Get
(
name
string
)
(
*
batch
.
ScheduledJob
,
error
)
List
(
opts
api
.
ListOptions
)
(
*
batch
.
ScheduledJobList
,
error
)
Watch
(
opts
api
.
ListOptions
)
(
watch
.
Interface
,
error
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
)
(
result
*
batch
.
ScheduledJob
,
err
error
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
,
subresources
...
string
)
(
result
*
batch
.
ScheduledJob
,
err
error
)
ScheduledJobExpansion
}
...
...
@@ -151,11 +151,12 @@ func (c *scheduledJobs) Watch(opts api.ListOptions) (watch.Interface, error) {
}
// Patch applies the patch and returns the patched scheduledJob.
func
(
c
*
scheduledJobs
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
)
(
result
*
batch
.
ScheduledJob
,
err
error
)
{
func
(
c
*
scheduledJobs
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
,
subresources
...
string
)
(
result
*
batch
.
ScheduledJob
,
err
error
)
{
result
=
&
batch
.
ScheduledJob
{}
err
=
c
.
client
.
Patch
(
pt
)
.
Namespace
(
c
.
ns
)
.
Resource
(
"scheduledjobs"
)
.
SubResource
(
subresources
...
)
.
Name
(
name
)
.
Body
(
data
)
.
Do
()
.
...
...
pkg/client/clientset_generated/internalclientset/typed/certificates/unversioned/certificatesigningrequest.go
View file @
c2fb3910
...
...
@@ -38,7 +38,7 @@ type CertificateSigningRequestInterface interface {
Get
(
name
string
)
(
*
certificates
.
CertificateSigningRequest
,
error
)
List
(
opts
api
.
ListOptions
)
(
*
certificates
.
CertificateSigningRequestList
,
error
)
Watch
(
opts
api
.
ListOptions
)
(
watch
.
Interface
,
error
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
)
(
result
*
certificates
.
CertificateSigningRequest
,
err
error
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
,
subresources
...
string
)
(
result
*
certificates
.
CertificateSigningRequest
,
err
error
)
CertificateSigningRequestExpansion
}
...
...
@@ -141,10 +141,11 @@ func (c *certificateSigningRequests) Watch(opts api.ListOptions) (watch.Interfac
}
// Patch applies the patch and returns the patched certificateSigningRequest.
func
(
c
*
certificateSigningRequests
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
)
(
result
*
certificates
.
CertificateSigningRequest
,
err
error
)
{
func
(
c
*
certificateSigningRequests
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
,
subresources
...
string
)
(
result
*
certificates
.
CertificateSigningRequest
,
err
error
)
{
result
=
&
certificates
.
CertificateSigningRequest
{}
err
=
c
.
client
.
Patch
(
pt
)
.
Resource
(
"certificatesigningrequests"
)
.
SubResource
(
subresources
...
)
.
Name
(
name
)
.
Body
(
data
)
.
Do
()
.
...
...
pkg/client/clientset_generated/internalclientset/typed/certificates/unversioned/fake/fake_certificatesigningrequest.go
View file @
c2fb3910
...
...
@@ -108,9 +108,9 @@ func (c *FakeCertificateSigningRequests) Watch(opts api.ListOptions) (watch.Inte
}
// Patch applies the patch and returns the patched certificateSigningRequest.
func
(
c
*
FakeCertificateSigningRequests
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
)
(
result
*
certificates
.
CertificateSigningRequest
,
err
error
)
{
func
(
c
*
FakeCertificateSigningRequests
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
,
subresources
...
string
)
(
result
*
certificates
.
CertificateSigningRequest
,
err
error
)
{
obj
,
err
:=
c
.
Fake
.
Invokes
(
core
.
NewRootPatch
Action
(
certificatesigningrequestsResource
,
name
,
data
),
&
certificates
.
CertificateSigningRequest
{})
Invokes
(
core
.
NewRootPatch
SubresourceAction
(
certificatesigningrequestsResource
,
name
,
data
,
subresources
...
),
&
certificates
.
CertificateSigningRequest
{})
if
obj
==
nil
{
return
nil
,
err
}
...
...
pkg/client/clientset_generated/internalclientset/typed/core/unversioned/componentstatus.go
View file @
c2fb3910
...
...
@@ -36,7 +36,7 @@ type ComponentStatusInterface interface {
Get
(
name
string
)
(
*
api
.
ComponentStatus
,
error
)
List
(
opts
api
.
ListOptions
)
(
*
api
.
ComponentStatusList
,
error
)
Watch
(
opts
api
.
ListOptions
)
(
watch
.
Interface
,
error
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
)
(
result
*
api
.
ComponentStatus
,
err
error
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
,
subresources
...
string
)
(
result
*
api
.
ComponentStatus
,
err
error
)
ComponentStatusExpansion
}
...
...
@@ -127,10 +127,11 @@ func (c *componentStatuses) Watch(opts api.ListOptions) (watch.Interface, error)
}
// Patch applies the patch and returns the patched componentStatus.
func
(
c
*
componentStatuses
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
)
(
result
*
api
.
ComponentStatus
,
err
error
)
{
func
(
c
*
componentStatuses
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
,
subresources
...
string
)
(
result
*
api
.
ComponentStatus
,
err
error
)
{
result
=
&
api
.
ComponentStatus
{}
err
=
c
.
client
.
Patch
(
pt
)
.
Resource
(
"componentstatuses"
)
.
SubResource
(
subresources
...
)
.
Name
(
name
)
.
Body
(
data
)
.
Do
()
.
...
...
pkg/client/clientset_generated/internalclientset/typed/core/unversioned/configmap.go
View file @
c2fb3910
...
...
@@ -36,7 +36,7 @@ type ConfigMapInterface interface {
Get
(
name
string
)
(
*
api
.
ConfigMap
,
error
)
List
(
opts
api
.
ListOptions
)
(
*
api
.
ConfigMapList
,
error
)
Watch
(
opts
api
.
ListOptions
)
(
watch
.
Interface
,
error
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
)
(
result
*
api
.
ConfigMap
,
err
error
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
,
subresources
...
string
)
(
result
*
api
.
ConfigMap
,
err
error
)
ConfigMapExpansion
}
...
...
@@ -136,11 +136,12 @@ func (c *configMaps) Watch(opts api.ListOptions) (watch.Interface, error) {
}
// Patch applies the patch and returns the patched configMap.
func
(
c
*
configMaps
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
)
(
result
*
api
.
ConfigMap
,
err
error
)
{
func
(
c
*
configMaps
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
,
subresources
...
string
)
(
result
*
api
.
ConfigMap
,
err
error
)
{
result
=
&
api
.
ConfigMap
{}
err
=
c
.
client
.
Patch
(
pt
)
.
Namespace
(
c
.
ns
)
.
Resource
(
"configmaps"
)
.
SubResource
(
subresources
...
)
.
Name
(
name
)
.
Body
(
data
)
.
Do
()
.
...
...
pkg/client/clientset_generated/internalclientset/typed/core/unversioned/endpoints.go
View file @
c2fb3910
...
...
@@ -36,7 +36,7 @@ type EndpointsInterface interface {
Get
(
name
string
)
(
*
api
.
Endpoints
,
error
)
List
(
opts
api
.
ListOptions
)
(
*
api
.
EndpointsList
,
error
)
Watch
(
opts
api
.
ListOptions
)
(
watch
.
Interface
,
error
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
)
(
result
*
api
.
Endpoints
,
err
error
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
,
subresources
...
string
)
(
result
*
api
.
Endpoints
,
err
error
)
EndpointsExpansion
}
...
...
@@ -136,11 +136,12 @@ func (c *endpoints) Watch(opts api.ListOptions) (watch.Interface, error) {
}
// Patch applies the patch and returns the patched endpoints.
func
(
c
*
endpoints
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
)
(
result
*
api
.
Endpoints
,
err
error
)
{
func
(
c
*
endpoints
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
,
subresources
...
string
)
(
result
*
api
.
Endpoints
,
err
error
)
{
result
=
&
api
.
Endpoints
{}
err
=
c
.
client
.
Patch
(
pt
)
.
Namespace
(
c
.
ns
)
.
Resource
(
"endpoints"
)
.
SubResource
(
subresources
...
)
.
Name
(
name
)
.
Body
(
data
)
.
Do
()
.
...
...
pkg/client/clientset_generated/internalclientset/typed/core/unversioned/event.go
View file @
c2fb3910
...
...
@@ -36,7 +36,7 @@ type EventInterface interface {
Get
(
name
string
)
(
*
api
.
Event
,
error
)
List
(
opts
api
.
ListOptions
)
(
*
api
.
EventList
,
error
)
Watch
(
opts
api
.
ListOptions
)
(
watch
.
Interface
,
error
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
)
(
result
*
api
.
Event
,
err
error
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
,
subresources
...
string
)
(
result
*
api
.
Event
,
err
error
)
EventExpansion
}
...
...
@@ -136,11 +136,12 @@ func (c *events) Watch(opts api.ListOptions) (watch.Interface, error) {
}
// Patch applies the patch and returns the patched event.
func
(
c
*
events
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
)
(
result
*
api
.
Event
,
err
error
)
{
func
(
c
*
events
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
,
subresources
...
string
)
(
result
*
api
.
Event
,
err
error
)
{
result
=
&
api
.
Event
{}
err
=
c
.
client
.
Patch
(
pt
)
.
Namespace
(
c
.
ns
)
.
Resource
(
"events"
)
.
SubResource
(
subresources
...
)
.
Name
(
name
)
.
Body
(
data
)
.
Do
()
.
...
...
pkg/client/clientset_generated/internalclientset/typed/core/unversioned/fake/fake_componentstatus.go
View file @
c2fb3910
...
...
@@ -98,9 +98,9 @@ func (c *FakeComponentStatuses) Watch(opts api.ListOptions) (watch.Interface, er
}
// Patch applies the patch and returns the patched componentStatus.
func
(
c
*
FakeComponentStatuses
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
)
(
result
*
api
.
ComponentStatus
,
err
error
)
{
func
(
c
*
FakeComponentStatuses
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
,
subresources
...
string
)
(
result
*
api
.
ComponentStatus
,
err
error
)
{
obj
,
err
:=
c
.
Fake
.
Invokes
(
core
.
NewRootPatch
Action
(
componentstatusesResource
,
name
,
data
),
&
api
.
ComponentStatus
{})
Invokes
(
core
.
NewRootPatch
SubresourceAction
(
componentstatusesResource
,
name
,
data
,
subresources
...
),
&
api
.
ComponentStatus
{})
if
obj
==
nil
{
return
nil
,
err
}
...
...
pkg/client/clientset_generated/internalclientset/typed/core/unversioned/fake/fake_configmap.go
View file @
c2fb3910
...
...
@@ -105,9 +105,9 @@ func (c *FakeConfigMaps) Watch(opts api.ListOptions) (watch.Interface, error) {
}
// Patch applies the patch and returns the patched configMap.
func
(
c
*
FakeConfigMaps
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
)
(
result
*
api
.
ConfigMap
,
err
error
)
{
func
(
c
*
FakeConfigMaps
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
,
subresources
...
string
)
(
result
*
api
.
ConfigMap
,
err
error
)
{
obj
,
err
:=
c
.
Fake
.
Invokes
(
core
.
NewPatch
Action
(
configmapsResource
,
c
.
ns
,
name
,
data
),
&
api
.
ConfigMap
{})
Invokes
(
core
.
NewPatch
SubresourceAction
(
configmapsResource
,
c
.
ns
,
name
,
data
,
subresources
...
),
&
api
.
ConfigMap
{})
if
obj
==
nil
{
return
nil
,
err
...
...
pkg/client/clientset_generated/internalclientset/typed/core/unversioned/fake/fake_endpoints.go
View file @
c2fb3910
...
...
@@ -105,9 +105,9 @@ func (c *FakeEndpoints) Watch(opts api.ListOptions) (watch.Interface, error) {
}
// Patch applies the patch and returns the patched endpoints.
func
(
c
*
FakeEndpoints
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
)
(
result
*
api
.
Endpoints
,
err
error
)
{
func
(
c
*
FakeEndpoints
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
,
subresources
...
string
)
(
result
*
api
.
Endpoints
,
err
error
)
{
obj
,
err
:=
c
.
Fake
.
Invokes
(
core
.
NewPatch
Action
(
endpointsResource
,
c
.
ns
,
name
,
data
),
&
api
.
Endpoints
{})
Invokes
(
core
.
NewPatch
SubresourceAction
(
endpointsResource
,
c
.
ns
,
name
,
data
,
subresources
...
),
&
api
.
Endpoints
{})
if
obj
==
nil
{
return
nil
,
err
...
...
pkg/client/clientset_generated/internalclientset/typed/core/unversioned/fake/fake_event.go
View file @
c2fb3910
...
...
@@ -105,9 +105,9 @@ func (c *FakeEvents) Watch(opts api.ListOptions) (watch.Interface, error) {
}
// Patch applies the patch and returns the patched event.
func
(
c
*
FakeEvents
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
)
(
result
*
api
.
Event
,
err
error
)
{
func
(
c
*
FakeEvents
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
,
subresources
...
string
)
(
result
*
api
.
Event
,
err
error
)
{
obj
,
err
:=
c
.
Fake
.
Invokes
(
core
.
NewPatch
Action
(
eventsResource
,
c
.
ns
,
name
,
data
),
&
api
.
Event
{})
Invokes
(
core
.
NewPatch
SubresourceAction
(
eventsResource
,
c
.
ns
,
name
,
data
,
subresources
...
),
&
api
.
Event
{})
if
obj
==
nil
{
return
nil
,
err
...
...
pkg/client/clientset_generated/internalclientset/typed/core/unversioned/fake/fake_limitrange.go
View file @
c2fb3910
...
...
@@ -105,9 +105,9 @@ func (c *FakeLimitRanges) Watch(opts api.ListOptions) (watch.Interface, error) {
}
// Patch applies the patch and returns the patched limitRange.
func
(
c
*
FakeLimitRanges
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
)
(
result
*
api
.
LimitRange
,
err
error
)
{
func
(
c
*
FakeLimitRanges
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
,
subresources
...
string
)
(
result
*
api
.
LimitRange
,
err
error
)
{
obj
,
err
:=
c
.
Fake
.
Invokes
(
core
.
NewPatch
Action
(
limitrangesResource
,
c
.
ns
,
name
,
data
),
&
api
.
LimitRange
{})
Invokes
(
core
.
NewPatch
SubresourceAction
(
limitrangesResource
,
c
.
ns
,
name
,
data
,
subresources
...
),
&
api
.
LimitRange
{})
if
obj
==
nil
{
return
nil
,
err
...
...
pkg/client/clientset_generated/internalclientset/typed/core/unversioned/fake/fake_namespace.go
View file @
c2fb3910
...
...
@@ -107,9 +107,9 @@ func (c *FakeNamespaces) Watch(opts api.ListOptions) (watch.Interface, error) {
}
// Patch applies the patch and returns the patched namespace.
func
(
c
*
FakeNamespaces
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
)
(
result
*
api
.
Namespace
,
err
error
)
{
func
(
c
*
FakeNamespaces
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
,
subresources
...
string
)
(
result
*
api
.
Namespace
,
err
error
)
{
obj
,
err
:=
c
.
Fake
.
Invokes
(
core
.
NewRootPatch
Action
(
namespacesResource
,
name
,
data
),
&
api
.
Namespace
{})
Invokes
(
core
.
NewRootPatch
SubresourceAction
(
namespacesResource
,
name
,
data
,
subresources
...
),
&
api
.
Namespace
{})
if
obj
==
nil
{
return
nil
,
err
}
...
...
pkg/client/clientset_generated/internalclientset/typed/core/unversioned/fake/fake_node.go
View file @
c2fb3910
...
...
@@ -107,9 +107,9 @@ func (c *FakeNodes) Watch(opts api.ListOptions) (watch.Interface, error) {
}
// Patch applies the patch and returns the patched node.
func
(
c
*
FakeNodes
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
)
(
result
*
api
.
Node
,
err
error
)
{
func
(
c
*
FakeNodes
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
,
subresources
...
string
)
(
result
*
api
.
Node
,
err
error
)
{
obj
,
err
:=
c
.
Fake
.
Invokes
(
core
.
NewRootPatch
Action
(
nodesResource
,
name
,
data
),
&
api
.
Node
{})
Invokes
(
core
.
NewRootPatch
SubresourceAction
(
nodesResource
,
name
,
data
,
subresources
...
),
&
api
.
Node
{})
if
obj
==
nil
{
return
nil
,
err
}
...
...
pkg/client/clientset_generated/internalclientset/typed/core/unversioned/fake/fake_node_expansion.go
View file @
c2fb3910
...
...
@@ -23,7 +23,7 @@ import (
func
(
c
*
FakeNodes
)
PatchStatus
(
nodeName
string
,
data
[]
byte
)
(
*
api
.
Node
,
error
)
{
obj
,
err
:=
c
.
Fake
.
Invokes
(
core
.
New
PatchSubresourceAction
(
nodesResource
,
"status"
),
&
api
.
Node
{})
core
.
New
RootPatchSubresourceAction
(
nodesResource
,
nodeName
,
data
,
"status"
),
&
api
.
Node
{})
if
obj
==
nil
{
return
nil
,
err
}
...
...
pkg/client/clientset_generated/internalclientset/typed/core/unversioned/fake/fake_persistentvolume.go
View file @
c2fb3910
...
...
@@ -107,9 +107,9 @@ func (c *FakePersistentVolumes) Watch(opts api.ListOptions) (watch.Interface, er
}
// Patch applies the patch and returns the patched persistentVolume.
func
(
c
*
FakePersistentVolumes
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
)
(
result
*
api
.
PersistentVolume
,
err
error
)
{
func
(
c
*
FakePersistentVolumes
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
,
subresources
...
string
)
(
result
*
api
.
PersistentVolume
,
err
error
)
{
obj
,
err
:=
c
.
Fake
.
Invokes
(
core
.
NewRootPatch
Action
(
persistentvolumesResource
,
name
,
data
),
&
api
.
PersistentVolume
{})
Invokes
(
core
.
NewRootPatch
SubresourceAction
(
persistentvolumesResource
,
name
,
data
,
subresources
...
),
&
api
.
PersistentVolume
{})
if
obj
==
nil
{
return
nil
,
err
}
...
...
pkg/client/clientset_generated/internalclientset/typed/core/unversioned/fake/fake_persistentvolumeclaim.go
View file @
c2fb3910
...
...
@@ -115,9 +115,9 @@ func (c *FakePersistentVolumeClaims) Watch(opts api.ListOptions) (watch.Interfac
}
// Patch applies the patch and returns the patched persistentVolumeClaim.
func
(
c
*
FakePersistentVolumeClaims
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
)
(
result
*
api
.
PersistentVolumeClaim
,
err
error
)
{
func
(
c
*
FakePersistentVolumeClaims
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
,
subresources
...
string
)
(
result
*
api
.
PersistentVolumeClaim
,
err
error
)
{
obj
,
err
:=
c
.
Fake
.
Invokes
(
core
.
NewPatch
Action
(
persistentvolumeclaimsResource
,
c
.
ns
,
name
,
data
),
&
api
.
PersistentVolumeClaim
{})
Invokes
(
core
.
NewPatch
SubresourceAction
(
persistentvolumeclaimsResource
,
c
.
ns
,
name
,
data
,
subresources
...
),
&
api
.
PersistentVolumeClaim
{})
if
obj
==
nil
{
return
nil
,
err
...
...
pkg/client/clientset_generated/internalclientset/typed/core/unversioned/fake/fake_pod.go
View file @
c2fb3910
...
...
@@ -115,9 +115,9 @@ func (c *FakePods) Watch(opts api.ListOptions) (watch.Interface, error) {
}
// Patch applies the patch and returns the patched pod.
func
(
c
*
FakePods
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
)
(
result
*
api
.
Pod
,
err
error
)
{
func
(
c
*
FakePods
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
,
subresources
...
string
)
(
result
*
api
.
Pod
,
err
error
)
{
obj
,
err
:=
c
.
Fake
.
Invokes
(
core
.
NewPatch
Action
(
podsResource
,
c
.
ns
,
name
,
data
),
&
api
.
Pod
{})
Invokes
(
core
.
NewPatch
SubresourceAction
(
podsResource
,
c
.
ns
,
name
,
data
,
subresources
...
),
&
api
.
Pod
{})
if
obj
==
nil
{
return
nil
,
err
...
...
pkg/client/clientset_generated/internalclientset/typed/core/unversioned/fake/fake_podtemplate.go
View file @
c2fb3910
...
...
@@ -105,9 +105,9 @@ func (c *FakePodTemplates) Watch(opts api.ListOptions) (watch.Interface, error)
}
// Patch applies the patch and returns the patched podTemplate.
func
(
c
*
FakePodTemplates
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
)
(
result
*
api
.
PodTemplate
,
err
error
)
{
func
(
c
*
FakePodTemplates
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
,
subresources
...
string
)
(
result
*
api
.
PodTemplate
,
err
error
)
{
obj
,
err
:=
c
.
Fake
.
Invokes
(
core
.
NewPatch
Action
(
podtemplatesResource
,
c
.
ns
,
name
,
data
),
&
api
.
PodTemplate
{})
Invokes
(
core
.
NewPatch
SubresourceAction
(
podtemplatesResource
,
c
.
ns
,
name
,
data
,
subresources
...
),
&
api
.
PodTemplate
{})
if
obj
==
nil
{
return
nil
,
err
...
...
pkg/client/clientset_generated/internalclientset/typed/core/unversioned/fake/fake_replicationcontroller.go
View file @
c2fb3910
...
...
@@ -115,9 +115,9 @@ func (c *FakeReplicationControllers) Watch(opts api.ListOptions) (watch.Interfac
}
// Patch applies the patch and returns the patched replicationController.
func
(
c
*
FakeReplicationControllers
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
)
(
result
*
api
.
ReplicationController
,
err
error
)
{
func
(
c
*
FakeReplicationControllers
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
,
subresources
...
string
)
(
result
*
api
.
ReplicationController
,
err
error
)
{
obj
,
err
:=
c
.
Fake
.
Invokes
(
core
.
NewPatch
Action
(
replicationcontrollersResource
,
c
.
ns
,
name
,
data
),
&
api
.
ReplicationController
{})
Invokes
(
core
.
NewPatch
SubresourceAction
(
replicationcontrollersResource
,
c
.
ns
,
name
,
data
,
subresources
...
),
&
api
.
ReplicationController
{})
if
obj
==
nil
{
return
nil
,
err
...
...
pkg/client/clientset_generated/internalclientset/typed/core/unversioned/fake/fake_resourcequota.go
View file @
c2fb3910
...
...
@@ -115,9 +115,9 @@ func (c *FakeResourceQuotas) Watch(opts api.ListOptions) (watch.Interface, error
}
// Patch applies the patch and returns the patched resourceQuota.
func
(
c
*
FakeResourceQuotas
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
)
(
result
*
api
.
ResourceQuota
,
err
error
)
{
func
(
c
*
FakeResourceQuotas
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
,
subresources
...
string
)
(
result
*
api
.
ResourceQuota
,
err
error
)
{
obj
,
err
:=
c
.
Fake
.
Invokes
(
core
.
NewPatch
Action
(
resourcequotasResource
,
c
.
ns
,
name
,
data
),
&
api
.
ResourceQuota
{})
Invokes
(
core
.
NewPatch
SubresourceAction
(
resourcequotasResource
,
c
.
ns
,
name
,
data
,
subresources
...
),
&
api
.
ResourceQuota
{})
if
obj
==
nil
{
return
nil
,
err
...
...
pkg/client/clientset_generated/internalclientset/typed/core/unversioned/fake/fake_secret.go
View file @
c2fb3910
...
...
@@ -105,9 +105,9 @@ func (c *FakeSecrets) Watch(opts api.ListOptions) (watch.Interface, error) {
}
// Patch applies the patch and returns the patched secret.
func
(
c
*
FakeSecrets
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
)
(
result
*
api
.
Secret
,
err
error
)
{
func
(
c
*
FakeSecrets
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
,
subresources
...
string
)
(
result
*
api
.
Secret
,
err
error
)
{
obj
,
err
:=
c
.
Fake
.
Invokes
(
core
.
NewPatch
Action
(
secretsResource
,
c
.
ns
,
name
,
data
),
&
api
.
Secret
{})
Invokes
(
core
.
NewPatch
SubresourceAction
(
secretsResource
,
c
.
ns
,
name
,
data
,
subresources
...
),
&
api
.
Secret
{})
if
obj
==
nil
{
return
nil
,
err
...
...
pkg/client/clientset_generated/internalclientset/typed/core/unversioned/fake/fake_service.go
View file @
c2fb3910
...
...
@@ -115,9 +115,9 @@ func (c *FakeServices) Watch(opts api.ListOptions) (watch.Interface, error) {
}
// Patch applies the patch and returns the patched service.
func
(
c
*
FakeServices
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
)
(
result
*
api
.
Service
,
err
error
)
{
func
(
c
*
FakeServices
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
,
subresources
...
string
)
(
result
*
api
.
Service
,
err
error
)
{
obj
,
err
:=
c
.
Fake
.
Invokes
(
core
.
NewPatch
Action
(
servicesResource
,
c
.
ns
,
name
,
data
),
&
api
.
Service
{})
Invokes
(
core
.
NewPatch
SubresourceAction
(
servicesResource
,
c
.
ns
,
name
,
data
,
subresources
...
),
&
api
.
Service
{})
if
obj
==
nil
{
return
nil
,
err
...
...
pkg/client/clientset_generated/internalclientset/typed/core/unversioned/fake/fake_serviceaccount.go
View file @
c2fb3910
...
...
@@ -105,9 +105,9 @@ func (c *FakeServiceAccounts) Watch(opts api.ListOptions) (watch.Interface, erro
}
// Patch applies the patch and returns the patched serviceAccount.
func
(
c
*
FakeServiceAccounts
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
)
(
result
*
api
.
ServiceAccount
,
err
error
)
{
func
(
c
*
FakeServiceAccounts
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
,
subresources
...
string
)
(
result
*
api
.
ServiceAccount
,
err
error
)
{
obj
,
err
:=
c
.
Fake
.
Invokes
(
core
.
NewPatch
Action
(
serviceaccountsResource
,
c
.
ns
,
name
,
data
),
&
api
.
ServiceAccount
{})
Invokes
(
core
.
NewPatch
SubresourceAction
(
serviceaccountsResource
,
c
.
ns
,
name
,
data
,
subresources
...
),
&
api
.
ServiceAccount
{})
if
obj
==
nil
{
return
nil
,
err
...
...
pkg/client/clientset_generated/internalclientset/typed/core/unversioned/limitrange.go
View file @
c2fb3910
...
...
@@ -36,7 +36,7 @@ type LimitRangeInterface interface {
Get
(
name
string
)
(
*
api
.
LimitRange
,
error
)
List
(
opts
api
.
ListOptions
)
(
*
api
.
LimitRangeList
,
error
)
Watch
(
opts
api
.
ListOptions
)
(
watch
.
Interface
,
error
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
)
(
result
*
api
.
LimitRange
,
err
error
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
,
subresources
...
string
)
(
result
*
api
.
LimitRange
,
err
error
)
LimitRangeExpansion
}
...
...
@@ -136,11 +136,12 @@ func (c *limitRanges) Watch(opts api.ListOptions) (watch.Interface, error) {
}
// Patch applies the patch and returns the patched limitRange.
func
(
c
*
limitRanges
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
)
(
result
*
api
.
LimitRange
,
err
error
)
{
func
(
c
*
limitRanges
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
,
subresources
...
string
)
(
result
*
api
.
LimitRange
,
err
error
)
{
result
=
&
api
.
LimitRange
{}
err
=
c
.
client
.
Patch
(
pt
)
.
Namespace
(
c
.
ns
)
.
Resource
(
"limitranges"
)
.
SubResource
(
subresources
...
)
.
Name
(
name
)
.
Body
(
data
)
.
Do
()
.
...
...
pkg/client/clientset_generated/internalclientset/typed/core/unversioned/namespace.go
View file @
c2fb3910
...
...
@@ -37,7 +37,7 @@ type NamespaceInterface interface {
Get
(
name
string
)
(
*
api
.
Namespace
,
error
)
List
(
opts
api
.
ListOptions
)
(
*
api
.
NamespaceList
,
error
)
Watch
(
opts
api
.
ListOptions
)
(
watch
.
Interface
,
error
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
)
(
result
*
api
.
Namespace
,
err
error
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
,
subresources
...
string
)
(
result
*
api
.
Namespace
,
err
error
)
NamespaceExpansion
}
...
...
@@ -140,10 +140,11 @@ func (c *namespaces) Watch(opts api.ListOptions) (watch.Interface, error) {
}
// Patch applies the patch and returns the patched namespace.
func
(
c
*
namespaces
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
)
(
result
*
api
.
Namespace
,
err
error
)
{
func
(
c
*
namespaces
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
,
subresources
...
string
)
(
result
*
api
.
Namespace
,
err
error
)
{
result
=
&
api
.
Namespace
{}
err
=
c
.
client
.
Patch
(
pt
)
.
Resource
(
"namespaces"
)
.
SubResource
(
subresources
...
)
.
Name
(
name
)
.
Body
(
data
)
.
Do
()
.
...
...
pkg/client/clientset_generated/internalclientset/typed/core/unversioned/node.go
View file @
c2fb3910
...
...
@@ -37,7 +37,7 @@ type NodeInterface interface {
Get
(
name
string
)
(
*
api
.
Node
,
error
)
List
(
opts
api
.
ListOptions
)
(
*
api
.
NodeList
,
error
)
Watch
(
opts
api
.
ListOptions
)
(
watch
.
Interface
,
error
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
)
(
result
*
api
.
Node
,
err
error
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
,
subresources
...
string
)
(
result
*
api
.
Node
,
err
error
)
NodeExpansion
}
...
...
@@ -140,10 +140,11 @@ func (c *nodes) Watch(opts api.ListOptions) (watch.Interface, error) {
}
// Patch applies the patch and returns the patched node.
func
(
c
*
nodes
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
)
(
result
*
api
.
Node
,
err
error
)
{
func
(
c
*
nodes
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
,
subresources
...
string
)
(
result
*
api
.
Node
,
err
error
)
{
result
=
&
api
.
Node
{}
err
=
c
.
client
.
Patch
(
pt
)
.
Resource
(
"nodes"
)
.
SubResource
(
subresources
...
)
.
Name
(
name
)
.
Body
(
data
)
.
Do
()
.
...
...
pkg/client/clientset_generated/internalclientset/typed/core/unversioned/persistentvolume.go
View file @
c2fb3910
...
...
@@ -37,7 +37,7 @@ type PersistentVolumeInterface interface {
Get
(
name
string
)
(
*
api
.
PersistentVolume
,
error
)
List
(
opts
api
.
ListOptions
)
(
*
api
.
PersistentVolumeList
,
error
)
Watch
(
opts
api
.
ListOptions
)
(
watch
.
Interface
,
error
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
)
(
result
*
api
.
PersistentVolume
,
err
error
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
,
subresources
...
string
)
(
result
*
api
.
PersistentVolume
,
err
error
)
PersistentVolumeExpansion
}
...
...
@@ -140,10 +140,11 @@ func (c *persistentVolumes) Watch(opts api.ListOptions) (watch.Interface, error)
}
// Patch applies the patch and returns the patched persistentVolume.
func
(
c
*
persistentVolumes
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
)
(
result
*
api
.
PersistentVolume
,
err
error
)
{
func
(
c
*
persistentVolumes
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
,
subresources
...
string
)
(
result
*
api
.
PersistentVolume
,
err
error
)
{
result
=
&
api
.
PersistentVolume
{}
err
=
c
.
client
.
Patch
(
pt
)
.
Resource
(
"persistentvolumes"
)
.
SubResource
(
subresources
...
)
.
Name
(
name
)
.
Body
(
data
)
.
Do
()
.
...
...
pkg/client/clientset_generated/internalclientset/typed/core/unversioned/persistentvolumeclaim.go
View file @
c2fb3910
...
...
@@ -37,7 +37,7 @@ type PersistentVolumeClaimInterface interface {
Get
(
name
string
)
(
*
api
.
PersistentVolumeClaim
,
error
)
List
(
opts
api
.
ListOptions
)
(
*
api
.
PersistentVolumeClaimList
,
error
)
Watch
(
opts
api
.
ListOptions
)
(
watch
.
Interface
,
error
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
)
(
result
*
api
.
PersistentVolumeClaim
,
err
error
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
,
subresources
...
string
)
(
result
*
api
.
PersistentVolumeClaim
,
err
error
)
PersistentVolumeClaimExpansion
}
...
...
@@ -150,11 +150,12 @@ func (c *persistentVolumeClaims) Watch(opts api.ListOptions) (watch.Interface, e
}
// Patch applies the patch and returns the patched persistentVolumeClaim.
func
(
c
*
persistentVolumeClaims
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
)
(
result
*
api
.
PersistentVolumeClaim
,
err
error
)
{
func
(
c
*
persistentVolumeClaims
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
,
subresources
...
string
)
(
result
*
api
.
PersistentVolumeClaim
,
err
error
)
{
result
=
&
api
.
PersistentVolumeClaim
{}
err
=
c
.
client
.
Patch
(
pt
)
.
Namespace
(
c
.
ns
)
.
Resource
(
"persistentvolumeclaims"
)
.
SubResource
(
subresources
...
)
.
Name
(
name
)
.
Body
(
data
)
.
Do
()
.
...
...
pkg/client/clientset_generated/internalclientset/typed/core/unversioned/pod.go
View file @
c2fb3910
...
...
@@ -37,7 +37,7 @@ type PodInterface interface {
Get
(
name
string
)
(
*
api
.
Pod
,
error
)
List
(
opts
api
.
ListOptions
)
(
*
api
.
PodList
,
error
)
Watch
(
opts
api
.
ListOptions
)
(
watch
.
Interface
,
error
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
)
(
result
*
api
.
Pod
,
err
error
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
,
subresources
...
string
)
(
result
*
api
.
Pod
,
err
error
)
PodExpansion
}
...
...
@@ -150,11 +150,12 @@ func (c *pods) Watch(opts api.ListOptions) (watch.Interface, error) {
}
// Patch applies the patch and returns the patched pod.
func
(
c
*
pods
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
)
(
result
*
api
.
Pod
,
err
error
)
{
func
(
c
*
pods
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
,
subresources
...
string
)
(
result
*
api
.
Pod
,
err
error
)
{
result
=
&
api
.
Pod
{}
err
=
c
.
client
.
Patch
(
pt
)
.
Namespace
(
c
.
ns
)
.
Resource
(
"pods"
)
.
SubResource
(
subresources
...
)
.
Name
(
name
)
.
Body
(
data
)
.
Do
()
.
...
...
pkg/client/clientset_generated/internalclientset/typed/core/unversioned/podtemplate.go
View file @
c2fb3910
...
...
@@ -36,7 +36,7 @@ type PodTemplateInterface interface {
Get
(
name
string
)
(
*
api
.
PodTemplate
,
error
)
List
(
opts
api
.
ListOptions
)
(
*
api
.
PodTemplateList
,
error
)
Watch
(
opts
api
.
ListOptions
)
(
watch
.
Interface
,
error
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
)
(
result
*
api
.
PodTemplate
,
err
error
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
,
subresources
...
string
)
(
result
*
api
.
PodTemplate
,
err
error
)
PodTemplateExpansion
}
...
...
@@ -136,11 +136,12 @@ func (c *podTemplates) Watch(opts api.ListOptions) (watch.Interface, error) {
}
// Patch applies the patch and returns the patched podTemplate.
func
(
c
*
podTemplates
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
)
(
result
*
api
.
PodTemplate
,
err
error
)
{
func
(
c
*
podTemplates
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
,
subresources
...
string
)
(
result
*
api
.
PodTemplate
,
err
error
)
{
result
=
&
api
.
PodTemplate
{}
err
=
c
.
client
.
Patch
(
pt
)
.
Namespace
(
c
.
ns
)
.
Resource
(
"podtemplates"
)
.
SubResource
(
subresources
...
)
.
Name
(
name
)
.
Body
(
data
)
.
Do
()
.
...
...
pkg/client/clientset_generated/internalclientset/typed/core/unversioned/replicationcontroller.go
View file @
c2fb3910
...
...
@@ -37,7 +37,7 @@ type ReplicationControllerInterface interface {
Get
(
name
string
)
(
*
api
.
ReplicationController
,
error
)
List
(
opts
api
.
ListOptions
)
(
*
api
.
ReplicationControllerList
,
error
)
Watch
(
opts
api
.
ListOptions
)
(
watch
.
Interface
,
error
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
)
(
result
*
api
.
ReplicationController
,
err
error
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
,
subresources
...
string
)
(
result
*
api
.
ReplicationController
,
err
error
)
ReplicationControllerExpansion
}
...
...
@@ -150,11 +150,12 @@ func (c *replicationControllers) Watch(opts api.ListOptions) (watch.Interface, e
}
// Patch applies the patch and returns the patched replicationController.
func
(
c
*
replicationControllers
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
)
(
result
*
api
.
ReplicationController
,
err
error
)
{
func
(
c
*
replicationControllers
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
,
subresources
...
string
)
(
result
*
api
.
ReplicationController
,
err
error
)
{
result
=
&
api
.
ReplicationController
{}
err
=
c
.
client
.
Patch
(
pt
)
.
Namespace
(
c
.
ns
)
.
Resource
(
"replicationcontrollers"
)
.
SubResource
(
subresources
...
)
.
Name
(
name
)
.
Body
(
data
)
.
Do
()
.
...
...
pkg/client/clientset_generated/internalclientset/typed/core/unversioned/resourcequota.go
View file @
c2fb3910
...
...
@@ -37,7 +37,7 @@ type ResourceQuotaInterface interface {
Get
(
name
string
)
(
*
api
.
ResourceQuota
,
error
)
List
(
opts
api
.
ListOptions
)
(
*
api
.
ResourceQuotaList
,
error
)
Watch
(
opts
api
.
ListOptions
)
(
watch
.
Interface
,
error
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
)
(
result
*
api
.
ResourceQuota
,
err
error
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
,
subresources
...
string
)
(
result
*
api
.
ResourceQuota
,
err
error
)
ResourceQuotaExpansion
}
...
...
@@ -150,11 +150,12 @@ func (c *resourceQuotas) Watch(opts api.ListOptions) (watch.Interface, error) {
}
// Patch applies the patch and returns the patched resourceQuota.
func
(
c
*
resourceQuotas
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
)
(
result
*
api
.
ResourceQuota
,
err
error
)
{
func
(
c
*
resourceQuotas
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
,
subresources
...
string
)
(
result
*
api
.
ResourceQuota
,
err
error
)
{
result
=
&
api
.
ResourceQuota
{}
err
=
c
.
client
.
Patch
(
pt
)
.
Namespace
(
c
.
ns
)
.
Resource
(
"resourcequotas"
)
.
SubResource
(
subresources
...
)
.
Name
(
name
)
.
Body
(
data
)
.
Do
()
.
...
...
pkg/client/clientset_generated/internalclientset/typed/core/unversioned/secret.go
View file @
c2fb3910
...
...
@@ -36,7 +36,7 @@ type SecretInterface interface {
Get
(
name
string
)
(
*
api
.
Secret
,
error
)
List
(
opts
api
.
ListOptions
)
(
*
api
.
SecretList
,
error
)
Watch
(
opts
api
.
ListOptions
)
(
watch
.
Interface
,
error
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
)
(
result
*
api
.
Secret
,
err
error
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
,
subresources
...
string
)
(
result
*
api
.
Secret
,
err
error
)
SecretExpansion
}
...
...
@@ -136,11 +136,12 @@ func (c *secrets) Watch(opts api.ListOptions) (watch.Interface, error) {
}
// Patch applies the patch and returns the patched secret.
func
(
c
*
secrets
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
)
(
result
*
api
.
Secret
,
err
error
)
{
func
(
c
*
secrets
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
,
subresources
...
string
)
(
result
*
api
.
Secret
,
err
error
)
{
result
=
&
api
.
Secret
{}
err
=
c
.
client
.
Patch
(
pt
)
.
Namespace
(
c
.
ns
)
.
Resource
(
"secrets"
)
.
SubResource
(
subresources
...
)
.
Name
(
name
)
.
Body
(
data
)
.
Do
()
.
...
...
pkg/client/clientset_generated/internalclientset/typed/core/unversioned/service.go
View file @
c2fb3910
...
...
@@ -37,7 +37,7 @@ type ServiceInterface interface {
Get
(
name
string
)
(
*
api
.
Service
,
error
)
List
(
opts
api
.
ListOptions
)
(
*
api
.
ServiceList
,
error
)
Watch
(
opts
api
.
ListOptions
)
(
watch
.
Interface
,
error
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
)
(
result
*
api
.
Service
,
err
error
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
,
subresources
...
string
)
(
result
*
api
.
Service
,
err
error
)
ServiceExpansion
}
...
...
@@ -150,11 +150,12 @@ func (c *services) Watch(opts api.ListOptions) (watch.Interface, error) {
}
// Patch applies the patch and returns the patched service.
func
(
c
*
services
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
)
(
result
*
api
.
Service
,
err
error
)
{
func
(
c
*
services
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
,
subresources
...
string
)
(
result
*
api
.
Service
,
err
error
)
{
result
=
&
api
.
Service
{}
err
=
c
.
client
.
Patch
(
pt
)
.
Namespace
(
c
.
ns
)
.
Resource
(
"services"
)
.
SubResource
(
subresources
...
)
.
Name
(
name
)
.
Body
(
data
)
.
Do
()
.
...
...
pkg/client/clientset_generated/internalclientset/typed/core/unversioned/serviceaccount.go
View file @
c2fb3910
...
...
@@ -36,7 +36,7 @@ type ServiceAccountInterface interface {
Get
(
name
string
)
(
*
api
.
ServiceAccount
,
error
)
List
(
opts
api
.
ListOptions
)
(
*
api
.
ServiceAccountList
,
error
)
Watch
(
opts
api
.
ListOptions
)
(
watch
.
Interface
,
error
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
)
(
result
*
api
.
ServiceAccount
,
err
error
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
,
subresources
...
string
)
(
result
*
api
.
ServiceAccount
,
err
error
)
ServiceAccountExpansion
}
...
...
@@ -136,11 +136,12 @@ func (c *serviceAccounts) Watch(opts api.ListOptions) (watch.Interface, error) {
}
// Patch applies the patch and returns the patched serviceAccount.
func
(
c
*
serviceAccounts
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
)
(
result
*
api
.
ServiceAccount
,
err
error
)
{
func
(
c
*
serviceAccounts
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
,
subresources
...
string
)
(
result
*
api
.
ServiceAccount
,
err
error
)
{
result
=
&
api
.
ServiceAccount
{}
err
=
c
.
client
.
Patch
(
pt
)
.
Namespace
(
c
.
ns
)
.
Resource
(
"serviceaccounts"
)
.
SubResource
(
subresources
...
)
.
Name
(
name
)
.
Body
(
data
)
.
Do
()
.
...
...
pkg/client/clientset_generated/internalclientset/typed/extensions/unversioned/daemonset.go
View file @
c2fb3910
...
...
@@ -38,7 +38,7 @@ type DaemonSetInterface interface {
Get
(
name
string
)
(
*
extensions
.
DaemonSet
,
error
)
List
(
opts
api
.
ListOptions
)
(
*
extensions
.
DaemonSetList
,
error
)
Watch
(
opts
api
.
ListOptions
)
(
watch
.
Interface
,
error
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
)
(
result
*
extensions
.
DaemonSet
,
err
error
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
,
subresources
...
string
)
(
result
*
extensions
.
DaemonSet
,
err
error
)
DaemonSetExpansion
}
...
...
@@ -151,11 +151,12 @@ func (c *daemonSets) Watch(opts api.ListOptions) (watch.Interface, error) {
}
// Patch applies the patch and returns the patched daemonSet.
func
(
c
*
daemonSets
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
)
(
result
*
extensions
.
DaemonSet
,
err
error
)
{
func
(
c
*
daemonSets
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
,
subresources
...
string
)
(
result
*
extensions
.
DaemonSet
,
err
error
)
{
result
=
&
extensions
.
DaemonSet
{}
err
=
c
.
client
.
Patch
(
pt
)
.
Namespace
(
c
.
ns
)
.
Resource
(
"daemonsets"
)
.
SubResource
(
subresources
...
)
.
Name
(
name
)
.
Body
(
data
)
.
Do
()
.
...
...
pkg/client/clientset_generated/internalclientset/typed/extensions/unversioned/deployment.go
View file @
c2fb3910
...
...
@@ -38,7 +38,7 @@ type DeploymentInterface interface {
Get
(
name
string
)
(
*
extensions
.
Deployment
,
error
)
List
(
opts
api
.
ListOptions
)
(
*
extensions
.
DeploymentList
,
error
)
Watch
(
opts
api
.
ListOptions
)
(
watch
.
Interface
,
error
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
)
(
result
*
extensions
.
Deployment
,
err
error
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
,
subresources
...
string
)
(
result
*
extensions
.
Deployment
,
err
error
)
DeploymentExpansion
}
...
...
@@ -151,11 +151,12 @@ func (c *deployments) Watch(opts api.ListOptions) (watch.Interface, error) {
}
// Patch applies the patch and returns the patched deployment.
func
(
c
*
deployments
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
)
(
result
*
extensions
.
Deployment
,
err
error
)
{
func
(
c
*
deployments
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
,
subresources
...
string
)
(
result
*
extensions
.
Deployment
,
err
error
)
{
result
=
&
extensions
.
Deployment
{}
err
=
c
.
client
.
Patch
(
pt
)
.
Namespace
(
c
.
ns
)
.
Resource
(
"deployments"
)
.
SubResource
(
subresources
...
)
.
Name
(
name
)
.
Body
(
data
)
.
Do
()
.
...
...
pkg/client/clientset_generated/internalclientset/typed/extensions/unversioned/fake/fake_daemonset.go
View file @
c2fb3910
...
...
@@ -116,9 +116,9 @@ func (c *FakeDaemonSets) Watch(opts api.ListOptions) (watch.Interface, error) {
}
// Patch applies the patch and returns the patched daemonSet.
func
(
c
*
FakeDaemonSets
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
)
(
result
*
extensions
.
DaemonSet
,
err
error
)
{
func
(
c
*
FakeDaemonSets
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
,
subresources
...
string
)
(
result
*
extensions
.
DaemonSet
,
err
error
)
{
obj
,
err
:=
c
.
Fake
.
Invokes
(
core
.
NewPatch
Action
(
daemonsetsResource
,
c
.
ns
,
name
,
data
),
&
extensions
.
DaemonSet
{})
Invokes
(
core
.
NewPatch
SubresourceAction
(
daemonsetsResource
,
c
.
ns
,
name
,
data
,
subresources
...
),
&
extensions
.
DaemonSet
{})
if
obj
==
nil
{
return
nil
,
err
...
...
pkg/client/clientset_generated/internalclientset/typed/extensions/unversioned/fake/fake_deployment.go
View file @
c2fb3910
...
...
@@ -116,9 +116,9 @@ func (c *FakeDeployments) Watch(opts api.ListOptions) (watch.Interface, error) {
}
// Patch applies the patch and returns the patched deployment.
func
(
c
*
FakeDeployments
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
)
(
result
*
extensions
.
Deployment
,
err
error
)
{
func
(
c
*
FakeDeployments
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
,
subresources
...
string
)
(
result
*
extensions
.
Deployment
,
err
error
)
{
obj
,
err
:=
c
.
Fake
.
Invokes
(
core
.
NewPatch
Action
(
deploymentsResource
,
c
.
ns
,
name
,
data
),
&
extensions
.
Deployment
{})
Invokes
(
core
.
NewPatch
SubresourceAction
(
deploymentsResource
,
c
.
ns
,
name
,
data
,
subresources
...
),
&
extensions
.
Deployment
{})
if
obj
==
nil
{
return
nil
,
err
...
...
pkg/client/clientset_generated/internalclientset/typed/extensions/unversioned/fake/fake_ingress.go
View file @
c2fb3910
...
...
@@ -116,9 +116,9 @@ func (c *FakeIngresses) Watch(opts api.ListOptions) (watch.Interface, error) {
}
// Patch applies the patch and returns the patched ingress.
func
(
c
*
FakeIngresses
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
)
(
result
*
extensions
.
Ingress
,
err
error
)
{
func
(
c
*
FakeIngresses
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
,
subresources
...
string
)
(
result
*
extensions
.
Ingress
,
err
error
)
{
obj
,
err
:=
c
.
Fake
.
Invokes
(
core
.
NewPatch
Action
(
ingressesResource
,
c
.
ns
,
name
,
data
),
&
extensions
.
Ingress
{})
Invokes
(
core
.
NewPatch
SubresourceAction
(
ingressesResource
,
c
.
ns
,
name
,
data
,
subresources
...
),
&
extensions
.
Ingress
{})
if
obj
==
nil
{
return
nil
,
err
...
...
pkg/client/clientset_generated/internalclientset/typed/extensions/unversioned/fake/fake_podsecuritypolicy.go
View file @
c2fb3910
...
...
@@ -99,9 +99,9 @@ func (c *FakePodSecurityPolicies) Watch(opts api.ListOptions) (watch.Interface,
}
// Patch applies the patch and returns the patched podSecurityPolicy.
func
(
c
*
FakePodSecurityPolicies
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
)
(
result
*
extensions
.
PodSecurityPolicy
,
err
error
)
{
func
(
c
*
FakePodSecurityPolicies
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
,
subresources
...
string
)
(
result
*
extensions
.
PodSecurityPolicy
,
err
error
)
{
obj
,
err
:=
c
.
Fake
.
Invokes
(
core
.
NewRootPatch
Action
(
podsecuritypoliciesResource
,
name
,
data
),
&
extensions
.
PodSecurityPolicy
{})
Invokes
(
core
.
NewRootPatch
SubresourceAction
(
podsecuritypoliciesResource
,
name
,
data
,
subresources
...
),
&
extensions
.
PodSecurityPolicy
{})
if
obj
==
nil
{
return
nil
,
err
}
...
...
pkg/client/clientset_generated/internalclientset/typed/extensions/unversioned/fake/fake_replicaset.go
View file @
c2fb3910
...
...
@@ -116,9 +116,9 @@ func (c *FakeReplicaSets) Watch(opts api.ListOptions) (watch.Interface, error) {
}
// Patch applies the patch and returns the patched replicaSet.
func
(
c
*
FakeReplicaSets
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
)
(
result
*
extensions
.
ReplicaSet
,
err
error
)
{
func
(
c
*
FakeReplicaSets
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
,
subresources
...
string
)
(
result
*
extensions
.
ReplicaSet
,
err
error
)
{
obj
,
err
:=
c
.
Fake
.
Invokes
(
core
.
NewPatch
Action
(
replicasetsResource
,
c
.
ns
,
name
,
data
),
&
extensions
.
ReplicaSet
{})
Invokes
(
core
.
NewPatch
SubresourceAction
(
replicasetsResource
,
c
.
ns
,
name
,
data
,
subresources
...
),
&
extensions
.
ReplicaSet
{})
if
obj
==
nil
{
return
nil
,
err
...
...
pkg/client/clientset_generated/internalclientset/typed/extensions/unversioned/fake/fake_thirdpartyresource.go
View file @
c2fb3910
...
...
@@ -99,9 +99,9 @@ func (c *FakeThirdPartyResources) Watch(opts api.ListOptions) (watch.Interface,
}
// Patch applies the patch and returns the patched thirdPartyResource.
func
(
c
*
FakeThirdPartyResources
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
)
(
result
*
extensions
.
ThirdPartyResource
,
err
error
)
{
func
(
c
*
FakeThirdPartyResources
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
,
subresources
...
string
)
(
result
*
extensions
.
ThirdPartyResource
,
err
error
)
{
obj
,
err
:=
c
.
Fake
.
Invokes
(
core
.
NewRootPatch
Action
(
thirdpartyresourcesResource
,
name
,
data
),
&
extensions
.
ThirdPartyResource
{})
Invokes
(
core
.
NewRootPatch
SubresourceAction
(
thirdpartyresourcesResource
,
name
,
data
,
subresources
...
),
&
extensions
.
ThirdPartyResource
{})
if
obj
==
nil
{
return
nil
,
err
}
...
...
pkg/client/clientset_generated/internalclientset/typed/extensions/unversioned/ingress.go
View file @
c2fb3910
...
...
@@ -38,7 +38,7 @@ type IngressInterface interface {
Get
(
name
string
)
(
*
extensions
.
Ingress
,
error
)
List
(
opts
api
.
ListOptions
)
(
*
extensions
.
IngressList
,
error
)
Watch
(
opts
api
.
ListOptions
)
(
watch
.
Interface
,
error
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
)
(
result
*
extensions
.
Ingress
,
err
error
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
,
subresources
...
string
)
(
result
*
extensions
.
Ingress
,
err
error
)
IngressExpansion
}
...
...
@@ -151,11 +151,12 @@ func (c *ingresses) Watch(opts api.ListOptions) (watch.Interface, error) {
}
// Patch applies the patch and returns the patched ingress.
func
(
c
*
ingresses
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
)
(
result
*
extensions
.
Ingress
,
err
error
)
{
func
(
c
*
ingresses
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
,
subresources
...
string
)
(
result
*
extensions
.
Ingress
,
err
error
)
{
result
=
&
extensions
.
Ingress
{}
err
=
c
.
client
.
Patch
(
pt
)
.
Namespace
(
c
.
ns
)
.
Resource
(
"ingresses"
)
.
SubResource
(
subresources
...
)
.
Name
(
name
)
.
Body
(
data
)
.
Do
()
.
...
...
pkg/client/clientset_generated/internalclientset/typed/extensions/unversioned/podsecuritypolicy.go
View file @
c2fb3910
...
...
@@ -37,7 +37,7 @@ type PodSecurityPolicyInterface interface {
Get
(
name
string
)
(
*
extensions
.
PodSecurityPolicy
,
error
)
List
(
opts
api
.
ListOptions
)
(
*
extensions
.
PodSecurityPolicyList
,
error
)
Watch
(
opts
api
.
ListOptions
)
(
watch
.
Interface
,
error
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
)
(
result
*
extensions
.
PodSecurityPolicy
,
err
error
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
,
subresources
...
string
)
(
result
*
extensions
.
PodSecurityPolicy
,
err
error
)
PodSecurityPolicyExpansion
}
...
...
@@ -128,10 +128,11 @@ func (c *podSecurityPolicies) Watch(opts api.ListOptions) (watch.Interface, erro
}
// Patch applies the patch and returns the patched podSecurityPolicy.
func
(
c
*
podSecurityPolicies
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
)
(
result
*
extensions
.
PodSecurityPolicy
,
err
error
)
{
func
(
c
*
podSecurityPolicies
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
,
subresources
...
string
)
(
result
*
extensions
.
PodSecurityPolicy
,
err
error
)
{
result
=
&
extensions
.
PodSecurityPolicy
{}
err
=
c
.
client
.
Patch
(
pt
)
.
Resource
(
"podsecuritypolicies"
)
.
SubResource
(
subresources
...
)
.
Name
(
name
)
.
Body
(
data
)
.
Do
()
.
...
...
pkg/client/clientset_generated/internalclientset/typed/extensions/unversioned/replicaset.go
View file @
c2fb3910
...
...
@@ -38,7 +38,7 @@ type ReplicaSetInterface interface {
Get
(
name
string
)
(
*
extensions
.
ReplicaSet
,
error
)
List
(
opts
api
.
ListOptions
)
(
*
extensions
.
ReplicaSetList
,
error
)
Watch
(
opts
api
.
ListOptions
)
(
watch
.
Interface
,
error
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
)
(
result
*
extensions
.
ReplicaSet
,
err
error
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
,
subresources
...
string
)
(
result
*
extensions
.
ReplicaSet
,
err
error
)
ReplicaSetExpansion
}
...
...
@@ -151,11 +151,12 @@ func (c *replicaSets) Watch(opts api.ListOptions) (watch.Interface, error) {
}
// Patch applies the patch and returns the patched replicaSet.
func
(
c
*
replicaSets
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
)
(
result
*
extensions
.
ReplicaSet
,
err
error
)
{
func
(
c
*
replicaSets
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
,
subresources
...
string
)
(
result
*
extensions
.
ReplicaSet
,
err
error
)
{
result
=
&
extensions
.
ReplicaSet
{}
err
=
c
.
client
.
Patch
(
pt
)
.
Namespace
(
c
.
ns
)
.
Resource
(
"replicasets"
)
.
SubResource
(
subresources
...
)
.
Name
(
name
)
.
Body
(
data
)
.
Do
()
.
...
...
pkg/client/clientset_generated/internalclientset/typed/extensions/unversioned/thirdpartyresource.go
View file @
c2fb3910
...
...
@@ -37,7 +37,7 @@ type ThirdPartyResourceInterface interface {
Get
(
name
string
)
(
*
extensions
.
ThirdPartyResource
,
error
)
List
(
opts
api
.
ListOptions
)
(
*
extensions
.
ThirdPartyResourceList
,
error
)
Watch
(
opts
api
.
ListOptions
)
(
watch
.
Interface
,
error
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
)
(
result
*
extensions
.
ThirdPartyResource
,
err
error
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
,
subresources
...
string
)
(
result
*
extensions
.
ThirdPartyResource
,
err
error
)
ThirdPartyResourceExpansion
}
...
...
@@ -128,10 +128,11 @@ func (c *thirdPartyResources) Watch(opts api.ListOptions) (watch.Interface, erro
}
// Patch applies the patch and returns the patched thirdPartyResource.
func
(
c
*
thirdPartyResources
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
)
(
result
*
extensions
.
ThirdPartyResource
,
err
error
)
{
func
(
c
*
thirdPartyResources
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
,
subresources
...
string
)
(
result
*
extensions
.
ThirdPartyResource
,
err
error
)
{
result
=
&
extensions
.
ThirdPartyResource
{}
err
=
c
.
client
.
Patch
(
pt
)
.
Resource
(
"thirdpartyresources"
)
.
SubResource
(
subresources
...
)
.
Name
(
name
)
.
Body
(
data
)
.
Do
()
.
...
...
pkg/client/clientset_generated/internalclientset/typed/rbac/unversioned/clusterrole.go
View file @
c2fb3910
...
...
@@ -37,7 +37,7 @@ type ClusterRoleInterface interface {
Get
(
name
string
)
(
*
rbac
.
ClusterRole
,
error
)
List
(
opts
api
.
ListOptions
)
(
*
rbac
.
ClusterRoleList
,
error
)
Watch
(
opts
api
.
ListOptions
)
(
watch
.
Interface
,
error
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
)
(
result
*
rbac
.
ClusterRole
,
err
error
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
,
subresources
...
string
)
(
result
*
rbac
.
ClusterRole
,
err
error
)
ClusterRoleExpansion
}
...
...
@@ -128,10 +128,11 @@ func (c *clusterRoles) Watch(opts api.ListOptions) (watch.Interface, error) {
}
// Patch applies the patch and returns the patched clusterRole.
func
(
c
*
clusterRoles
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
)
(
result
*
rbac
.
ClusterRole
,
err
error
)
{
func
(
c
*
clusterRoles
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
,
subresources
...
string
)
(
result
*
rbac
.
ClusterRole
,
err
error
)
{
result
=
&
rbac
.
ClusterRole
{}
err
=
c
.
client
.
Patch
(
pt
)
.
Resource
(
"clusterroles"
)
.
SubResource
(
subresources
...
)
.
Name
(
name
)
.
Body
(
data
)
.
Do
()
.
...
...
pkg/client/clientset_generated/internalclientset/typed/rbac/unversioned/clusterrolebinding.go
View file @
c2fb3910
...
...
@@ -37,7 +37,7 @@ type ClusterRoleBindingInterface interface {
Get
(
name
string
)
(
*
rbac
.
ClusterRoleBinding
,
error
)
List
(
opts
api
.
ListOptions
)
(
*
rbac
.
ClusterRoleBindingList
,
error
)
Watch
(
opts
api
.
ListOptions
)
(
watch
.
Interface
,
error
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
)
(
result
*
rbac
.
ClusterRoleBinding
,
err
error
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
,
subresources
...
string
)
(
result
*
rbac
.
ClusterRoleBinding
,
err
error
)
ClusterRoleBindingExpansion
}
...
...
@@ -128,10 +128,11 @@ func (c *clusterRoleBindings) Watch(opts api.ListOptions) (watch.Interface, erro
}
// Patch applies the patch and returns the patched clusterRoleBinding.
func
(
c
*
clusterRoleBindings
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
)
(
result
*
rbac
.
ClusterRoleBinding
,
err
error
)
{
func
(
c
*
clusterRoleBindings
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
,
subresources
...
string
)
(
result
*
rbac
.
ClusterRoleBinding
,
err
error
)
{
result
=
&
rbac
.
ClusterRoleBinding
{}
err
=
c
.
client
.
Patch
(
pt
)
.
Resource
(
"clusterrolebindings"
)
.
SubResource
(
subresources
...
)
.
Name
(
name
)
.
Body
(
data
)
.
Do
()
.
...
...
pkg/client/clientset_generated/internalclientset/typed/rbac/unversioned/fake/fake_clusterrole.go
View file @
c2fb3910
...
...
@@ -99,9 +99,9 @@ func (c *FakeClusterRoles) Watch(opts api.ListOptions) (watch.Interface, error)
}
// Patch applies the patch and returns the patched clusterRole.
func
(
c
*
FakeClusterRoles
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
)
(
result
*
rbac
.
ClusterRole
,
err
error
)
{
func
(
c
*
FakeClusterRoles
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
,
subresources
...
string
)
(
result
*
rbac
.
ClusterRole
,
err
error
)
{
obj
,
err
:=
c
.
Fake
.
Invokes
(
core
.
NewRootPatch
Action
(
clusterrolesResource
,
name
,
data
),
&
rbac
.
ClusterRole
{})
Invokes
(
core
.
NewRootPatch
SubresourceAction
(
clusterrolesResource
,
name
,
data
,
subresources
...
),
&
rbac
.
ClusterRole
{})
if
obj
==
nil
{
return
nil
,
err
}
...
...
pkg/client/clientset_generated/internalclientset/typed/rbac/unversioned/fake/fake_clusterrolebinding.go
View file @
c2fb3910
...
...
@@ -99,9 +99,9 @@ func (c *FakeClusterRoleBindings) Watch(opts api.ListOptions) (watch.Interface,
}
// Patch applies the patch and returns the patched clusterRoleBinding.
func
(
c
*
FakeClusterRoleBindings
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
)
(
result
*
rbac
.
ClusterRoleBinding
,
err
error
)
{
func
(
c
*
FakeClusterRoleBindings
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
,
subresources
...
string
)
(
result
*
rbac
.
ClusterRoleBinding
,
err
error
)
{
obj
,
err
:=
c
.
Fake
.
Invokes
(
core
.
NewRootPatch
Action
(
clusterrolebindingsResource
,
name
,
data
),
&
rbac
.
ClusterRoleBinding
{})
Invokes
(
core
.
NewRootPatch
SubresourceAction
(
clusterrolebindingsResource
,
name
,
data
,
subresources
...
),
&
rbac
.
ClusterRoleBinding
{})
if
obj
==
nil
{
return
nil
,
err
}
...
...
pkg/client/clientset_generated/internalclientset/typed/rbac/unversioned/fake/fake_role.go
View file @
c2fb3910
...
...
@@ -106,9 +106,9 @@ func (c *FakeRoles) Watch(opts api.ListOptions) (watch.Interface, error) {
}
// Patch applies the patch and returns the patched role.
func
(
c
*
FakeRoles
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
)
(
result
*
rbac
.
Role
,
err
error
)
{
func
(
c
*
FakeRoles
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
,
subresources
...
string
)
(
result
*
rbac
.
Role
,
err
error
)
{
obj
,
err
:=
c
.
Fake
.
Invokes
(
core
.
NewPatch
Action
(
rolesResource
,
c
.
ns
,
name
,
data
),
&
rbac
.
Role
{})
Invokes
(
core
.
NewPatch
SubresourceAction
(
rolesResource
,
c
.
ns
,
name
,
data
,
subresources
...
),
&
rbac
.
Role
{})
if
obj
==
nil
{
return
nil
,
err
...
...
pkg/client/clientset_generated/internalclientset/typed/rbac/unversioned/fake/fake_rolebinding.go
View file @
c2fb3910
...
...
@@ -106,9 +106,9 @@ func (c *FakeRoleBindings) Watch(opts api.ListOptions) (watch.Interface, error)
}
// Patch applies the patch and returns the patched roleBinding.
func
(
c
*
FakeRoleBindings
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
)
(
result
*
rbac
.
RoleBinding
,
err
error
)
{
func
(
c
*
FakeRoleBindings
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
,
subresources
...
string
)
(
result
*
rbac
.
RoleBinding
,
err
error
)
{
obj
,
err
:=
c
.
Fake
.
Invokes
(
core
.
NewPatch
Action
(
rolebindingsResource
,
c
.
ns
,
name
,
data
),
&
rbac
.
RoleBinding
{})
Invokes
(
core
.
NewPatch
SubresourceAction
(
rolebindingsResource
,
c
.
ns
,
name
,
data
,
subresources
...
),
&
rbac
.
RoleBinding
{})
if
obj
==
nil
{
return
nil
,
err
...
...
pkg/client/clientset_generated/internalclientset/typed/rbac/unversioned/role.go
View file @
c2fb3910
...
...
@@ -37,7 +37,7 @@ type RoleInterface interface {
Get
(
name
string
)
(
*
rbac
.
Role
,
error
)
List
(
opts
api
.
ListOptions
)
(
*
rbac
.
RoleList
,
error
)
Watch
(
opts
api
.
ListOptions
)
(
watch
.
Interface
,
error
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
)
(
result
*
rbac
.
Role
,
err
error
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
,
subresources
...
string
)
(
result
*
rbac
.
Role
,
err
error
)
RoleExpansion
}
...
...
@@ -137,11 +137,12 @@ func (c *roles) Watch(opts api.ListOptions) (watch.Interface, error) {
}
// Patch applies the patch and returns the patched role.
func
(
c
*
roles
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
)
(
result
*
rbac
.
Role
,
err
error
)
{
func
(
c
*
roles
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
,
subresources
...
string
)
(
result
*
rbac
.
Role
,
err
error
)
{
result
=
&
rbac
.
Role
{}
err
=
c
.
client
.
Patch
(
pt
)
.
Namespace
(
c
.
ns
)
.
Resource
(
"roles"
)
.
SubResource
(
subresources
...
)
.
Name
(
name
)
.
Body
(
data
)
.
Do
()
.
...
...
pkg/client/clientset_generated/internalclientset/typed/rbac/unversioned/rolebinding.go
View file @
c2fb3910
...
...
@@ -37,7 +37,7 @@ type RoleBindingInterface interface {
Get
(
name
string
)
(
*
rbac
.
RoleBinding
,
error
)
List
(
opts
api
.
ListOptions
)
(
*
rbac
.
RoleBindingList
,
error
)
Watch
(
opts
api
.
ListOptions
)
(
watch
.
Interface
,
error
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
)
(
result
*
rbac
.
RoleBinding
,
err
error
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
,
subresources
...
string
)
(
result
*
rbac
.
RoleBinding
,
err
error
)
RoleBindingExpansion
}
...
...
@@ -137,11 +137,12 @@ func (c *roleBindings) Watch(opts api.ListOptions) (watch.Interface, error) {
}
// Patch applies the patch and returns the patched roleBinding.
func
(
c
*
roleBindings
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
)
(
result
*
rbac
.
RoleBinding
,
err
error
)
{
func
(
c
*
roleBindings
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
,
subresources
...
string
)
(
result
*
rbac
.
RoleBinding
,
err
error
)
{
result
=
&
rbac
.
RoleBinding
{}
err
=
c
.
client
.
Patch
(
pt
)
.
Namespace
(
c
.
ns
)
.
Resource
(
"rolebindings"
)
.
SubResource
(
subresources
...
)
.
Name
(
name
)
.
Body
(
data
)
.
Do
()
.
...
...
pkg/client/clientset_generated/release_1_4/typed/autoscaling/v1/fake/fake_horizontalpodautoscaler.go
View file @
c2fb3910
...
...
@@ -116,9 +116,9 @@ func (c *FakeHorizontalPodAutoscalers) Watch(opts api.ListOptions) (watch.Interf
}
// Patch applies the patch and returns the patched horizontalPodAutoscaler.
func
(
c
*
FakeHorizontalPodAutoscalers
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
)
(
result
*
v1
.
HorizontalPodAutoscaler
,
err
error
)
{
func
(
c
*
FakeHorizontalPodAutoscalers
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
,
subresources
...
string
)
(
result
*
v1
.
HorizontalPodAutoscaler
,
err
error
)
{
obj
,
err
:=
c
.
Fake
.
Invokes
(
core
.
NewPatch
Action
(
horizontalpodautoscalersResource
,
c
.
ns
,
name
,
data
),
&
v1
.
HorizontalPodAutoscaler
{})
Invokes
(
core
.
NewPatch
SubresourceAction
(
horizontalpodautoscalersResource
,
c
.
ns
,
name
,
data
,
subresources
...
),
&
v1
.
HorizontalPodAutoscaler
{})
if
obj
==
nil
{
return
nil
,
err
...
...
pkg/client/clientset_generated/release_1_4/typed/autoscaling/v1/horizontalpodautoscaler.go
View file @
c2fb3910
...
...
@@ -38,7 +38,7 @@ type HorizontalPodAutoscalerInterface interface {
Get
(
name
string
)
(
*
v1
.
HorizontalPodAutoscaler
,
error
)
List
(
opts
api
.
ListOptions
)
(
*
v1
.
HorizontalPodAutoscalerList
,
error
)
Watch
(
opts
api
.
ListOptions
)
(
watch
.
Interface
,
error
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
)
(
result
*
v1
.
HorizontalPodAutoscaler
,
err
error
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
,
subresources
...
string
)
(
result
*
v1
.
HorizontalPodAutoscaler
,
err
error
)
HorizontalPodAutoscalerExpansion
}
...
...
@@ -151,11 +151,12 @@ func (c *horizontalPodAutoscalers) Watch(opts api.ListOptions) (watch.Interface,
}
// Patch applies the patch and returns the patched horizontalPodAutoscaler.
func
(
c
*
horizontalPodAutoscalers
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
)
(
result
*
v1
.
HorizontalPodAutoscaler
,
err
error
)
{
func
(
c
*
horizontalPodAutoscalers
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
,
subresources
...
string
)
(
result
*
v1
.
HorizontalPodAutoscaler
,
err
error
)
{
result
=
&
v1
.
HorizontalPodAutoscaler
{}
err
=
c
.
client
.
Patch
(
pt
)
.
Namespace
(
c
.
ns
)
.
Resource
(
"horizontalpodautoscalers"
)
.
SubResource
(
subresources
...
)
.
Name
(
name
)
.
Body
(
data
)
.
Do
()
.
...
...
pkg/client/clientset_generated/release_1_4/typed/batch/v1/fake/fake_job.go
View file @
c2fb3910
...
...
@@ -116,9 +116,9 @@ func (c *FakeJobs) Watch(opts api.ListOptions) (watch.Interface, error) {
}
// Patch applies the patch and returns the patched job.
func
(
c
*
FakeJobs
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
)
(
result
*
v1
.
Job
,
err
error
)
{
func
(
c
*
FakeJobs
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
,
subresources
...
string
)
(
result
*
v1
.
Job
,
err
error
)
{
obj
,
err
:=
c
.
Fake
.
Invokes
(
core
.
NewPatch
Action
(
jobsResource
,
c
.
ns
,
name
,
data
),
&
v1
.
Job
{})
Invokes
(
core
.
NewPatch
SubresourceAction
(
jobsResource
,
c
.
ns
,
name
,
data
,
subresources
...
),
&
v1
.
Job
{})
if
obj
==
nil
{
return
nil
,
err
...
...
pkg/client/clientset_generated/release_1_4/typed/batch/v1/job.go
View file @
c2fb3910
...
...
@@ -38,7 +38,7 @@ type JobInterface interface {
Get
(
name
string
)
(
*
v1
.
Job
,
error
)
List
(
opts
api
.
ListOptions
)
(
*
v1
.
JobList
,
error
)
Watch
(
opts
api
.
ListOptions
)
(
watch
.
Interface
,
error
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
)
(
result
*
v1
.
Job
,
err
error
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
,
subresources
...
string
)
(
result
*
v1
.
Job
,
err
error
)
JobExpansion
}
...
...
@@ -151,11 +151,12 @@ func (c *jobs) Watch(opts api.ListOptions) (watch.Interface, error) {
}
// Patch applies the patch and returns the patched job.
func
(
c
*
jobs
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
)
(
result
*
v1
.
Job
,
err
error
)
{
func
(
c
*
jobs
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
,
subresources
...
string
)
(
result
*
v1
.
Job
,
err
error
)
{
result
=
&
v1
.
Job
{}
err
=
c
.
client
.
Patch
(
pt
)
.
Namespace
(
c
.
ns
)
.
Resource
(
"jobs"
)
.
SubResource
(
subresources
...
)
.
Name
(
name
)
.
Body
(
data
)
.
Do
()
.
...
...
pkg/client/clientset_generated/release_1_4/typed/core/v1/componentstatus.go
View file @
c2fb3910
...
...
@@ -37,7 +37,7 @@ type ComponentStatusInterface interface {
Get
(
name
string
)
(
*
v1
.
ComponentStatus
,
error
)
List
(
opts
api
.
ListOptions
)
(
*
v1
.
ComponentStatusList
,
error
)
Watch
(
opts
api
.
ListOptions
)
(
watch
.
Interface
,
error
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
)
(
result
*
v1
.
ComponentStatus
,
err
error
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
,
subresources
...
string
)
(
result
*
v1
.
ComponentStatus
,
err
error
)
ComponentStatusExpansion
}
...
...
@@ -128,10 +128,11 @@ func (c *componentStatuses) Watch(opts api.ListOptions) (watch.Interface, error)
}
// Patch applies the patch and returns the patched componentStatus.
func
(
c
*
componentStatuses
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
)
(
result
*
v1
.
ComponentStatus
,
err
error
)
{
func
(
c
*
componentStatuses
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
,
subresources
...
string
)
(
result
*
v1
.
ComponentStatus
,
err
error
)
{
result
=
&
v1
.
ComponentStatus
{}
err
=
c
.
client
.
Patch
(
pt
)
.
Resource
(
"componentstatuses"
)
.
SubResource
(
subresources
...
)
.
Name
(
name
)
.
Body
(
data
)
.
Do
()
.
...
...
pkg/client/clientset_generated/release_1_4/typed/core/v1/configmap.go
View file @
c2fb3910
...
...
@@ -37,7 +37,7 @@ type ConfigMapInterface interface {
Get
(
name
string
)
(
*
v1
.
ConfigMap
,
error
)
List
(
opts
api
.
ListOptions
)
(
*
v1
.
ConfigMapList
,
error
)
Watch
(
opts
api
.
ListOptions
)
(
watch
.
Interface
,
error
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
)
(
result
*
v1
.
ConfigMap
,
err
error
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
,
subresources
...
string
)
(
result
*
v1
.
ConfigMap
,
err
error
)
ConfigMapExpansion
}
...
...
@@ -137,11 +137,12 @@ func (c *configMaps) Watch(opts api.ListOptions) (watch.Interface, error) {
}
// Patch applies the patch and returns the patched configMap.
func
(
c
*
configMaps
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
)
(
result
*
v1
.
ConfigMap
,
err
error
)
{
func
(
c
*
configMaps
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
,
subresources
...
string
)
(
result
*
v1
.
ConfigMap
,
err
error
)
{
result
=
&
v1
.
ConfigMap
{}
err
=
c
.
client
.
Patch
(
pt
)
.
Namespace
(
c
.
ns
)
.
Resource
(
"configmaps"
)
.
SubResource
(
subresources
...
)
.
Name
(
name
)
.
Body
(
data
)
.
Do
()
.
...
...
pkg/client/clientset_generated/release_1_4/typed/core/v1/endpoints.go
View file @
c2fb3910
...
...
@@ -37,7 +37,7 @@ type EndpointsInterface interface {
Get
(
name
string
)
(
*
v1
.
Endpoints
,
error
)
List
(
opts
api
.
ListOptions
)
(
*
v1
.
EndpointsList
,
error
)
Watch
(
opts
api
.
ListOptions
)
(
watch
.
Interface
,
error
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
)
(
result
*
v1
.
Endpoints
,
err
error
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
,
subresources
...
string
)
(
result
*
v1
.
Endpoints
,
err
error
)
EndpointsExpansion
}
...
...
@@ -137,11 +137,12 @@ func (c *endpoints) Watch(opts api.ListOptions) (watch.Interface, error) {
}
// Patch applies the patch and returns the patched endpoints.
func
(
c
*
endpoints
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
)
(
result
*
v1
.
Endpoints
,
err
error
)
{
func
(
c
*
endpoints
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
,
subresources
...
string
)
(
result
*
v1
.
Endpoints
,
err
error
)
{
result
=
&
v1
.
Endpoints
{}
err
=
c
.
client
.
Patch
(
pt
)
.
Namespace
(
c
.
ns
)
.
Resource
(
"endpoints"
)
.
SubResource
(
subresources
...
)
.
Name
(
name
)
.
Body
(
data
)
.
Do
()
.
...
...
pkg/client/clientset_generated/release_1_4/typed/core/v1/event.go
View file @
c2fb3910
...
...
@@ -37,7 +37,7 @@ type EventInterface interface {
Get
(
name
string
)
(
*
v1
.
Event
,
error
)
List
(
opts
api
.
ListOptions
)
(
*
v1
.
EventList
,
error
)
Watch
(
opts
api
.
ListOptions
)
(
watch
.
Interface
,
error
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
)
(
result
*
v1
.
Event
,
err
error
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
,
subresources
...
string
)
(
result
*
v1
.
Event
,
err
error
)
EventExpansion
}
...
...
@@ -137,11 +137,12 @@ func (c *events) Watch(opts api.ListOptions) (watch.Interface, error) {
}
// Patch applies the patch and returns the patched event.
func
(
c
*
events
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
)
(
result
*
v1
.
Event
,
err
error
)
{
func
(
c
*
events
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
,
subresources
...
string
)
(
result
*
v1
.
Event
,
err
error
)
{
result
=
&
v1
.
Event
{}
err
=
c
.
client
.
Patch
(
pt
)
.
Namespace
(
c
.
ns
)
.
Resource
(
"events"
)
.
SubResource
(
subresources
...
)
.
Name
(
name
)
.
Body
(
data
)
.
Do
()
.
...
...
pkg/client/clientset_generated/release_1_4/typed/core/v1/fake/fake_componentstatus.go
View file @
c2fb3910
...
...
@@ -99,9 +99,9 @@ func (c *FakeComponentStatuses) Watch(opts api.ListOptions) (watch.Interface, er
}
// Patch applies the patch and returns the patched componentStatus.
func
(
c
*
FakeComponentStatuses
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
)
(
result
*
v1
.
ComponentStatus
,
err
error
)
{
func
(
c
*
FakeComponentStatuses
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
,
subresources
...
string
)
(
result
*
v1
.
ComponentStatus
,
err
error
)
{
obj
,
err
:=
c
.
Fake
.
Invokes
(
core
.
NewRootPatch
Action
(
componentstatusesResource
,
name
,
data
),
&
v1
.
ComponentStatus
{})
Invokes
(
core
.
NewRootPatch
SubresourceAction
(
componentstatusesResource
,
name
,
data
,
subresources
...
),
&
v1
.
ComponentStatus
{})
if
obj
==
nil
{
return
nil
,
err
}
...
...
pkg/client/clientset_generated/release_1_4/typed/core/v1/fake/fake_configmap.go
View file @
c2fb3910
...
...
@@ -106,9 +106,9 @@ func (c *FakeConfigMaps) Watch(opts api.ListOptions) (watch.Interface, error) {
}
// Patch applies the patch and returns the patched configMap.
func
(
c
*
FakeConfigMaps
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
)
(
result
*
v1
.
ConfigMap
,
err
error
)
{
func
(
c
*
FakeConfigMaps
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
,
subresources
...
string
)
(
result
*
v1
.
ConfigMap
,
err
error
)
{
obj
,
err
:=
c
.
Fake
.
Invokes
(
core
.
NewPatch
Action
(
configmapsResource
,
c
.
ns
,
name
,
data
),
&
v1
.
ConfigMap
{})
Invokes
(
core
.
NewPatch
SubresourceAction
(
configmapsResource
,
c
.
ns
,
name
,
data
,
subresources
...
),
&
v1
.
ConfigMap
{})
if
obj
==
nil
{
return
nil
,
err
...
...
pkg/client/clientset_generated/release_1_4/typed/core/v1/fake/fake_endpoints.go
View file @
c2fb3910
...
...
@@ -106,9 +106,9 @@ func (c *FakeEndpoints) Watch(opts api.ListOptions) (watch.Interface, error) {
}
// Patch applies the patch and returns the patched endpoints.
func
(
c
*
FakeEndpoints
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
)
(
result
*
v1
.
Endpoints
,
err
error
)
{
func
(
c
*
FakeEndpoints
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
,
subresources
...
string
)
(
result
*
v1
.
Endpoints
,
err
error
)
{
obj
,
err
:=
c
.
Fake
.
Invokes
(
core
.
NewPatch
Action
(
endpointsResource
,
c
.
ns
,
name
,
data
),
&
v1
.
Endpoints
{})
Invokes
(
core
.
NewPatch
SubresourceAction
(
endpointsResource
,
c
.
ns
,
name
,
data
,
subresources
...
),
&
v1
.
Endpoints
{})
if
obj
==
nil
{
return
nil
,
err
...
...
pkg/client/clientset_generated/release_1_4/typed/core/v1/fake/fake_event.go
View file @
c2fb3910
...
...
@@ -106,9 +106,9 @@ func (c *FakeEvents) Watch(opts api.ListOptions) (watch.Interface, error) {
}
// Patch applies the patch and returns the patched event.
func
(
c
*
FakeEvents
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
)
(
result
*
v1
.
Event
,
err
error
)
{
func
(
c
*
FakeEvents
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
,
subresources
...
string
)
(
result
*
v1
.
Event
,
err
error
)
{
obj
,
err
:=
c
.
Fake
.
Invokes
(
core
.
NewPatch
Action
(
eventsResource
,
c
.
ns
,
name
,
data
),
&
v1
.
Event
{})
Invokes
(
core
.
NewPatch
SubresourceAction
(
eventsResource
,
c
.
ns
,
name
,
data
,
subresources
...
),
&
v1
.
Event
{})
if
obj
==
nil
{
return
nil
,
err
...
...
pkg/client/clientset_generated/release_1_4/typed/core/v1/fake/fake_limitrange.go
View file @
c2fb3910
...
...
@@ -106,9 +106,9 @@ func (c *FakeLimitRanges) Watch(opts api.ListOptions) (watch.Interface, error) {
}
// Patch applies the patch and returns the patched limitRange.
func
(
c
*
FakeLimitRanges
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
)
(
result
*
v1
.
LimitRange
,
err
error
)
{
func
(
c
*
FakeLimitRanges
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
,
subresources
...
string
)
(
result
*
v1
.
LimitRange
,
err
error
)
{
obj
,
err
:=
c
.
Fake
.
Invokes
(
core
.
NewPatch
Action
(
limitrangesResource
,
c
.
ns
,
name
,
data
),
&
v1
.
LimitRange
{})
Invokes
(
core
.
NewPatch
SubresourceAction
(
limitrangesResource
,
c
.
ns
,
name
,
data
,
subresources
...
),
&
v1
.
LimitRange
{})
if
obj
==
nil
{
return
nil
,
err
...
...
pkg/client/clientset_generated/release_1_4/typed/core/v1/fake/fake_namespace.go
View file @
c2fb3910
...
...
@@ -108,9 +108,9 @@ func (c *FakeNamespaces) Watch(opts api.ListOptions) (watch.Interface, error) {
}
// Patch applies the patch and returns the patched namespace.
func
(
c
*
FakeNamespaces
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
)
(
result
*
v1
.
Namespace
,
err
error
)
{
func
(
c
*
FakeNamespaces
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
,
subresources
...
string
)
(
result
*
v1
.
Namespace
,
err
error
)
{
obj
,
err
:=
c
.
Fake
.
Invokes
(
core
.
NewRootPatch
Action
(
namespacesResource
,
name
,
data
),
&
v1
.
Namespace
{})
Invokes
(
core
.
NewRootPatch
SubresourceAction
(
namespacesResource
,
name
,
data
,
subresources
...
),
&
v1
.
Namespace
{})
if
obj
==
nil
{
return
nil
,
err
}
...
...
pkg/client/clientset_generated/release_1_4/typed/core/v1/fake/fake_node.go
View file @
c2fb3910
...
...
@@ -108,9 +108,9 @@ func (c *FakeNodes) Watch(opts api.ListOptions) (watch.Interface, error) {
}
// Patch applies the patch and returns the patched node.
func
(
c
*
FakeNodes
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
)
(
result
*
v1
.
Node
,
err
error
)
{
func
(
c
*
FakeNodes
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
,
subresources
...
string
)
(
result
*
v1
.
Node
,
err
error
)
{
obj
,
err
:=
c
.
Fake
.
Invokes
(
core
.
NewRootPatch
Action
(
nodesResource
,
name
,
data
),
&
v1
.
Node
{})
Invokes
(
core
.
NewRootPatch
SubresourceAction
(
nodesResource
,
name
,
data
,
subresources
...
),
&
v1
.
Node
{})
if
obj
==
nil
{
return
nil
,
err
}
...
...
pkg/client/clientset_generated/release_1_4/typed/core/v1/fake/fake_persistentvolume.go
View file @
c2fb3910
...
...
@@ -108,9 +108,9 @@ func (c *FakePersistentVolumes) Watch(opts api.ListOptions) (watch.Interface, er
}
// Patch applies the patch and returns the patched persistentVolume.
func
(
c
*
FakePersistentVolumes
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
)
(
result
*
v1
.
PersistentVolume
,
err
error
)
{
func
(
c
*
FakePersistentVolumes
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
,
subresources
...
string
)
(
result
*
v1
.
PersistentVolume
,
err
error
)
{
obj
,
err
:=
c
.
Fake
.
Invokes
(
core
.
NewRootPatch
Action
(
persistentvolumesResource
,
name
,
data
),
&
v1
.
PersistentVolume
{})
Invokes
(
core
.
NewRootPatch
SubresourceAction
(
persistentvolumesResource
,
name
,
data
,
subresources
...
),
&
v1
.
PersistentVolume
{})
if
obj
==
nil
{
return
nil
,
err
}
...
...
pkg/client/clientset_generated/release_1_4/typed/core/v1/fake/fake_pod.go
View file @
c2fb3910
...
...
@@ -116,9 +116,9 @@ func (c *FakePods) Watch(opts api.ListOptions) (watch.Interface, error) {
}
// Patch applies the patch and returns the patched pod.
func
(
c
*
FakePods
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
)
(
result
*
v1
.
Pod
,
err
error
)
{
func
(
c
*
FakePods
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
,
subresources
...
string
)
(
result
*
v1
.
Pod
,
err
error
)
{
obj
,
err
:=
c
.
Fake
.
Invokes
(
core
.
NewPatch
Action
(
podsResource
,
c
.
ns
,
name
,
data
),
&
v1
.
Pod
{})
Invokes
(
core
.
NewPatch
SubresourceAction
(
podsResource
,
c
.
ns
,
name
,
data
,
subresources
...
),
&
v1
.
Pod
{})
if
obj
==
nil
{
return
nil
,
err
...
...
pkg/client/clientset_generated/release_1_4/typed/core/v1/fake/fake_podtemplate.go
View file @
c2fb3910
...
...
@@ -106,9 +106,9 @@ func (c *FakePodTemplates) Watch(opts api.ListOptions) (watch.Interface, error)
}
// Patch applies the patch and returns the patched podTemplate.
func
(
c
*
FakePodTemplates
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
)
(
result
*
v1
.
PodTemplate
,
err
error
)
{
func
(
c
*
FakePodTemplates
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
,
subresources
...
string
)
(
result
*
v1
.
PodTemplate
,
err
error
)
{
obj
,
err
:=
c
.
Fake
.
Invokes
(
core
.
NewPatch
Action
(
podtemplatesResource
,
c
.
ns
,
name
,
data
),
&
v1
.
PodTemplate
{})
Invokes
(
core
.
NewPatch
SubresourceAction
(
podtemplatesResource
,
c
.
ns
,
name
,
data
,
subresources
...
),
&
v1
.
PodTemplate
{})
if
obj
==
nil
{
return
nil
,
err
...
...
pkg/client/clientset_generated/release_1_4/typed/core/v1/fake/fake_replicationcontroller.go
View file @
c2fb3910
...
...
@@ -116,9 +116,9 @@ func (c *FakeReplicationControllers) Watch(opts api.ListOptions) (watch.Interfac
}
// Patch applies the patch and returns the patched replicationController.
func
(
c
*
FakeReplicationControllers
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
)
(
result
*
v1
.
ReplicationController
,
err
error
)
{
func
(
c
*
FakeReplicationControllers
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
,
subresources
...
string
)
(
result
*
v1
.
ReplicationController
,
err
error
)
{
obj
,
err
:=
c
.
Fake
.
Invokes
(
core
.
NewPatch
Action
(
replicationcontrollersResource
,
c
.
ns
,
name
,
data
),
&
v1
.
ReplicationController
{})
Invokes
(
core
.
NewPatch
SubresourceAction
(
replicationcontrollersResource
,
c
.
ns
,
name
,
data
,
subresources
...
),
&
v1
.
ReplicationController
{})
if
obj
==
nil
{
return
nil
,
err
...
...
pkg/client/clientset_generated/release_1_4/typed/core/v1/fake/fake_resourcequota.go
View file @
c2fb3910
...
...
@@ -116,9 +116,9 @@ func (c *FakeResourceQuotas) Watch(opts api.ListOptions) (watch.Interface, error
}
// Patch applies the patch and returns the patched resourceQuota.
func
(
c
*
FakeResourceQuotas
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
)
(
result
*
v1
.
ResourceQuota
,
err
error
)
{
func
(
c
*
FakeResourceQuotas
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
,
subresources
...
string
)
(
result
*
v1
.
ResourceQuota
,
err
error
)
{
obj
,
err
:=
c
.
Fake
.
Invokes
(
core
.
NewPatch
Action
(
resourcequotasResource
,
c
.
ns
,
name
,
data
),
&
v1
.
ResourceQuota
{})
Invokes
(
core
.
NewPatch
SubresourceAction
(
resourcequotasResource
,
c
.
ns
,
name
,
data
,
subresources
...
),
&
v1
.
ResourceQuota
{})
if
obj
==
nil
{
return
nil
,
err
...
...
pkg/client/clientset_generated/release_1_4/typed/core/v1/fake/fake_secret.go
View file @
c2fb3910
...
...
@@ -106,9 +106,9 @@ func (c *FakeSecrets) Watch(opts api.ListOptions) (watch.Interface, error) {
}
// Patch applies the patch and returns the patched secret.
func
(
c
*
FakeSecrets
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
)
(
result
*
v1
.
Secret
,
err
error
)
{
func
(
c
*
FakeSecrets
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
,
subresources
...
string
)
(
result
*
v1
.
Secret
,
err
error
)
{
obj
,
err
:=
c
.
Fake
.
Invokes
(
core
.
NewPatch
Action
(
secretsResource
,
c
.
ns
,
name
,
data
),
&
v1
.
Secret
{})
Invokes
(
core
.
NewPatch
SubresourceAction
(
secretsResource
,
c
.
ns
,
name
,
data
,
subresources
...
),
&
v1
.
Secret
{})
if
obj
==
nil
{
return
nil
,
err
...
...
pkg/client/clientset_generated/release_1_4/typed/core/v1/fake/fake_service.go
View file @
c2fb3910
...
...
@@ -116,9 +116,9 @@ func (c *FakeServices) Watch(opts api.ListOptions) (watch.Interface, error) {
}
// Patch applies the patch and returns the patched service.
func
(
c
*
FakeServices
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
)
(
result
*
v1
.
Service
,
err
error
)
{
func
(
c
*
FakeServices
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
,
subresources
...
string
)
(
result
*
v1
.
Service
,
err
error
)
{
obj
,
err
:=
c
.
Fake
.
Invokes
(
core
.
NewPatch
Action
(
servicesResource
,
c
.
ns
,
name
,
data
),
&
v1
.
Service
{})
Invokes
(
core
.
NewPatch
SubresourceAction
(
servicesResource
,
c
.
ns
,
name
,
data
,
subresources
...
),
&
v1
.
Service
{})
if
obj
==
nil
{
return
nil
,
err
...
...
pkg/client/clientset_generated/release_1_4/typed/core/v1/fake/fake_serviceaccount.go
View file @
c2fb3910
...
...
@@ -106,9 +106,9 @@ func (c *FakeServiceAccounts) Watch(opts api.ListOptions) (watch.Interface, erro
}
// Patch applies the patch and returns the patched serviceAccount.
func
(
c
*
FakeServiceAccounts
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
)
(
result
*
v1
.
ServiceAccount
,
err
error
)
{
func
(
c
*
FakeServiceAccounts
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
,
subresources
...
string
)
(
result
*
v1
.
ServiceAccount
,
err
error
)
{
obj
,
err
:=
c
.
Fake
.
Invokes
(
core
.
NewPatch
Action
(
serviceaccountsResource
,
c
.
ns
,
name
,
data
),
&
v1
.
ServiceAccount
{})
Invokes
(
core
.
NewPatch
SubresourceAction
(
serviceaccountsResource
,
c
.
ns
,
name
,
data
,
subresources
...
),
&
v1
.
ServiceAccount
{})
if
obj
==
nil
{
return
nil
,
err
...
...
pkg/client/clientset_generated/release_1_4/typed/core/v1/limitrange.go
View file @
c2fb3910
...
...
@@ -37,7 +37,7 @@ type LimitRangeInterface interface {
Get
(
name
string
)
(
*
v1
.
LimitRange
,
error
)
List
(
opts
api
.
ListOptions
)
(
*
v1
.
LimitRangeList
,
error
)
Watch
(
opts
api
.
ListOptions
)
(
watch
.
Interface
,
error
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
)
(
result
*
v1
.
LimitRange
,
err
error
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
,
subresources
...
string
)
(
result
*
v1
.
LimitRange
,
err
error
)
LimitRangeExpansion
}
...
...
@@ -137,11 +137,12 @@ func (c *limitRanges) Watch(opts api.ListOptions) (watch.Interface, error) {
}
// Patch applies the patch and returns the patched limitRange.
func
(
c
*
limitRanges
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
)
(
result
*
v1
.
LimitRange
,
err
error
)
{
func
(
c
*
limitRanges
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
,
subresources
...
string
)
(
result
*
v1
.
LimitRange
,
err
error
)
{
result
=
&
v1
.
LimitRange
{}
err
=
c
.
client
.
Patch
(
pt
)
.
Namespace
(
c
.
ns
)
.
Resource
(
"limitranges"
)
.
SubResource
(
subresources
...
)
.
Name
(
name
)
.
Body
(
data
)
.
Do
()
.
...
...
pkg/client/clientset_generated/release_1_4/typed/core/v1/namespace.go
View file @
c2fb3910
...
...
@@ -38,7 +38,7 @@ type NamespaceInterface interface {
Get
(
name
string
)
(
*
v1
.
Namespace
,
error
)
List
(
opts
api
.
ListOptions
)
(
*
v1
.
NamespaceList
,
error
)
Watch
(
opts
api
.
ListOptions
)
(
watch
.
Interface
,
error
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
)
(
result
*
v1
.
Namespace
,
err
error
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
,
subresources
...
string
)
(
result
*
v1
.
Namespace
,
err
error
)
NamespaceExpansion
}
...
...
@@ -141,10 +141,11 @@ func (c *namespaces) Watch(opts api.ListOptions) (watch.Interface, error) {
}
// Patch applies the patch and returns the patched namespace.
func
(
c
*
namespaces
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
)
(
result
*
v1
.
Namespace
,
err
error
)
{
func
(
c
*
namespaces
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
,
subresources
...
string
)
(
result
*
v1
.
Namespace
,
err
error
)
{
result
=
&
v1
.
Namespace
{}
err
=
c
.
client
.
Patch
(
pt
)
.
Resource
(
"namespaces"
)
.
SubResource
(
subresources
...
)
.
Name
(
name
)
.
Body
(
data
)
.
Do
()
.
...
...
pkg/client/clientset_generated/release_1_4/typed/core/v1/node.go
View file @
c2fb3910
...
...
@@ -38,7 +38,7 @@ type NodeInterface interface {
Get
(
name
string
)
(
*
v1
.
Node
,
error
)
List
(
opts
api
.
ListOptions
)
(
*
v1
.
NodeList
,
error
)
Watch
(
opts
api
.
ListOptions
)
(
watch
.
Interface
,
error
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
)
(
result
*
v1
.
Node
,
err
error
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
,
subresources
...
string
)
(
result
*
v1
.
Node
,
err
error
)
NodeExpansion
}
...
...
@@ -141,10 +141,11 @@ func (c *nodes) Watch(opts api.ListOptions) (watch.Interface, error) {
}
// Patch applies the patch and returns the patched node.
func
(
c
*
nodes
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
)
(
result
*
v1
.
Node
,
err
error
)
{
func
(
c
*
nodes
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
,
subresources
...
string
)
(
result
*
v1
.
Node
,
err
error
)
{
result
=
&
v1
.
Node
{}
err
=
c
.
client
.
Patch
(
pt
)
.
Resource
(
"nodes"
)
.
SubResource
(
subresources
...
)
.
Name
(
name
)
.
Body
(
data
)
.
Do
()
.
...
...
pkg/client/clientset_generated/release_1_4/typed/core/v1/persistentvolume.go
View file @
c2fb3910
...
...
@@ -38,7 +38,7 @@ type PersistentVolumeInterface interface {
Get
(
name
string
)
(
*
v1
.
PersistentVolume
,
error
)
List
(
opts
api
.
ListOptions
)
(
*
v1
.
PersistentVolumeList
,
error
)
Watch
(
opts
api
.
ListOptions
)
(
watch
.
Interface
,
error
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
)
(
result
*
v1
.
PersistentVolume
,
err
error
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
,
subresources
...
string
)
(
result
*
v1
.
PersistentVolume
,
err
error
)
PersistentVolumeExpansion
}
...
...
@@ -141,10 +141,11 @@ func (c *persistentVolumes) Watch(opts api.ListOptions) (watch.Interface, error)
}
// Patch applies the patch and returns the patched persistentVolume.
func
(
c
*
persistentVolumes
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
)
(
result
*
v1
.
PersistentVolume
,
err
error
)
{
func
(
c
*
persistentVolumes
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
,
subresources
...
string
)
(
result
*
v1
.
PersistentVolume
,
err
error
)
{
result
=
&
v1
.
PersistentVolume
{}
err
=
c
.
client
.
Patch
(
pt
)
.
Resource
(
"persistentvolumes"
)
.
SubResource
(
subresources
...
)
.
Name
(
name
)
.
Body
(
data
)
.
Do
()
.
...
...
pkg/client/clientset_generated/release_1_4/typed/core/v1/pod.go
View file @
c2fb3910
...
...
@@ -38,7 +38,7 @@ type PodInterface interface {
Get
(
name
string
)
(
*
v1
.
Pod
,
error
)
List
(
opts
api
.
ListOptions
)
(
*
v1
.
PodList
,
error
)
Watch
(
opts
api
.
ListOptions
)
(
watch
.
Interface
,
error
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
)
(
result
*
v1
.
Pod
,
err
error
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
,
subresources
...
string
)
(
result
*
v1
.
Pod
,
err
error
)
PodExpansion
}
...
...
@@ -151,11 +151,12 @@ func (c *pods) Watch(opts api.ListOptions) (watch.Interface, error) {
}
// Patch applies the patch and returns the patched pod.
func
(
c
*
pods
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
)
(
result
*
v1
.
Pod
,
err
error
)
{
func
(
c
*
pods
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
,
subresources
...
string
)
(
result
*
v1
.
Pod
,
err
error
)
{
result
=
&
v1
.
Pod
{}
err
=
c
.
client
.
Patch
(
pt
)
.
Namespace
(
c
.
ns
)
.
Resource
(
"pods"
)
.
SubResource
(
subresources
...
)
.
Name
(
name
)
.
Body
(
data
)
.
Do
()
.
...
...
pkg/client/clientset_generated/release_1_4/typed/core/v1/podtemplate.go
View file @
c2fb3910
...
...
@@ -37,7 +37,7 @@ type PodTemplateInterface interface {
Get
(
name
string
)
(
*
v1
.
PodTemplate
,
error
)
List
(
opts
api
.
ListOptions
)
(
*
v1
.
PodTemplateList
,
error
)
Watch
(
opts
api
.
ListOptions
)
(
watch
.
Interface
,
error
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
)
(
result
*
v1
.
PodTemplate
,
err
error
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
,
subresources
...
string
)
(
result
*
v1
.
PodTemplate
,
err
error
)
PodTemplateExpansion
}
...
...
@@ -137,11 +137,12 @@ func (c *podTemplates) Watch(opts api.ListOptions) (watch.Interface, error) {
}
// Patch applies the patch and returns the patched podTemplate.
func
(
c
*
podTemplates
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
)
(
result
*
v1
.
PodTemplate
,
err
error
)
{
func
(
c
*
podTemplates
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
,
subresources
...
string
)
(
result
*
v1
.
PodTemplate
,
err
error
)
{
result
=
&
v1
.
PodTemplate
{}
err
=
c
.
client
.
Patch
(
pt
)
.
Namespace
(
c
.
ns
)
.
Resource
(
"podtemplates"
)
.
SubResource
(
subresources
...
)
.
Name
(
name
)
.
Body
(
data
)
.
Do
()
.
...
...
pkg/client/clientset_generated/release_1_4/typed/core/v1/replicationcontroller.go
View file @
c2fb3910
...
...
@@ -38,7 +38,7 @@ type ReplicationControllerInterface interface {
Get
(
name
string
)
(
*
v1
.
ReplicationController
,
error
)
List
(
opts
api
.
ListOptions
)
(
*
v1
.
ReplicationControllerList
,
error
)
Watch
(
opts
api
.
ListOptions
)
(
watch
.
Interface
,
error
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
)
(
result
*
v1
.
ReplicationController
,
err
error
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
,
subresources
...
string
)
(
result
*
v1
.
ReplicationController
,
err
error
)
ReplicationControllerExpansion
}
...
...
@@ -151,11 +151,12 @@ func (c *replicationControllers) Watch(opts api.ListOptions) (watch.Interface, e
}
// Patch applies the patch and returns the patched replicationController.
func
(
c
*
replicationControllers
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
)
(
result
*
v1
.
ReplicationController
,
err
error
)
{
func
(
c
*
replicationControllers
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
,
subresources
...
string
)
(
result
*
v1
.
ReplicationController
,
err
error
)
{
result
=
&
v1
.
ReplicationController
{}
err
=
c
.
client
.
Patch
(
pt
)
.
Namespace
(
c
.
ns
)
.
Resource
(
"replicationcontrollers"
)
.
SubResource
(
subresources
...
)
.
Name
(
name
)
.
Body
(
data
)
.
Do
()
.
...
...
pkg/client/clientset_generated/release_1_4/typed/core/v1/resourcequota.go
View file @
c2fb3910
...
...
@@ -38,7 +38,7 @@ type ResourceQuotaInterface interface {
Get
(
name
string
)
(
*
v1
.
ResourceQuota
,
error
)
List
(
opts
api
.
ListOptions
)
(
*
v1
.
ResourceQuotaList
,
error
)
Watch
(
opts
api
.
ListOptions
)
(
watch
.
Interface
,
error
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
)
(
result
*
v1
.
ResourceQuota
,
err
error
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
,
subresources
...
string
)
(
result
*
v1
.
ResourceQuota
,
err
error
)
ResourceQuotaExpansion
}
...
...
@@ -151,11 +151,12 @@ func (c *resourceQuotas) Watch(opts api.ListOptions) (watch.Interface, error) {
}
// Patch applies the patch and returns the patched resourceQuota.
func
(
c
*
resourceQuotas
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
)
(
result
*
v1
.
ResourceQuota
,
err
error
)
{
func
(
c
*
resourceQuotas
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
,
subresources
...
string
)
(
result
*
v1
.
ResourceQuota
,
err
error
)
{
result
=
&
v1
.
ResourceQuota
{}
err
=
c
.
client
.
Patch
(
pt
)
.
Namespace
(
c
.
ns
)
.
Resource
(
"resourcequotas"
)
.
SubResource
(
subresources
...
)
.
Name
(
name
)
.
Body
(
data
)
.
Do
()
.
...
...
pkg/client/clientset_generated/release_1_4/typed/core/v1/secret.go
View file @
c2fb3910
...
...
@@ -37,7 +37,7 @@ type SecretInterface interface {
Get
(
name
string
)
(
*
v1
.
Secret
,
error
)
List
(
opts
api
.
ListOptions
)
(
*
v1
.
SecretList
,
error
)
Watch
(
opts
api
.
ListOptions
)
(
watch
.
Interface
,
error
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
)
(
result
*
v1
.
Secret
,
err
error
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
,
subresources
...
string
)
(
result
*
v1
.
Secret
,
err
error
)
SecretExpansion
}
...
...
@@ -137,11 +137,12 @@ func (c *secrets) Watch(opts api.ListOptions) (watch.Interface, error) {
}
// Patch applies the patch and returns the patched secret.
func
(
c
*
secrets
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
)
(
result
*
v1
.
Secret
,
err
error
)
{
func
(
c
*
secrets
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
,
subresources
...
string
)
(
result
*
v1
.
Secret
,
err
error
)
{
result
=
&
v1
.
Secret
{}
err
=
c
.
client
.
Patch
(
pt
)
.
Namespace
(
c
.
ns
)
.
Resource
(
"secrets"
)
.
SubResource
(
subresources
...
)
.
Name
(
name
)
.
Body
(
data
)
.
Do
()
.
...
...
pkg/client/clientset_generated/release_1_4/typed/core/v1/service.go
View file @
c2fb3910
...
...
@@ -38,7 +38,7 @@ type ServiceInterface interface {
Get
(
name
string
)
(
*
v1
.
Service
,
error
)
List
(
opts
api
.
ListOptions
)
(
*
v1
.
ServiceList
,
error
)
Watch
(
opts
api
.
ListOptions
)
(
watch
.
Interface
,
error
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
)
(
result
*
v1
.
Service
,
err
error
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
,
subresources
...
string
)
(
result
*
v1
.
Service
,
err
error
)
ServiceExpansion
}
...
...
@@ -151,11 +151,12 @@ func (c *services) Watch(opts api.ListOptions) (watch.Interface, error) {
}
// Patch applies the patch and returns the patched service.
func
(
c
*
services
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
)
(
result
*
v1
.
Service
,
err
error
)
{
func
(
c
*
services
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
,
subresources
...
string
)
(
result
*
v1
.
Service
,
err
error
)
{
result
=
&
v1
.
Service
{}
err
=
c
.
client
.
Patch
(
pt
)
.
Namespace
(
c
.
ns
)
.
Resource
(
"services"
)
.
SubResource
(
subresources
...
)
.
Name
(
name
)
.
Body
(
data
)
.
Do
()
.
...
...
pkg/client/clientset_generated/release_1_4/typed/core/v1/serviceaccount.go
View file @
c2fb3910
...
...
@@ -37,7 +37,7 @@ type ServiceAccountInterface interface {
Get
(
name
string
)
(
*
v1
.
ServiceAccount
,
error
)
List
(
opts
api
.
ListOptions
)
(
*
v1
.
ServiceAccountList
,
error
)
Watch
(
opts
api
.
ListOptions
)
(
watch
.
Interface
,
error
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
)
(
result
*
v1
.
ServiceAccount
,
err
error
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
,
subresources
...
string
)
(
result
*
v1
.
ServiceAccount
,
err
error
)
ServiceAccountExpansion
}
...
...
@@ -137,11 +137,12 @@ func (c *serviceAccounts) Watch(opts api.ListOptions) (watch.Interface, error) {
}
// Patch applies the patch and returns the patched serviceAccount.
func
(
c
*
serviceAccounts
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
)
(
result
*
v1
.
ServiceAccount
,
err
error
)
{
func
(
c
*
serviceAccounts
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
,
subresources
...
string
)
(
result
*
v1
.
ServiceAccount
,
err
error
)
{
result
=
&
v1
.
ServiceAccount
{}
err
=
c
.
client
.
Patch
(
pt
)
.
Namespace
(
c
.
ns
)
.
Resource
(
"serviceaccounts"
)
.
SubResource
(
subresources
...
)
.
Name
(
name
)
.
Body
(
data
)
.
Do
()
.
...
...
pkg/client/clientset_generated/release_1_4/typed/extensions/v1beta1/daemonset.go
View file @
c2fb3910
...
...
@@ -38,7 +38,7 @@ type DaemonSetInterface interface {
Get
(
name
string
)
(
*
v1beta1
.
DaemonSet
,
error
)
List
(
opts
api
.
ListOptions
)
(
*
v1beta1
.
DaemonSetList
,
error
)
Watch
(
opts
api
.
ListOptions
)
(
watch
.
Interface
,
error
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
)
(
result
*
v1beta1
.
DaemonSet
,
err
error
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
,
subresources
...
string
)
(
result
*
v1beta1
.
DaemonSet
,
err
error
)
DaemonSetExpansion
}
...
...
@@ -151,11 +151,12 @@ func (c *daemonSets) Watch(opts api.ListOptions) (watch.Interface, error) {
}
// Patch applies the patch and returns the patched daemonSet.
func
(
c
*
daemonSets
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
)
(
result
*
v1beta1
.
DaemonSet
,
err
error
)
{
func
(
c
*
daemonSets
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
,
subresources
...
string
)
(
result
*
v1beta1
.
DaemonSet
,
err
error
)
{
result
=
&
v1beta1
.
DaemonSet
{}
err
=
c
.
client
.
Patch
(
pt
)
.
Namespace
(
c
.
ns
)
.
Resource
(
"daemonsets"
)
.
SubResource
(
subresources
...
)
.
Name
(
name
)
.
Body
(
data
)
.
Do
()
.
...
...
pkg/client/clientset_generated/release_1_4/typed/extensions/v1beta1/deployment.go
View file @
c2fb3910
...
...
@@ -38,7 +38,7 @@ type DeploymentInterface interface {
Get
(
name
string
)
(
*
v1beta1
.
Deployment
,
error
)
List
(
opts
api
.
ListOptions
)
(
*
v1beta1
.
DeploymentList
,
error
)
Watch
(
opts
api
.
ListOptions
)
(
watch
.
Interface
,
error
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
)
(
result
*
v1beta1
.
Deployment
,
err
error
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
,
subresources
...
string
)
(
result
*
v1beta1
.
Deployment
,
err
error
)
DeploymentExpansion
}
...
...
@@ -151,11 +151,12 @@ func (c *deployments) Watch(opts api.ListOptions) (watch.Interface, error) {
}
// Patch applies the patch and returns the patched deployment.
func
(
c
*
deployments
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
)
(
result
*
v1beta1
.
Deployment
,
err
error
)
{
func
(
c
*
deployments
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
,
subresources
...
string
)
(
result
*
v1beta1
.
Deployment
,
err
error
)
{
result
=
&
v1beta1
.
Deployment
{}
err
=
c
.
client
.
Patch
(
pt
)
.
Namespace
(
c
.
ns
)
.
Resource
(
"deployments"
)
.
SubResource
(
subresources
...
)
.
Name
(
name
)
.
Body
(
data
)
.
Do
()
.
...
...
pkg/client/clientset_generated/release_1_4/typed/extensions/v1beta1/fake/fake_daemonset.go
View file @
c2fb3910
...
...
@@ -116,9 +116,9 @@ func (c *FakeDaemonSets) Watch(opts api.ListOptions) (watch.Interface, error) {
}
// Patch applies the patch and returns the patched daemonSet.
func
(
c
*
FakeDaemonSets
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
)
(
result
*
v1beta1
.
DaemonSet
,
err
error
)
{
func
(
c
*
FakeDaemonSets
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
,
subresources
...
string
)
(
result
*
v1beta1
.
DaemonSet
,
err
error
)
{
obj
,
err
:=
c
.
Fake
.
Invokes
(
core
.
NewPatch
Action
(
daemonsetsResource
,
c
.
ns
,
name
,
data
),
&
v1beta1
.
DaemonSet
{})
Invokes
(
core
.
NewPatch
SubresourceAction
(
daemonsetsResource
,
c
.
ns
,
name
,
data
,
subresources
...
),
&
v1beta1
.
DaemonSet
{})
if
obj
==
nil
{
return
nil
,
err
...
...
pkg/client/clientset_generated/release_1_4/typed/extensions/v1beta1/fake/fake_deployment.go
View file @
c2fb3910
...
...
@@ -116,9 +116,9 @@ func (c *FakeDeployments) Watch(opts api.ListOptions) (watch.Interface, error) {
}
// Patch applies the patch and returns the patched deployment.
func
(
c
*
FakeDeployments
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
)
(
result
*
v1beta1
.
Deployment
,
err
error
)
{
func
(
c
*
FakeDeployments
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
,
subresources
...
string
)
(
result
*
v1beta1
.
Deployment
,
err
error
)
{
obj
,
err
:=
c
.
Fake
.
Invokes
(
core
.
NewPatch
Action
(
deploymentsResource
,
c
.
ns
,
name
,
data
),
&
v1beta1
.
Deployment
{})
Invokes
(
core
.
NewPatch
SubresourceAction
(
deploymentsResource
,
c
.
ns
,
name
,
data
,
subresources
...
),
&
v1beta1
.
Deployment
{})
if
obj
==
nil
{
return
nil
,
err
...
...
pkg/client/clientset_generated/release_1_4/typed/extensions/v1beta1/fake/fake_horizontalpodautoscaler.go
View file @
c2fb3910
...
...
@@ -116,9 +116,9 @@ func (c *FakeHorizontalPodAutoscalers) Watch(opts api.ListOptions) (watch.Interf
}
// Patch applies the patch and returns the patched horizontalPodAutoscaler.
func
(
c
*
FakeHorizontalPodAutoscalers
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
)
(
result
*
v1beta1
.
HorizontalPodAutoscaler
,
err
error
)
{
func
(
c
*
FakeHorizontalPodAutoscalers
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
,
subresources
...
string
)
(
result
*
v1beta1
.
HorizontalPodAutoscaler
,
err
error
)
{
obj
,
err
:=
c
.
Fake
.
Invokes
(
core
.
NewPatch
Action
(
horizontalpodautoscalersResource
,
c
.
ns
,
name
,
data
),
&
v1beta1
.
HorizontalPodAutoscaler
{})
Invokes
(
core
.
NewPatch
SubresourceAction
(
horizontalpodautoscalersResource
,
c
.
ns
,
name
,
data
,
subresources
...
),
&
v1beta1
.
HorizontalPodAutoscaler
{})
if
obj
==
nil
{
return
nil
,
err
...
...
pkg/client/clientset_generated/release_1_4/typed/extensions/v1beta1/fake/fake_ingress.go
View file @
c2fb3910
...
...
@@ -116,9 +116,9 @@ func (c *FakeIngresses) Watch(opts api.ListOptions) (watch.Interface, error) {
}
// Patch applies the patch and returns the patched ingress.
func
(
c
*
FakeIngresses
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
)
(
result
*
v1beta1
.
Ingress
,
err
error
)
{
func
(
c
*
FakeIngresses
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
,
subresources
...
string
)
(
result
*
v1beta1
.
Ingress
,
err
error
)
{
obj
,
err
:=
c
.
Fake
.
Invokes
(
core
.
NewPatch
Action
(
ingressesResource
,
c
.
ns
,
name
,
data
),
&
v1beta1
.
Ingress
{})
Invokes
(
core
.
NewPatch
SubresourceAction
(
ingressesResource
,
c
.
ns
,
name
,
data
,
subresources
...
),
&
v1beta1
.
Ingress
{})
if
obj
==
nil
{
return
nil
,
err
...
...
pkg/client/clientset_generated/release_1_4/typed/extensions/v1beta1/fake/fake_job.go
View file @
c2fb3910
...
...
@@ -116,9 +116,9 @@ func (c *FakeJobs) Watch(opts api.ListOptions) (watch.Interface, error) {
}
// Patch applies the patch and returns the patched job.
func
(
c
*
FakeJobs
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
)
(
result
*
v1beta1
.
Job
,
err
error
)
{
func
(
c
*
FakeJobs
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
,
subresources
...
string
)
(
result
*
v1beta1
.
Job
,
err
error
)
{
obj
,
err
:=
c
.
Fake
.
Invokes
(
core
.
NewPatch
Action
(
jobsResource
,
c
.
ns
,
name
,
data
),
&
v1beta1
.
Job
{})
Invokes
(
core
.
NewPatch
SubresourceAction
(
jobsResource
,
c
.
ns
,
name
,
data
,
subresources
...
),
&
v1beta1
.
Job
{})
if
obj
==
nil
{
return
nil
,
err
...
...
pkg/client/clientset_generated/release_1_4/typed/extensions/v1beta1/fake/fake_podsecuritypolicy.go
View file @
c2fb3910
...
...
@@ -99,9 +99,9 @@ func (c *FakePodSecurityPolicies) Watch(opts api.ListOptions) (watch.Interface,
}
// Patch applies the patch and returns the patched podSecurityPolicy.
func
(
c
*
FakePodSecurityPolicies
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
)
(
result
*
v1beta1
.
PodSecurityPolicy
,
err
error
)
{
func
(
c
*
FakePodSecurityPolicies
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
,
subresources
...
string
)
(
result
*
v1beta1
.
PodSecurityPolicy
,
err
error
)
{
obj
,
err
:=
c
.
Fake
.
Invokes
(
core
.
NewRootPatch
Action
(
podsecuritypoliciesResource
,
name
,
data
),
&
v1beta1
.
PodSecurityPolicy
{})
Invokes
(
core
.
NewRootPatch
SubresourceAction
(
podsecuritypoliciesResource
,
name
,
data
,
subresources
...
),
&
v1beta1
.
PodSecurityPolicy
{})
if
obj
==
nil
{
return
nil
,
err
}
...
...
pkg/client/clientset_generated/release_1_4/typed/extensions/v1beta1/fake/fake_replicaset.go
View file @
c2fb3910
...
...
@@ -116,9 +116,9 @@ func (c *FakeReplicaSets) Watch(opts api.ListOptions) (watch.Interface, error) {
}
// Patch applies the patch and returns the patched replicaSet.
func
(
c
*
FakeReplicaSets
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
)
(
result
*
v1beta1
.
ReplicaSet
,
err
error
)
{
func
(
c
*
FakeReplicaSets
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
,
subresources
...
string
)
(
result
*
v1beta1
.
ReplicaSet
,
err
error
)
{
obj
,
err
:=
c
.
Fake
.
Invokes
(
core
.
NewPatch
Action
(
replicasetsResource
,
c
.
ns
,
name
,
data
),
&
v1beta1
.
ReplicaSet
{})
Invokes
(
core
.
NewPatch
SubresourceAction
(
replicasetsResource
,
c
.
ns
,
name
,
data
,
subresources
...
),
&
v1beta1
.
ReplicaSet
{})
if
obj
==
nil
{
return
nil
,
err
...
...
pkg/client/clientset_generated/release_1_4/typed/extensions/v1beta1/fake/fake_thirdpartyresource.go
View file @
c2fb3910
...
...
@@ -99,9 +99,9 @@ func (c *FakeThirdPartyResources) Watch(opts api.ListOptions) (watch.Interface,
}
// Patch applies the patch and returns the patched thirdPartyResource.
func
(
c
*
FakeThirdPartyResources
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
)
(
result
*
v1beta1
.
ThirdPartyResource
,
err
error
)
{
func
(
c
*
FakeThirdPartyResources
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
,
subresources
...
string
)
(
result
*
v1beta1
.
ThirdPartyResource
,
err
error
)
{
obj
,
err
:=
c
.
Fake
.
Invokes
(
core
.
NewRootPatch
Action
(
thirdpartyresourcesResource
,
name
,
data
),
&
v1beta1
.
ThirdPartyResource
{})
Invokes
(
core
.
NewRootPatch
SubresourceAction
(
thirdpartyresourcesResource
,
name
,
data
,
subresources
...
),
&
v1beta1
.
ThirdPartyResource
{})
if
obj
==
nil
{
return
nil
,
err
}
...
...
pkg/client/clientset_generated/release_1_4/typed/extensions/v1beta1/horizontalpodautoscaler.go
View file @
c2fb3910
...
...
@@ -38,7 +38,7 @@ type HorizontalPodAutoscalerInterface interface {
Get
(
name
string
)
(
*
v1beta1
.
HorizontalPodAutoscaler
,
error
)
List
(
opts
api
.
ListOptions
)
(
*
v1beta1
.
HorizontalPodAutoscalerList
,
error
)
Watch
(
opts
api
.
ListOptions
)
(
watch
.
Interface
,
error
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
)
(
result
*
v1beta1
.
HorizontalPodAutoscaler
,
err
error
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
,
subresources
...
string
)
(
result
*
v1beta1
.
HorizontalPodAutoscaler
,
err
error
)
HorizontalPodAutoscalerExpansion
}
...
...
@@ -151,11 +151,12 @@ func (c *horizontalPodAutoscalers) Watch(opts api.ListOptions) (watch.Interface,
}
// Patch applies the patch and returns the patched horizontalPodAutoscaler.
func
(
c
*
horizontalPodAutoscalers
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
)
(
result
*
v1beta1
.
HorizontalPodAutoscaler
,
err
error
)
{
func
(
c
*
horizontalPodAutoscalers
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
,
subresources
...
string
)
(
result
*
v1beta1
.
HorizontalPodAutoscaler
,
err
error
)
{
result
=
&
v1beta1
.
HorizontalPodAutoscaler
{}
err
=
c
.
client
.
Patch
(
pt
)
.
Namespace
(
c
.
ns
)
.
Resource
(
"horizontalpodautoscalers"
)
.
SubResource
(
subresources
...
)
.
Name
(
name
)
.
Body
(
data
)
.
Do
()
.
...
...
pkg/client/clientset_generated/release_1_4/typed/extensions/v1beta1/ingress.go
View file @
c2fb3910
...
...
@@ -38,7 +38,7 @@ type IngressInterface interface {
Get
(
name
string
)
(
*
v1beta1
.
Ingress
,
error
)
List
(
opts
api
.
ListOptions
)
(
*
v1beta1
.
IngressList
,
error
)
Watch
(
opts
api
.
ListOptions
)
(
watch
.
Interface
,
error
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
)
(
result
*
v1beta1
.
Ingress
,
err
error
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
,
subresources
...
string
)
(
result
*
v1beta1
.
Ingress
,
err
error
)
IngressExpansion
}
...
...
@@ -151,11 +151,12 @@ func (c *ingresses) Watch(opts api.ListOptions) (watch.Interface, error) {
}
// Patch applies the patch and returns the patched ingress.
func
(
c
*
ingresses
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
)
(
result
*
v1beta1
.
Ingress
,
err
error
)
{
func
(
c
*
ingresses
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
,
subresources
...
string
)
(
result
*
v1beta1
.
Ingress
,
err
error
)
{
result
=
&
v1beta1
.
Ingress
{}
err
=
c
.
client
.
Patch
(
pt
)
.
Namespace
(
c
.
ns
)
.
Resource
(
"ingresses"
)
.
SubResource
(
subresources
...
)
.
Name
(
name
)
.
Body
(
data
)
.
Do
()
.
...
...
pkg/client/clientset_generated/release_1_4/typed/extensions/v1beta1/job.go
View file @
c2fb3910
...
...
@@ -38,7 +38,7 @@ type JobInterface interface {
Get
(
name
string
)
(
*
v1beta1
.
Job
,
error
)
List
(
opts
api
.
ListOptions
)
(
*
v1beta1
.
JobList
,
error
)
Watch
(
opts
api
.
ListOptions
)
(
watch
.
Interface
,
error
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
)
(
result
*
v1beta1
.
Job
,
err
error
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
,
subresources
...
string
)
(
result
*
v1beta1
.
Job
,
err
error
)
JobExpansion
}
...
...
@@ -151,11 +151,12 @@ func (c *jobs) Watch(opts api.ListOptions) (watch.Interface, error) {
}
// Patch applies the patch and returns the patched job.
func
(
c
*
jobs
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
)
(
result
*
v1beta1
.
Job
,
err
error
)
{
func
(
c
*
jobs
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
,
subresources
...
string
)
(
result
*
v1beta1
.
Job
,
err
error
)
{
result
=
&
v1beta1
.
Job
{}
err
=
c
.
client
.
Patch
(
pt
)
.
Namespace
(
c
.
ns
)
.
Resource
(
"jobs"
)
.
SubResource
(
subresources
...
)
.
Name
(
name
)
.
Body
(
data
)
.
Do
()
.
...
...
pkg/client/clientset_generated/release_1_4/typed/extensions/v1beta1/podsecuritypolicy.go
View file @
c2fb3910
...
...
@@ -37,7 +37,7 @@ type PodSecurityPolicyInterface interface {
Get
(
name
string
)
(
*
v1beta1
.
PodSecurityPolicy
,
error
)
List
(
opts
api
.
ListOptions
)
(
*
v1beta1
.
PodSecurityPolicyList
,
error
)
Watch
(
opts
api
.
ListOptions
)
(
watch
.
Interface
,
error
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
)
(
result
*
v1beta1
.
PodSecurityPolicy
,
err
error
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
,
subresources
...
string
)
(
result
*
v1beta1
.
PodSecurityPolicy
,
err
error
)
PodSecurityPolicyExpansion
}
...
...
@@ -128,10 +128,11 @@ func (c *podSecurityPolicies) Watch(opts api.ListOptions) (watch.Interface, erro
}
// Patch applies the patch and returns the patched podSecurityPolicy.
func
(
c
*
podSecurityPolicies
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
)
(
result
*
v1beta1
.
PodSecurityPolicy
,
err
error
)
{
func
(
c
*
podSecurityPolicies
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
,
subresources
...
string
)
(
result
*
v1beta1
.
PodSecurityPolicy
,
err
error
)
{
result
=
&
v1beta1
.
PodSecurityPolicy
{}
err
=
c
.
client
.
Patch
(
pt
)
.
Resource
(
"podsecuritypolicies"
)
.
SubResource
(
subresources
...
)
.
Name
(
name
)
.
Body
(
data
)
.
Do
()
.
...
...
pkg/client/clientset_generated/release_1_4/typed/extensions/v1beta1/replicaset.go
View file @
c2fb3910
...
...
@@ -38,7 +38,7 @@ type ReplicaSetInterface interface {
Get
(
name
string
)
(
*
v1beta1
.
ReplicaSet
,
error
)
List
(
opts
api
.
ListOptions
)
(
*
v1beta1
.
ReplicaSetList
,
error
)
Watch
(
opts
api
.
ListOptions
)
(
watch
.
Interface
,
error
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
)
(
result
*
v1beta1
.
ReplicaSet
,
err
error
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
,
subresources
...
string
)
(
result
*
v1beta1
.
ReplicaSet
,
err
error
)
ReplicaSetExpansion
}
...
...
@@ -151,11 +151,12 @@ func (c *replicaSets) Watch(opts api.ListOptions) (watch.Interface, error) {
}
// Patch applies the patch and returns the patched replicaSet.
func
(
c
*
replicaSets
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
)
(
result
*
v1beta1
.
ReplicaSet
,
err
error
)
{
func
(
c
*
replicaSets
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
,
subresources
...
string
)
(
result
*
v1beta1
.
ReplicaSet
,
err
error
)
{
result
=
&
v1beta1
.
ReplicaSet
{}
err
=
c
.
client
.
Patch
(
pt
)
.
Namespace
(
c
.
ns
)
.
Resource
(
"replicasets"
)
.
SubResource
(
subresources
...
)
.
Name
(
name
)
.
Body
(
data
)
.
Do
()
.
...
...
pkg/client/clientset_generated/release_1_4/typed/extensions/v1beta1/thirdpartyresource.go
View file @
c2fb3910
...
...
@@ -37,7 +37,7 @@ type ThirdPartyResourceInterface interface {
Get
(
name
string
)
(
*
v1beta1
.
ThirdPartyResource
,
error
)
List
(
opts
api
.
ListOptions
)
(
*
v1beta1
.
ThirdPartyResourceList
,
error
)
Watch
(
opts
api
.
ListOptions
)
(
watch
.
Interface
,
error
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
)
(
result
*
v1beta1
.
ThirdPartyResource
,
err
error
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
,
subresources
...
string
)
(
result
*
v1beta1
.
ThirdPartyResource
,
err
error
)
ThirdPartyResourceExpansion
}
...
...
@@ -128,10 +128,11 @@ func (c *thirdPartyResources) Watch(opts api.ListOptions) (watch.Interface, erro
}
// Patch applies the patch and returns the patched thirdPartyResource.
func
(
c
*
thirdPartyResources
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
)
(
result
*
v1beta1
.
ThirdPartyResource
,
err
error
)
{
func
(
c
*
thirdPartyResources
)
Patch
(
name
string
,
pt
api
.
PatchType
,
data
[]
byte
,
subresources
...
string
)
(
result
*
v1beta1
.
ThirdPartyResource
,
err
error
)
{
result
=
&
v1beta1
.
ThirdPartyResource
{}
err
=
c
.
client
.
Patch
(
pt
)
.
Resource
(
"thirdpartyresources"
)
.
SubResource
(
subresources
...
)
.
Name
(
name
)
.
Body
(
data
)
.
Do
()
.
...
...
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