Alexander Campbell
a7c79711d5
kubectl/deployment: add BaseDeploymentGenerator to reduce duplication
...
BaseDeploymentGenerator performs the functionality that was common to
both of the "create deployment" generators.
2017-07-18 13:17:45 -07:00
Alexander Campbell
b693c910f5
cmd/create_deployment: refactor & test long function
2017-06-26 11:17:53 -07:00
Alexander Campbell
066dbb7206
cmd: make createDeployment a private function
2017-06-23 09:49:30 -07:00
Daniel Smith
d6e1140b5d
Implement dynamic admission webhooks
...
Also fix a bug in rest client
2017-05-31 16:38:46 -07:00
Maciej Szulik
aa4390750c
Introduce new generator for apps/v1beta1 deployments
2017-03-10 12:08:01 +01: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
Angus Salkeld
bd0b7528b5
Add "create deployment" sub-command
2016-08-08 13:24:30 +10:00