Knative common packages
Go to file
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
.github Add fancier PR templates to knative/pkg (#461) 2019-06-14 13:40:44 -07:00
apiextensions use apiextensions v1 apis for migrator (#1445) 2020-06-24 11:28:27 -07:00
apis Avoid importing apis/duck from apis/duck/<<version>> (#1388) 2020-07-10 17:49:37 -07:00
changeset Some cleanups to the changeset code (#577) 2019-08-15 11:22:08 -07:00
client Propagate SkipStatusUpdates to reconciler from NewReconciler (#1466) 2020-07-01 22:59:42 -07:00
codegen Propagate SkipStatusUpdates to reconciler from NewReconciler (#1466) 2020-07-01 22:59:42 -07:00
configmap use quotes for checksum strings (#1472) 2020-07-09 17:33:19 -07:00
controller Add an option to skip automated status updates in a reconciler. (#1456) 2020-06-30 08:02:29 -07:00
hack Back to tracking master branch of floating deps (#1468) 2020-07-07 12:03:44 -07:00
hash Add BucketSet type which implements consistent bucketing (#1477) 2020-07-12 20:16:12 -07:00
injection Enable use of StatefulSet in sharedmain. (#1451) 2020-06-27 09:29:28 -07:00
kmeta Make UnionMaps variadic! (#1360) 2020-05-26 19:47:49 -07:00
kmp Code hygiene: Remove unused, use common constructs. (#1320) 2020-05-13 22:20:58 -07:00
kvstore Introduce key/value store interface + cm backed version of it. (#1173) 2020-03-24 16:06:09 -07:00
leaderelection use coordination.Leases exclusively for leader election (#1439) 2020-06-29 12:57:29 -07:00
logging Unexport some constants (#1393) 2020-06-09 11:40:32 -07:00
metrics Various cleanups (#1446) 2020-06-24 14:04:28 -07:00
network Reconcile the settings with net/http (#1419) 2020-06-17 10:50:25 -07:00
pool add self to aliases and add reviewers to OWNERS (#1409) 2020-06-22 12:30:27 -07:00
profiling Optimize locking behavior of the profiling handler. (#980) 2020-01-08 12:35:53 -08:00
ptr Some fixes we did in server upstream to pkg (#1244) 2020-04-24 15:03:49 -07:00
reconciler Various cleanups (#1446) 2020-06-24 14:04:28 -07:00
resolver Change %v to %w in errors and other nits (#1252) 2020-04-27 15:04:51 -07:00
signals Revert "Add SIGPIPE signal handler to the signals package (#689)" (#709) 2019-09-20 13:33:05 -07:00
source add source metrics to report general errors and timeout (#1283) 2020-05-13 10:29:58 -07:00
system Filter tracked sharedmain ConfigMaps based on optional label selector (#973) 2020-01-13 06:53:04 -08:00
test Fun with lambdas etc (#1475) 2020-07-10 12:29:37 -07:00
testing Clean context.TODO in pkg and other minor nits (#1337) 2020-05-15 10:58:02 -07:00
testutils Ingore files under benchmark folder (#1441) 2020-06-23 13:46:27 -07:00
third_party/mako Format markdown (#618) 2019-08-29 07:09:45 -07:00
tracing Various cleanups (#1446) 2020-06-24 14:04:28 -07:00
tracker Fix \" escaping and other nits in the pkg (#1339) 2020-05-16 09:36:02 -07:00
vendor Add BucketSet type which implements consistent bucketing (#1477) 2020-07-12 20:16:12 -07:00
version bump k8s min version to 1.16.0 (#1455) 2020-06-30 07:50:30 -07:00
webhook Various cleanups (#1446) 2020-06-24 14:04:28 -07:00
websocket Add SendRaw to websocket client (#1396) 2020-06-09 06:59:32 -07:00
.gitattributes Enable coverage for test code (#778) 2019-10-21 12:37:24 -07:00
.gitignore [Genreconciler] Fix group names when client groups differ than their directory name. (#1097) 2020-02-18 17:14:59 -08:00
CONTRIBUTING.md Copy over some of the core markdown from serving. (#2) 2018-07-25 10:44:49 -07:00
DEVELOPMENT.md use https style vs. ssh (#1202) 2020-04-14 12:04:16 -07:00
LICENSE Initial commit 2018-07-25 10:16:04 -07:00
OWNERS Update OWNERS to use OWNERS_ALIASES (#422) 2019-05-29 20:04:33 -07:00
OWNERS_ALIASES Remove yt3liu from OWNERS file (#1460) 2020-07-01 21:06:41 -07:00
README.md Format markdown (#189) 2018-12-04 14:14:25 -08:00
RELEASING.md Update release instruction. (#1471) 2020-07-09 15:29:07 -07:00
code-of-conduct.md Format markdown (#189) 2018-12-04 14:14:25 -08:00
go.mod Add BucketSet type which implements consistent bucketing (#1477) 2020-07-12 20:16:12 -07:00
go.sum Add BucketSet type which implements consistent bucketing (#1477) 2020-07-12 20:16:12 -07:00

README.md

Knative Common Packages

GoDoc Go Report Card

Knative pkg provides a place for sharing common Knative packages across the Knative repos.

To learn more about Knative, please visit our Knative docs repository.

If you are interested in contributing, see CONTRIBUTING.md and DEVELOPMENT.md.