David Eads
16d6a6c52f
move resource builder to generic options
2018-05-10 14:15:12 -04:00
David Eads
facd04be43
use IOStreams for cli commands
2018-05-08 09:02:34 -04:00
Lion-Wei
e2dedc76a8
fix kubectl apply error message
2018-03-17 15:08:26 +08:00
David Eads
d8a5420b7c
remove unneeded factory codec methods
2018-02-21 15:20:20 -05:00
Di Xu
48388fec7e
fix all the typos across the project
2018-02-11 11:04:14 +08:00
Di Xu
1c715d51c4
some code change
...
fix wrong required flags
disable the addition of [flags] to the usage, use customized useline
fix function rename
2017-12-25 16:23:38 +08:00
Zhenguo Niu
2522b3601b
Fix a typo in kubectl/diff cmd long description.
2017-12-01 14:31:12 +08:00
Clayton Coleman
5038eb2a3f
Remove use of VersionedObject and simplify builder in generic methods
...
Reduce all uses of Unstructured to the simpler form, and avoid asking
for mapper or typer unless it is required. Use Typed() for places that
previously used VersionedObject, and remove paths for versioned objects
from code that is now using unstructured.
2017-11-19 19:16:49 -05:00
Clayton Coleman
98e0c69907
Revert "refactor builder in kubectl factory"
...
This reverts commit 06c5be9802
.
2017-11-19 19:02:21 -05:00
Dr. Stefan Schimanski
012b085ac8
pkg/apis/core: mechanical import fixes in dependencies
2017-11-09 12:14:08 +01:00
ymqytw
06c5be9802
refactor builder in kubectl factory
2017-11-07 20:16:27 -08:00
Antoine Pelisse
b916739d4f
diff: Propragate errors when diffing
...
Because of that, errors while diffing would potentially not do anything,
leaving the user clueless of what was going on.
2017-10-30 14:16:36 -07:00
Antoine Pelisse
011a45cde7
Implement kubectl alpha diff
to diff resources
...
`kubectl alpha diff` lets you diff your resources against live
resources, or last applied, or even preview what changes are going to be
applied on the cluster.
This is still quite premature, and mostly untested.
2017-10-23 10:49:02 -07:00