Merge pull request #63075 from deads2k/api-05-eliminate-indirection

Automatic merge from submit-queue (batch tested with PRs 62982, 63075, 63067, 62877, 63141). 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>.

eliminate indirection from type registration

Some years back there was a partial attempt to revamp api type registration, but the effort was never completed and this was before we started splitting schemes. With separate schemes, the idea of partial registration no longer makes sense.  This pull starts removing cruft from the registration process and pulls out a layer of indirection that isn't needed.

@kubernetes/sig-api-machinery-pr-reviews
@lavalamp @cheftako @sttts @smarterclayton

Rebase cost is fairly high, so I'd like to avoid this lingering.

/assign @sttts
/assign @cheftako

```release-note
NONE
```

Kubernetes-commit: 97287177ee2b603f13f1028ef7f053f4795351f7
This commit is contained in:
Kubernetes Publisher 2018-04-25 11:53:14 -07:00
commit 95a2d0bcbb
2 changed files with 84 additions and 84 deletions

164
Godeps/Godeps.json generated
View File

@ -244,331 +244,331 @@
}, },
{ {
"ImportPath": "k8s.io/api/admissionregistration/v1alpha1", "ImportPath": "k8s.io/api/admissionregistration/v1alpha1",
"Rev": "6ef9db38b7d4d02a221e7af3e7f508ff19706fc6" "Rev": "99b35971cc9d07896d4428dc09ad3efacef8b21f"
}, },
{ {
"ImportPath": "k8s.io/api/admissionregistration/v1beta1", "ImportPath": "k8s.io/api/admissionregistration/v1beta1",
"Rev": "6ef9db38b7d4d02a221e7af3e7f508ff19706fc6" "Rev": "99b35971cc9d07896d4428dc09ad3efacef8b21f"
}, },
{ {
"ImportPath": "k8s.io/api/apps/v1", "ImportPath": "k8s.io/api/apps/v1",
"Rev": "6ef9db38b7d4d02a221e7af3e7f508ff19706fc6" "Rev": "99b35971cc9d07896d4428dc09ad3efacef8b21f"
}, },
{ {
"ImportPath": "k8s.io/api/apps/v1beta1", "ImportPath": "k8s.io/api/apps/v1beta1",
"Rev": "6ef9db38b7d4d02a221e7af3e7f508ff19706fc6" "Rev": "99b35971cc9d07896d4428dc09ad3efacef8b21f"
}, },
{ {
"ImportPath": "k8s.io/api/apps/v1beta2", "ImportPath": "k8s.io/api/apps/v1beta2",
"Rev": "6ef9db38b7d4d02a221e7af3e7f508ff19706fc6" "Rev": "99b35971cc9d07896d4428dc09ad3efacef8b21f"
}, },
{ {
"ImportPath": "k8s.io/api/authentication/v1", "ImportPath": "k8s.io/api/authentication/v1",
"Rev": "6ef9db38b7d4d02a221e7af3e7f508ff19706fc6" "Rev": "99b35971cc9d07896d4428dc09ad3efacef8b21f"
}, },
{ {
"ImportPath": "k8s.io/api/authentication/v1beta1", "ImportPath": "k8s.io/api/authentication/v1beta1",
"Rev": "6ef9db38b7d4d02a221e7af3e7f508ff19706fc6" "Rev": "99b35971cc9d07896d4428dc09ad3efacef8b21f"
}, },
{ {
"ImportPath": "k8s.io/api/authorization/v1", "ImportPath": "k8s.io/api/authorization/v1",
"Rev": "6ef9db38b7d4d02a221e7af3e7f508ff19706fc6" "Rev": "99b35971cc9d07896d4428dc09ad3efacef8b21f"
}, },
{ {
"ImportPath": "k8s.io/api/authorization/v1beta1", "ImportPath": "k8s.io/api/authorization/v1beta1",
"Rev": "6ef9db38b7d4d02a221e7af3e7f508ff19706fc6" "Rev": "99b35971cc9d07896d4428dc09ad3efacef8b21f"
}, },
{ {
"ImportPath": "k8s.io/api/autoscaling/v1", "ImportPath": "k8s.io/api/autoscaling/v1",
"Rev": "6ef9db38b7d4d02a221e7af3e7f508ff19706fc6" "Rev": "99b35971cc9d07896d4428dc09ad3efacef8b21f"
}, },
{ {
"ImportPath": "k8s.io/api/autoscaling/v2beta1", "ImportPath": "k8s.io/api/autoscaling/v2beta1",
"Rev": "6ef9db38b7d4d02a221e7af3e7f508ff19706fc6" "Rev": "99b35971cc9d07896d4428dc09ad3efacef8b21f"
}, },
{ {
"ImportPath": "k8s.io/api/batch/v1", "ImportPath": "k8s.io/api/batch/v1",
"Rev": "6ef9db38b7d4d02a221e7af3e7f508ff19706fc6" "Rev": "99b35971cc9d07896d4428dc09ad3efacef8b21f"
}, },
{ {
"ImportPath": "k8s.io/api/batch/v1beta1", "ImportPath": "k8s.io/api/batch/v1beta1",
"Rev": "6ef9db38b7d4d02a221e7af3e7f508ff19706fc6" "Rev": "99b35971cc9d07896d4428dc09ad3efacef8b21f"
}, },
{ {
"ImportPath": "k8s.io/api/batch/v2alpha1", "ImportPath": "k8s.io/api/batch/v2alpha1",
"Rev": "6ef9db38b7d4d02a221e7af3e7f508ff19706fc6" "Rev": "99b35971cc9d07896d4428dc09ad3efacef8b21f"
}, },
{ {
"ImportPath": "k8s.io/api/certificates/v1beta1", "ImportPath": "k8s.io/api/certificates/v1beta1",
"Rev": "6ef9db38b7d4d02a221e7af3e7f508ff19706fc6" "Rev": "99b35971cc9d07896d4428dc09ad3efacef8b21f"
}, },
{ {
"ImportPath": "k8s.io/api/core/v1", "ImportPath": "k8s.io/api/core/v1",
"Rev": "6ef9db38b7d4d02a221e7af3e7f508ff19706fc6" "Rev": "99b35971cc9d07896d4428dc09ad3efacef8b21f"
}, },
{ {
"ImportPath": "k8s.io/api/events/v1beta1", "ImportPath": "k8s.io/api/events/v1beta1",
"Rev": "6ef9db38b7d4d02a221e7af3e7f508ff19706fc6" "Rev": "99b35971cc9d07896d4428dc09ad3efacef8b21f"
}, },
{ {
"ImportPath": "k8s.io/api/extensions/v1beta1", "ImportPath": "k8s.io/api/extensions/v1beta1",
"Rev": "6ef9db38b7d4d02a221e7af3e7f508ff19706fc6" "Rev": "99b35971cc9d07896d4428dc09ad3efacef8b21f"
}, },
{ {
"ImportPath": "k8s.io/api/imagepolicy/v1alpha1", "ImportPath": "k8s.io/api/imagepolicy/v1alpha1",
"Rev": "6ef9db38b7d4d02a221e7af3e7f508ff19706fc6" "Rev": "99b35971cc9d07896d4428dc09ad3efacef8b21f"
}, },
{ {
"ImportPath": "k8s.io/api/networking/v1", "ImportPath": "k8s.io/api/networking/v1",
"Rev": "6ef9db38b7d4d02a221e7af3e7f508ff19706fc6" "Rev": "99b35971cc9d07896d4428dc09ad3efacef8b21f"
}, },
{ {
"ImportPath": "k8s.io/api/policy/v1beta1", "ImportPath": "k8s.io/api/policy/v1beta1",
"Rev": "6ef9db38b7d4d02a221e7af3e7f508ff19706fc6" "Rev": "99b35971cc9d07896d4428dc09ad3efacef8b21f"
}, },
{ {
"ImportPath": "k8s.io/api/rbac/v1", "ImportPath": "k8s.io/api/rbac/v1",
"Rev": "6ef9db38b7d4d02a221e7af3e7f508ff19706fc6" "Rev": "99b35971cc9d07896d4428dc09ad3efacef8b21f"
}, },
{ {
"ImportPath": "k8s.io/api/rbac/v1alpha1", "ImportPath": "k8s.io/api/rbac/v1alpha1",
"Rev": "6ef9db38b7d4d02a221e7af3e7f508ff19706fc6" "Rev": "99b35971cc9d07896d4428dc09ad3efacef8b21f"
}, },
{ {
"ImportPath": "k8s.io/api/rbac/v1beta1", "ImportPath": "k8s.io/api/rbac/v1beta1",
"Rev": "6ef9db38b7d4d02a221e7af3e7f508ff19706fc6" "Rev": "99b35971cc9d07896d4428dc09ad3efacef8b21f"
}, },
{ {
"ImportPath": "k8s.io/api/scheduling/v1alpha1", "ImportPath": "k8s.io/api/scheduling/v1alpha1",
"Rev": "6ef9db38b7d4d02a221e7af3e7f508ff19706fc6" "Rev": "99b35971cc9d07896d4428dc09ad3efacef8b21f"
}, },
{ {
"ImportPath": "k8s.io/api/settings/v1alpha1", "ImportPath": "k8s.io/api/settings/v1alpha1",
"Rev": "6ef9db38b7d4d02a221e7af3e7f508ff19706fc6" "Rev": "99b35971cc9d07896d4428dc09ad3efacef8b21f"
}, },
{ {
"ImportPath": "k8s.io/api/storage/v1", "ImportPath": "k8s.io/api/storage/v1",
"Rev": "6ef9db38b7d4d02a221e7af3e7f508ff19706fc6" "Rev": "99b35971cc9d07896d4428dc09ad3efacef8b21f"
}, },
{ {
"ImportPath": "k8s.io/api/storage/v1alpha1", "ImportPath": "k8s.io/api/storage/v1alpha1",
"Rev": "6ef9db38b7d4d02a221e7af3e7f508ff19706fc6" "Rev": "99b35971cc9d07896d4428dc09ad3efacef8b21f"
}, },
{ {
"ImportPath": "k8s.io/api/storage/v1beta1", "ImportPath": "k8s.io/api/storage/v1beta1",
"Rev": "6ef9db38b7d4d02a221e7af3e7f508ff19706fc6" "Rev": "99b35971cc9d07896d4428dc09ad3efacef8b21f"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/api/equality", "ImportPath": "k8s.io/apimachinery/pkg/api/equality",
"Rev": "2ab20e7c92cbf77b2f9fab331a650fa7831f7856" "Rev": "d4f16a2aed4597fc1943728242c28b80ce18d753"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/api/errors", "ImportPath": "k8s.io/apimachinery/pkg/api/errors",
"Rev": "2ab20e7c92cbf77b2f9fab331a650fa7831f7856" "Rev": "d4f16a2aed4597fc1943728242c28b80ce18d753"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/api/meta", "ImportPath": "k8s.io/apimachinery/pkg/api/meta",
"Rev": "2ab20e7c92cbf77b2f9fab331a650fa7831f7856" "Rev": "d4f16a2aed4597fc1943728242c28b80ce18d753"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/api/resource", "ImportPath": "k8s.io/apimachinery/pkg/api/resource",
"Rev": "2ab20e7c92cbf77b2f9fab331a650fa7831f7856" "Rev": "d4f16a2aed4597fc1943728242c28b80ce18d753"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/api/testing", "ImportPath": "k8s.io/apimachinery/pkg/api/testing",
"Rev": "2ab20e7c92cbf77b2f9fab331a650fa7831f7856" "Rev": "d4f16a2aed4597fc1943728242c28b80ce18d753"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/api/testing/fuzzer", "ImportPath": "k8s.io/apimachinery/pkg/api/testing/fuzzer",
"Rev": "2ab20e7c92cbf77b2f9fab331a650fa7831f7856" "Rev": "d4f16a2aed4597fc1943728242c28b80ce18d753"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/api/testing/roundtrip", "ImportPath": "k8s.io/apimachinery/pkg/api/testing/roundtrip",
"Rev": "2ab20e7c92cbf77b2f9fab331a650fa7831f7856" "Rev": "d4f16a2aed4597fc1943728242c28b80ce18d753"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/apimachinery", "ImportPath": "k8s.io/apimachinery/pkg/apimachinery",
"Rev": "2ab20e7c92cbf77b2f9fab331a650fa7831f7856" "Rev": "d4f16a2aed4597fc1943728242c28b80ce18d753"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/apimachinery/announced", "ImportPath": "k8s.io/apimachinery/pkg/apimachinery/announced",
"Rev": "2ab20e7c92cbf77b2f9fab331a650fa7831f7856" "Rev": "d4f16a2aed4597fc1943728242c28b80ce18d753"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/apimachinery/registered", "ImportPath": "k8s.io/apimachinery/pkg/apimachinery/registered",
"Rev": "2ab20e7c92cbf77b2f9fab331a650fa7831f7856" "Rev": "d4f16a2aed4597fc1943728242c28b80ce18d753"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/apis/meta/fuzzer", "ImportPath": "k8s.io/apimachinery/pkg/apis/meta/fuzzer",
"Rev": "2ab20e7c92cbf77b2f9fab331a650fa7831f7856" "Rev": "d4f16a2aed4597fc1943728242c28b80ce18d753"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/apis/meta/internalversion", "ImportPath": "k8s.io/apimachinery/pkg/apis/meta/internalversion",
"Rev": "2ab20e7c92cbf77b2f9fab331a650fa7831f7856" "Rev": "d4f16a2aed4597fc1943728242c28b80ce18d753"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/apis/meta/v1", "ImportPath": "k8s.io/apimachinery/pkg/apis/meta/v1",
"Rev": "2ab20e7c92cbf77b2f9fab331a650fa7831f7856" "Rev": "d4f16a2aed4597fc1943728242c28b80ce18d753"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/apis/meta/v1/unstructured", "ImportPath": "k8s.io/apimachinery/pkg/apis/meta/v1/unstructured",
"Rev": "2ab20e7c92cbf77b2f9fab331a650fa7831f7856" "Rev": "d4f16a2aed4597fc1943728242c28b80ce18d753"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/apis/meta/v1beta1", "ImportPath": "k8s.io/apimachinery/pkg/apis/meta/v1beta1",
"Rev": "2ab20e7c92cbf77b2f9fab331a650fa7831f7856" "Rev": "d4f16a2aed4597fc1943728242c28b80ce18d753"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/conversion", "ImportPath": "k8s.io/apimachinery/pkg/conversion",
"Rev": "2ab20e7c92cbf77b2f9fab331a650fa7831f7856" "Rev": "d4f16a2aed4597fc1943728242c28b80ce18d753"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/conversion/queryparams", "ImportPath": "k8s.io/apimachinery/pkg/conversion/queryparams",
"Rev": "2ab20e7c92cbf77b2f9fab331a650fa7831f7856" "Rev": "d4f16a2aed4597fc1943728242c28b80ce18d753"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/fields", "ImportPath": "k8s.io/apimachinery/pkg/fields",
"Rev": "2ab20e7c92cbf77b2f9fab331a650fa7831f7856" "Rev": "d4f16a2aed4597fc1943728242c28b80ce18d753"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/labels", "ImportPath": "k8s.io/apimachinery/pkg/labels",
"Rev": "2ab20e7c92cbf77b2f9fab331a650fa7831f7856" "Rev": "d4f16a2aed4597fc1943728242c28b80ce18d753"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/runtime", "ImportPath": "k8s.io/apimachinery/pkg/runtime",
"Rev": "2ab20e7c92cbf77b2f9fab331a650fa7831f7856" "Rev": "d4f16a2aed4597fc1943728242c28b80ce18d753"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/runtime/schema", "ImportPath": "k8s.io/apimachinery/pkg/runtime/schema",
"Rev": "2ab20e7c92cbf77b2f9fab331a650fa7831f7856" "Rev": "d4f16a2aed4597fc1943728242c28b80ce18d753"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/runtime/serializer", "ImportPath": "k8s.io/apimachinery/pkg/runtime/serializer",
"Rev": "2ab20e7c92cbf77b2f9fab331a650fa7831f7856" "Rev": "d4f16a2aed4597fc1943728242c28b80ce18d753"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/runtime/serializer/json", "ImportPath": "k8s.io/apimachinery/pkg/runtime/serializer/json",
"Rev": "2ab20e7c92cbf77b2f9fab331a650fa7831f7856" "Rev": "d4f16a2aed4597fc1943728242c28b80ce18d753"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/runtime/serializer/protobuf", "ImportPath": "k8s.io/apimachinery/pkg/runtime/serializer/protobuf",
"Rev": "2ab20e7c92cbf77b2f9fab331a650fa7831f7856" "Rev": "d4f16a2aed4597fc1943728242c28b80ce18d753"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/runtime/serializer/recognizer", "ImportPath": "k8s.io/apimachinery/pkg/runtime/serializer/recognizer",
"Rev": "2ab20e7c92cbf77b2f9fab331a650fa7831f7856" "Rev": "d4f16a2aed4597fc1943728242c28b80ce18d753"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/runtime/serializer/streaming", "ImportPath": "k8s.io/apimachinery/pkg/runtime/serializer/streaming",
"Rev": "2ab20e7c92cbf77b2f9fab331a650fa7831f7856" "Rev": "d4f16a2aed4597fc1943728242c28b80ce18d753"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/runtime/serializer/versioning", "ImportPath": "k8s.io/apimachinery/pkg/runtime/serializer/versioning",
"Rev": "2ab20e7c92cbf77b2f9fab331a650fa7831f7856" "Rev": "d4f16a2aed4597fc1943728242c28b80ce18d753"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/selection", "ImportPath": "k8s.io/apimachinery/pkg/selection",
"Rev": "2ab20e7c92cbf77b2f9fab331a650fa7831f7856" "Rev": "d4f16a2aed4597fc1943728242c28b80ce18d753"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/types", "ImportPath": "k8s.io/apimachinery/pkg/types",
"Rev": "2ab20e7c92cbf77b2f9fab331a650fa7831f7856" "Rev": "d4f16a2aed4597fc1943728242c28b80ce18d753"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/util/cache", "ImportPath": "k8s.io/apimachinery/pkg/util/cache",
"Rev": "2ab20e7c92cbf77b2f9fab331a650fa7831f7856" "Rev": "d4f16a2aed4597fc1943728242c28b80ce18d753"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/util/clock", "ImportPath": "k8s.io/apimachinery/pkg/util/clock",
"Rev": "2ab20e7c92cbf77b2f9fab331a650fa7831f7856" "Rev": "d4f16a2aed4597fc1943728242c28b80ce18d753"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/util/diff", "ImportPath": "k8s.io/apimachinery/pkg/util/diff",
"Rev": "2ab20e7c92cbf77b2f9fab331a650fa7831f7856" "Rev": "d4f16a2aed4597fc1943728242c28b80ce18d753"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/util/errors", "ImportPath": "k8s.io/apimachinery/pkg/util/errors",
"Rev": "2ab20e7c92cbf77b2f9fab331a650fa7831f7856" "Rev": "d4f16a2aed4597fc1943728242c28b80ce18d753"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/util/framer", "ImportPath": "k8s.io/apimachinery/pkg/util/framer",
"Rev": "2ab20e7c92cbf77b2f9fab331a650fa7831f7856" "Rev": "d4f16a2aed4597fc1943728242c28b80ce18d753"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/util/httpstream", "ImportPath": "k8s.io/apimachinery/pkg/util/httpstream",
"Rev": "2ab20e7c92cbf77b2f9fab331a650fa7831f7856" "Rev": "d4f16a2aed4597fc1943728242c28b80ce18d753"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/util/httpstream/spdy", "ImportPath": "k8s.io/apimachinery/pkg/util/httpstream/spdy",
"Rev": "2ab20e7c92cbf77b2f9fab331a650fa7831f7856" "Rev": "d4f16a2aed4597fc1943728242c28b80ce18d753"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/util/intstr", "ImportPath": "k8s.io/apimachinery/pkg/util/intstr",
"Rev": "2ab20e7c92cbf77b2f9fab331a650fa7831f7856" "Rev": "d4f16a2aed4597fc1943728242c28b80ce18d753"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/util/json", "ImportPath": "k8s.io/apimachinery/pkg/util/json",
"Rev": "2ab20e7c92cbf77b2f9fab331a650fa7831f7856" "Rev": "d4f16a2aed4597fc1943728242c28b80ce18d753"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/util/mergepatch", "ImportPath": "k8s.io/apimachinery/pkg/util/mergepatch",
"Rev": "2ab20e7c92cbf77b2f9fab331a650fa7831f7856" "Rev": "d4f16a2aed4597fc1943728242c28b80ce18d753"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/util/net", "ImportPath": "k8s.io/apimachinery/pkg/util/net",
"Rev": "2ab20e7c92cbf77b2f9fab331a650fa7831f7856" "Rev": "d4f16a2aed4597fc1943728242c28b80ce18d753"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/util/remotecommand", "ImportPath": "k8s.io/apimachinery/pkg/util/remotecommand",
"Rev": "2ab20e7c92cbf77b2f9fab331a650fa7831f7856" "Rev": "d4f16a2aed4597fc1943728242c28b80ce18d753"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/util/runtime", "ImportPath": "k8s.io/apimachinery/pkg/util/runtime",
"Rev": "2ab20e7c92cbf77b2f9fab331a650fa7831f7856" "Rev": "d4f16a2aed4597fc1943728242c28b80ce18d753"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/util/sets", "ImportPath": "k8s.io/apimachinery/pkg/util/sets",
"Rev": "2ab20e7c92cbf77b2f9fab331a650fa7831f7856" "Rev": "d4f16a2aed4597fc1943728242c28b80ce18d753"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/util/strategicpatch", "ImportPath": "k8s.io/apimachinery/pkg/util/strategicpatch",
"Rev": "2ab20e7c92cbf77b2f9fab331a650fa7831f7856" "Rev": "d4f16a2aed4597fc1943728242c28b80ce18d753"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/util/validation", "ImportPath": "k8s.io/apimachinery/pkg/util/validation",
"Rev": "2ab20e7c92cbf77b2f9fab331a650fa7831f7856" "Rev": "d4f16a2aed4597fc1943728242c28b80ce18d753"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/util/validation/field", "ImportPath": "k8s.io/apimachinery/pkg/util/validation/field",
"Rev": "2ab20e7c92cbf77b2f9fab331a650fa7831f7856" "Rev": "d4f16a2aed4597fc1943728242c28b80ce18d753"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/util/wait", "ImportPath": "k8s.io/apimachinery/pkg/util/wait",
"Rev": "2ab20e7c92cbf77b2f9fab331a650fa7831f7856" "Rev": "d4f16a2aed4597fc1943728242c28b80ce18d753"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/util/yaml", "ImportPath": "k8s.io/apimachinery/pkg/util/yaml",
"Rev": "2ab20e7c92cbf77b2f9fab331a650fa7831f7856" "Rev": "d4f16a2aed4597fc1943728242c28b80ce18d753"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/version", "ImportPath": "k8s.io/apimachinery/pkg/version",
"Rev": "2ab20e7c92cbf77b2f9fab331a650fa7831f7856" "Rev": "d4f16a2aed4597fc1943728242c28b80ce18d753"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/watch", "ImportPath": "k8s.io/apimachinery/pkg/watch",
"Rev": "2ab20e7c92cbf77b2f9fab331a650fa7831f7856" "Rev": "d4f16a2aed4597fc1943728242c28b80ce18d753"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/third_party/forked/golang/json", "ImportPath": "k8s.io/apimachinery/third_party/forked/golang/json",
"Rev": "2ab20e7c92cbf77b2f9fab331a650fa7831f7856" "Rev": "d4f16a2aed4597fc1943728242c28b80ce18d753"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/third_party/forked/golang/netutil", "ImportPath": "k8s.io/apimachinery/third_party/forked/golang/netutil",
"Rev": "2ab20e7c92cbf77b2f9fab331a650fa7831f7856" "Rev": "d4f16a2aed4597fc1943728242c28b80ce18d753"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/third_party/forked/golang/reflect", "ImportPath": "k8s.io/apimachinery/third_party/forked/golang/reflect",
"Rev": "2ab20e7c92cbf77b2f9fab331a650fa7831f7856" "Rev": "d4f16a2aed4597fc1943728242c28b80ce18d753"
}, },
{ {
"ImportPath": "k8s.io/kube-openapi/pkg/util/proto", "ImportPath": "k8s.io/kube-openapi/pkg/util/proto",

View File

@ -27,7 +27,7 @@ import (
) )
// Install registers the API group and adds types to a scheme // Install registers the API group and adds types to a scheme
func Install(groupFactoryRegistry announced.APIGroupFactoryRegistry, registry *registered.APIRegistrationManager, scheme *runtime.Scheme) { func Install(registry *registered.APIRegistrationManager, scheme *runtime.Scheme) {
if err := announced.NewGroupMetaFactory( if err := announced.NewGroupMetaFactory(
&announced.GroupMetaFactoryArgs{ &announced.GroupMetaFactoryArgs{
GroupName: clientauthentication.GroupName, GroupName: clientauthentication.GroupName,
@ -37,7 +37,7 @@ func Install(groupFactoryRegistry announced.APIGroupFactoryRegistry, registry *r
announced.VersionToSchemeFunc{ announced.VersionToSchemeFunc{
v1alpha1.SchemeGroupVersion.Version: v1alpha1.AddToScheme, v1alpha1.SchemeGroupVersion.Version: v1alpha1.AddToScheme,
}, },
).Announce(groupFactoryRegistry).RegisterAndEnable(registry, scheme); err != nil { ).Register(registry, scheme); err != nil {
panic(err) panic(err)
} }
} }