Commit Graph

10 Commits

Author SHA1 Message Date
Victor Agababov b09a159e12
Add BucketSet type which implements consistent bucketing (#1477)
* Add BucketSet type which implements consistent bucketing

BucketSet permits mapping keys to buckets in a consistent manner, permitting us to use this type
in the HA applications. BucketSet implements the Bucket interface so it can be used in reconciler/leaderelection
pieces and has an additional method which returns the owner for the key. This is necessary in autoscaler
where requests need to be forwarded to an appropriate autoscaler.

* git mod stuff

* fixes

* nit

* two types for two thigns

* more tests
2020-07-12 20:16:12 -07:00
Nghia Tran 0a8314b444
Back to tracking master branch of floating deps (#1468) 2020-07-07 12:03:44 -07:00
Chi Zhang 90fc61bae7
Switch to Go modules (#1179)
* test out go modules

* chmod +x *.sh

* revert some changes

* update-deps

* try fixing

* chmod +x

* update

* update test-infra for testing

* test

* test

* update

* no -mod=vendor

* update
2020-04-28 12:43:51 -07:00
Chi Zhang 064b156ab7
Update and fixes to the cluster management lib (#1196)
* fix project in e2e cluster manager

* delete async for boskos

* use the right quota in the GKE requests

* update google cloud api

* update

* fix unit tests

* fix unit tests

* fix unit tests

* acquire always creates new

* support resolving GKE version

* go fmt

* delete version.go

* add more unit tests
2020-04-06 14:52:59 -07:00
Joyce Liu 169ef0797c Added GKE release channel support in cluster creation in cluster manager lib (#968)
* Added release channel support in cluster creation in cluster manager lib
* updated k8s beta dependency to pick up release channel API

* added unit test for the missing coverage in request_test.go
2020-01-02 11:27:42 -08:00
Chi Zhang ba3f47d9e9 move prow and gcs package from test-infra to pkg (#750) 2019-10-21 12:47:25 -07:00
chaodaiG b980bf131b Cluster creation lib uses v1beta1 instead of v1 (#677) 2019-09-16 12:57:49 -07:00
chaodaiG 9f6e5334c2 Add cluster creation logic with using GKE SDK (#579)
* Add cluster creation logic with GKE SDK
`

* fix build/test error + code review updates

* add tests for acquiring cluster
2019-08-21 18:54:33 -07:00
Victor Agababov d5915547d9 Update opencensus to a newer version (#526) 2019-07-12 16:18:48 -07:00
akyyy 10ceeb6163 Add stackdriver exporter support in pkg. (#126)
* update dep golang.org/x/net

* Add stackdriver exporter support in pkg

* fix race and tests

* Use thread safe newMetricsExporter in tests

* address cr comments

* minor fix

* checkpoint

* Address cr comments

* add test for UpdateExporterFromConfigMap

* Move lock position

* add a test case for stackdriver error check

* minor change

* removing one test case since it seems app default creds exists for presubmit tests

* replace promSrvChan with promSrv as cr suggsted

* use a local var server for ListenAndServe

* add getter and setter for shared variables

* add func isMetricsConfigChanged and test

* address cr comments

* Update opencensus-go-exporter-stackdriver to v0.7.0

* Revert "Update opencensus-go-exporter-stackdriver to v0.7.0"

This reverts commit 9825f641f8.

* run update-deps.sh

* merge conflict

* run update-deps.sh

* Update Gopkg.toml so it doesn't have stackdriver exporter

* remove regex for metrics domain at pkg repo per cr comments

* merge conflict
2018-10-24 15:23:31 -07:00