mirror of
https://github.com/kubernetes/sample-controller.git
synced 2026-04-12 00:00:26 +08:00
9a2a002b29
Automatic merge from submit-queue (batch tested with PRs 60011, 59256, 59293, 60328, 60367). 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>. Serve OpenAPI spec with single /openapi/v2 endpoint **What this PR does / why we need it**: We are deprecating format-separated endpoints (`/swagger.json`, `/swagger-2.0.0.json`, `/swagger-2.0.0.pb-v1`, `/swagger-2.0.0.pb-v1.gz`) for OpenAPI spec, and switching to a single `/openapi/v2` endpoint in Kubernetes 1.10. The design doc and deprecation process are tracked at: https://docs.google.com/document/d/19lEqE9lc4yHJ3WJAJxS_G7TcORIJXGHyq3wpwcH28nU Requested format is specified by setting HTTP headers header | possible values -- | -- Accept | `application/json`, `application/com.github.proto-openapi.spec.v2@v1.0+protobuf` Accept-Encoding | `gzip` This PR changes dynamic_client (and kubectl as a result) to use the new endpoint. The old endpoints will remain in 1.10 and 1.11, and get removed in 1.12. **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 # **Special notes for your reviewer**: **Release note**: ```release-note action required: Deprecate format-separated endpoints for OpenAPI spec. Please use single `/openapi/v2` endpoint instead. ``` /sig api-machinery Kubernetes-commit: d6153194d929ad6c036d5bbbf67a6f892e75feb5
271 lines
7.5 KiB
JSON
271 lines
7.5 KiB
JSON
{
|
|
"ImportPath": "k8s.io/code-generator",
|
|
"GoVersion": "go1.9",
|
|
"GodepVersion": "v79",
|
|
"Packages": [
|
|
"./..."
|
|
],
|
|
"Deps": [
|
|
{
|
|
"ImportPath": "github.com/PuerkitoBio/purell",
|
|
"Rev": "8a290539e2e8629dbc4e6bad948158f790ec31f4"
|
|
},
|
|
{
|
|
"ImportPath": "github.com/PuerkitoBio/urlesc",
|
|
"Rev": "5bd2802263f21d8788851d5305584c82a5c75d7e"
|
|
},
|
|
{
|
|
"ImportPath": "github.com/emicklei/go-restful",
|
|
"Rev": "ff4f55a206334ef123e4f79bbf348980da81ca46"
|
|
},
|
|
{
|
|
"ImportPath": "github.com/emicklei/go-restful/log",
|
|
"Rev": "ff4f55a206334ef123e4f79bbf348980da81ca46"
|
|
},
|
|
{
|
|
"ImportPath": "github.com/go-openapi/jsonpointer",
|
|
"Rev": "46af16f9f7b149af66e5d1bd010e3574dc06de98"
|
|
},
|
|
{
|
|
"ImportPath": "github.com/go-openapi/jsonreference",
|
|
"Rev": "13c6e3589ad90f49bd3e3bbe2c2cb3d7a4142272"
|
|
},
|
|
{
|
|
"ImportPath": "github.com/go-openapi/spec",
|
|
"Rev": "1de3e0542de65ad8d75452a595886fdd0befb363"
|
|
},
|
|
{
|
|
"ImportPath": "github.com/go-openapi/swag",
|
|
"Rev": "f3f9494671f93fcff853e3c6e9e948b3eb71e590"
|
|
},
|
|
{
|
|
"ImportPath": "github.com/gogo/protobuf/gogoproto",
|
|
"Rev": "c0656edd0d9eab7c66d1eb0c568f9039345796f7"
|
|
},
|
|
{
|
|
"ImportPath": "github.com/gogo/protobuf/plugin/compare",
|
|
"Rev": "c0656edd0d9eab7c66d1eb0c568f9039345796f7"
|
|
},
|
|
{
|
|
"ImportPath": "github.com/gogo/protobuf/plugin/defaultcheck",
|
|
"Rev": "c0656edd0d9eab7c66d1eb0c568f9039345796f7"
|
|
},
|
|
{
|
|
"ImportPath": "github.com/gogo/protobuf/plugin/description",
|
|
"Rev": "c0656edd0d9eab7c66d1eb0c568f9039345796f7"
|
|
},
|
|
{
|
|
"ImportPath": "github.com/gogo/protobuf/plugin/embedcheck",
|
|
"Rev": "c0656edd0d9eab7c66d1eb0c568f9039345796f7"
|
|
},
|
|
{
|
|
"ImportPath": "github.com/gogo/protobuf/plugin/enumstringer",
|
|
"Rev": "c0656edd0d9eab7c66d1eb0c568f9039345796f7"
|
|
},
|
|
{
|
|
"ImportPath": "github.com/gogo/protobuf/plugin/equal",
|
|
"Rev": "c0656edd0d9eab7c66d1eb0c568f9039345796f7"
|
|
},
|
|
{
|
|
"ImportPath": "github.com/gogo/protobuf/plugin/face",
|
|
"Rev": "c0656edd0d9eab7c66d1eb0c568f9039345796f7"
|
|
},
|
|
{
|
|
"ImportPath": "github.com/gogo/protobuf/plugin/gostring",
|
|
"Rev": "c0656edd0d9eab7c66d1eb0c568f9039345796f7"
|
|
},
|
|
{
|
|
"ImportPath": "github.com/gogo/protobuf/plugin/marshalto",
|
|
"Rev": "c0656edd0d9eab7c66d1eb0c568f9039345796f7"
|
|
},
|
|
{
|
|
"ImportPath": "github.com/gogo/protobuf/plugin/oneofcheck",
|
|
"Rev": "c0656edd0d9eab7c66d1eb0c568f9039345796f7"
|
|
},
|
|
{
|
|
"ImportPath": "github.com/gogo/protobuf/plugin/populate",
|
|
"Rev": "c0656edd0d9eab7c66d1eb0c568f9039345796f7"
|
|
},
|
|
{
|
|
"ImportPath": "github.com/gogo/protobuf/plugin/size",
|
|
"Rev": "c0656edd0d9eab7c66d1eb0c568f9039345796f7"
|
|
},
|
|
{
|
|
"ImportPath": "github.com/gogo/protobuf/plugin/stringer",
|
|
"Rev": "c0656edd0d9eab7c66d1eb0c568f9039345796f7"
|
|
},
|
|
{
|
|
"ImportPath": "github.com/gogo/protobuf/plugin/testgen",
|
|
"Rev": "c0656edd0d9eab7c66d1eb0c568f9039345796f7"
|
|
},
|
|
{
|
|
"ImportPath": "github.com/gogo/protobuf/plugin/union",
|
|
"Rev": "c0656edd0d9eab7c66d1eb0c568f9039345796f7"
|
|
},
|
|
{
|
|
"ImportPath": "github.com/gogo/protobuf/plugin/unmarshal",
|
|
"Rev": "c0656edd0d9eab7c66d1eb0c568f9039345796f7"
|
|
},
|
|
{
|
|
"ImportPath": "github.com/gogo/protobuf/proto",
|
|
"Rev": "c0656edd0d9eab7c66d1eb0c568f9039345796f7"
|
|
},
|
|
{
|
|
"ImportPath": "github.com/gogo/protobuf/protoc-gen-gogo/descriptor",
|
|
"Rev": "c0656edd0d9eab7c66d1eb0c568f9039345796f7"
|
|
},
|
|
{
|
|
"ImportPath": "github.com/gogo/protobuf/protoc-gen-gogo/generator",
|
|
"Rev": "c0656edd0d9eab7c66d1eb0c568f9039345796f7"
|
|
},
|
|
{
|
|
"ImportPath": "github.com/gogo/protobuf/protoc-gen-gogo/grpc",
|
|
"Rev": "c0656edd0d9eab7c66d1eb0c568f9039345796f7"
|
|
},
|
|
{
|
|
"ImportPath": "github.com/gogo/protobuf/protoc-gen-gogo/plugin",
|
|
"Rev": "c0656edd0d9eab7c66d1eb0c568f9039345796f7"
|
|
},
|
|
{
|
|
"ImportPath": "github.com/gogo/protobuf/sortkeys",
|
|
"Rev": "c0656edd0d9eab7c66d1eb0c568f9039345796f7"
|
|
},
|
|
{
|
|
"ImportPath": "github.com/gogo/protobuf/vanity",
|
|
"Rev": "c0656edd0d9eab7c66d1eb0c568f9039345796f7"
|
|
},
|
|
{
|
|
"ImportPath": "github.com/gogo/protobuf/vanity/command",
|
|
"Rev": "c0656edd0d9eab7c66d1eb0c568f9039345796f7"
|
|
},
|
|
{
|
|
"ImportPath": "github.com/golang/glog",
|
|
"Rev": "44145f04b68cf362d9c4df2182967c2275eaefed"
|
|
},
|
|
{
|
|
"ImportPath": "github.com/mailru/easyjson/buffer",
|
|
"Rev": "2f5df55504ebc322e4d52d34df6a1f5b503bf26d"
|
|
},
|
|
{
|
|
"ImportPath": "github.com/mailru/easyjson/jlexer",
|
|
"Rev": "2f5df55504ebc322e4d52d34df6a1f5b503bf26d"
|
|
},
|
|
{
|
|
"ImportPath": "github.com/mailru/easyjson/jwriter",
|
|
"Rev": "2f5df55504ebc322e4d52d34df6a1f5b503bf26d"
|
|
},
|
|
{
|
|
"ImportPath": "github.com/spf13/pflag",
|
|
"Rev": "4c012f6dcd9546820e378d0bdda4d8fc772cdfea"
|
|
},
|
|
{
|
|
"ImportPath": "golang.org/x/net/idna",
|
|
"Rev": "1c05540f6879653db88113bc4a2b70aec4bd491f"
|
|
},
|
|
{
|
|
"ImportPath": "golang.org/x/text/cases",
|
|
"Rev": "b19bf474d317b857955b12035d2c5acb57ce8b01"
|
|
},
|
|
{
|
|
"ImportPath": "golang.org/x/text/internal",
|
|
"Rev": "b19bf474d317b857955b12035d2c5acb57ce8b01"
|
|
},
|
|
{
|
|
"ImportPath": "golang.org/x/text/internal/tag",
|
|
"Rev": "b19bf474d317b857955b12035d2c5acb57ce8b01"
|
|
},
|
|
{
|
|
"ImportPath": "golang.org/x/text/language",
|
|
"Rev": "b19bf474d317b857955b12035d2c5acb57ce8b01"
|
|
},
|
|
{
|
|
"ImportPath": "golang.org/x/text/runes",
|
|
"Rev": "b19bf474d317b857955b12035d2c5acb57ce8b01"
|
|
},
|
|
{
|
|
"ImportPath": "golang.org/x/text/secure/bidirule",
|
|
"Rev": "b19bf474d317b857955b12035d2c5acb57ce8b01"
|
|
},
|
|
{
|
|
"ImportPath": "golang.org/x/text/secure/precis",
|
|
"Rev": "b19bf474d317b857955b12035d2c5acb57ce8b01"
|
|
},
|
|
{
|
|
"ImportPath": "golang.org/x/text/transform",
|
|
"Rev": "b19bf474d317b857955b12035d2c5acb57ce8b01"
|
|
},
|
|
{
|
|
"ImportPath": "golang.org/x/text/unicode/bidi",
|
|
"Rev": "b19bf474d317b857955b12035d2c5acb57ce8b01"
|
|
},
|
|
{
|
|
"ImportPath": "golang.org/x/text/unicode/norm",
|
|
"Rev": "b19bf474d317b857955b12035d2c5acb57ce8b01"
|
|
},
|
|
{
|
|
"ImportPath": "golang.org/x/text/width",
|
|
"Rev": "b19bf474d317b857955b12035d2c5acb57ce8b01"
|
|
},
|
|
{
|
|
"ImportPath": "golang.org/x/tools/go/ast/astutil",
|
|
"Rev": "2382e3994d48b1d22acc2c86bcad0a2aff028e32"
|
|
},
|
|
{
|
|
"ImportPath": "golang.org/x/tools/imports",
|
|
"Rev": "2382e3994d48b1d22acc2c86bcad0a2aff028e32"
|
|
},
|
|
{
|
|
"ImportPath": "gopkg.in/yaml.v2",
|
|
"Rev": "670d4cfef0544295bc27a114dbac37980d83185a"
|
|
},
|
|
{
|
|
"ImportPath": "k8s.io/gengo/args",
|
|
"Rev": "01a732e01d00cb9a81bb0ca050d3e6d2b947927b"
|
|
},
|
|
{
|
|
"ImportPath": "k8s.io/gengo/examples/deepcopy-gen/generators",
|
|
"Rev": "01a732e01d00cb9a81bb0ca050d3e6d2b947927b"
|
|
},
|
|
{
|
|
"ImportPath": "k8s.io/gengo/examples/defaulter-gen/generators",
|
|
"Rev": "01a732e01d00cb9a81bb0ca050d3e6d2b947927b"
|
|
},
|
|
{
|
|
"ImportPath": "k8s.io/gengo/examples/import-boss/generators",
|
|
"Rev": "01a732e01d00cb9a81bb0ca050d3e6d2b947927b"
|
|
},
|
|
{
|
|
"ImportPath": "k8s.io/gengo/examples/set-gen/generators",
|
|
"Rev": "01a732e01d00cb9a81bb0ca050d3e6d2b947927b"
|
|
},
|
|
{
|
|
"ImportPath": "k8s.io/gengo/examples/set-gen/sets",
|
|
"Rev": "01a732e01d00cb9a81bb0ca050d3e6d2b947927b"
|
|
},
|
|
{
|
|
"ImportPath": "k8s.io/gengo/generator",
|
|
"Rev": "01a732e01d00cb9a81bb0ca050d3e6d2b947927b"
|
|
},
|
|
{
|
|
"ImportPath": "k8s.io/gengo/namer",
|
|
"Rev": "01a732e01d00cb9a81bb0ca050d3e6d2b947927b"
|
|
},
|
|
{
|
|
"ImportPath": "k8s.io/gengo/parser",
|
|
"Rev": "01a732e01d00cb9a81bb0ca050d3e6d2b947927b"
|
|
},
|
|
{
|
|
"ImportPath": "k8s.io/gengo/types",
|
|
"Rev": "01a732e01d00cb9a81bb0ca050d3e6d2b947927b"
|
|
},
|
|
{
|
|
"ImportPath": "k8s.io/kube-openapi/pkg/common",
|
|
"Rev": "50ae88d24ede7b8bad68e23c805b5d3da5c8abaf"
|
|
},
|
|
{
|
|
"ImportPath": "k8s.io/kube-openapi/pkg/generators",
|
|
"Rev": "50ae88d24ede7b8bad68e23c805b5d3da5c8abaf"
|
|
}
|
|
]
|
|
}
|