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
eb438b08
Commit
eb438b08
authored
May 15, 2018
by
David Eads
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
generated
parent
0c1c5884
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
0 additions
and
39 deletions
+0
-39
fake_namespace.go
...client-go/kubernetes/typed/core/v1/fake/fake_namespace.go
+0
-8
fake_service.go
...o/client-go/kubernetes/typed/core/v1/fake/fake_service.go
+0
-8
namespace.go
...rc/k8s.io/client-go/kubernetes/typed/core/v1/namespace.go
+0
-11
service.go
.../src/k8s.io/client-go/kubernetes/typed/core/v1/service.go
+0
-12
No files found.
staging/src/k8s.io/client-go/kubernetes/typed/core/v1/fake/fake_namespace.go
View file @
eb438b08
...
@@ -112,14 +112,6 @@ func (c *FakeNamespaces) Delete(name string, options *v1.DeleteOptions) error {
...
@@ -112,14 +112,6 @@ func (c *FakeNamespaces) Delete(name string, options *v1.DeleteOptions) error {
return
err
return
err
}
}
// DeleteCollection deletes a collection of objects.
func
(
c
*
FakeNamespaces
)
DeleteCollection
(
options
*
v1
.
DeleteOptions
,
listOptions
v1
.
ListOptions
)
error
{
action
:=
testing
.
NewRootDeleteCollectionAction
(
namespacesResource
,
listOptions
)
_
,
err
:=
c
.
Fake
.
Invokes
(
action
,
&
core_v1
.
NamespaceList
{})
return
err
}
// Patch applies the patch and returns the patched namespace.
// Patch applies the patch and returns the patched namespace.
func
(
c
*
FakeNamespaces
)
Patch
(
name
string
,
pt
types
.
PatchType
,
data
[]
byte
,
subresources
...
string
)
(
result
*
core_v1
.
Namespace
,
err
error
)
{
func
(
c
*
FakeNamespaces
)
Patch
(
name
string
,
pt
types
.
PatchType
,
data
[]
byte
,
subresources
...
string
)
(
result
*
core_v1
.
Namespace
,
err
error
)
{
obj
,
err
:=
c
.
Fake
.
obj
,
err
:=
c
.
Fake
.
...
...
staging/src/k8s.io/client-go/kubernetes/typed/core/v1/fake/fake_service.go
View file @
eb438b08
...
@@ -120,14 +120,6 @@ func (c *FakeServices) Delete(name string, options *v1.DeleteOptions) error {
...
@@ -120,14 +120,6 @@ func (c *FakeServices) Delete(name string, options *v1.DeleteOptions) error {
return
err
return
err
}
}
// DeleteCollection deletes a collection of objects.
func
(
c
*
FakeServices
)
DeleteCollection
(
options
*
v1
.
DeleteOptions
,
listOptions
v1
.
ListOptions
)
error
{
action
:=
testing
.
NewDeleteCollectionAction
(
servicesResource
,
c
.
ns
,
listOptions
)
_
,
err
:=
c
.
Fake
.
Invokes
(
action
,
&
core_v1
.
ServiceList
{})
return
err
}
// Patch applies the patch and returns the patched service.
// Patch applies the patch and returns the patched service.
func
(
c
*
FakeServices
)
Patch
(
name
string
,
pt
types
.
PatchType
,
data
[]
byte
,
subresources
...
string
)
(
result
*
core_v1
.
Service
,
err
error
)
{
func
(
c
*
FakeServices
)
Patch
(
name
string
,
pt
types
.
PatchType
,
data
[]
byte
,
subresources
...
string
)
(
result
*
core_v1
.
Service
,
err
error
)
{
obj
,
err
:=
c
.
Fake
.
obj
,
err
:=
c
.
Fake
.
...
...
staging/src/k8s.io/client-go/kubernetes/typed/core/v1/namespace.go
View file @
eb438b08
...
@@ -39,7 +39,6 @@ type NamespaceInterface interface {
...
@@ -39,7 +39,6 @@ type NamespaceInterface interface {
Update
(
*
v1
.
Namespace
)
(
*
v1
.
Namespace
,
error
)
Update
(
*
v1
.
Namespace
)
(
*
v1
.
Namespace
,
error
)
UpdateStatus
(
*
v1
.
Namespace
)
(
*
v1
.
Namespace
,
error
)
UpdateStatus
(
*
v1
.
Namespace
)
(
*
v1
.
Namespace
,
error
)
Delete
(
name
string
,
options
*
meta_v1
.
DeleteOptions
)
error
Delete
(
name
string
,
options
*
meta_v1
.
DeleteOptions
)
error
DeleteCollection
(
options
*
meta_v1
.
DeleteOptions
,
listOptions
meta_v1
.
ListOptions
)
error
Get
(
name
string
,
options
meta_v1
.
GetOptions
)
(
*
v1
.
Namespace
,
error
)
Get
(
name
string
,
options
meta_v1
.
GetOptions
)
(
*
v1
.
Namespace
,
error
)
List
(
opts
meta_v1
.
ListOptions
)
(
*
v1
.
NamespaceList
,
error
)
List
(
opts
meta_v1
.
ListOptions
)
(
*
v1
.
NamespaceList
,
error
)
Watch
(
opts
meta_v1
.
ListOptions
)
(
watch
.
Interface
,
error
)
Watch
(
opts
meta_v1
.
ListOptions
)
(
watch
.
Interface
,
error
)
...
@@ -139,16 +138,6 @@ func (c *namespaces) Delete(name string, options *meta_v1.DeleteOptions) error {
...
@@ -139,16 +138,6 @@ func (c *namespaces) Delete(name string, options *meta_v1.DeleteOptions) error {
Error
()
Error
()
}
}
// DeleteCollection deletes a collection of objects.
func
(
c
*
namespaces
)
DeleteCollection
(
options
*
meta_v1
.
DeleteOptions
,
listOptions
meta_v1
.
ListOptions
)
error
{
return
c
.
client
.
Delete
()
.
Resource
(
"namespaces"
)
.
VersionedParams
(
&
listOptions
,
scheme
.
ParameterCodec
)
.
Body
(
options
)
.
Do
()
.
Error
()
}
// Patch applies the patch and returns the patched namespace.
// Patch applies the patch and returns the patched namespace.
func
(
c
*
namespaces
)
Patch
(
name
string
,
pt
types
.
PatchType
,
data
[]
byte
,
subresources
...
string
)
(
result
*
v1
.
Namespace
,
err
error
)
{
func
(
c
*
namespaces
)
Patch
(
name
string
,
pt
types
.
PatchType
,
data
[]
byte
,
subresources
...
string
)
(
result
*
v1
.
Namespace
,
err
error
)
{
result
=
&
v1
.
Namespace
{}
result
=
&
v1
.
Namespace
{}
...
...
staging/src/k8s.io/client-go/kubernetes/typed/core/v1/service.go
View file @
eb438b08
...
@@ -39,7 +39,6 @@ type ServiceInterface interface {
...
@@ -39,7 +39,6 @@ type ServiceInterface interface {
Update
(
*
v1
.
Service
)
(
*
v1
.
Service
,
error
)
Update
(
*
v1
.
Service
)
(
*
v1
.
Service
,
error
)
UpdateStatus
(
*
v1
.
Service
)
(
*
v1
.
Service
,
error
)
UpdateStatus
(
*
v1
.
Service
)
(
*
v1
.
Service
,
error
)
Delete
(
name
string
,
options
*
meta_v1
.
DeleteOptions
)
error
Delete
(
name
string
,
options
*
meta_v1
.
DeleteOptions
)
error
DeleteCollection
(
options
*
meta_v1
.
DeleteOptions
,
listOptions
meta_v1
.
ListOptions
)
error
Get
(
name
string
,
options
meta_v1
.
GetOptions
)
(
*
v1
.
Service
,
error
)
Get
(
name
string
,
options
meta_v1
.
GetOptions
)
(
*
v1
.
Service
,
error
)
List
(
opts
meta_v1
.
ListOptions
)
(
*
v1
.
ServiceList
,
error
)
List
(
opts
meta_v1
.
ListOptions
)
(
*
v1
.
ServiceList
,
error
)
Watch
(
opts
meta_v1
.
ListOptions
)
(
watch
.
Interface
,
error
)
Watch
(
opts
meta_v1
.
ListOptions
)
(
watch
.
Interface
,
error
)
...
@@ -148,17 +147,6 @@ func (c *services) Delete(name string, options *meta_v1.DeleteOptions) error {
...
@@ -148,17 +147,6 @@ func (c *services) Delete(name string, options *meta_v1.DeleteOptions) error {
Error
()
Error
()
}
}
// DeleteCollection deletes a collection of objects.
func
(
c
*
services
)
DeleteCollection
(
options
*
meta_v1
.
DeleteOptions
,
listOptions
meta_v1
.
ListOptions
)
error
{
return
c
.
client
.
Delete
()
.
Namespace
(
c
.
ns
)
.
Resource
(
"services"
)
.
VersionedParams
(
&
listOptions
,
scheme
.
ParameterCodec
)
.
Body
(
options
)
.
Do
()
.
Error
()
}
// Patch applies the patch and returns the patched service.
// Patch applies the patch and returns the patched service.
func
(
c
*
services
)
Patch
(
name
string
,
pt
types
.
PatchType
,
data
[]
byte
,
subresources
...
string
)
(
result
*
v1
.
Service
,
err
error
)
{
func
(
c
*
services
)
Patch
(
name
string
,
pt
types
.
PatchType
,
data
[]
byte
,
subresources
...
string
)
(
result
*
v1
.
Service
,
err
error
)
{
result
=
&
v1
.
Service
{}
result
=
&
v1
.
Service
{}
...
...
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