Add PodExecOptions and PodProxyOptions versioned resources

PodExecOptions represents the URL parameters used to invoke an
exec request on a pod. PodProxyOptions contains the path parameter
passed to a proxy request.
This commit is contained in:
Cesar Wong
2015-04-14 11:03:17 -04:00
parent 49abf9133e
commit 4da14e9357
12 changed files with 155 additions and 3 deletions

View File

@@ -125,7 +125,14 @@ func init() {
}
// these kinds should be excluded from the list of resources
ignoredKinds := util.NewStringSet("ListOptions", "DeleteOptions", "Status", "ContainerManifest")
ignoredKinds := util.NewStringSet(
"ListOptions",
"DeleteOptions",
"Status",
"ContainerManifest",
"PodLogOptions",
"PodExecOptions",
"PodProxyOptions")
// enumerate all supported versions, get the kinds, and register with the mapper how to address our resources
for _, version := range versions {