Commit Graph
380 Commits
Author SHA1 Message Date
yunlzheng 22c40a6f72 fix: fixed GetRandomSSHPort fail and add test case. 2020-03-08 13:33:17 +08:00
yunlzheng ff0e731575 improve: make sure port-forward is already successful. 2020-03-08 13:32:17 +08:00
yunlzheng f67fa8fb9c refact: markup informer stoped after use 2020-03-08 11:26:51 +08:00
yunlzheng 14204a71d8 refact: make cloud watcher stopable 2020-03-08 11:01:52 +08:00
yunlzheng 6c45e69f30 refact: make cloud watcher stopable 2020-03-08 10:55:57 +08:00
yunlzheng fc7aaf7e77 test: add test case for connect 2020-03-08 09:28:08 +08:00
yunlzheng 5f6d253e06 docs: #88 add port maping usage 2020-03-07 20:09:32 +08:00
yunlzheng bb2e24fd36 improve: use log with level relace printf 2020-03-07 19:55:27 +08:00
yunlzheng 44730d4e70 improve: generate mock for shadow and kubernetes, add test case for connect. 2020-03-06 23:12:07 +08:00
yunlzheng f4046690bd improve: generate mock for shadow and kubernetes, add test case for connect. 2020-03-06 23:11:24 +08:00
yunlzheng c45bbadbab Merge branch 'feature/testbility-for-cluster'
* feature/testbility-for-cluster:
  improve: remove go master from travis
  improve add test case for util
  fixed code error
  improve: rename shadow interface
  improve: create shadow interface
  improve: clean code
  improve: use kubernetes interface in mesh command
  improve: 🧪 refactor command exchange use kubernetes interface
  feat: #89 refactor command exchange use kubernetes interface
  improve: #89 refactor command connect use kubernetes interface
  improve: 🧪 clean code
  add cluster interface
2020-03-06 22:39:57 +08:00
yunlzheng 6526667ef0 improve: remove go master from travis 2020-03-06 22:32:43 +08:00
yunlzheng 57cbb6c2c1 improve add test case for util 2020-03-06 22:31:43 +08:00
yunlzheng d162f20a02 fixed code error 2020-03-06 21:14:15 +08:00
yunlzheng e4f8f6e021 improve: rename shadow interface 2020-03-06 21:07:55 +08:00
yunlzheng a86e313445 improve: create shadow interface 2020-03-06 21:02:00 +08:00
yunlzheng f9c15068c9 improve: clean code 2020-03-06 20:43:02 +08:00
yunlzheng d0570da9ee improve: use kubernetes interface in mesh command 2020-03-06 20:41:38 +08:00
yunlzheng ccac33c6e7 improve: 🧪 refactor command exchange use kubernetes interface 2020-03-06 20:26:28 +08:00
yunlzheng 41d985465d feat: #89 refactor command exchange use kubernetes interface 2020-03-06 20:13:42 +08:00
yunlzheng 77c71e04fc improve: #89 refactor command connect use kubernetes interface 2020-03-06 19:40:38 +08:00
yunlzheng 74941ad53b improve: 🧪 clean code 2020-03-06 18:47:51 +08:00
yunlzheng af563c51b2 Merge branch 'master' into feature/testbility-for-cluster
* master:
  improve: #87 refactor remote port forward. support by zeusro
2020-03-06 18:44:36 +08:00
yunlzheng ac2e011dd1 improve: #87 refactor remote port forward. support by zeusro 2020-03-06 18:43:12 +08:00
yunlzheng 93a42678f8 add cluster interface 2020-03-06 18:36:34 +08:00
yunlzheng a70ec274af Merge branch 'feature/testability'
* feature/testability:
  improve: #91 update trivis ci
  improve: #91 add test case for connect command
  improve: #91 fixed makefile
  improve: #91 add test case for exchange command
  improve: #91 add test case for mesh command
  fix: #91 fixed mesh error not return issue
  improve: #91 run test before other tasks
  improve: #91 add unit test to travis ci
  improve: #91 generate action mock and add test for command
  feat: #89 use interface instance of struct to support test
  feat: #91 add action interface to help mock and add gomock
  feat: #91 add action interface to help mock
2020-03-06 14:27:16 +08:00
yunlzheng 9270f1bbc0 improve: #91 update trivis ci 2020-03-06 14:26:31 +08:00
yunlzheng 911b3e9111 improve: #91 add test case for connect command 2020-03-06 13:33:13 +08:00
yunlzheng e7cebbcd8d improve: #91 fixed makefile 2020-03-06 13:21:20 +08:00
yunlzheng fa37de9495 improve: #91 add test case for exchange command 2020-03-06 13:18:10 +08:00
yunlzheng 928640618b improve: #91 add test case for mesh command 2020-03-06 13:09:56 +08:00
yunlzheng c30e595408 fix: #91 fixed mesh error not return issue 2020-03-06 13:04:08 +08:00
yunlzheng efc4b9f017 improve: #91 run test before other tasks 2020-03-06 12:40:59 +08:00
yunlzheng ff9b95aae0 improve: #91 add unit test to travis ci 2020-03-06 12:38:29 +08:00
yunlzheng 7654b15a4f improve: #91 generate action mock and add test for command 2020-03-06 12:28:15 +08:00
yunlzheng cd664f3663 feat: #89 use interface instance of struct to support test 2020-03-06 11:28:03 +08:00
yunlzheng 9943673a0e feat: #91 add action interface to help mock and add gomock 2020-03-06 10:54:24 +08:00
yunlzheng e5fd4027f9 feat: #91 add action interface to help mock 2020-03-06 10:53:54 +08:00
ylzhengandGitHub c6a3efc52e Merge pull request #90 from alibaba/feature/cmd-run
add new command `ktctl run`
2020-03-06 10:31:14 +08:00
yunlzheng aa0c12a9e0 feat: #89 format code 2020-03-06 09:56:27 +08:00
yunlzheng a9b84b7623 feat: #89 use service as container name 2020-03-06 09:53:07 +08:00
yunlzheng 7e5a820599 feat: #89 should clean up service after terminal 2020-03-06 09:51:35 +08:00
yunlzheng fc46937bc4 feat: #89 should create service when expose is enable 2020-03-05 22:28:46 +08:00
yunlzheng dfac5974c9 feat: #89 support crrate local service shadow 2020-03-05 22:03:34 +08:00
yunlzheng 2ddffebeeb fix: ignore vendor dir 2020-03-05 21:13:03 +08:00
yunlzheng 07fa38fcfa feat: add run command 2020-03-05 20:16:02 +08:00
yunlzheng 74b9dc0bf7 style: remove unused code. 2020-03-05 19:55:51 +08:00
yunlzheng 9b3f7bce1a fixed clean up error log 2020-03-05 19:52:33 +08:00
yunlzheng e1aa29fa67 fix: wait pod ready runnig forever 2020-03-05 19:34:06 +08:00
ylzhengandGitHub bf19e80e2f Merge pull request #86 from zeusro/develop
improvement : use Informer to waitPodReady
2020-03-03 13:00:10 +08:00