k3s/test/fixtures/pkg/kubectl/cmd/apply
Hakan Baba 1cc30bdfb2 Add a unit test for applies and idempotent applys to the TPR entries.
The tests in apply_test follows the general pattern of other tests.
We load from a file in test/fixtures and mock the API server in the
function closure in the HttpClient call.
In PATCH request rount-tripper we check that the kubectl apply
implementation worked as expected.

References #40841
2017-02-27 10:22:12 -08:00
..
testdir add apply-set-last-applied subcommand 2017-02-24 11:11:39 +08:00
deploy-clientside.yaml test for explicit null value propagation in apply 2017-01-31 14:22:24 -05:00
deploy-serverside.yaml test for explicit null value propagation in apply 2017-01-31 14:22:24 -05:00
patch.json add apply-set-last-applied subcommand 2017-02-24 11:11:39 +08:00
rc-lastapplied.yaml Add apply view last-applied subcommand 2017-02-21 20:08:25 +08:00
rc-no-annotation.yaml add apply-set-last-applied subcommand 2017-02-24 11:11:39 +08:00
rc-noexist.yaml add apply-set-last-applied subcommand 2017-02-24 11:11:39 +08:00
rc-service.yaml
rc.json add apply-set-last-applied subcommand 2017-02-24 11:11:39 +08:00
rc.yaml
service.yaml
widget-clientside.yaml Add a unit test for applies and idempotent applys to the TPR entries. 2017-02-27 10:22:12 -08:00
widget-serverside.yaml Add a unit test for applies and idempotent applys to the TPR entries. 2017-02-27 10:22:12 -08:00