David Eads
6047ead2e5
simplify kubectl testing factory
2018-02-23 08:02:53 -05:00
David Eads
d8a5420b7c
remove unneeded factory codec methods
2018-02-21 15:20:20 -05:00
David Eads
be04e7c1b1
collapse printing paths
2018-02-21 08:15:22 -05:00
David Eads
dd6405681f
cleanup printers some more
2018-02-20 12:59:40 -05:00
Kubernetes Submit Queue
bb500a73b6
Merge pull request #59353 from juanvallejo/jvallejo/update-name-printer-output
...
Automatic merge from submit-queue. If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md ">here</a>.
update name printer output to kind.group/name
**Release note**:
```release-note
NONE
```
Followup to https://github.com/kubernetes/kubernetes/pull/59227
Updates output via `-o name` to be pipeable.
cc @deads2k
2018-02-15 10:37:19 -08:00
juanvallejo
765f9ec68b
update -o name format to kind.group/name
2018-02-15 10:33:06 -05:00
Di Xu
48388fec7e
fix all the typos across the project
2018-02-11 11:04:14 +08:00
Clayton Coleman
b366afa00a
Move category expander out of kubectl/resource
2017-11-14 17:38:16 -05:00
zhengjiajin
dc312142ab
remove todo: switch UpdatePodSpecForObject to work on v1.PodSpec, use info.VersionedObject, and avoid conversion completely
2017-11-11 02:36:12 +08:00
Dr. Stefan Schimanski
012b085ac8
pkg/apis/core: mechanical import fixes in dependencies
2017-11-09 12:14:08 +01:00
zhengjiajin
dd9ab89e31
fix issue( #52994 )kubectl set resource can not update multi resource in local
2017-10-26 15:33:22 +08:00
Solly Ross
eac2049fc9
[client-go] avoid Registry in fake REST client
...
Previously, the fake RESTClient in client-go required a Registry. It
used the Registry to fetch the GroupVersion for the fake client.
However, the way it did so was dubious in some cases (it hard-coded the
default API group in places), and not strictly necssary.
This updates the fake client to just recieve the GroupVersion and
internal group name directly, instead of requiring a Registry, so that
it can be consumed in unit tests where a Registry isn't necessarily
readily available (e.g. elsewhere in client-go).
2017-10-19 11:01:44 -04:00
Dr. Stefan Schimanski
7773a30f67
pkg/api/legacyscheme: fixup imports
2017-10-18 17:23:55 +02:00
zhengjiajin
ddcbc47f18
add test for set image validation
2017-05-19 12:15:49 +08:00
Suyog Barve
05131c627f
use of --local should completely eliminate communication with API server
...
fix testcase use of --local should completely eliminate communication with API server
2017-05-03 15:57:57 -05:00
Clayton Coleman
2aa4abb73b
Refactor commands to use new factory method
2017-02-23 00:28:32 -05:00
deads2k
502bfdf944
client/restclient/fake move to client-go
2017-01-25 08:29:48 -05:00
deads2k
ee6752ef20
find and replace
2017-01-20 08:04:53 -05:00
deads2k
f1176d9c5c
mechanical repercussions
2017-01-13 08:27:14 -05:00
deads2k
6a4d5cd7cc
start the apimachinery repo
2017-01-11 09:09:48 -05:00
Chao Xu
fd2fdfba89
move client/unversioned/fake to client/restclient/fake
2016-10-29 14:22:02 -07:00
Angus Salkeld
d58554a647
Move the common test functions from cmd_test.go to cmd/testing/fake.go
...
This is so that we can use NewAPIFactory() from cmd/set/*test.go
Up until now we would get a import loop error.
This commit also adds a basic unit test case for cmd/set/set_image.go
2016-10-19 08:53:26 +10:00