Merge pull request #62657 from matthyx/master

Automatic merge from submit-queue. 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 all script shebangs to use /usr/bin/env interpreter instead of /bin/interpreter

This is required to support systems where bash doesn't reside in /bin (such as NixOS, or the *BSD family) and allow users to specify a different interpreter version through $PATH manipulation.
https://www.cyberciti.biz/tips/finding-bash-perl-python-portably-using-env.html
```release-note
Use /usr/bin/env in all script shebangs to increase portability.
```

Kubernetes-commit: b5f61ac129019d314e473584c1491b7ca62144c7
This commit is contained in:
Kubernetes Publisher 2018-05-02 19:44:32 -07:00
commit 69245a1d17
26 changed files with 252 additions and 345 deletions

380
Godeps/Godeps.json generated
View File

@ -156,763 +156,763 @@
}, },
{ {
"ImportPath": "k8s.io/api/admissionregistration/v1alpha1", "ImportPath": "k8s.io/api/admissionregistration/v1alpha1",
"Rev": "b39a8bdff32033fd1f645f17f1625f3b691124b6" "Rev": "b7d77fa220f5130ec63c2ca7167dd9653449c64d"
}, },
{ {
"ImportPath": "k8s.io/api/admissionregistration/v1beta1", "ImportPath": "k8s.io/api/admissionregistration/v1beta1",
"Rev": "b39a8bdff32033fd1f645f17f1625f3b691124b6" "Rev": "b7d77fa220f5130ec63c2ca7167dd9653449c64d"
}, },
{ {
"ImportPath": "k8s.io/api/apps/v1", "ImportPath": "k8s.io/api/apps/v1",
"Rev": "b39a8bdff32033fd1f645f17f1625f3b691124b6" "Rev": "b7d77fa220f5130ec63c2ca7167dd9653449c64d"
}, },
{ {
"ImportPath": "k8s.io/api/apps/v1beta1", "ImportPath": "k8s.io/api/apps/v1beta1",
"Rev": "b39a8bdff32033fd1f645f17f1625f3b691124b6" "Rev": "b7d77fa220f5130ec63c2ca7167dd9653449c64d"
}, },
{ {
"ImportPath": "k8s.io/api/apps/v1beta2", "ImportPath": "k8s.io/api/apps/v1beta2",
"Rev": "b39a8bdff32033fd1f645f17f1625f3b691124b6" "Rev": "b7d77fa220f5130ec63c2ca7167dd9653449c64d"
}, },
{ {
"ImportPath": "k8s.io/api/authentication/v1", "ImportPath": "k8s.io/api/authentication/v1",
"Rev": "b39a8bdff32033fd1f645f17f1625f3b691124b6" "Rev": "b7d77fa220f5130ec63c2ca7167dd9653449c64d"
}, },
{ {
"ImportPath": "k8s.io/api/authentication/v1beta1", "ImportPath": "k8s.io/api/authentication/v1beta1",
"Rev": "b39a8bdff32033fd1f645f17f1625f3b691124b6" "Rev": "b7d77fa220f5130ec63c2ca7167dd9653449c64d"
}, },
{ {
"ImportPath": "k8s.io/api/authorization/v1", "ImportPath": "k8s.io/api/authorization/v1",
"Rev": "b39a8bdff32033fd1f645f17f1625f3b691124b6" "Rev": "b7d77fa220f5130ec63c2ca7167dd9653449c64d"
}, },
{ {
"ImportPath": "k8s.io/api/authorization/v1beta1", "ImportPath": "k8s.io/api/authorization/v1beta1",
"Rev": "b39a8bdff32033fd1f645f17f1625f3b691124b6" "Rev": "b7d77fa220f5130ec63c2ca7167dd9653449c64d"
}, },
{ {
"ImportPath": "k8s.io/api/autoscaling/v1", "ImportPath": "k8s.io/api/autoscaling/v1",
"Rev": "b39a8bdff32033fd1f645f17f1625f3b691124b6" "Rev": "b7d77fa220f5130ec63c2ca7167dd9653449c64d"
}, },
{ {
"ImportPath": "k8s.io/api/autoscaling/v2beta1", "ImportPath": "k8s.io/api/autoscaling/v2beta1",
"Rev": "b39a8bdff32033fd1f645f17f1625f3b691124b6" "Rev": "b7d77fa220f5130ec63c2ca7167dd9653449c64d"
}, },
{ {
"ImportPath": "k8s.io/api/batch/v1", "ImportPath": "k8s.io/api/batch/v1",
"Rev": "b39a8bdff32033fd1f645f17f1625f3b691124b6" "Rev": "b7d77fa220f5130ec63c2ca7167dd9653449c64d"
}, },
{ {
"ImportPath": "k8s.io/api/batch/v1beta1", "ImportPath": "k8s.io/api/batch/v1beta1",
"Rev": "b39a8bdff32033fd1f645f17f1625f3b691124b6" "Rev": "b7d77fa220f5130ec63c2ca7167dd9653449c64d"
}, },
{ {
"ImportPath": "k8s.io/api/batch/v2alpha1", "ImportPath": "k8s.io/api/batch/v2alpha1",
"Rev": "b39a8bdff32033fd1f645f17f1625f3b691124b6" "Rev": "b7d77fa220f5130ec63c2ca7167dd9653449c64d"
}, },
{ {
"ImportPath": "k8s.io/api/certificates/v1beta1", "ImportPath": "k8s.io/api/certificates/v1beta1",
"Rev": "b39a8bdff32033fd1f645f17f1625f3b691124b6" "Rev": "b7d77fa220f5130ec63c2ca7167dd9653449c64d"
}, },
{ {
"ImportPath": "k8s.io/api/core/v1", "ImportPath": "k8s.io/api/core/v1",
"Rev": "b39a8bdff32033fd1f645f17f1625f3b691124b6" "Rev": "b7d77fa220f5130ec63c2ca7167dd9653449c64d"
}, },
{ {
"ImportPath": "k8s.io/api/events/v1beta1", "ImportPath": "k8s.io/api/events/v1beta1",
"Rev": "b39a8bdff32033fd1f645f17f1625f3b691124b6" "Rev": "b7d77fa220f5130ec63c2ca7167dd9653449c64d"
}, },
{ {
"ImportPath": "k8s.io/api/extensions/v1beta1", "ImportPath": "k8s.io/api/extensions/v1beta1",
"Rev": "b39a8bdff32033fd1f645f17f1625f3b691124b6" "Rev": "b7d77fa220f5130ec63c2ca7167dd9653449c64d"
}, },
{ {
"ImportPath": "k8s.io/api/networking/v1", "ImportPath": "k8s.io/api/networking/v1",
"Rev": "b39a8bdff32033fd1f645f17f1625f3b691124b6" "Rev": "b7d77fa220f5130ec63c2ca7167dd9653449c64d"
}, },
{ {
"ImportPath": "k8s.io/api/policy/v1beta1", "ImportPath": "k8s.io/api/policy/v1beta1",
"Rev": "b39a8bdff32033fd1f645f17f1625f3b691124b6" "Rev": "b7d77fa220f5130ec63c2ca7167dd9653449c64d"
}, },
{ {
"ImportPath": "k8s.io/api/rbac/v1", "ImportPath": "k8s.io/api/rbac/v1",
"Rev": "b39a8bdff32033fd1f645f17f1625f3b691124b6" "Rev": "b7d77fa220f5130ec63c2ca7167dd9653449c64d"
}, },
{ {
"ImportPath": "k8s.io/api/rbac/v1alpha1", "ImportPath": "k8s.io/api/rbac/v1alpha1",
"Rev": "b39a8bdff32033fd1f645f17f1625f3b691124b6" "Rev": "b7d77fa220f5130ec63c2ca7167dd9653449c64d"
}, },
{ {
"ImportPath": "k8s.io/api/rbac/v1beta1", "ImportPath": "k8s.io/api/rbac/v1beta1",
"Rev": "b39a8bdff32033fd1f645f17f1625f3b691124b6" "Rev": "b7d77fa220f5130ec63c2ca7167dd9653449c64d"
}, },
{ {
"ImportPath": "k8s.io/api/scheduling/v1alpha1", "ImportPath": "k8s.io/api/scheduling/v1alpha1",
"Rev": "b39a8bdff32033fd1f645f17f1625f3b691124b6" "Rev": "b7d77fa220f5130ec63c2ca7167dd9653449c64d"
}, },
{ {
"ImportPath": "k8s.io/api/settings/v1alpha1", "ImportPath": "k8s.io/api/settings/v1alpha1",
"Rev": "b39a8bdff32033fd1f645f17f1625f3b691124b6" "Rev": "b7d77fa220f5130ec63c2ca7167dd9653449c64d"
}, },
{ {
"ImportPath": "k8s.io/api/storage/v1", "ImportPath": "k8s.io/api/storage/v1",
"Rev": "b39a8bdff32033fd1f645f17f1625f3b691124b6" "Rev": "b7d77fa220f5130ec63c2ca7167dd9653449c64d"
}, },
{ {
"ImportPath": "k8s.io/api/storage/v1alpha1", "ImportPath": "k8s.io/api/storage/v1alpha1",
"Rev": "b39a8bdff32033fd1f645f17f1625f3b691124b6" "Rev": "b7d77fa220f5130ec63c2ca7167dd9653449c64d"
}, },
{ {
"ImportPath": "k8s.io/api/storage/v1beta1", "ImportPath": "k8s.io/api/storage/v1beta1",
"Rev": "b39a8bdff32033fd1f645f17f1625f3b691124b6" "Rev": "b7d77fa220f5130ec63c2ca7167dd9653449c64d"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/api/errors", "ImportPath": "k8s.io/apimachinery/pkg/api/errors",
"Rev": "6ad68b3c504c71a07c48328779d8b5aabe2e4dd9" "Rev": "6426d21f392c6d0e710af98bdfe6fb7334b3e11a"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/api/meta", "ImportPath": "k8s.io/apimachinery/pkg/api/meta",
"Rev": "6ad68b3c504c71a07c48328779d8b5aabe2e4dd9" "Rev": "6426d21f392c6d0e710af98bdfe6fb7334b3e11a"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/api/resource", "ImportPath": "k8s.io/apimachinery/pkg/api/resource",
"Rev": "6ad68b3c504c71a07c48328779d8b5aabe2e4dd9" "Rev": "6426d21f392c6d0e710af98bdfe6fb7334b3e11a"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/apis/meta/internalversion", "ImportPath": "k8s.io/apimachinery/pkg/apis/meta/internalversion",
"Rev": "6ad68b3c504c71a07c48328779d8b5aabe2e4dd9" "Rev": "6426d21f392c6d0e710af98bdfe6fb7334b3e11a"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/apis/meta/v1", "ImportPath": "k8s.io/apimachinery/pkg/apis/meta/v1",
"Rev": "6ad68b3c504c71a07c48328779d8b5aabe2e4dd9" "Rev": "6426d21f392c6d0e710af98bdfe6fb7334b3e11a"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/apis/meta/v1/unstructured", "ImportPath": "k8s.io/apimachinery/pkg/apis/meta/v1/unstructured",
"Rev": "6ad68b3c504c71a07c48328779d8b5aabe2e4dd9" "Rev": "6426d21f392c6d0e710af98bdfe6fb7334b3e11a"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/apis/meta/v1beta1", "ImportPath": "k8s.io/apimachinery/pkg/apis/meta/v1beta1",
"Rev": "6ad68b3c504c71a07c48328779d8b5aabe2e4dd9" "Rev": "6426d21f392c6d0e710af98bdfe6fb7334b3e11a"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/conversion", "ImportPath": "k8s.io/apimachinery/pkg/conversion",
"Rev": "6ad68b3c504c71a07c48328779d8b5aabe2e4dd9" "Rev": "6426d21f392c6d0e710af98bdfe6fb7334b3e11a"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/conversion/queryparams", "ImportPath": "k8s.io/apimachinery/pkg/conversion/queryparams",
"Rev": "6ad68b3c504c71a07c48328779d8b5aabe2e4dd9" "Rev": "6426d21f392c6d0e710af98bdfe6fb7334b3e11a"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/fields", "ImportPath": "k8s.io/apimachinery/pkg/fields",
"Rev": "6ad68b3c504c71a07c48328779d8b5aabe2e4dd9" "Rev": "6426d21f392c6d0e710af98bdfe6fb7334b3e11a"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/labels", "ImportPath": "k8s.io/apimachinery/pkg/labels",
"Rev": "6ad68b3c504c71a07c48328779d8b5aabe2e4dd9" "Rev": "6426d21f392c6d0e710af98bdfe6fb7334b3e11a"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/runtime", "ImportPath": "k8s.io/apimachinery/pkg/runtime",
"Rev": "6ad68b3c504c71a07c48328779d8b5aabe2e4dd9" "Rev": "6426d21f392c6d0e710af98bdfe6fb7334b3e11a"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/runtime/schema", "ImportPath": "k8s.io/apimachinery/pkg/runtime/schema",
"Rev": "6ad68b3c504c71a07c48328779d8b5aabe2e4dd9" "Rev": "6426d21f392c6d0e710af98bdfe6fb7334b3e11a"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/runtime/serializer", "ImportPath": "k8s.io/apimachinery/pkg/runtime/serializer",
"Rev": "6ad68b3c504c71a07c48328779d8b5aabe2e4dd9" "Rev": "6426d21f392c6d0e710af98bdfe6fb7334b3e11a"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/runtime/serializer/json", "ImportPath": "k8s.io/apimachinery/pkg/runtime/serializer/json",
"Rev": "6ad68b3c504c71a07c48328779d8b5aabe2e4dd9" "Rev": "6426d21f392c6d0e710af98bdfe6fb7334b3e11a"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/runtime/serializer/protobuf", "ImportPath": "k8s.io/apimachinery/pkg/runtime/serializer/protobuf",
"Rev": "6ad68b3c504c71a07c48328779d8b5aabe2e4dd9" "Rev": "6426d21f392c6d0e710af98bdfe6fb7334b3e11a"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/runtime/serializer/recognizer", "ImportPath": "k8s.io/apimachinery/pkg/runtime/serializer/recognizer",
"Rev": "6ad68b3c504c71a07c48328779d8b5aabe2e4dd9" "Rev": "6426d21f392c6d0e710af98bdfe6fb7334b3e11a"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/runtime/serializer/streaming", "ImportPath": "k8s.io/apimachinery/pkg/runtime/serializer/streaming",
"Rev": "6ad68b3c504c71a07c48328779d8b5aabe2e4dd9" "Rev": "6426d21f392c6d0e710af98bdfe6fb7334b3e11a"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/runtime/serializer/versioning", "ImportPath": "k8s.io/apimachinery/pkg/runtime/serializer/versioning",
"Rev": "6ad68b3c504c71a07c48328779d8b5aabe2e4dd9" "Rev": "6426d21f392c6d0e710af98bdfe6fb7334b3e11a"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/selection", "ImportPath": "k8s.io/apimachinery/pkg/selection",
"Rev": "6ad68b3c504c71a07c48328779d8b5aabe2e4dd9" "Rev": "6426d21f392c6d0e710af98bdfe6fb7334b3e11a"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/types", "ImportPath": "k8s.io/apimachinery/pkg/types",
"Rev": "6ad68b3c504c71a07c48328779d8b5aabe2e4dd9" "Rev": "6426d21f392c6d0e710af98bdfe6fb7334b3e11a"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/util/cache", "ImportPath": "k8s.io/apimachinery/pkg/util/cache",
"Rev": "6ad68b3c504c71a07c48328779d8b5aabe2e4dd9" "Rev": "6426d21f392c6d0e710af98bdfe6fb7334b3e11a"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/util/clock", "ImportPath": "k8s.io/apimachinery/pkg/util/clock",
"Rev": "6ad68b3c504c71a07c48328779d8b5aabe2e4dd9" "Rev": "6426d21f392c6d0e710af98bdfe6fb7334b3e11a"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/util/diff", "ImportPath": "k8s.io/apimachinery/pkg/util/diff",
"Rev": "6ad68b3c504c71a07c48328779d8b5aabe2e4dd9" "Rev": "6426d21f392c6d0e710af98bdfe6fb7334b3e11a"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/util/errors", "ImportPath": "k8s.io/apimachinery/pkg/util/errors",
"Rev": "6ad68b3c504c71a07c48328779d8b5aabe2e4dd9" "Rev": "6426d21f392c6d0e710af98bdfe6fb7334b3e11a"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/util/framer", "ImportPath": "k8s.io/apimachinery/pkg/util/framer",
"Rev": "6ad68b3c504c71a07c48328779d8b5aabe2e4dd9" "Rev": "6426d21f392c6d0e710af98bdfe6fb7334b3e11a"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/util/intstr", "ImportPath": "k8s.io/apimachinery/pkg/util/intstr",
"Rev": "6ad68b3c504c71a07c48328779d8b5aabe2e4dd9" "Rev": "6426d21f392c6d0e710af98bdfe6fb7334b3e11a"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/util/json", "ImportPath": "k8s.io/apimachinery/pkg/util/json",
"Rev": "6ad68b3c504c71a07c48328779d8b5aabe2e4dd9" "Rev": "6426d21f392c6d0e710af98bdfe6fb7334b3e11a"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/util/mergepatch", "ImportPath": "k8s.io/apimachinery/pkg/util/mergepatch",
"Rev": "6ad68b3c504c71a07c48328779d8b5aabe2e4dd9" "Rev": "6426d21f392c6d0e710af98bdfe6fb7334b3e11a"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/util/net", "ImportPath": "k8s.io/apimachinery/pkg/util/net",
"Rev": "6ad68b3c504c71a07c48328779d8b5aabe2e4dd9" "Rev": "6426d21f392c6d0e710af98bdfe6fb7334b3e11a"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/util/runtime", "ImportPath": "k8s.io/apimachinery/pkg/util/runtime",
"Rev": "6ad68b3c504c71a07c48328779d8b5aabe2e4dd9" "Rev": "6426d21f392c6d0e710af98bdfe6fb7334b3e11a"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/util/sets", "ImportPath": "k8s.io/apimachinery/pkg/util/sets",
"Rev": "6ad68b3c504c71a07c48328779d8b5aabe2e4dd9" "Rev": "6426d21f392c6d0e710af98bdfe6fb7334b3e11a"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/util/strategicpatch", "ImportPath": "k8s.io/apimachinery/pkg/util/strategicpatch",
"Rev": "6ad68b3c504c71a07c48328779d8b5aabe2e4dd9" "Rev": "6426d21f392c6d0e710af98bdfe6fb7334b3e11a"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/util/validation", "ImportPath": "k8s.io/apimachinery/pkg/util/validation",
"Rev": "6ad68b3c504c71a07c48328779d8b5aabe2e4dd9" "Rev": "6426d21f392c6d0e710af98bdfe6fb7334b3e11a"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/util/validation/field", "ImportPath": "k8s.io/apimachinery/pkg/util/validation/field",
"Rev": "6ad68b3c504c71a07c48328779d8b5aabe2e4dd9" "Rev": "6426d21f392c6d0e710af98bdfe6fb7334b3e11a"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/util/wait", "ImportPath": "k8s.io/apimachinery/pkg/util/wait",
"Rev": "6ad68b3c504c71a07c48328779d8b5aabe2e4dd9" "Rev": "6426d21f392c6d0e710af98bdfe6fb7334b3e11a"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/util/yaml", "ImportPath": "k8s.io/apimachinery/pkg/util/yaml",
"Rev": "6ad68b3c504c71a07c48328779d8b5aabe2e4dd9" "Rev": "6426d21f392c6d0e710af98bdfe6fb7334b3e11a"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/version", "ImportPath": "k8s.io/apimachinery/pkg/version",
"Rev": "6ad68b3c504c71a07c48328779d8b5aabe2e4dd9" "Rev": "6426d21f392c6d0e710af98bdfe6fb7334b3e11a"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/watch", "ImportPath": "k8s.io/apimachinery/pkg/watch",
"Rev": "6ad68b3c504c71a07c48328779d8b5aabe2e4dd9" "Rev": "6426d21f392c6d0e710af98bdfe6fb7334b3e11a"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/third_party/forked/golang/json", "ImportPath": "k8s.io/apimachinery/third_party/forked/golang/json",
"Rev": "6ad68b3c504c71a07c48328779d8b5aabe2e4dd9" "Rev": "6426d21f392c6d0e710af98bdfe6fb7334b3e11a"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/third_party/forked/golang/reflect", "ImportPath": "k8s.io/apimachinery/third_party/forked/golang/reflect",
"Rev": "6ad68b3c504c71a07c48328779d8b5aabe2e4dd9" "Rev": "6426d21f392c6d0e710af98bdfe6fb7334b3e11a"
}, },
{ {
"ImportPath": "k8s.io/client-go/discovery", "ImportPath": "k8s.io/client-go/discovery",
"Rev": "f0d11262904f0a1cd1d4b6120add0cf6523ba9d4" "Rev": "01d6a1350dd5c61a498fd3a5bdafd9151cac4e9a"
}, },
{ {
"ImportPath": "k8s.io/client-go/discovery/fake", "ImportPath": "k8s.io/client-go/discovery/fake",
"Rev": "f0d11262904f0a1cd1d4b6120add0cf6523ba9d4" "Rev": "01d6a1350dd5c61a498fd3a5bdafd9151cac4e9a"
}, },
{ {
"ImportPath": "k8s.io/client-go/informers", "ImportPath": "k8s.io/client-go/informers",
"Rev": "f0d11262904f0a1cd1d4b6120add0cf6523ba9d4" "Rev": "01d6a1350dd5c61a498fd3a5bdafd9151cac4e9a"
}, },
{ {
"ImportPath": "k8s.io/client-go/informers/admissionregistration", "ImportPath": "k8s.io/client-go/informers/admissionregistration",
"Rev": "f0d11262904f0a1cd1d4b6120add0cf6523ba9d4" "Rev": "01d6a1350dd5c61a498fd3a5bdafd9151cac4e9a"
}, },
{ {
"ImportPath": "k8s.io/client-go/informers/admissionregistration/v1alpha1", "ImportPath": "k8s.io/client-go/informers/admissionregistration/v1alpha1",
"Rev": "f0d11262904f0a1cd1d4b6120add0cf6523ba9d4" "Rev": "01d6a1350dd5c61a498fd3a5bdafd9151cac4e9a"
}, },
{ {
"ImportPath": "k8s.io/client-go/informers/admissionregistration/v1beta1", "ImportPath": "k8s.io/client-go/informers/admissionregistration/v1beta1",
"Rev": "f0d11262904f0a1cd1d4b6120add0cf6523ba9d4" "Rev": "01d6a1350dd5c61a498fd3a5bdafd9151cac4e9a"
}, },
{ {
"ImportPath": "k8s.io/client-go/informers/apps", "ImportPath": "k8s.io/client-go/informers/apps",
"Rev": "f0d11262904f0a1cd1d4b6120add0cf6523ba9d4" "Rev": "01d6a1350dd5c61a498fd3a5bdafd9151cac4e9a"
}, },
{ {
"ImportPath": "k8s.io/client-go/informers/apps/v1", "ImportPath": "k8s.io/client-go/informers/apps/v1",
"Rev": "f0d11262904f0a1cd1d4b6120add0cf6523ba9d4" "Rev": "01d6a1350dd5c61a498fd3a5bdafd9151cac4e9a"
}, },
{ {
"ImportPath": "k8s.io/client-go/informers/apps/v1beta1", "ImportPath": "k8s.io/client-go/informers/apps/v1beta1",
"Rev": "f0d11262904f0a1cd1d4b6120add0cf6523ba9d4" "Rev": "01d6a1350dd5c61a498fd3a5bdafd9151cac4e9a"
}, },
{ {
"ImportPath": "k8s.io/client-go/informers/apps/v1beta2", "ImportPath": "k8s.io/client-go/informers/apps/v1beta2",
"Rev": "f0d11262904f0a1cd1d4b6120add0cf6523ba9d4" "Rev": "01d6a1350dd5c61a498fd3a5bdafd9151cac4e9a"
}, },
{ {
"ImportPath": "k8s.io/client-go/informers/autoscaling", "ImportPath": "k8s.io/client-go/informers/autoscaling",
"Rev": "f0d11262904f0a1cd1d4b6120add0cf6523ba9d4" "Rev": "01d6a1350dd5c61a498fd3a5bdafd9151cac4e9a"
}, },
{ {
"ImportPath": "k8s.io/client-go/informers/autoscaling/v1", "ImportPath": "k8s.io/client-go/informers/autoscaling/v1",
"Rev": "f0d11262904f0a1cd1d4b6120add0cf6523ba9d4" "Rev": "01d6a1350dd5c61a498fd3a5bdafd9151cac4e9a"
}, },
{ {
"ImportPath": "k8s.io/client-go/informers/autoscaling/v2beta1", "ImportPath": "k8s.io/client-go/informers/autoscaling/v2beta1",
"Rev": "f0d11262904f0a1cd1d4b6120add0cf6523ba9d4" "Rev": "01d6a1350dd5c61a498fd3a5bdafd9151cac4e9a"
}, },
{ {
"ImportPath": "k8s.io/client-go/informers/batch", "ImportPath": "k8s.io/client-go/informers/batch",
"Rev": "f0d11262904f0a1cd1d4b6120add0cf6523ba9d4" "Rev": "01d6a1350dd5c61a498fd3a5bdafd9151cac4e9a"
}, },
{ {
"ImportPath": "k8s.io/client-go/informers/batch/v1", "ImportPath": "k8s.io/client-go/informers/batch/v1",
"Rev": "f0d11262904f0a1cd1d4b6120add0cf6523ba9d4" "Rev": "01d6a1350dd5c61a498fd3a5bdafd9151cac4e9a"
}, },
{ {
"ImportPath": "k8s.io/client-go/informers/batch/v1beta1", "ImportPath": "k8s.io/client-go/informers/batch/v1beta1",
"Rev": "f0d11262904f0a1cd1d4b6120add0cf6523ba9d4" "Rev": "01d6a1350dd5c61a498fd3a5bdafd9151cac4e9a"
}, },
{ {
"ImportPath": "k8s.io/client-go/informers/batch/v2alpha1", "ImportPath": "k8s.io/client-go/informers/batch/v2alpha1",
"Rev": "f0d11262904f0a1cd1d4b6120add0cf6523ba9d4" "Rev": "01d6a1350dd5c61a498fd3a5bdafd9151cac4e9a"
}, },
{ {
"ImportPath": "k8s.io/client-go/informers/certificates", "ImportPath": "k8s.io/client-go/informers/certificates",
"Rev": "f0d11262904f0a1cd1d4b6120add0cf6523ba9d4" "Rev": "01d6a1350dd5c61a498fd3a5bdafd9151cac4e9a"
}, },
{ {
"ImportPath": "k8s.io/client-go/informers/certificates/v1beta1", "ImportPath": "k8s.io/client-go/informers/certificates/v1beta1",
"Rev": "f0d11262904f0a1cd1d4b6120add0cf6523ba9d4" "Rev": "01d6a1350dd5c61a498fd3a5bdafd9151cac4e9a"
}, },
{ {
"ImportPath": "k8s.io/client-go/informers/core", "ImportPath": "k8s.io/client-go/informers/core",
"Rev": "f0d11262904f0a1cd1d4b6120add0cf6523ba9d4" "Rev": "01d6a1350dd5c61a498fd3a5bdafd9151cac4e9a"
}, },
{ {
"ImportPath": "k8s.io/client-go/informers/core/v1", "ImportPath": "k8s.io/client-go/informers/core/v1",
"Rev": "f0d11262904f0a1cd1d4b6120add0cf6523ba9d4" "Rev": "01d6a1350dd5c61a498fd3a5bdafd9151cac4e9a"
}, },
{ {
"ImportPath": "k8s.io/client-go/informers/events", "ImportPath": "k8s.io/client-go/informers/events",
"Rev": "f0d11262904f0a1cd1d4b6120add0cf6523ba9d4" "Rev": "01d6a1350dd5c61a498fd3a5bdafd9151cac4e9a"
}, },
{ {
"ImportPath": "k8s.io/client-go/informers/events/v1beta1", "ImportPath": "k8s.io/client-go/informers/events/v1beta1",
"Rev": "f0d11262904f0a1cd1d4b6120add0cf6523ba9d4" "Rev": "01d6a1350dd5c61a498fd3a5bdafd9151cac4e9a"
}, },
{ {
"ImportPath": "k8s.io/client-go/informers/extensions", "ImportPath": "k8s.io/client-go/informers/extensions",
"Rev": "f0d11262904f0a1cd1d4b6120add0cf6523ba9d4" "Rev": "01d6a1350dd5c61a498fd3a5bdafd9151cac4e9a"
}, },
{ {
"ImportPath": "k8s.io/client-go/informers/extensions/v1beta1", "ImportPath": "k8s.io/client-go/informers/extensions/v1beta1",
"Rev": "f0d11262904f0a1cd1d4b6120add0cf6523ba9d4" "Rev": "01d6a1350dd5c61a498fd3a5bdafd9151cac4e9a"
}, },
{ {
"ImportPath": "k8s.io/client-go/informers/internalinterfaces", "ImportPath": "k8s.io/client-go/informers/internalinterfaces",
"Rev": "f0d11262904f0a1cd1d4b6120add0cf6523ba9d4" "Rev": "01d6a1350dd5c61a498fd3a5bdafd9151cac4e9a"
}, },
{ {
"ImportPath": "k8s.io/client-go/informers/networking", "ImportPath": "k8s.io/client-go/informers/networking",
"Rev": "f0d11262904f0a1cd1d4b6120add0cf6523ba9d4" "Rev": "01d6a1350dd5c61a498fd3a5bdafd9151cac4e9a"
}, },
{ {
"ImportPath": "k8s.io/client-go/informers/networking/v1", "ImportPath": "k8s.io/client-go/informers/networking/v1",
"Rev": "f0d11262904f0a1cd1d4b6120add0cf6523ba9d4" "Rev": "01d6a1350dd5c61a498fd3a5bdafd9151cac4e9a"
}, },
{ {
"ImportPath": "k8s.io/client-go/informers/policy", "ImportPath": "k8s.io/client-go/informers/policy",
"Rev": "f0d11262904f0a1cd1d4b6120add0cf6523ba9d4" "Rev": "01d6a1350dd5c61a498fd3a5bdafd9151cac4e9a"
}, },
{ {
"ImportPath": "k8s.io/client-go/informers/policy/v1beta1", "ImportPath": "k8s.io/client-go/informers/policy/v1beta1",
"Rev": "f0d11262904f0a1cd1d4b6120add0cf6523ba9d4" "Rev": "01d6a1350dd5c61a498fd3a5bdafd9151cac4e9a"
}, },
{ {
"ImportPath": "k8s.io/client-go/informers/rbac", "ImportPath": "k8s.io/client-go/informers/rbac",
"Rev": "f0d11262904f0a1cd1d4b6120add0cf6523ba9d4" "Rev": "01d6a1350dd5c61a498fd3a5bdafd9151cac4e9a"
}, },
{ {
"ImportPath": "k8s.io/client-go/informers/rbac/v1", "ImportPath": "k8s.io/client-go/informers/rbac/v1",
"Rev": "f0d11262904f0a1cd1d4b6120add0cf6523ba9d4" "Rev": "01d6a1350dd5c61a498fd3a5bdafd9151cac4e9a"
}, },
{ {
"ImportPath": "k8s.io/client-go/informers/rbac/v1alpha1", "ImportPath": "k8s.io/client-go/informers/rbac/v1alpha1",
"Rev": "f0d11262904f0a1cd1d4b6120add0cf6523ba9d4" "Rev": "01d6a1350dd5c61a498fd3a5bdafd9151cac4e9a"
}, },
{ {
"ImportPath": "k8s.io/client-go/informers/rbac/v1beta1", "ImportPath": "k8s.io/client-go/informers/rbac/v1beta1",
"Rev": "f0d11262904f0a1cd1d4b6120add0cf6523ba9d4" "Rev": "01d6a1350dd5c61a498fd3a5bdafd9151cac4e9a"
}, },
{ {
"ImportPath": "k8s.io/client-go/informers/scheduling", "ImportPath": "k8s.io/client-go/informers/scheduling",
"Rev": "f0d11262904f0a1cd1d4b6120add0cf6523ba9d4" "Rev": "01d6a1350dd5c61a498fd3a5bdafd9151cac4e9a"
}, },
{ {
"ImportPath": "k8s.io/client-go/informers/scheduling/v1alpha1", "ImportPath": "k8s.io/client-go/informers/scheduling/v1alpha1",
"Rev": "f0d11262904f0a1cd1d4b6120add0cf6523ba9d4" "Rev": "01d6a1350dd5c61a498fd3a5bdafd9151cac4e9a"
}, },
{ {
"ImportPath": "k8s.io/client-go/informers/settings", "ImportPath": "k8s.io/client-go/informers/settings",
"Rev": "f0d11262904f0a1cd1d4b6120add0cf6523ba9d4" "Rev": "01d6a1350dd5c61a498fd3a5bdafd9151cac4e9a"
}, },
{ {
"ImportPath": "k8s.io/client-go/informers/settings/v1alpha1", "ImportPath": "k8s.io/client-go/informers/settings/v1alpha1",
"Rev": "f0d11262904f0a1cd1d4b6120add0cf6523ba9d4" "Rev": "01d6a1350dd5c61a498fd3a5bdafd9151cac4e9a"
}, },
{ {
"ImportPath": "k8s.io/client-go/informers/storage", "ImportPath": "k8s.io/client-go/informers/storage",
"Rev": "f0d11262904f0a1cd1d4b6120add0cf6523ba9d4" "Rev": "01d6a1350dd5c61a498fd3a5bdafd9151cac4e9a"
}, },
{ {
"ImportPath": "k8s.io/client-go/informers/storage/v1", "ImportPath": "k8s.io/client-go/informers/storage/v1",
"Rev": "f0d11262904f0a1cd1d4b6120add0cf6523ba9d4" "Rev": "01d6a1350dd5c61a498fd3a5bdafd9151cac4e9a"
}, },
{ {
"ImportPath": "k8s.io/client-go/informers/storage/v1alpha1", "ImportPath": "k8s.io/client-go/informers/storage/v1alpha1",
"Rev": "f0d11262904f0a1cd1d4b6120add0cf6523ba9d4" "Rev": "01d6a1350dd5c61a498fd3a5bdafd9151cac4e9a"
}, },
{ {
"ImportPath": "k8s.io/client-go/informers/storage/v1beta1", "ImportPath": "k8s.io/client-go/informers/storage/v1beta1",
"Rev": "f0d11262904f0a1cd1d4b6120add0cf6523ba9d4" "Rev": "01d6a1350dd5c61a498fd3a5bdafd9151cac4e9a"
}, },
{ {
"ImportPath": "k8s.io/client-go/kubernetes", "ImportPath": "k8s.io/client-go/kubernetes",
"Rev": "f0d11262904f0a1cd1d4b6120add0cf6523ba9d4" "Rev": "01d6a1350dd5c61a498fd3a5bdafd9151cac4e9a"
}, },
{ {
"ImportPath": "k8s.io/client-go/kubernetes/scheme", "ImportPath": "k8s.io/client-go/kubernetes/scheme",
"Rev": "f0d11262904f0a1cd1d4b6120add0cf6523ba9d4" "Rev": "01d6a1350dd5c61a498fd3a5bdafd9151cac4e9a"
}, },
{ {
"ImportPath": "k8s.io/client-go/kubernetes/typed/admissionregistration/v1alpha1", "ImportPath": "k8s.io/client-go/kubernetes/typed/admissionregistration/v1alpha1",
"Rev": "f0d11262904f0a1cd1d4b6120add0cf6523ba9d4" "Rev": "01d6a1350dd5c61a498fd3a5bdafd9151cac4e9a"
}, },
{ {
"ImportPath": "k8s.io/client-go/kubernetes/typed/admissionregistration/v1beta1", "ImportPath": "k8s.io/client-go/kubernetes/typed/admissionregistration/v1beta1",
"Rev": "f0d11262904f0a1cd1d4b6120add0cf6523ba9d4" "Rev": "01d6a1350dd5c61a498fd3a5bdafd9151cac4e9a"
}, },
{ {
"ImportPath": "k8s.io/client-go/kubernetes/typed/apps/v1", "ImportPath": "k8s.io/client-go/kubernetes/typed/apps/v1",
"Rev": "f0d11262904f0a1cd1d4b6120add0cf6523ba9d4" "Rev": "01d6a1350dd5c61a498fd3a5bdafd9151cac4e9a"
}, },
{ {
"ImportPath": "k8s.io/client-go/kubernetes/typed/apps/v1beta1", "ImportPath": "k8s.io/client-go/kubernetes/typed/apps/v1beta1",
"Rev": "f0d11262904f0a1cd1d4b6120add0cf6523ba9d4" "Rev": "01d6a1350dd5c61a498fd3a5bdafd9151cac4e9a"
}, },
{ {
"ImportPath": "k8s.io/client-go/kubernetes/typed/apps/v1beta2", "ImportPath": "k8s.io/client-go/kubernetes/typed/apps/v1beta2",
"Rev": "f0d11262904f0a1cd1d4b6120add0cf6523ba9d4" "Rev": "01d6a1350dd5c61a498fd3a5bdafd9151cac4e9a"
}, },
{ {
"ImportPath": "k8s.io/client-go/kubernetes/typed/authentication/v1", "ImportPath": "k8s.io/client-go/kubernetes/typed/authentication/v1",
"Rev": "f0d11262904f0a1cd1d4b6120add0cf6523ba9d4" "Rev": "01d6a1350dd5c61a498fd3a5bdafd9151cac4e9a"
}, },
{ {
"ImportPath": "k8s.io/client-go/kubernetes/typed/authentication/v1beta1", "ImportPath": "k8s.io/client-go/kubernetes/typed/authentication/v1beta1",
"Rev": "f0d11262904f0a1cd1d4b6120add0cf6523ba9d4" "Rev": "01d6a1350dd5c61a498fd3a5bdafd9151cac4e9a"
}, },
{ {
"ImportPath": "k8s.io/client-go/kubernetes/typed/authorization/v1", "ImportPath": "k8s.io/client-go/kubernetes/typed/authorization/v1",
"Rev": "f0d11262904f0a1cd1d4b6120add0cf6523ba9d4" "Rev": "01d6a1350dd5c61a498fd3a5bdafd9151cac4e9a"
}, },
{ {
"ImportPath": "k8s.io/client-go/kubernetes/typed/authorization/v1beta1", "ImportPath": "k8s.io/client-go/kubernetes/typed/authorization/v1beta1",
"Rev": "f0d11262904f0a1cd1d4b6120add0cf6523ba9d4" "Rev": "01d6a1350dd5c61a498fd3a5bdafd9151cac4e9a"
}, },
{ {
"ImportPath": "k8s.io/client-go/kubernetes/typed/autoscaling/v1", "ImportPath": "k8s.io/client-go/kubernetes/typed/autoscaling/v1",
"Rev": "f0d11262904f0a1cd1d4b6120add0cf6523ba9d4" "Rev": "01d6a1350dd5c61a498fd3a5bdafd9151cac4e9a"
}, },
{ {
"ImportPath": "k8s.io/client-go/kubernetes/typed/autoscaling/v2beta1", "ImportPath": "k8s.io/client-go/kubernetes/typed/autoscaling/v2beta1",
"Rev": "f0d11262904f0a1cd1d4b6120add0cf6523ba9d4" "Rev": "01d6a1350dd5c61a498fd3a5bdafd9151cac4e9a"
}, },
{ {
"ImportPath": "k8s.io/client-go/kubernetes/typed/batch/v1", "ImportPath": "k8s.io/client-go/kubernetes/typed/batch/v1",
"Rev": "f0d11262904f0a1cd1d4b6120add0cf6523ba9d4" "Rev": "01d6a1350dd5c61a498fd3a5bdafd9151cac4e9a"
}, },
{ {
"ImportPath": "k8s.io/client-go/kubernetes/typed/batch/v1beta1", "ImportPath": "k8s.io/client-go/kubernetes/typed/batch/v1beta1",
"Rev": "f0d11262904f0a1cd1d4b6120add0cf6523ba9d4" "Rev": "01d6a1350dd5c61a498fd3a5bdafd9151cac4e9a"
}, },
{ {
"ImportPath": "k8s.io/client-go/kubernetes/typed/batch/v2alpha1", "ImportPath": "k8s.io/client-go/kubernetes/typed/batch/v2alpha1",
"Rev": "f0d11262904f0a1cd1d4b6120add0cf6523ba9d4" "Rev": "01d6a1350dd5c61a498fd3a5bdafd9151cac4e9a"
}, },
{ {
"ImportPath": "k8s.io/client-go/kubernetes/typed/certificates/v1beta1", "ImportPath": "k8s.io/client-go/kubernetes/typed/certificates/v1beta1",
"Rev": "f0d11262904f0a1cd1d4b6120add0cf6523ba9d4" "Rev": "01d6a1350dd5c61a498fd3a5bdafd9151cac4e9a"
}, },
{ {
"ImportPath": "k8s.io/client-go/kubernetes/typed/core/v1", "ImportPath": "k8s.io/client-go/kubernetes/typed/core/v1",
"Rev": "f0d11262904f0a1cd1d4b6120add0cf6523ba9d4" "Rev": "01d6a1350dd5c61a498fd3a5bdafd9151cac4e9a"
}, },
{ {
"ImportPath": "k8s.io/client-go/kubernetes/typed/events/v1beta1", "ImportPath": "k8s.io/client-go/kubernetes/typed/events/v1beta1",
"Rev": "f0d11262904f0a1cd1d4b6120add0cf6523ba9d4" "Rev": "01d6a1350dd5c61a498fd3a5bdafd9151cac4e9a"
}, },
{ {
"ImportPath": "k8s.io/client-go/kubernetes/typed/extensions/v1beta1", "ImportPath": "k8s.io/client-go/kubernetes/typed/extensions/v1beta1",
"Rev": "f0d11262904f0a1cd1d4b6120add0cf6523ba9d4" "Rev": "01d6a1350dd5c61a498fd3a5bdafd9151cac4e9a"
}, },
{ {
"ImportPath": "k8s.io/client-go/kubernetes/typed/networking/v1", "ImportPath": "k8s.io/client-go/kubernetes/typed/networking/v1",
"Rev": "f0d11262904f0a1cd1d4b6120add0cf6523ba9d4" "Rev": "01d6a1350dd5c61a498fd3a5bdafd9151cac4e9a"
}, },
{ {
"ImportPath": "k8s.io/client-go/kubernetes/typed/policy/v1beta1", "ImportPath": "k8s.io/client-go/kubernetes/typed/policy/v1beta1",
"Rev": "f0d11262904f0a1cd1d4b6120add0cf6523ba9d4" "Rev": "01d6a1350dd5c61a498fd3a5bdafd9151cac4e9a"
}, },
{ {
"ImportPath": "k8s.io/client-go/kubernetes/typed/rbac/v1", "ImportPath": "k8s.io/client-go/kubernetes/typed/rbac/v1",
"Rev": "f0d11262904f0a1cd1d4b6120add0cf6523ba9d4" "Rev": "01d6a1350dd5c61a498fd3a5bdafd9151cac4e9a"
}, },
{ {
"ImportPath": "k8s.io/client-go/kubernetes/typed/rbac/v1alpha1", "ImportPath": "k8s.io/client-go/kubernetes/typed/rbac/v1alpha1",
"Rev": "f0d11262904f0a1cd1d4b6120add0cf6523ba9d4" "Rev": "01d6a1350dd5c61a498fd3a5bdafd9151cac4e9a"
}, },
{ {
"ImportPath": "k8s.io/client-go/kubernetes/typed/rbac/v1beta1", "ImportPath": "k8s.io/client-go/kubernetes/typed/rbac/v1beta1",
"Rev": "f0d11262904f0a1cd1d4b6120add0cf6523ba9d4" "Rev": "01d6a1350dd5c61a498fd3a5bdafd9151cac4e9a"
}, },
{ {
"ImportPath": "k8s.io/client-go/kubernetes/typed/scheduling/v1alpha1", "ImportPath": "k8s.io/client-go/kubernetes/typed/scheduling/v1alpha1",
"Rev": "f0d11262904f0a1cd1d4b6120add0cf6523ba9d4" "Rev": "01d6a1350dd5c61a498fd3a5bdafd9151cac4e9a"
}, },
{ {
"ImportPath": "k8s.io/client-go/kubernetes/typed/settings/v1alpha1", "ImportPath": "k8s.io/client-go/kubernetes/typed/settings/v1alpha1",
"Rev": "f0d11262904f0a1cd1d4b6120add0cf6523ba9d4" "Rev": "01d6a1350dd5c61a498fd3a5bdafd9151cac4e9a"
}, },
{ {
"ImportPath": "k8s.io/client-go/kubernetes/typed/storage/v1", "ImportPath": "k8s.io/client-go/kubernetes/typed/storage/v1",
"Rev": "f0d11262904f0a1cd1d4b6120add0cf6523ba9d4" "Rev": "01d6a1350dd5c61a498fd3a5bdafd9151cac4e9a"
}, },
{ {
"ImportPath": "k8s.io/client-go/kubernetes/typed/storage/v1alpha1", "ImportPath": "k8s.io/client-go/kubernetes/typed/storage/v1alpha1",
"Rev": "f0d11262904f0a1cd1d4b6120add0cf6523ba9d4" "Rev": "01d6a1350dd5c61a498fd3a5bdafd9151cac4e9a"
}, },
{ {
"ImportPath": "k8s.io/client-go/kubernetes/typed/storage/v1beta1", "ImportPath": "k8s.io/client-go/kubernetes/typed/storage/v1beta1",
"Rev": "f0d11262904f0a1cd1d4b6120add0cf6523ba9d4" "Rev": "01d6a1350dd5c61a498fd3a5bdafd9151cac4e9a"
}, },
{ {
"ImportPath": "k8s.io/client-go/listers/admissionregistration/v1alpha1", "ImportPath": "k8s.io/client-go/listers/admissionregistration/v1alpha1",
"Rev": "f0d11262904f0a1cd1d4b6120add0cf6523ba9d4" "Rev": "01d6a1350dd5c61a498fd3a5bdafd9151cac4e9a"
}, },
{ {
"ImportPath": "k8s.io/client-go/listers/admissionregistration/v1beta1", "ImportPath": "k8s.io/client-go/listers/admissionregistration/v1beta1",
"Rev": "f0d11262904f0a1cd1d4b6120add0cf6523ba9d4" "Rev": "01d6a1350dd5c61a498fd3a5bdafd9151cac4e9a"
}, },
{ {
"ImportPath": "k8s.io/client-go/listers/apps/v1", "ImportPath": "k8s.io/client-go/listers/apps/v1",
"Rev": "f0d11262904f0a1cd1d4b6120add0cf6523ba9d4" "Rev": "01d6a1350dd5c61a498fd3a5bdafd9151cac4e9a"
}, },
{ {
"ImportPath": "k8s.io/client-go/listers/apps/v1beta1", "ImportPath": "k8s.io/client-go/listers/apps/v1beta1",
"Rev": "f0d11262904f0a1cd1d4b6120add0cf6523ba9d4" "Rev": "01d6a1350dd5c61a498fd3a5bdafd9151cac4e9a"
}, },
{ {
"ImportPath": "k8s.io/client-go/listers/apps/v1beta2", "ImportPath": "k8s.io/client-go/listers/apps/v1beta2",
"Rev": "f0d11262904f0a1cd1d4b6120add0cf6523ba9d4" "Rev": "01d6a1350dd5c61a498fd3a5bdafd9151cac4e9a"
}, },
{ {
"ImportPath": "k8s.io/client-go/listers/autoscaling/v1", "ImportPath": "k8s.io/client-go/listers/autoscaling/v1",
"Rev": "f0d11262904f0a1cd1d4b6120add0cf6523ba9d4" "Rev": "01d6a1350dd5c61a498fd3a5bdafd9151cac4e9a"
}, },
{ {
"ImportPath": "k8s.io/client-go/listers/autoscaling/v2beta1", "ImportPath": "k8s.io/client-go/listers/autoscaling/v2beta1",
"Rev": "f0d11262904f0a1cd1d4b6120add0cf6523ba9d4" "Rev": "01d6a1350dd5c61a498fd3a5bdafd9151cac4e9a"
}, },
{ {
"ImportPath": "k8s.io/client-go/listers/batch/v1", "ImportPath": "k8s.io/client-go/listers/batch/v1",
"Rev": "f0d11262904f0a1cd1d4b6120add0cf6523ba9d4" "Rev": "01d6a1350dd5c61a498fd3a5bdafd9151cac4e9a"
}, },
{ {
"ImportPath": "k8s.io/client-go/listers/batch/v1beta1", "ImportPath": "k8s.io/client-go/listers/batch/v1beta1",
"Rev": "f0d11262904f0a1cd1d4b6120add0cf6523ba9d4" "Rev": "01d6a1350dd5c61a498fd3a5bdafd9151cac4e9a"
}, },
{ {
"ImportPath": "k8s.io/client-go/listers/batch/v2alpha1", "ImportPath": "k8s.io/client-go/listers/batch/v2alpha1",
"Rev": "f0d11262904f0a1cd1d4b6120add0cf6523ba9d4" "Rev": "01d6a1350dd5c61a498fd3a5bdafd9151cac4e9a"
}, },
{ {
"ImportPath": "k8s.io/client-go/listers/certificates/v1beta1", "ImportPath": "k8s.io/client-go/listers/certificates/v1beta1",
"Rev": "f0d11262904f0a1cd1d4b6120add0cf6523ba9d4" "Rev": "01d6a1350dd5c61a498fd3a5bdafd9151cac4e9a"
}, },
{ {
"ImportPath": "k8s.io/client-go/listers/core/v1", "ImportPath": "k8s.io/client-go/listers/core/v1",
"Rev": "f0d11262904f0a1cd1d4b6120add0cf6523ba9d4" "Rev": "01d6a1350dd5c61a498fd3a5bdafd9151cac4e9a"
}, },
{ {
"ImportPath": "k8s.io/client-go/listers/events/v1beta1", "ImportPath": "k8s.io/client-go/listers/events/v1beta1",
"Rev": "f0d11262904f0a1cd1d4b6120add0cf6523ba9d4" "Rev": "01d6a1350dd5c61a498fd3a5bdafd9151cac4e9a"
}, },
{ {
"ImportPath": "k8s.io/client-go/listers/extensions/v1beta1", "ImportPath": "k8s.io/client-go/listers/extensions/v1beta1",
"Rev": "f0d11262904f0a1cd1d4b6120add0cf6523ba9d4" "Rev": "01d6a1350dd5c61a498fd3a5bdafd9151cac4e9a"
}, },
{ {
"ImportPath": "k8s.io/client-go/listers/networking/v1", "ImportPath": "k8s.io/client-go/listers/networking/v1",
"Rev": "f0d11262904f0a1cd1d4b6120add0cf6523ba9d4" "Rev": "01d6a1350dd5c61a498fd3a5bdafd9151cac4e9a"
}, },
{ {
"ImportPath": "k8s.io/client-go/listers/policy/v1beta1", "ImportPath": "k8s.io/client-go/listers/policy/v1beta1",
"Rev": "f0d11262904f0a1cd1d4b6120add0cf6523ba9d4" "Rev": "01d6a1350dd5c61a498fd3a5bdafd9151cac4e9a"
}, },
{ {
"ImportPath": "k8s.io/client-go/listers/rbac/v1", "ImportPath": "k8s.io/client-go/listers/rbac/v1",
"Rev": "f0d11262904f0a1cd1d4b6120add0cf6523ba9d4" "Rev": "01d6a1350dd5c61a498fd3a5bdafd9151cac4e9a"
}, },
{ {
"ImportPath": "k8s.io/client-go/listers/rbac/v1alpha1", "ImportPath": "k8s.io/client-go/listers/rbac/v1alpha1",
"Rev": "f0d11262904f0a1cd1d4b6120add0cf6523ba9d4" "Rev": "01d6a1350dd5c61a498fd3a5bdafd9151cac4e9a"
}, },
{ {
"ImportPath": "k8s.io/client-go/listers/rbac/v1beta1", "ImportPath": "k8s.io/client-go/listers/rbac/v1beta1",
"Rev": "f0d11262904f0a1cd1d4b6120add0cf6523ba9d4" "Rev": "01d6a1350dd5c61a498fd3a5bdafd9151cac4e9a"
}, },
{ {
"ImportPath": "k8s.io/client-go/listers/scheduling/v1alpha1", "ImportPath": "k8s.io/client-go/listers/scheduling/v1alpha1",
"Rev": "f0d11262904f0a1cd1d4b6120add0cf6523ba9d4" "Rev": "01d6a1350dd5c61a498fd3a5bdafd9151cac4e9a"
}, },
{ {
"ImportPath": "k8s.io/client-go/listers/settings/v1alpha1", "ImportPath": "k8s.io/client-go/listers/settings/v1alpha1",
"Rev": "f0d11262904f0a1cd1d4b6120add0cf6523ba9d4" "Rev": "01d6a1350dd5c61a498fd3a5bdafd9151cac4e9a"
}, },
{ {
"ImportPath": "k8s.io/client-go/listers/storage/v1", "ImportPath": "k8s.io/client-go/listers/storage/v1",
"Rev": "f0d11262904f0a1cd1d4b6120add0cf6523ba9d4" "Rev": "01d6a1350dd5c61a498fd3a5bdafd9151cac4e9a"
}, },
{ {
"ImportPath": "k8s.io/client-go/listers/storage/v1alpha1", "ImportPath": "k8s.io/client-go/listers/storage/v1alpha1",
"Rev": "f0d11262904f0a1cd1d4b6120add0cf6523ba9d4" "Rev": "01d6a1350dd5c61a498fd3a5bdafd9151cac4e9a"
}, },
{ {
"ImportPath": "k8s.io/client-go/listers/storage/v1beta1", "ImportPath": "k8s.io/client-go/listers/storage/v1beta1",
"Rev": "f0d11262904f0a1cd1d4b6120add0cf6523ba9d4" "Rev": "01d6a1350dd5c61a498fd3a5bdafd9151cac4e9a"
}, },
{ {
"ImportPath": "k8s.io/client-go/pkg/apis/clientauthentication", "ImportPath": "k8s.io/client-go/pkg/apis/clientauthentication",
"Rev": "f0d11262904f0a1cd1d4b6120add0cf6523ba9d4" "Rev": "01d6a1350dd5c61a498fd3a5bdafd9151cac4e9a"
}, },
{ {
"ImportPath": "k8s.io/client-go/pkg/apis/clientauthentication/v1alpha1", "ImportPath": "k8s.io/client-go/pkg/apis/clientauthentication/v1alpha1",
"Rev": "f0d11262904f0a1cd1d4b6120add0cf6523ba9d4" "Rev": "01d6a1350dd5c61a498fd3a5bdafd9151cac4e9a"
}, },
{ {
"ImportPath": "k8s.io/client-go/pkg/version", "ImportPath": "k8s.io/client-go/pkg/version",
"Rev": "f0d11262904f0a1cd1d4b6120add0cf6523ba9d4" "Rev": "01d6a1350dd5c61a498fd3a5bdafd9151cac4e9a"
}, },
{ {
"ImportPath": "k8s.io/client-go/plugin/pkg/client/auth/exec", "ImportPath": "k8s.io/client-go/plugin/pkg/client/auth/exec",
"Rev": "f0d11262904f0a1cd1d4b6120add0cf6523ba9d4" "Rev": "01d6a1350dd5c61a498fd3a5bdafd9151cac4e9a"
}, },
{ {
"ImportPath": "k8s.io/client-go/rest", "ImportPath": "k8s.io/client-go/rest",
"Rev": "f0d11262904f0a1cd1d4b6120add0cf6523ba9d4" "Rev": "01d6a1350dd5c61a498fd3a5bdafd9151cac4e9a"
}, },
{ {
"ImportPath": "k8s.io/client-go/rest/watch", "ImportPath": "k8s.io/client-go/rest/watch",
"Rev": "f0d11262904f0a1cd1d4b6120add0cf6523ba9d4" "Rev": "01d6a1350dd5c61a498fd3a5bdafd9151cac4e9a"
}, },
{ {
"ImportPath": "k8s.io/client-go/testing", "ImportPath": "k8s.io/client-go/testing",
"Rev": "f0d11262904f0a1cd1d4b6120add0cf6523ba9d4" "Rev": "01d6a1350dd5c61a498fd3a5bdafd9151cac4e9a"
}, },
{ {
"ImportPath": "k8s.io/client-go/tools/auth", "ImportPath": "k8s.io/client-go/tools/auth",
"Rev": "f0d11262904f0a1cd1d4b6120add0cf6523ba9d4" "Rev": "01d6a1350dd5c61a498fd3a5bdafd9151cac4e9a"
}, },
{ {
"ImportPath": "k8s.io/client-go/tools/cache", "ImportPath": "k8s.io/client-go/tools/cache",
"Rev": "f0d11262904f0a1cd1d4b6120add0cf6523ba9d4" "Rev": "01d6a1350dd5c61a498fd3a5bdafd9151cac4e9a"
}, },
{ {
"ImportPath": "k8s.io/client-go/tools/clientcmd", "ImportPath": "k8s.io/client-go/tools/clientcmd",
"Rev": "f0d11262904f0a1cd1d4b6120add0cf6523ba9d4" "Rev": "01d6a1350dd5c61a498fd3a5bdafd9151cac4e9a"
}, },
{ {
"ImportPath": "k8s.io/client-go/tools/clientcmd/api", "ImportPath": "k8s.io/client-go/tools/clientcmd/api",
"Rev": "f0d11262904f0a1cd1d4b6120add0cf6523ba9d4" "Rev": "01d6a1350dd5c61a498fd3a5bdafd9151cac4e9a"
}, },
{ {
"ImportPath": "k8s.io/client-go/tools/clientcmd/api/latest", "ImportPath": "k8s.io/client-go/tools/clientcmd/api/latest",
"Rev": "f0d11262904f0a1cd1d4b6120add0cf6523ba9d4" "Rev": "01d6a1350dd5c61a498fd3a5bdafd9151cac4e9a"
}, },
{ {
"ImportPath": "k8s.io/client-go/tools/clientcmd/api/v1", "ImportPath": "k8s.io/client-go/tools/clientcmd/api/v1",
"Rev": "f0d11262904f0a1cd1d4b6120add0cf6523ba9d4" "Rev": "01d6a1350dd5c61a498fd3a5bdafd9151cac4e9a"
}, },
{ {
"ImportPath": "k8s.io/client-go/tools/metrics", "ImportPath": "k8s.io/client-go/tools/metrics",
"Rev": "f0d11262904f0a1cd1d4b6120add0cf6523ba9d4" "Rev": "01d6a1350dd5c61a498fd3a5bdafd9151cac4e9a"
}, },
{ {
"ImportPath": "k8s.io/client-go/tools/pager", "ImportPath": "k8s.io/client-go/tools/pager",
"Rev": "f0d11262904f0a1cd1d4b6120add0cf6523ba9d4" "Rev": "01d6a1350dd5c61a498fd3a5bdafd9151cac4e9a"
}, },
{ {
"ImportPath": "k8s.io/client-go/tools/record", "ImportPath": "k8s.io/client-go/tools/record",
"Rev": "f0d11262904f0a1cd1d4b6120add0cf6523ba9d4" "Rev": "01d6a1350dd5c61a498fd3a5bdafd9151cac4e9a"
}, },
{ {
"ImportPath": "k8s.io/client-go/tools/reference", "ImportPath": "k8s.io/client-go/tools/reference",
"Rev": "f0d11262904f0a1cd1d4b6120add0cf6523ba9d4" "Rev": "01d6a1350dd5c61a498fd3a5bdafd9151cac4e9a"
}, },
{ {
"ImportPath": "k8s.io/client-go/transport", "ImportPath": "k8s.io/client-go/transport",
"Rev": "f0d11262904f0a1cd1d4b6120add0cf6523ba9d4" "Rev": "01d6a1350dd5c61a498fd3a5bdafd9151cac4e9a"
}, },
{ {
"ImportPath": "k8s.io/client-go/util/buffer", "ImportPath": "k8s.io/client-go/util/buffer",
"Rev": "f0d11262904f0a1cd1d4b6120add0cf6523ba9d4" "Rev": "01d6a1350dd5c61a498fd3a5bdafd9151cac4e9a"
}, },
{ {
"ImportPath": "k8s.io/client-go/util/cert", "ImportPath": "k8s.io/client-go/util/cert",
"Rev": "f0d11262904f0a1cd1d4b6120add0cf6523ba9d4" "Rev": "01d6a1350dd5c61a498fd3a5bdafd9151cac4e9a"
}, },
{ {
"ImportPath": "k8s.io/client-go/util/flowcontrol", "ImportPath": "k8s.io/client-go/util/flowcontrol",
"Rev": "f0d11262904f0a1cd1d4b6120add0cf6523ba9d4" "Rev": "01d6a1350dd5c61a498fd3a5bdafd9151cac4e9a"
}, },
{ {
"ImportPath": "k8s.io/client-go/util/homedir", "ImportPath": "k8s.io/client-go/util/homedir",
"Rev": "f0d11262904f0a1cd1d4b6120add0cf6523ba9d4" "Rev": "01d6a1350dd5c61a498fd3a5bdafd9151cac4e9a"
}, },
{ {
"ImportPath": "k8s.io/client-go/util/integer", "ImportPath": "k8s.io/client-go/util/integer",
"Rev": "f0d11262904f0a1cd1d4b6120add0cf6523ba9d4" "Rev": "01d6a1350dd5c61a498fd3a5bdafd9151cac4e9a"
}, },
{ {
"ImportPath": "k8s.io/client-go/util/retry", "ImportPath": "k8s.io/client-go/util/retry",
"Rev": "f0d11262904f0a1cd1d4b6120add0cf6523ba9d4" "Rev": "01d6a1350dd5c61a498fd3a5bdafd9151cac4e9a"
}, },
{ {
"ImportPath": "k8s.io/client-go/util/workqueue", "ImportPath": "k8s.io/client-go/util/workqueue",
"Rev": "f0d11262904f0a1cd1d4b6120add0cf6523ba9d4" "Rev": "01d6a1350dd5c61a498fd3a5bdafd9151cac4e9a"
}, },
{ {
"ImportPath": "k8s.io/kube-openapi/pkg/util/proto", "ImportPath": "k8s.io/kube-openapi/pkg/util/proto",

View File

@ -1,4 +1,4 @@
#!/bin/bash #!/usr/bin/env bash
# Copyright 2017 The Kubernetes Authors. # Copyright 2017 The Kubernetes Authors.
# #

View File

@ -1,4 +1,4 @@
#!/bin/bash #!/usr/bin/env bash
# Copyright 2017 The Kubernetes Authors. # Copyright 2017 The Kubernetes Authors.
# #

View File

@ -45,6 +45,13 @@ const (
// to one container of a pod. // to one container of a pod.
SeccompContainerAnnotationKeyPrefix string = "container.seccomp.security.alpha.kubernetes.io/" SeccompContainerAnnotationKeyPrefix string = "container.seccomp.security.alpha.kubernetes.io/"
// SeccompProfileRuntimeDefault represents the default seccomp profile used by container runtime.
SeccompProfileRuntimeDefault string = "runtime/default"
// DeprecatedSeccompProfileDockerDefault represents the default seccomp profile used by docker.
// This is now deprecated and should be replaced by SeccompProfileRuntimeDefault.
DeprecatedSeccompProfileDockerDefault string = "docker/default"
// PreferAvoidPodsAnnotationKey represents the key of preferAvoidPods data (json serialized) // PreferAvoidPodsAnnotationKey represents the key of preferAvoidPods data (json serialized)
// in the Annotations of a Node. // in the Annotations of a Node.
PreferAvoidPodsAnnotationKey string = "scheduler.alpha.kubernetes.io/preferAvoidPods" PreferAvoidPodsAnnotationKey string = "scheduler.alpha.kubernetes.io/preferAvoidPods"

View File

@ -62,6 +62,7 @@ message ClusterRoleBinding {
optional k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1; optional k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1;
// Subjects holds references to the objects the role applies to. // Subjects holds references to the objects the role applies to.
// +optional
repeated Subject subjects = 2; repeated Subject subjects = 2;
// RoleRef can only reference a ClusterRole in the global namespace. // RoleRef can only reference a ClusterRole in the global namespace.
@ -134,6 +135,7 @@ message RoleBinding {
optional k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1; optional k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1;
// Subjects holds references to the objects the role applies to. // Subjects holds references to the objects the role applies to.
// +optional
repeated Subject subjects = 2; repeated Subject subjects = 2;
// RoleRef can reference a Role in the current namespace or a ClusterRole in the global namespace. // RoleRef can reference a Role in the current namespace or a ClusterRole in the global namespace.

6
vendor/k8s.io/api/rbac/v1/types.go generated vendored
View File

@ -124,7 +124,8 @@ type RoleBinding struct {
metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`
// Subjects holds references to the objects the role applies to. // Subjects holds references to the objects the role applies to.
Subjects []Subject `json:"subjects" protobuf:"bytes,2,rep,name=subjects"` // +optional
Subjects []Subject `json:"subjects,omitempty" protobuf:"bytes,2,rep,name=subjects"`
// RoleRef can reference a Role in the current namespace or a ClusterRole in the global namespace. // RoleRef can reference a Role in the current namespace or a ClusterRole in the global namespace.
// If the RoleRef cannot be resolved, the Authorizer must return an error. // If the RoleRef cannot be resolved, the Authorizer must return an error.
@ -199,7 +200,8 @@ type ClusterRoleBinding struct {
metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`
// Subjects holds references to the objects the role applies to. // Subjects holds references to the objects the role applies to.
Subjects []Subject `json:"subjects" protobuf:"bytes,2,rep,name=subjects"` // +optional
Subjects []Subject `json:"subjects,omitempty" protobuf:"bytes,2,rep,name=subjects"`
// RoleRef can only reference a ClusterRole in the global namespace. // RoleRef can only reference a ClusterRole in the global namespace.
// If the RoleRef cannot be resolved, the Authorizer must return an error. // If the RoleRef cannot be resolved, the Authorizer must return an error.

View File

@ -61,6 +61,7 @@ message ClusterRoleBinding {
optional k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1; optional k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1;
// Subjects holds references to the objects the role applies to. // Subjects holds references to the objects the role applies to.
// +optional
repeated Subject subjects = 2; repeated Subject subjects = 2;
// RoleRef can only reference a ClusterRole in the global namespace. // RoleRef can only reference a ClusterRole in the global namespace.
@ -134,6 +135,7 @@ message RoleBinding {
optional k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1; optional k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1;
// Subjects holds references to the objects the role applies to. // Subjects holds references to the objects the role applies to.
// +optional
repeated Subject subjects = 2; repeated Subject subjects = 2;
// RoleRef can reference a Role in the current namespace or a ClusterRole in the global namespace. // RoleRef can reference a Role in the current namespace or a ClusterRole in the global namespace.

View File

@ -126,7 +126,8 @@ type RoleBinding struct {
metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`
// Subjects holds references to the objects the role applies to. // Subjects holds references to the objects the role applies to.
Subjects []Subject `json:"subjects" protobuf:"bytes,2,rep,name=subjects"` // +optional
Subjects []Subject `json:"subjects,omitempty" protobuf:"bytes,2,rep,name=subjects"`
// RoleRef can reference a Role in the current namespace or a ClusterRole in the global namespace. // RoleRef can reference a Role in the current namespace or a ClusterRole in the global namespace.
// If the RoleRef cannot be resolved, the Authorizer must return an error. // If the RoleRef cannot be resolved, the Authorizer must return an error.
@ -201,7 +202,8 @@ type ClusterRoleBinding struct {
metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`
// Subjects holds references to the objects the role applies to. // Subjects holds references to the objects the role applies to.
Subjects []Subject `json:"subjects" protobuf:"bytes,2,rep,name=subjects"` // +optional
Subjects []Subject `json:"subjects,omitempty" protobuf:"bytes,2,rep,name=subjects"`
// RoleRef can only reference a ClusterRole in the global namespace. // RoleRef can only reference a ClusterRole in the global namespace.
// If the RoleRef cannot be resolved, the Authorizer must return an error. // If the RoleRef cannot be resolved, the Authorizer must return an error.

View File

@ -62,6 +62,7 @@ message ClusterRoleBinding {
optional k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1; optional k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1;
// Subjects holds references to the objects the role applies to. // Subjects holds references to the objects the role applies to.
// +optional
repeated Subject subjects = 2; repeated Subject subjects = 2;
// RoleRef can only reference a ClusterRole in the global namespace. // RoleRef can only reference a ClusterRole in the global namespace.
@ -135,6 +136,7 @@ message RoleBinding {
optional k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1; optional k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1;
// Subjects holds references to the objects the role applies to. // Subjects holds references to the objects the role applies to.
// +optional
repeated Subject subjects = 2; repeated Subject subjects = 2;
// RoleRef can reference a Role in the current namespace or a ClusterRole in the global namespace. // RoleRef can reference a Role in the current namespace or a ClusterRole in the global namespace.

View File

@ -125,7 +125,8 @@ type RoleBinding struct {
metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`
// Subjects holds references to the objects the role applies to. // Subjects holds references to the objects the role applies to.
Subjects []Subject `json:"subjects" protobuf:"bytes,2,rep,name=subjects"` // +optional
Subjects []Subject `json:"subjects,omitempty" protobuf:"bytes,2,rep,name=subjects"`
// RoleRef can reference a Role in the current namespace or a ClusterRole in the global namespace. // RoleRef can reference a Role in the current namespace or a ClusterRole in the global namespace.
// If the RoleRef cannot be resolved, the Authorizer must return an error. // If the RoleRef cannot be resolved, the Authorizer must return an error.
@ -199,7 +200,8 @@ type ClusterRoleBinding struct {
metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`
// Subjects holds references to the objects the role applies to. // Subjects holds references to the objects the role applies to.
Subjects []Subject `json:"subjects" protobuf:"bytes,2,rep,name=subjects"` // +optional
Subjects []Subject `json:"subjects,omitempty" protobuf:"bytes,2,rep,name=subjects"`
// RoleRef can only reference a ClusterRole in the global namespace. // RoleRef can only reference a ClusterRole in the global namespace.
// If the RoleRef cannot be resolved, the Authorizer must return an error. // If the RoleRef cannot be resolved, the Authorizer must return an error.

View File

@ -23,11 +23,6 @@ import (
"k8s.io/apimachinery/pkg/types" "k8s.io/apimachinery/pkg/types"
) )
// VersionInterfaces contains the interfaces one should use for dealing with types of a particular version.
type VersionInterfaces struct {
runtime.ObjectConvertor
}
type ListMetaAccessor interface { type ListMetaAccessor interface {
GetListMeta() List GetListMeta() List
} }
@ -91,27 +86,19 @@ const (
type RESTScope interface { type RESTScope interface {
// Name of the scope // Name of the scope
Name() RESTScopeName Name() RESTScopeName
// ParamName is the optional name of the parameter that should be inserted in the resource url
// If empty, no param will be inserted
ParamName() string
// ArgumentName is the optional name that should be used for the variable holding the value.
ArgumentName() string
// ParamDescription is the optional description to use to document the parameter in api documentation
ParamDescription() string
} }
// RESTMapping contains the information needed to deal with objects of a specific // RESTMapping contains the information needed to deal with objects of a specific
// resource and kind in a RESTful manner. // resource and kind in a RESTful manner.
type RESTMapping struct { type RESTMapping struct {
// Resource is a string representing the name of this resource as a REST client would see it // Resource is the GroupVersionResource (location) for this endpoint
Resource string Resource schema.GroupVersionResource
// GroupVersionKind is the GroupVersionKind (data format) to submit to this endpoint
GroupVersionKind schema.GroupVersionKind GroupVersionKind schema.GroupVersionKind
// Scope contains the information needed to deal with REST Resources that are in a resource hierarchy // Scope contains the information needed to deal with REST Resources that are in a resource hierarchy
Scope RESTScope Scope RESTScope
runtime.ObjectConvertor
} }
// RESTMapper allows clients to map resources to kind, and map kind and version // RESTMapper allows clients to map resources to kind, and map kind and version

View File

@ -19,27 +19,25 @@ package meta
import ( import (
"sync" "sync"
"k8s.io/apimachinery/pkg/runtime"
"k8s.io/apimachinery/pkg/runtime/schema" "k8s.io/apimachinery/pkg/runtime/schema"
) )
// lazyObject defers loading the mapper and typer until necessary. // lazyObject defers loading the mapper and typer until necessary.
type lazyObject struct { type lazyObject struct {
loader func() (RESTMapper, runtime.ObjectTyper, error) loader func() (RESTMapper, error)
lock sync.Mutex lock sync.Mutex
loaded bool loaded bool
err error err error
mapper RESTMapper mapper RESTMapper
typer runtime.ObjectTyper
} }
// NewLazyObjectLoader handles unrecoverable errors when creating a RESTMapper / ObjectTyper by // NewLazyObjectLoader handles unrecoverable errors when creating a RESTMapper / ObjectTyper by
// returning those initialization errors when the interface methods are invoked. This defers the // returning those initialization errors when the interface methods are invoked. This defers the
// initialization and any server calls until a client actually needs to perform the action. // initialization and any server calls until a client actually needs to perform the action.
func NewLazyObjectLoader(fn func() (RESTMapper, runtime.ObjectTyper, error)) (RESTMapper, runtime.ObjectTyper) { func NewLazyRESTMapperLoader(fn func() (RESTMapper, error)) RESTMapper {
obj := &lazyObject{loader: fn} obj := &lazyObject{loader: fn}
return obj, obj return obj
} }
// init lazily loads the mapper and typer, returning an error if initialization has failed. // init lazily loads the mapper and typer, returning an error if initialization has failed.
@ -49,13 +47,12 @@ func (o *lazyObject) init() error {
if o.loaded { if o.loaded {
return o.err return o.err
} }
o.mapper, o.typer, o.err = o.loader() o.mapper, o.err = o.loader()
o.loaded = true o.loaded = true
return o.err return o.err
} }
var _ RESTMapper = &lazyObject{} var _ RESTMapper = &lazyObject{}
var _ runtime.ObjectTyper = &lazyObject{}
func (o *lazyObject) KindFor(resource schema.GroupVersionResource) (schema.GroupVersionKind, error) { func (o *lazyObject) KindFor(resource schema.GroupVersionResource) (schema.GroupVersionKind, error) {
if err := o.init(); err != nil { if err := o.init(); err != nil {
@ -105,17 +102,3 @@ func (o *lazyObject) ResourceSingularizer(resource string) (singular string, err
} }
return o.mapper.ResourceSingularizer(resource) return o.mapper.ResourceSingularizer(resource)
} }
func (o *lazyObject) ObjectKinds(obj runtime.Object) ([]schema.GroupVersionKind, bool, error) {
if err := o.init(); err != nil {
return nil, false, err
}
return o.typer.ObjectKinds(obj)
}
func (o *lazyObject) Recognizes(gvk schema.GroupVersionKind) bool {
if err := o.init(); err != nil {
return false
}
return o.typer.Recognizes(gvk)
}

View File

@ -28,30 +28,15 @@ import (
// Implements RESTScope interface // Implements RESTScope interface
type restScope struct { type restScope struct {
name RESTScopeName name RESTScopeName
paramName string
argumentName string
paramDescription string
} }
func (r *restScope) Name() RESTScopeName { func (r *restScope) Name() RESTScopeName {
return r.name return r.name
} }
func (r *restScope) ParamName() string {
return r.paramName
}
func (r *restScope) ArgumentName() string {
return r.argumentName
}
func (r *restScope) ParamDescription() string {
return r.paramDescription
}
var RESTScopeNamespace = &restScope{ var RESTScopeNamespace = &restScope{
name: RESTScopeNameNamespace, name: RESTScopeNameNamespace,
paramName: "namespaces",
argumentName: "namespace",
paramDescription: "object name and auth scope, such as for teams and projects",
} }
var RESTScopeRoot = &restScope{ var RESTScopeRoot = &restScope{
@ -77,8 +62,6 @@ type DefaultRESTMapper struct {
kindToScope map[schema.GroupVersionKind]RESTScope kindToScope map[schema.GroupVersionKind]RESTScope
singularToPlural map[schema.GroupVersionResource]schema.GroupVersionResource singularToPlural map[schema.GroupVersionResource]schema.GroupVersionResource
pluralToSingular map[schema.GroupVersionResource]schema.GroupVersionResource pluralToSingular map[schema.GroupVersionResource]schema.GroupVersionResource
interfacesFunc VersionInterfacesFunc
} }
func (m *DefaultRESTMapper) String() string { func (m *DefaultRESTMapper) String() string {
@ -87,16 +70,12 @@ func (m *DefaultRESTMapper) String() string {
var _ RESTMapper = &DefaultRESTMapper{} var _ RESTMapper = &DefaultRESTMapper{}
// VersionInterfacesFunc returns the appropriate typer, and metadata accessor for a
// given api version, or an error if no such api version exists.
type VersionInterfacesFunc func(version schema.GroupVersion) (*VersionInterfaces, error)
// NewDefaultRESTMapper initializes a mapping between Kind and APIVersion // NewDefaultRESTMapper initializes a mapping between Kind and APIVersion
// to a resource name and back based on the objects in a runtime.Scheme // to a resource name and back based on the objects in a runtime.Scheme
// and the Kubernetes API conventions. Takes a group name, a priority list of the versions // and the Kubernetes API conventions. Takes a group name, a priority list of the versions
// to search when an object has no default version (set empty to return an error), // to search when an object has no default version (set empty to return an error),
// and a function that retrieves the correct metadata for a given version. // and a function that retrieves the correct metadata for a given version.
func NewDefaultRESTMapper(defaultGroupVersions []schema.GroupVersion, f VersionInterfacesFunc) *DefaultRESTMapper { func NewDefaultRESTMapper(defaultGroupVersions []schema.GroupVersion) *DefaultRESTMapper {
resourceToKind := make(map[schema.GroupVersionResource]schema.GroupVersionKind) resourceToKind := make(map[schema.GroupVersionResource]schema.GroupVersionKind)
kindToPluralResource := make(map[schema.GroupVersionKind]schema.GroupVersionResource) kindToPluralResource := make(map[schema.GroupVersionKind]schema.GroupVersionResource)
kindToScope := make(map[schema.GroupVersionKind]RESTScope) kindToScope := make(map[schema.GroupVersionKind]RESTScope)
@ -111,7 +90,6 @@ func NewDefaultRESTMapper(defaultGroupVersions []schema.GroupVersion, f VersionI
defaultGroupVersions: defaultGroupVersions, defaultGroupVersions: defaultGroupVersions,
singularToPlural: singularToPlural, singularToPlural: singularToPlural,
pluralToSingular: pluralToSingular, pluralToSingular: pluralToSingular,
interfacesFunc: f,
} }
} }
@ -526,17 +504,10 @@ func (m *DefaultRESTMapper) RESTMappings(gk schema.GroupKind, versions ...string
return nil, fmt.Errorf("the provided version %q and kind %q cannot be mapped to a supported scope", gvk.GroupVersion(), gvk.Kind) return nil, fmt.Errorf("the provided version %q and kind %q cannot be mapped to a supported scope", gvk.GroupVersion(), gvk.Kind)
} }
interfaces, err := m.interfacesFunc(gvk.GroupVersion())
if err != nil {
return nil, fmt.Errorf("the provided version %q has no relevant versions: %v", gvk.GroupVersion().String(), err)
}
mappings = append(mappings, &RESTMapping{ mappings = append(mappings, &RESTMapping{
Resource: res.Resource, Resource: res,
GroupVersionKind: gvk, GroupVersionKind: gvk,
Scope: scope, Scope: scope,
ObjectConvertor: interfaces.ObjectConvertor,
}) })
} }

View File

@ -1,45 +0,0 @@
/*
Copyright 2016 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
package meta
import (
"k8s.io/apimachinery/pkg/apis/meta/v1/unstructured"
"k8s.io/apimachinery/pkg/runtime/schema"
)
// InterfacesForUnstructuredConversion returns VersionInterfaces suitable for
// dealing with unstructured.Unstructured objects and supports conversion
// from typed objects (provided by parent) to untyped objects.
func InterfacesForUnstructuredConversion(parent VersionInterfacesFunc) VersionInterfacesFunc {
return func(version schema.GroupVersion) (*VersionInterfaces, error) {
if i, err := parent(version); err == nil {
return &VersionInterfaces{
ObjectConvertor: i.ObjectConvertor,
}, nil
}
return InterfacesForUnstructured(version)
}
}
// InterfacesForUnstructured returns VersionInterfaces suitable for
// dealing with unstructured.Unstructured objects. It will return errors for
// other conversions.
func InterfacesForUnstructured(schema.GroupVersion) (*VersionInterfaces, error) {
return &VersionInterfaces{
ObjectConvertor: &unstructured.UnstructuredObjectConverter{},
}, nil
}

View File

@ -39,7 +39,7 @@ type APIGroupResources struct {
// NewRESTMapper returns a PriorityRESTMapper based on the discovered // NewRESTMapper returns a PriorityRESTMapper based on the discovered
// groups and resources passed in. // groups and resources passed in.
func NewRESTMapper(groupResources []*APIGroupResources, versionInterfaces meta.VersionInterfacesFunc) meta.RESTMapper { func NewRESTMapper(groupResources []*APIGroupResources) meta.RESTMapper {
unionMapper := meta.MultiRESTMapper{} unionMapper := meta.MultiRESTMapper{}
var groupPriority []string var groupPriority []string
@ -90,7 +90,7 @@ func NewRESTMapper(groupResources []*APIGroupResources, versionInterfaces meta.V
} }
gv := schema.GroupVersion{Group: group.Group.Name, Version: discoveryVersion.Version} gv := schema.GroupVersion{Group: group.Group.Name, Version: discoveryVersion.Version}
versionMapper := meta.NewDefaultRESTMapper([]schema.GroupVersion{gv}, versionInterfaces) versionMapper := meta.NewDefaultRESTMapper([]schema.GroupVersion{gv})
for _, resource := range resources { for _, resource := range resources {
scope := meta.RESTScopeNamespace scope := meta.RESTScopeNamespace
@ -175,19 +175,17 @@ func GetAPIGroupResources(cl DiscoveryInterface) ([]*APIGroupResources, error) {
// initialization of the RESTMapper until the first mapping is // initialization of the RESTMapper until the first mapping is
// requested. // requested.
type DeferredDiscoveryRESTMapper struct { type DeferredDiscoveryRESTMapper struct {
initMu sync.Mutex initMu sync.Mutex
delegate meta.RESTMapper delegate meta.RESTMapper
cl CachedDiscoveryInterface cl CachedDiscoveryInterface
versionInterface meta.VersionInterfacesFunc
} }
// NewDeferredDiscoveryRESTMapper returns a // NewDeferredDiscoveryRESTMapper returns a
// DeferredDiscoveryRESTMapper that will lazily query the provided // DeferredDiscoveryRESTMapper that will lazily query the provided
// client for discovery information to do REST mappings. // client for discovery information to do REST mappings.
func NewDeferredDiscoveryRESTMapper(cl CachedDiscoveryInterface, versionInterface meta.VersionInterfacesFunc) *DeferredDiscoveryRESTMapper { func NewDeferredDiscoveryRESTMapper(cl CachedDiscoveryInterface) *DeferredDiscoveryRESTMapper {
return &DeferredDiscoveryRESTMapper{ return &DeferredDiscoveryRESTMapper{
cl: cl, cl: cl,
versionInterface: versionInterface,
} }
} }
@ -204,7 +202,7 @@ func (d *DeferredDiscoveryRESTMapper) getDelegate() (meta.RESTMapper, error) {
return nil, err return nil, err
} }
d.delegate = NewRESTMapper(groupResources, d.versionInterface) d.delegate = NewRESTMapper(groupResources)
return d.delegate, err return d.delegate, err
} }

View File

@ -29,7 +29,6 @@ import (
"github.com/golang/glog" "github.com/golang/glog"
"k8s.io/api/core/v1"
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
"k8s.io/apimachinery/pkg/runtime" "k8s.io/apimachinery/pkg/runtime"
"k8s.io/apimachinery/pkg/runtime/schema" "k8s.io/apimachinery/pkg/runtime/schema"
@ -316,12 +315,12 @@ func InClusterConfig() (*Config, error) {
return nil, fmt.Errorf("unable to load in-cluster configuration, KUBERNETES_SERVICE_HOST and KUBERNETES_SERVICE_PORT must be defined") return nil, fmt.Errorf("unable to load in-cluster configuration, KUBERNETES_SERVICE_HOST and KUBERNETES_SERVICE_PORT must be defined")
} }
token, err := ioutil.ReadFile("/var/run/secrets/kubernetes.io/serviceaccount/" + v1.ServiceAccountTokenKey) token, err := ioutil.ReadFile("/var/run/secrets/kubernetes.io/serviceaccount/token")
if err != nil { if err != nil {
return nil, err return nil, err
} }
tlsClientConfig := TLSClientConfig{} tlsClientConfig := TLSClientConfig{}
rootCAFile := "/var/run/secrets/kubernetes.io/serviceaccount/" + v1.ServiceAccountRootCAKey rootCAFile := "/var/run/secrets/kubernetes.io/serviceaccount/ca.crt"
if _, err := certutil.NewPool(rootCAFile); err != nil { if _, err := certutil.NewPool(rootCAFile); err != nil {
glog.Errorf("Expected to load root CA config from %s, but got err: %v", rootCAFile, err) glog.Errorf("Expected to load root CA config from %s, but got err: %v", rootCAFile, err)
} else { } else {

View File

@ -27,7 +27,6 @@ import (
"github.com/golang/glog" "github.com/golang/glog"
"github.com/imdario/mergo" "github.com/imdario/mergo"
"k8s.io/api/core/v1"
restclient "k8s.io/client-go/rest" restclient "k8s.io/client-go/rest"
clientauth "k8s.io/client-go/tools/auth" clientauth "k8s.io/client-go/tools/auth"
clientcmdapi "k8s.io/client-go/tools/clientcmd/api" clientcmdapi "k8s.io/client-go/tools/clientcmd/api"
@ -338,7 +337,7 @@ func (config *DirectClientConfig) Namespace() (string, bool, error) {
} }
if len(configContext.Namespace) == 0 { if len(configContext.Namespace) == 0 {
return v1.NamespaceDefault, false, nil return "default", false, nil
} }
return configContext.Namespace, false, nil return configContext.Namespace, false, nil

View File

@ -22,7 +22,6 @@ import (
"github.com/golang/glog" "github.com/golang/glog"
"k8s.io/api/core/v1"
restclient "k8s.io/client-go/rest" restclient "k8s.io/client-go/rest"
clientcmdapi "k8s.io/client-go/tools/clientcmd/api" clientcmdapi "k8s.io/client-go/tools/clientcmd/api"
) )
@ -145,7 +144,7 @@ func (config *DeferredLoadingClientConfig) Namespace() (string, bool, error) {
if len(ns) > 0 { if len(ns) > 0 {
// if we got a non-default namespace from the kubeconfig, use it // if we got a non-default namespace from the kubeconfig, use it
if ns != v1.NamespaceDefault { if ns != "default" {
return ns, false, nil return ns, false, nil
} }

View File

@ -331,7 +331,7 @@ func (r *requestInfo) toCurl() string {
headers := "" headers := ""
for key, values := range r.RequestHeaders { for key, values := range r.RequestHeaders {
for _, value := range values { for _, value := range values {
headers += fmt.Sprintf(` -H %q`, fmt.Sprintf("%s: '%s'", key, value)) headers += fmt.Sprintf(` -H %q`, fmt.Sprintf("%s: %s", key, value))
} }
} }

View File

@ -19,8 +19,6 @@ limitations under the License.
package scheme package scheme
import ( import (
os "os"
registered "k8s.io/apimachinery/pkg/apimachinery/registered" registered "k8s.io/apimachinery/pkg/apimachinery/registered"
v1 "k8s.io/apimachinery/pkg/apis/meta/v1" v1 "k8s.io/apimachinery/pkg/apis/meta/v1"
runtime "k8s.io/apimachinery/pkg/runtime" runtime "k8s.io/apimachinery/pkg/runtime"
@ -34,7 +32,7 @@ var Scheme = runtime.NewScheme()
var Codecs = serializer.NewCodecFactory(Scheme) var Codecs = serializer.NewCodecFactory(Scheme)
var ParameterCodec = runtime.NewParameterCodec(Scheme) var ParameterCodec = runtime.NewParameterCodec(Scheme)
var Registry = registered.NewOrDie(os.Getenv("KUBE_API_VERSIONS")) var Registry = registered.NewAPIRegistrationManager()
func init() { func init() {
v1.AddToGroupVersion(Scheme, schema.GroupVersion{Version: "v1"}) v1.AddToGroupVersion(Scheme, schema.GroupVersion{Version: "v1"})

View File

@ -75,8 +75,8 @@ func setConfigDefaults(config *rest.Config) error {
if config.UserAgent == "" { if config.UserAgent == "" {
config.UserAgent = rest.DefaultKubernetesUserAgent() config.UserAgent = rest.DefaultKubernetesUserAgent()
} }
if config.GroupVersion == nil || config.GroupVersion.Group != g.GroupVersion.Group { if config.GroupVersion == nil || config.GroupVersion.Group != g.GroupVersions[0].Group {
gv := g.GroupVersion gv := g.GroupVersions[0]
config.GroupVersion = &gv config.GroupVersion = &gv
} }
config.NegotiatedSerializer = scheme.Codecs config.NegotiatedSerializer = scheme.Codecs

View File

@ -75,8 +75,8 @@ func setConfigDefaults(config *rest.Config) error {
if config.UserAgent == "" { if config.UserAgent == "" {
config.UserAgent = rest.DefaultKubernetesUserAgent() config.UserAgent = rest.DefaultKubernetesUserAgent()
} }
if config.GroupVersion == nil || config.GroupVersion.Group != g.GroupVersion.Group { if config.GroupVersion == nil || config.GroupVersion.Group != g.GroupVersions[0].Group {
gv := g.GroupVersion gv := g.GroupVersions[0]
config.GroupVersion = &gv config.GroupVersion = &gv
} }
config.NegotiatedSerializer = scheme.Codecs config.NegotiatedSerializer = scheme.Codecs

View File

@ -219,8 +219,8 @@ func setConfigDefaults(config *$.restConfig|raw$) error {
if config.UserAgent == "" { if config.UserAgent == "" {
config.UserAgent = $.restDefaultKubernetesUserAgent|raw$() config.UserAgent = $.restDefaultKubernetesUserAgent|raw$()
} }
if config.GroupVersion == nil || config.GroupVersion.Group != g.GroupVersion.Group { if config.GroupVersion == nil || config.GroupVersion.Group != g.GroupVersions[0].Group {
gv := g.GroupVersion gv := g.GroupVersions[0]
config.GroupVersion = &gv config.GroupVersion = &gv
} }
config.NegotiatedSerializer = scheme.Codecs config.NegotiatedSerializer = scheme.Codecs

View File

@ -89,14 +89,13 @@ func (g *GenScheme) GenerateType(c *generator.Context, t *types.Type, w io.Write
"allGroupVersions": allGroupVersions, "allGroupVersions": allGroupVersions,
"allInstallGroups": allInstallGroups, "allInstallGroups": allInstallGroups,
"customRegister": false, "customRegister": false,
"osGetenv": c.Universe.Function(types.Name{Package: "os", Name: "Getenv"}),
"runtimeNewParameterCodec": c.Universe.Function(types.Name{Package: "k8s.io/apimachinery/pkg/runtime", Name: "NewParameterCodec"}), "runtimeNewParameterCodec": c.Universe.Function(types.Name{Package: "k8s.io/apimachinery/pkg/runtime", Name: "NewParameterCodec"}),
"runtimeNewScheme": c.Universe.Function(types.Name{Package: "k8s.io/apimachinery/pkg/runtime", Name: "NewScheme"}), "runtimeNewScheme": c.Universe.Function(types.Name{Package: "k8s.io/apimachinery/pkg/runtime", Name: "NewScheme"}),
"serializerNewCodecFactory": c.Universe.Function(types.Name{Package: "k8s.io/apimachinery/pkg/runtime/serializer", Name: "NewCodecFactory"}), "serializerNewCodecFactory": c.Universe.Function(types.Name{Package: "k8s.io/apimachinery/pkg/runtime/serializer", Name: "NewCodecFactory"}),
"runtimeScheme": c.Universe.Type(types.Name{Package: "k8s.io/apimachinery/pkg/runtime", Name: "Scheme"}), "runtimeScheme": c.Universe.Type(types.Name{Package: "k8s.io/apimachinery/pkg/runtime", Name: "Scheme"}),
"schemaGroupVersion": c.Universe.Type(types.Name{Package: "k8s.io/apimachinery/pkg/runtime/schema", Name: "GroupVersion"}), "schemaGroupVersion": c.Universe.Type(types.Name{Package: "k8s.io/apimachinery/pkg/runtime/schema", Name: "GroupVersion"}),
"metav1AddToGroupVersion": c.Universe.Function(types.Name{Package: "k8s.io/apimachinery/pkg/apis/meta/v1", Name: "AddToGroupVersion"}), "metav1AddToGroupVersion": c.Universe.Function(types.Name{Package: "k8s.io/apimachinery/pkg/apis/meta/v1", Name: "AddToGroupVersion"}),
"registeredNewOrDie": c.Universe.Function(types.Name{Package: "k8s.io/apimachinery/pkg/apimachinery/registered", Name: "NewOrDie"}), "registeredNew": c.Universe.Function(types.Name{Package: "k8s.io/apimachinery/pkg/apimachinery/registered", Name: "NewAPIRegistrationManager"}),
"registeredAPIRegistrationManager": c.Universe.Type(types.Name{Package: "k8s.io/apimachinery/pkg/apimachinery/registered", Name: "APIRegistrationManager"}), "registeredAPIRegistrationManager": c.Universe.Type(types.Name{Package: "k8s.io/apimachinery/pkg/apimachinery/registered", Name: "APIRegistrationManager"}),
} }
globals := map[string]string{ globals := map[string]string{
@ -137,7 +136,7 @@ var $.ParameterCodec$ = $.runtimeNewParameterCodec|raw$($.Scheme$)
` `
var registryRegistration = ` var registryRegistration = `
var $.Registry$ = $.registeredNewOrDie|raw$($.osGetenv|raw$("KUBE_API_VERSIONS")) var $.Registry$ = $.registeredNew|raw$()
func init() { func init() {
$.metav1AddToGroupVersion|raw$($.Scheme$, $.schemaGroupVersion|raw${Version: "v1"}) $.metav1AddToGroupVersion|raw$($.Scheme$, $.schemaGroupVersion|raw${Version: "v1"})

View File

@ -1,4 +1,4 @@
#!/bin/bash #!/usr/bin/env bash
# Copyright 2017 The Kubernetes Authors. # Copyright 2017 The Kubernetes Authors.
# #

View File

@ -1,4 +1,4 @@
#!/bin/bash #!/usr/bin/env bash
# Copyright 2017 The Kubernetes Authors. # Copyright 2017 The Kubernetes Authors.
# #