Roman Mohr
c9479990b3
Add Custom Resource support to "kubectl autoscale"
...
Generalize the autoscsale command to simply let the dynamic client check
if a scale subresource is registered for the supplied type. This allows
using the autoscale command for built in types as well as custom
resources.
2019-02-07 12:28:59 +01:00
Clayton Coleman
5e905f1f5f
Move versioned generators into their own package
...
pkg/kubectl has a lot of files. Move everything generator related
into pkg/kubectl/generate (generic) or pkg/kubectl/generate/versioned
(type specific).
Move the DescriberFn and GeneratorFn out of kubectl/cmd/util and into
the respective versioned packages, along with tests.
2018-10-16 12:54:40 -04:00
Sean Sullivan
5f8f607c27
kubectl: copy pod utils into util/podutils package
2018-10-11 10:49:52 -07:00
Sean Sullivan
2a9115211a
kubectl remove references to internal version of resources
2018-09-28 10:34:53 -07:00
Sean Sullivan
71e60225a0
kubectl remove internal version of resource for rollout pause/resume
2018-09-27 10:26:35 -07:00
k8s-ci-robot
4215774643
Merge pull request #68634 from seans3/remove-internal-version
...
Replace internal version of resource with external version for tests
2018-09-27 06:06:30 -07:00
Sean Sullivan
49852289de
Replace internal version of resource with external version for tests
2018-09-24 11:12:36 -07:00
Sean Sullivan
16a4060eb5
Remove unused internal version of Pod resource
2018-09-13 22:38:07 -07:00
Maciej Szulik
5b55e1f8ed
Create cli-runtime staging repository
2018-08-21 17:08:30 +02:00
Tomas Nozicka
4d7747a5a3
Update Bazel
2018-08-10 09:55:41 +02:00
David Eads
608bf0de1f
update polymorphichelpers for external types
2018-08-02 08:54:29 -04:00
juanvallejo
9120557466
update attach to use external objs
2018-08-01 10:44:43 -04:00
Mengqi Yu
60630eb38e
add tests for polymorphichelpers pkg
2018-07-18 00:37:00 -07:00
Jeff Grafton
23ceebac22
Run hack/update-bazel.sh
2018-06-22 16:22:57 -07:00
Guoliang Wang
cf86cb77eb
Move unrelated methods from the factory to helper
2018-05-24 11:42:26 +08:00
juanvallejo
b6db623799
move rollbacker from the factory
2018-05-23 10:44:01 -04:00
juanvallejo
fb0794976a
move Pauser and Resumer from the factory
2018-05-23 10:27:20 -04:00
juanvallejo
5f5e3a59c0
move more CanBeExposed from factory_client_access
2018-05-23 10:27:20 -04:00
David Eads
043f66b86e
remove portsforobject from factory
2018-05-22 09:09:55 -04:00
David Eads
087140aee9
move updatepodspecforobject out of factory
2018-05-21 17:56:33 -04:00
juanvallejo
f3a46cf626
move additional methods from factory
2018-05-18 11:49:02 -04:00
David Eads
eabfcfaa2b
start splitting polymorphic functions out of the factory
2018-05-17 08:55:31 -04:00