Merge pull request #54957 from apelisse/update-kube-openapi

Automatic merge from submit-queue (batch tested with PRs 55004, 54957). 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>.

Update kube-openapi to use validation

**What this PR does / why we need it**: Moves openapi validation code to kube-openapi, so that we can move the rest of the code to apimachinery repository, so that later we can use it from both the client and the server.

**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 #Nothing

**Special notes for your reviewer**:

**Release note**:
```release-note
NONE
```

Kubernetes-commit: 55e216f56eac0082acc6be655d9ae09cf9ba38a8
This commit is contained in:
Kubernetes Publisher 2017-11-02 11:17:33 -07:00
commit 60cef58577

164
Godeps/Godeps.json generated
View File

@ -1,6 +1,6 @@
{
"ImportPath": "k8s.io/client-go",
"GoVersion": "go1.8",
"GoVersion": "go1.9",
"GodepVersion": "v79",
"Packages": [
"./..."
@ -372,327 +372,327 @@
},
{
"ImportPath": "k8s.io/api/admissionregistration/v1alpha1",
"Rev": "447c79b355fd16e12ec3a5bf2206cb221e604afe"
"Rev": "5fe849133352cb50970c1f89c3a7ffc20b9b73cb"
},
{
"ImportPath": "k8s.io/api/apps/v1",
"Rev": "447c79b355fd16e12ec3a5bf2206cb221e604afe"
"Rev": "5fe849133352cb50970c1f89c3a7ffc20b9b73cb"
},
{
"ImportPath": "k8s.io/api/apps/v1beta1",
"Rev": "447c79b355fd16e12ec3a5bf2206cb221e604afe"
"Rev": "5fe849133352cb50970c1f89c3a7ffc20b9b73cb"
},
{
"ImportPath": "k8s.io/api/apps/v1beta2",
"Rev": "447c79b355fd16e12ec3a5bf2206cb221e604afe"
"Rev": "5fe849133352cb50970c1f89c3a7ffc20b9b73cb"
},
{
"ImportPath": "k8s.io/api/authentication/v1",
"Rev": "447c79b355fd16e12ec3a5bf2206cb221e604afe"
"Rev": "5fe849133352cb50970c1f89c3a7ffc20b9b73cb"
},
{
"ImportPath": "k8s.io/api/authentication/v1beta1",
"Rev": "447c79b355fd16e12ec3a5bf2206cb221e604afe"
"Rev": "5fe849133352cb50970c1f89c3a7ffc20b9b73cb"
},
{
"ImportPath": "k8s.io/api/authorization/v1",
"Rev": "447c79b355fd16e12ec3a5bf2206cb221e604afe"
"Rev": "5fe849133352cb50970c1f89c3a7ffc20b9b73cb"
},
{
"ImportPath": "k8s.io/api/authorization/v1beta1",
"Rev": "447c79b355fd16e12ec3a5bf2206cb221e604afe"
"Rev": "5fe849133352cb50970c1f89c3a7ffc20b9b73cb"
},
{
"ImportPath": "k8s.io/api/autoscaling/v1",
"Rev": "447c79b355fd16e12ec3a5bf2206cb221e604afe"
"Rev": "5fe849133352cb50970c1f89c3a7ffc20b9b73cb"
},
{
"ImportPath": "k8s.io/api/autoscaling/v2beta1",
"Rev": "447c79b355fd16e12ec3a5bf2206cb221e604afe"
"Rev": "5fe849133352cb50970c1f89c3a7ffc20b9b73cb"
},
{
"ImportPath": "k8s.io/api/batch/v1",
"Rev": "447c79b355fd16e12ec3a5bf2206cb221e604afe"
"Rev": "5fe849133352cb50970c1f89c3a7ffc20b9b73cb"
},
{
"ImportPath": "k8s.io/api/batch/v1beta1",
"Rev": "447c79b355fd16e12ec3a5bf2206cb221e604afe"
"Rev": "5fe849133352cb50970c1f89c3a7ffc20b9b73cb"
},
{
"ImportPath": "k8s.io/api/batch/v2alpha1",
"Rev": "447c79b355fd16e12ec3a5bf2206cb221e604afe"
"Rev": "5fe849133352cb50970c1f89c3a7ffc20b9b73cb"
},
{
"ImportPath": "k8s.io/api/certificates/v1beta1",
"Rev": "447c79b355fd16e12ec3a5bf2206cb221e604afe"
"Rev": "5fe849133352cb50970c1f89c3a7ffc20b9b73cb"
},
{
"ImportPath": "k8s.io/api/core/v1",
"Rev": "447c79b355fd16e12ec3a5bf2206cb221e604afe"
"Rev": "5fe849133352cb50970c1f89c3a7ffc20b9b73cb"
},
{
"ImportPath": "k8s.io/api/extensions/v1beta1",
"Rev": "447c79b355fd16e12ec3a5bf2206cb221e604afe"
"Rev": "5fe849133352cb50970c1f89c3a7ffc20b9b73cb"
},
{
"ImportPath": "k8s.io/api/imagepolicy/v1alpha1",
"Rev": "447c79b355fd16e12ec3a5bf2206cb221e604afe"
"Rev": "5fe849133352cb50970c1f89c3a7ffc20b9b73cb"
},
{
"ImportPath": "k8s.io/api/networking/v1",
"Rev": "447c79b355fd16e12ec3a5bf2206cb221e604afe"
"Rev": "5fe849133352cb50970c1f89c3a7ffc20b9b73cb"
},
{
"ImportPath": "k8s.io/api/policy/v1beta1",
"Rev": "447c79b355fd16e12ec3a5bf2206cb221e604afe"
"Rev": "5fe849133352cb50970c1f89c3a7ffc20b9b73cb"
},
{
"ImportPath": "k8s.io/api/rbac/v1",
"Rev": "447c79b355fd16e12ec3a5bf2206cb221e604afe"
"Rev": "5fe849133352cb50970c1f89c3a7ffc20b9b73cb"
},
{
"ImportPath": "k8s.io/api/rbac/v1alpha1",
"Rev": "447c79b355fd16e12ec3a5bf2206cb221e604afe"
"Rev": "5fe849133352cb50970c1f89c3a7ffc20b9b73cb"
},
{
"ImportPath": "k8s.io/api/rbac/v1beta1",
"Rev": "447c79b355fd16e12ec3a5bf2206cb221e604afe"
"Rev": "5fe849133352cb50970c1f89c3a7ffc20b9b73cb"
},
{
"ImportPath": "k8s.io/api/scheduling/v1alpha1",
"Rev": "447c79b355fd16e12ec3a5bf2206cb221e604afe"
"Rev": "5fe849133352cb50970c1f89c3a7ffc20b9b73cb"
},
{
"ImportPath": "k8s.io/api/settings/v1alpha1",
"Rev": "447c79b355fd16e12ec3a5bf2206cb221e604afe"
"Rev": "5fe849133352cb50970c1f89c3a7ffc20b9b73cb"
},
{
"ImportPath": "k8s.io/api/storage/v1",
"Rev": "447c79b355fd16e12ec3a5bf2206cb221e604afe"
"Rev": "5fe849133352cb50970c1f89c3a7ffc20b9b73cb"
},
{
"ImportPath": "k8s.io/api/storage/v1beta1",
"Rev": "447c79b355fd16e12ec3a5bf2206cb221e604afe"
"Rev": "5fe849133352cb50970c1f89c3a7ffc20b9b73cb"
},
{
"ImportPath": "k8s.io/apimachinery/pkg/api/equality",
"Rev": "29ad778ed160b0a342405cda3afe6b892dae01e0"
"Rev": "423ba1054d2cd0bf9a466a87d8a775e8367d263a"
},
{
"ImportPath": "k8s.io/apimachinery/pkg/api/errors",
"Rev": "29ad778ed160b0a342405cda3afe6b892dae01e0"
"Rev": "423ba1054d2cd0bf9a466a87d8a775e8367d263a"
},
{
"ImportPath": "k8s.io/apimachinery/pkg/api/meta",
"Rev": "29ad778ed160b0a342405cda3afe6b892dae01e0"
"Rev": "423ba1054d2cd0bf9a466a87d8a775e8367d263a"
},
{
"ImportPath": "k8s.io/apimachinery/pkg/api/resource",
"Rev": "29ad778ed160b0a342405cda3afe6b892dae01e0"
"Rev": "423ba1054d2cd0bf9a466a87d8a775e8367d263a"
},
{
"ImportPath": "k8s.io/apimachinery/pkg/api/testing",
"Rev": "29ad778ed160b0a342405cda3afe6b892dae01e0"
"Rev": "423ba1054d2cd0bf9a466a87d8a775e8367d263a"
},
{
"ImportPath": "k8s.io/apimachinery/pkg/api/testing/fuzzer",
"Rev": "29ad778ed160b0a342405cda3afe6b892dae01e0"
"Rev": "423ba1054d2cd0bf9a466a87d8a775e8367d263a"
},
{
"ImportPath": "k8s.io/apimachinery/pkg/api/testing/roundtrip",
"Rev": "29ad778ed160b0a342405cda3afe6b892dae01e0"
"Rev": "423ba1054d2cd0bf9a466a87d8a775e8367d263a"
},
{
"ImportPath": "k8s.io/apimachinery/pkg/apimachinery",
"Rev": "29ad778ed160b0a342405cda3afe6b892dae01e0"
"Rev": "423ba1054d2cd0bf9a466a87d8a775e8367d263a"
},
{
"ImportPath": "k8s.io/apimachinery/pkg/apimachinery/announced",
"Rev": "29ad778ed160b0a342405cda3afe6b892dae01e0"
"Rev": "423ba1054d2cd0bf9a466a87d8a775e8367d263a"
},
{
"ImportPath": "k8s.io/apimachinery/pkg/apimachinery/registered",
"Rev": "29ad778ed160b0a342405cda3afe6b892dae01e0"
"Rev": "423ba1054d2cd0bf9a466a87d8a775e8367d263a"
},
{
"ImportPath": "k8s.io/apimachinery/pkg/apis/meta/fuzzer",
"Rev": "29ad778ed160b0a342405cda3afe6b892dae01e0"
"Rev": "423ba1054d2cd0bf9a466a87d8a775e8367d263a"
},
{
"ImportPath": "k8s.io/apimachinery/pkg/apis/meta/internalversion",
"Rev": "29ad778ed160b0a342405cda3afe6b892dae01e0"
"Rev": "423ba1054d2cd0bf9a466a87d8a775e8367d263a"
},
{
"ImportPath": "k8s.io/apimachinery/pkg/apis/meta/v1",
"Rev": "29ad778ed160b0a342405cda3afe6b892dae01e0"
"Rev": "423ba1054d2cd0bf9a466a87d8a775e8367d263a"
},
{
"ImportPath": "k8s.io/apimachinery/pkg/apis/meta/v1/unstructured",
"Rev": "29ad778ed160b0a342405cda3afe6b892dae01e0"
"Rev": "423ba1054d2cd0bf9a466a87d8a775e8367d263a"
},
{
"ImportPath": "k8s.io/apimachinery/pkg/apis/meta/v1alpha1",
"Rev": "29ad778ed160b0a342405cda3afe6b892dae01e0"
"Rev": "423ba1054d2cd0bf9a466a87d8a775e8367d263a"
},
{
"ImportPath": "k8s.io/apimachinery/pkg/conversion",
"Rev": "29ad778ed160b0a342405cda3afe6b892dae01e0"
"Rev": "423ba1054d2cd0bf9a466a87d8a775e8367d263a"
},
{
"ImportPath": "k8s.io/apimachinery/pkg/conversion/queryparams",
"Rev": "29ad778ed160b0a342405cda3afe6b892dae01e0"
"Rev": "423ba1054d2cd0bf9a466a87d8a775e8367d263a"
},
{
"ImportPath": "k8s.io/apimachinery/pkg/conversion/unstructured",
"Rev": "29ad778ed160b0a342405cda3afe6b892dae01e0"
"Rev": "423ba1054d2cd0bf9a466a87d8a775e8367d263a"
},
{
"ImportPath": "k8s.io/apimachinery/pkg/fields",
"Rev": "29ad778ed160b0a342405cda3afe6b892dae01e0"
"Rev": "423ba1054d2cd0bf9a466a87d8a775e8367d263a"
},
{
"ImportPath": "k8s.io/apimachinery/pkg/labels",
"Rev": "29ad778ed160b0a342405cda3afe6b892dae01e0"
"Rev": "423ba1054d2cd0bf9a466a87d8a775e8367d263a"
},
{
"ImportPath": "k8s.io/apimachinery/pkg/runtime",
"Rev": "29ad778ed160b0a342405cda3afe6b892dae01e0"
"Rev": "423ba1054d2cd0bf9a466a87d8a775e8367d263a"
},
{
"ImportPath": "k8s.io/apimachinery/pkg/runtime/schema",
"Rev": "29ad778ed160b0a342405cda3afe6b892dae01e0"
"Rev": "423ba1054d2cd0bf9a466a87d8a775e8367d263a"
},
{
"ImportPath": "k8s.io/apimachinery/pkg/runtime/serializer",
"Rev": "29ad778ed160b0a342405cda3afe6b892dae01e0"
"Rev": "423ba1054d2cd0bf9a466a87d8a775e8367d263a"
},
{
"ImportPath": "k8s.io/apimachinery/pkg/runtime/serializer/json",
"Rev": "29ad778ed160b0a342405cda3afe6b892dae01e0"
"Rev": "423ba1054d2cd0bf9a466a87d8a775e8367d263a"
},
{
"ImportPath": "k8s.io/apimachinery/pkg/runtime/serializer/protobuf",
"Rev": "29ad778ed160b0a342405cda3afe6b892dae01e0"
"Rev": "423ba1054d2cd0bf9a466a87d8a775e8367d263a"
},
{
"ImportPath": "k8s.io/apimachinery/pkg/runtime/serializer/recognizer",
"Rev": "29ad778ed160b0a342405cda3afe6b892dae01e0"
"Rev": "423ba1054d2cd0bf9a466a87d8a775e8367d263a"
},
{
"ImportPath": "k8s.io/apimachinery/pkg/runtime/serializer/streaming",
"Rev": "29ad778ed160b0a342405cda3afe6b892dae01e0"
"Rev": "423ba1054d2cd0bf9a466a87d8a775e8367d263a"
},
{
"ImportPath": "k8s.io/apimachinery/pkg/runtime/serializer/versioning",
"Rev": "29ad778ed160b0a342405cda3afe6b892dae01e0"
"Rev": "423ba1054d2cd0bf9a466a87d8a775e8367d263a"
},
{
"ImportPath": "k8s.io/apimachinery/pkg/selection",
"Rev": "29ad778ed160b0a342405cda3afe6b892dae01e0"
"Rev": "423ba1054d2cd0bf9a466a87d8a775e8367d263a"
},
{
"ImportPath": "k8s.io/apimachinery/pkg/types",
"Rev": "29ad778ed160b0a342405cda3afe6b892dae01e0"
"Rev": "423ba1054d2cd0bf9a466a87d8a775e8367d263a"
},
{
"ImportPath": "k8s.io/apimachinery/pkg/util/cache",
"Rev": "29ad778ed160b0a342405cda3afe6b892dae01e0"
"Rev": "423ba1054d2cd0bf9a466a87d8a775e8367d263a"
},
{
"ImportPath": "k8s.io/apimachinery/pkg/util/clock",
"Rev": "29ad778ed160b0a342405cda3afe6b892dae01e0"
"Rev": "423ba1054d2cd0bf9a466a87d8a775e8367d263a"
},
{
"ImportPath": "k8s.io/apimachinery/pkg/util/diff",
"Rev": "29ad778ed160b0a342405cda3afe6b892dae01e0"
"Rev": "423ba1054d2cd0bf9a466a87d8a775e8367d263a"
},
{
"ImportPath": "k8s.io/apimachinery/pkg/util/errors",
"Rev": "29ad778ed160b0a342405cda3afe6b892dae01e0"
"Rev": "423ba1054d2cd0bf9a466a87d8a775e8367d263a"
},
{
"ImportPath": "k8s.io/apimachinery/pkg/util/framer",
"Rev": "29ad778ed160b0a342405cda3afe6b892dae01e0"
"Rev": "423ba1054d2cd0bf9a466a87d8a775e8367d263a"
},
{
"ImportPath": "k8s.io/apimachinery/pkg/util/httpstream",
"Rev": "29ad778ed160b0a342405cda3afe6b892dae01e0"
"Rev": "423ba1054d2cd0bf9a466a87d8a775e8367d263a"
},
{
"ImportPath": "k8s.io/apimachinery/pkg/util/httpstream/spdy",
"Rev": "29ad778ed160b0a342405cda3afe6b892dae01e0"
"Rev": "423ba1054d2cd0bf9a466a87d8a775e8367d263a"
},
{
"ImportPath": "k8s.io/apimachinery/pkg/util/intstr",
"Rev": "29ad778ed160b0a342405cda3afe6b892dae01e0"
"Rev": "423ba1054d2cd0bf9a466a87d8a775e8367d263a"
},
{
"ImportPath": "k8s.io/apimachinery/pkg/util/json",
"Rev": "29ad778ed160b0a342405cda3afe6b892dae01e0"
"Rev": "423ba1054d2cd0bf9a466a87d8a775e8367d263a"
},
{
"ImportPath": "k8s.io/apimachinery/pkg/util/mergepatch",
"Rev": "29ad778ed160b0a342405cda3afe6b892dae01e0"
"Rev": "423ba1054d2cd0bf9a466a87d8a775e8367d263a"
},
{
"ImportPath": "k8s.io/apimachinery/pkg/util/net",
"Rev": "29ad778ed160b0a342405cda3afe6b892dae01e0"
"Rev": "423ba1054d2cd0bf9a466a87d8a775e8367d263a"
},
{
"ImportPath": "k8s.io/apimachinery/pkg/util/remotecommand",
"Rev": "29ad778ed160b0a342405cda3afe6b892dae01e0"
"Rev": "423ba1054d2cd0bf9a466a87d8a775e8367d263a"
},
{
"ImportPath": "k8s.io/apimachinery/pkg/util/runtime",
"Rev": "29ad778ed160b0a342405cda3afe6b892dae01e0"
"Rev": "423ba1054d2cd0bf9a466a87d8a775e8367d263a"
},
{
"ImportPath": "k8s.io/apimachinery/pkg/util/sets",
"Rev": "29ad778ed160b0a342405cda3afe6b892dae01e0"
"Rev": "423ba1054d2cd0bf9a466a87d8a775e8367d263a"
},
{
"ImportPath": "k8s.io/apimachinery/pkg/util/strategicpatch",
"Rev": "29ad778ed160b0a342405cda3afe6b892dae01e0"
"Rev": "423ba1054d2cd0bf9a466a87d8a775e8367d263a"
},
{
"ImportPath": "k8s.io/apimachinery/pkg/util/validation",
"Rev": "29ad778ed160b0a342405cda3afe6b892dae01e0"
"Rev": "423ba1054d2cd0bf9a466a87d8a775e8367d263a"
},
{
"ImportPath": "k8s.io/apimachinery/pkg/util/validation/field",
"Rev": "29ad778ed160b0a342405cda3afe6b892dae01e0"
"Rev": "423ba1054d2cd0bf9a466a87d8a775e8367d263a"
},
{
"ImportPath": "k8s.io/apimachinery/pkg/util/wait",
"Rev": "29ad778ed160b0a342405cda3afe6b892dae01e0"
"Rev": "423ba1054d2cd0bf9a466a87d8a775e8367d263a"
},
{
"ImportPath": "k8s.io/apimachinery/pkg/util/yaml",
"Rev": "29ad778ed160b0a342405cda3afe6b892dae01e0"
"Rev": "423ba1054d2cd0bf9a466a87d8a775e8367d263a"
},
{
"ImportPath": "k8s.io/apimachinery/pkg/version",
"Rev": "29ad778ed160b0a342405cda3afe6b892dae01e0"
"Rev": "423ba1054d2cd0bf9a466a87d8a775e8367d263a"
},
{
"ImportPath": "k8s.io/apimachinery/pkg/watch",
"Rev": "29ad778ed160b0a342405cda3afe6b892dae01e0"
"Rev": "423ba1054d2cd0bf9a466a87d8a775e8367d263a"
},
{
"ImportPath": "k8s.io/apimachinery/third_party/forked/golang/json",
"Rev": "29ad778ed160b0a342405cda3afe6b892dae01e0"
"Rev": "423ba1054d2cd0bf9a466a87d8a775e8367d263a"
},
{
"ImportPath": "k8s.io/apimachinery/third_party/forked/golang/netutil",
"Rev": "29ad778ed160b0a342405cda3afe6b892dae01e0"
"Rev": "423ba1054d2cd0bf9a466a87d8a775e8367d263a"
},
{
"ImportPath": "k8s.io/apimachinery/third_party/forked/golang/reflect",
"Rev": "29ad778ed160b0a342405cda3afe6b892dae01e0"
"Rev": "423ba1054d2cd0bf9a466a87d8a775e8367d263a"
},
{
"ImportPath": "k8s.io/kube-openapi/pkg/common",
"Rev": "61b46af70dfed79c6d24530cd23b41440a7f22a5"
"Rev": "39a7bf85c140f972372c2a0d1ee40adbf0c8bfe1"
}
]
}