client/vendor
dr.max dd4e2a917b Added support for limits and requests of CPU and memory (#78)
* Added support for limits and requests of CPU and memory. Examples:
1. kn service create mysvc --image dev.local/ns/image:latest --request-cpu 100m --requests-memory 64Mi
2. kn service create mysvc --image dev.local/ns/image:latest --limits-cpu 1000m --limits-memory 1024Mi

You can also include and/or omit the requests and limits. So the following should also work:
kn service create mysvc --image dev.local/ns/image:latest  --request-cpu 1000m --limits-memory 1024Mi

* Addressed comments about maintaining existing requests and limits and added more tests
* TestServiceCreateWithRequests
* TestServiceCreateWithLimits
* TestServiceCreateRequestsLimitsCPU
* TestServiceCreateRequestsLimitsMemory
* TestServiceCreateRequestsLimitsCPUMemory

* updating dependencies and formatting tests code
2019-04-25 20:20:29 -07:00
..
cloud.google.com/go Actually, vendor everything (#59) 2019-04-05 04:08:57 -07:00
github.com Stub in an integration test (#55) 2019-04-08 10:50:58 -07:00
golang.org/x Actually, vendor everything (#59) 2019-04-05 04:08:57 -07:00
google.golang.org/appengine Actually, vendor everything (#59) 2019-04-05 04:08:57 -07:00
gopkg.in Actually, vendor everything (#59) 2019-04-05 04:08:57 -07:00
k8s.io Actually, vendor everything (#59) 2019-04-05 04:08:57 -07:00
sigs.k8s.io Actually, vendor everything (#59) 2019-04-05 04:08:57 -07:00
modules.txt Added support for limits and requests of CPU and memory (#78) 2019-04-25 20:20:29 -07:00