summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhurf <huruifeng@huawei.com>2015-10-10 09:51:09 +0800
committerhurf <huruifeng@huawei.com>2015-12-23 10:31:08 +0800
commitd8b1f8d6aed960aa01683a736eeee0ff91dbb2b3 (patch)
tree2fb73e92619b686d46431335ac50a971e0d92453
parente2ff27427033aa5ccd17204f8507877c3a66607e (diff)
Clean up standalone conversion tool
Remove kube-version-change for all its functionalities are covered by kubectl convert command. Also changed the related docs.
-rw-r--r--adding-an-APIGroup.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/adding-an-APIGroup.md b/adding-an-APIGroup.md
index 8f67a0ab..0541af61 100644
--- a/adding-an-APIGroup.md
+++ b/adding-an-APIGroup.md
@@ -42,7 +42,7 @@ We plan on improving the way the types are factored in the future; see [#16062](
2. Create pkg/apis/`<group>`/{register.go, `<version>`/register.go} to register this group's API objects to the encoding/decoding scheme (e.g., [pkg/apis/extensions/register.go](../../pkg/apis/extensions/register.go) and [pkg/apis/extensions/v1beta1/register.go](../../pkg/apis/extensions/v1beta1/register.go);
-3. Add a pkg/apis/`<group>`/install/install.go, which is responsible for adding the group to the `latest` package, so that other packages can access the group's meta through `latest.Group`. You probably only need to change the name of group and version in the [example](../../pkg/apis/extensions/install/install.go)). You need to import this `install` package in {pkg/master, pkg/client/unversioned, cmd/kube-version-change}/import_known_versions.go, if you want to make your group accessible to other packages in the kube-apiserver binary, binaries that uses the client package, or the kube-version-change tool.
+3. Add a pkg/apis/`<group>`/install/install.go, which is responsible for adding the group to the `latest` package, so that other packages can access the group's meta through `latest.Group`. You probably only need to change the name of group and version in the [example](../../pkg/apis/extensions/install/install.go)). You need to import this `install` package in {pkg/master, pkg/client/unversioned}/import_known_versions.go, if you want to make your group accessible to other packages in the kube-apiserver binary, binaries that uses the client package.
Step 2 and 3 are mechanical, we plan on autogenerate these using the cmd/libs/go2idl/ tool.