• Clayton Coleman's avatar
    Support content-type negotiation in the API server · 125ef6fb
    Clayton Coleman authored
    A NegotiatedSerializer is passed into the API installer (and
    ParameterCodec, which abstracts conversion of query params) that can be
    used to negotiate client/server request/response serialization. All
    error paths are now negotiation aware, and are at least minimally
    version aware.
    
    Watch is specially coded to only allow application/json - a follow up
    change will convert it to use negotiation.
    
    Ensure the swagger scheme will include supported serializations - this
    now includes application/yaml as a negotiated option.
    125ef6fb
Name
Last commit
Last update
..
framework Loading commit data...
auth_test.go Loading commit data...
benchmark-controller.json Loading commit data...
client_test.go Loading commit data...
doc.go Loading commit data...
etcd_tools_test.go Loading commit data...
extender_test.go Loading commit data...
kubectl_test.go Loading commit data...
master_benchmark_test.go Loading commit data...
master_test.go Loading commit data...
metrics_test.go Loading commit data...
openshift_test.go Loading commit data...
persistent_volumes_test.go Loading commit data...
scheduler_test.go Loading commit data...
secret_test.go Loading commit data...
service_account_test.go Loading commit data...
utils.go Loading commit data...