kubernetes/test/integration
k8s-merge-robot af71fa72e7 Merge pull request #23574 from deads2k/add-extra
Automatic merge from submit-queue

add user.Info.GetExtra

I found myself wanting this field (or something like it), when trying to plumb the information about which scopes a particular token has.

Only the token authenticators have that information and I don't want tokens to leak past the authenticator.  I thought about extending the `authenticator.Token` interface to include scopes (`[]string`), but that felt a little specific for what I wanted to do.  I came up with this as an alternative.

It allows the token authenticator to fill in the information and authorizers already get handed the `user.Info`.  It means that implementors can choose to tie the layers together if they wish, using whatever data they think is best.  

@kubernetes/kube-iam
2016-04-26 21:14:53 -07:00
..
framework Handle streaming serializers more consistently 2016-04-22 11:07:24 -04:00
auth_test.go add act-as powers 2016-04-14 12:49:10 -04:00
benchmark-controller.json Updating scripts to use v1 instead of v1beta3 2015-07-01 00:23:16 -07:00
client_test.go Move restclient to its own package 2016-02-29 12:05:13 -08:00
configmap_test.go Move restclient to its own package 2016-02-29 12:05:13 -08:00
doc.go Make copyright ownership statement generic 2015-05-01 17:49:56 -04:00
dynamic_client_test.go Move restclient to its own package 2016-02-29 12:05:13 -08:00
etcd_tools_test.go Merge pull request #23914 from sky-uk/make-etcd-cache-size-configurable 2016-04-17 00:06:31 -07:00
extender_test.go Move restclient to its own package 2016-02-29 12:05:13 -08:00
kubectl_test.go Moving InstallSwaggerAPI to Run 2016-03-28 23:04:14 -07:00
master_benchmark_test.go Fix compile errors in benchmark 2015-12-02 11:36:26 +01:00
master_test.go PetSet type, apps apigroup 2016-04-20 18:49:31 -07:00
metrics_test.go Move restclient to its own package 2016-02-29 12:05:13 -08:00
openshift_test.go Extracting APIServer machinery code into a library 2015-12-16 13:54:23 -08:00
persistent_volumes_test.go Move test-only volume files to test-only volume package 2016-02-29 14:44:28 -08:00
pods.go Move restclient to its own package 2016-02-29 12:05:13 -08:00
quota_test.go deflake quota master init order 2016-04-26 16:37:56 -04:00
scheduler_test.go Comment out racey part of the multi-scheduler test. 2016-03-31 16:56:10 -07:00
secret_test.go Move restclient to its own package 2016-02-29 12:05:13 -08:00
service_account_test.go add user.Info.GetExtra 2016-04-26 15:08:34 -04:00
utils.go Add integration test for ConfigMap 2016-02-09 10:28:53 -05:00