client/pkg/kn/commands
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
..
completion.go Support generating bash completion (#31) 2019-03-18 22:31:05 -07:00
configuration_edit_flags.go Added support for limits and requests of CPU and memory (#78) 2019-04-25 20:20:29 -07:00
namespaced.go Support --all-namespaces option for service and revision list (#32) 2019-04-09 09:09:58 -07:00
revision.go Support --all-namespaces option for service and revision list (#32) 2019-04-09 09:09:58 -07:00
revision_describe.go Support --all-namespaces option for service and revision list (#32) 2019-04-09 09:09:58 -07:00
revision_describe_test.go add revision describe (#15) (#16) 2019-02-01 15:23:13 -08:00
revision_list.go Support --all-namespaces option for service and revision list (#32) 2019-04-09 09:09:58 -07:00
root.go adding hack/build* to make life easy and added version command. Getting my feet wet (#69) 2019-04-15 15:51:01 -07:00
service.go Basic service update & a test for it. (#74) 2019-04-15 17:33:00 -07:00
service_create.go Added support for limits and requests of CPU and memory (#78) 2019-04-25 20:20:29 -07:00
service_create_test.go Added support for limits and requests of CPU and memory (#78) 2019-04-25 20:20:29 -07:00
service_delete.go Call GetNamespace to get namespace (#73) 2019-04-15 10:56:00 -07:00
service_describe.go Support --all-namespaces option for service and revision list (#32) 2019-04-09 09:09:58 -07:00
service_describe_test.go adding hack/build* to make life easy and added version command. Getting my feet wet (#69) 2019-04-15 15:51:01 -07:00
service_list.go Support --all-namespaces option for service and revision list (#32) 2019-04-09 09:09:58 -07:00
service_list_test.go Refactor to allow testing; write first tests. (#10) 2019-01-29 12:40:22 -08:00
service_update.go Basic service update & a test for it. (#74) 2019-04-15 17:33:00 -07:00
service_update_test.go Basic service update & a test for it. (#74) 2019-04-15 17:33:00 -07:00
version.go chore(version): Add buildtime and git revision to version command (#76) 2019-04-18 15:53:26 -07:00