Zihong Zheng
c9c39eef9c
Add mock for UpdateBetaBackendService
2018-09-27 10:57:26 -07:00
Rohit Ramkumar
8872f9465f
Expose public function to init fake GCECloud + add common hooks
2018-09-25 15:13:26 -07:00
Nick Sardo
808bc227ae
Return correct error type and HTTP Status code for operation errors
2018-07-19 13:18:29 -07:00
Minhan Xia
35fee75754
bug fix for cloud provider generator
2018-06-26 11:33:38 -07:00
Minhan Xia
469ac167c1
regenerate GCE cloud provider
2018-06-26 11:29:55 -07:00
Zihong Zheng
5d02573e56
[gce provider] Ran hack/update-cloudprovider-gce.sh
2018-06-21 11:16:30 -07:00
Zihong Zheng
c516a35d4d
[gce provider] Wrapper for beta backend servvice create/update
2018-06-21 11:16:30 -07:00
Nick Sardo
115ddc5a8e
Wait a minimum amount of time for polling operations
2018-06-14 11:20:34 -07:00
Cheng Xing
47f7672e2e
Generated code for gce_disks refactor
2018-06-05 16:37:28 -07:00
Cheng Xing
d33c1e3ba8
Refactored disk cloudprovider methods to use generated client; Refactored gce_disks unit tests; Removed unused gce_op.go and associated unit tests.
2018-06-05 16:37:18 -07:00
Kubernetes Submit Queue
d02cf08e27
Merge pull request #64528 from MrHohn/gce-backend-service-beta
...
Automatic merge from submit-queue (batch tested with PRs 64364, 64369, 63819, 64528). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md ">here</a>.
[gce provider] More wrappers for alpha/beta backend service
**What this PR does / why we need it**:
Sorry, some more wrapper functions I missed last time.
**Which issue(s) this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close the issue(s) when PR gets merged)*:
Fixes #NONE
**Special notes for your reviewer**:
/assign @rramkumar1
**Release note**:
```release-note
NONE
```
2018-05-30 22:54:15 -07:00
Kubernetes Submit Queue
887f8ecf4e
Merge pull request #64338 from agau4779/deprecate-gce-addr-fakes
...
Automatic merge from submit-queue. If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md ">here</a>.
[GCE] use fakeGCECloud instead of gce address fakes
**What this PR does / why we need it**:
Use the fakeGCECloud mock instead of FakeCloudAddressService.
**Release note**:
```release-note
NONE
```
2018-05-30 20:09:15 -07:00
Zihong Zheng
fdc58eb891
[gce provider] More wrappers for alpha/beta backend service
2018-05-30 12:29:42 -07:00
Zihong Zheng
19d7006d6b
[gce provider] Update auto-generated codes
2018-05-25 16:43:28 -07:00
Zihong Zheng
332a3e8467
[gce provider] Add more wrapper for securiti policy
2018-05-25 16:43:28 -07:00
Ashley Gau
a96c5f2884
mocks must return true in order to trigger err
2018-05-25 14:33:33 -07:00
Ashley Gau
069062365a
use fakeGCECloud instead of gce address fakes
2018-05-25 14:19:00 -07:00
Zihong Zheng
5158add0bc
gce provider: point to hack/update-cloudprovider-gce.sh in doc
2018-05-17 17:25:33 -07:00
Zihong Zheng
23726efb3d
gce provider: add wrapper for security policy
2018-05-17 17:25:33 -07:00
Nick Sardo
81a5fa431c
Add Patch method to GA Backend Services
2018-05-10 12:45:21 -07:00
Nick Sardo
8098b91951
Expand ability of ResourceID
2018-05-01 12:21:44 -07:00
yankaiz
8aeb77f9c8
Add unit tests for gce loadbalancer internal.
...
Increase coverage for gce_loadbalancer_internal from 76.7% to 91.0%.
2018-04-20 16:14:02 -07:00
Ashley Gau
6d7424885e
encapsulate IP counter in X, parallelize lb tests
2018-04-17 13:34:49 -07:00
yankaiz
6714d17b61
Add unit testcases for ensureExternalLoadBalancer to make sure it doesn't panic when errors raised.
2018-03-30 11:36:47 -07:00
yankaiz
af5a7e2488
Unit tests for external load balancer.
2018-03-26 11:01:52 -07:00
Ashley Gau
e07a944c49
add Get/Set methods, mutex on instanceGroupAttrs.
2018-03-13 13:17:24 -07:00
Ashley Gau
42c5bca0c0
rename to _test.go, update-bazel, comments
2018-03-13 13:17:24 -07:00
Ashley Gau
fd2bf37d28
hooks for updating healthchecks, firewalls, regional backendservices
2018-03-13 11:13:41 -07:00
Ashley Gau
f625b4a2d9
add hooks to add, remove, insert instances from instancegroups
2018-03-13 11:13:41 -07:00
Ashley Gau
828e22bdc6
add comments
2018-02-23 16:14:27 -08:00
Ashley Gau
e250074b38
Define hooks for inserting Forwarding Rules and Addresses in all versions
2018-02-20 13:19:04 -08:00
Ashley Gau
5dd3fdebec
Move and make exported lbScheme types into cloud/constants.go
2018-02-20 13:19:04 -08:00
Ashley Gau
bef0838a21
Move NetworkTiers into cloud/constants.go
2018-02-20 13:19:04 -08:00
Ashley Gau
a39e7e4146
Add test for wrong networktier resource deletion
2018-02-20 13:19:04 -08:00
Kubernetes Submit Queue
96ec318718
Merge pull request #59842 from ixdy/update-rules_go-02-2018
...
Automatic merge from submit-queue. If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md ">here</a>.
Update bazelbuild/rules_go, kubernetes/repo-infra, and gazelle dependencies
**What this PR does / why we need it**: updates our bazelbuild/rules_go dependency in order to bump everything to go1.9.4. I'm separating this effort into two separate PRs, since updating rules_go requires a large cleanup, removing an attribute from most build rules.
**Release note**:
```release-note
NONE
```
2018-02-19 22:23:05 -08:00
Nick Sardo
2410b6576e
Pass ProjectRouter to mocks
2018-02-16 13:47:12 -08:00
Jeff Grafton
ef56a8d6bb
Autogenerated: hack/update-bazel.sh
2018-02-16 13:43:01 -08:00
Ashley Gau
5e38d785a2
make context the first arg in AddInstanceHook/RemoveInstanceHook
2018-02-08 11:04:39 -08:00
Ashley Gau
4b398a6d8d
generate mocked methods with context as the first arg, because golint
2018-02-08 11:02:48 -08:00
Ashley Gau
b7fe9fe02f
run update-bazel.sh, lint on mock.go
2018-02-07 15:27:35 -08:00
Ashley Gau
378b177f02
test updateExternalLoadBalancer removes nodes
2018-02-07 12:42:57 -08:00
Ashley Gau
2ef71eb6e5
add AddInstanceHook mock method, test insertion of new instace
2018-02-06 17:41:06 -08:00
Jing Ai
4738e10b3e
Add GCE instance UpdateNetworkInterface API to beta.
2018-02-05 11:39:54 -08:00
Minhan Xia
eeae81619b
fix url parsing for staging/dev endpoint
2018-01-26 11:27:57 -08:00
Bowei Du
7ebc34fea9
Remove op field as it is no longer needed
...
Key is used instead
2018-01-20 09:44:52 -08:00
Bowei Du
76c796ffa4
GCE: invalid location was used in regional and zonal operations
...
Location was set to the full URL instead of the short name. Adds
logging to the operations to make future issues easier to debug.
2018-01-20 00:50:22 -08:00
Bowei Du
31be3a37f8
Fixes some typos/spaces in the GCE cloudprovider
2018-01-19 18:13:45 -08:00
Bowei Du
f8776f8f0c
Resulting generated code
2018-01-19 18:13:42 -08:00
Bowei Du
3ea2f3e9f2
Add logging in all generated GCE calls
2018-01-19 18:13:38 -08:00
Bowei Du
aaa3dfd695
GCE: Check that the key is valid for each call
2018-01-19 12:03:43 -08:00