Merge pull request #65811 from nikhita/client-go-discovery-godoc

Automatic merge from submit-queue (batch tested with PRs 65805, 65811, 65833, 65488, 65857). 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>.

client-go/discovery: fix godoc package comment

Fixes https://github.com/kubernetes/client-go/issues/436

/sig api-machinery
/kind cleanup
/shrug

/assign sttts

**Release note**:

```release-note
NONE
```

Kubernetes-commit: 403e22d10fb45dad8487630b60742959ba8741c3
This commit is contained in:
Kubernetes Publisher 2018-07-05 08:51:12 -07:00
commit 7ab20732fa
3 changed files with 70 additions and 52 deletions

102
Godeps/Godeps.json generated
View File

@ -1,6 +1,6 @@
{ {
"ImportPath": "k8s.io/client-go", "ImportPath": "k8s.io/client-go",
"GoVersion": "go1.10", "GoVersion": "go1.9",
"GodepVersion": "v80", "GodepVersion": "v80",
"Packages": [ "Packages": [
"./..." "./..."
@ -392,203 +392,203 @@
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/api/equality", "ImportPath": "k8s.io/apimachinery/pkg/api/equality",
"Rev": "5f0d8f067e3bc465077d0333e891450326a577a3" "Rev": "9c0d9e23a515298bbe709bccf24fe790ecdd6f72"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/api/errors", "ImportPath": "k8s.io/apimachinery/pkg/api/errors",
"Rev": "5f0d8f067e3bc465077d0333e891450326a577a3" "Rev": "9c0d9e23a515298bbe709bccf24fe790ecdd6f72"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/api/meta", "ImportPath": "k8s.io/apimachinery/pkg/api/meta",
"Rev": "5f0d8f067e3bc465077d0333e891450326a577a3" "Rev": "9c0d9e23a515298bbe709bccf24fe790ecdd6f72"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/api/resource", "ImportPath": "k8s.io/apimachinery/pkg/api/resource",
"Rev": "5f0d8f067e3bc465077d0333e891450326a577a3" "Rev": "9c0d9e23a515298bbe709bccf24fe790ecdd6f72"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/api/testing", "ImportPath": "k8s.io/apimachinery/pkg/api/testing",
"Rev": "5f0d8f067e3bc465077d0333e891450326a577a3" "Rev": "9c0d9e23a515298bbe709bccf24fe790ecdd6f72"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/api/testing/fuzzer", "ImportPath": "k8s.io/apimachinery/pkg/api/testing/fuzzer",
"Rev": "5f0d8f067e3bc465077d0333e891450326a577a3" "Rev": "9c0d9e23a515298bbe709bccf24fe790ecdd6f72"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/api/testing/roundtrip", "ImportPath": "k8s.io/apimachinery/pkg/api/testing/roundtrip",
"Rev": "5f0d8f067e3bc465077d0333e891450326a577a3" "Rev": "9c0d9e23a515298bbe709bccf24fe790ecdd6f72"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/apis/meta/fuzzer", "ImportPath": "k8s.io/apimachinery/pkg/apis/meta/fuzzer",
"Rev": "5f0d8f067e3bc465077d0333e891450326a577a3" "Rev": "9c0d9e23a515298bbe709bccf24fe790ecdd6f72"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/apis/meta/internalversion", "ImportPath": "k8s.io/apimachinery/pkg/apis/meta/internalversion",
"Rev": "5f0d8f067e3bc465077d0333e891450326a577a3" "Rev": "9c0d9e23a515298bbe709bccf24fe790ecdd6f72"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/apis/meta/v1", "ImportPath": "k8s.io/apimachinery/pkg/apis/meta/v1",
"Rev": "5f0d8f067e3bc465077d0333e891450326a577a3" "Rev": "9c0d9e23a515298bbe709bccf24fe790ecdd6f72"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/apis/meta/v1/unstructured", "ImportPath": "k8s.io/apimachinery/pkg/apis/meta/v1/unstructured",
"Rev": "5f0d8f067e3bc465077d0333e891450326a577a3" "Rev": "9c0d9e23a515298bbe709bccf24fe790ecdd6f72"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/apis/meta/v1beta1", "ImportPath": "k8s.io/apimachinery/pkg/apis/meta/v1beta1",
"Rev": "5f0d8f067e3bc465077d0333e891450326a577a3" "Rev": "9c0d9e23a515298bbe709bccf24fe790ecdd6f72"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/conversion", "ImportPath": "k8s.io/apimachinery/pkg/conversion",
"Rev": "5f0d8f067e3bc465077d0333e891450326a577a3" "Rev": "9c0d9e23a515298bbe709bccf24fe790ecdd6f72"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/conversion/queryparams", "ImportPath": "k8s.io/apimachinery/pkg/conversion/queryparams",
"Rev": "5f0d8f067e3bc465077d0333e891450326a577a3" "Rev": "9c0d9e23a515298bbe709bccf24fe790ecdd6f72"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/fields", "ImportPath": "k8s.io/apimachinery/pkg/fields",
"Rev": "5f0d8f067e3bc465077d0333e891450326a577a3" "Rev": "9c0d9e23a515298bbe709bccf24fe790ecdd6f72"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/labels", "ImportPath": "k8s.io/apimachinery/pkg/labels",
"Rev": "5f0d8f067e3bc465077d0333e891450326a577a3" "Rev": "9c0d9e23a515298bbe709bccf24fe790ecdd6f72"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/runtime", "ImportPath": "k8s.io/apimachinery/pkg/runtime",
"Rev": "5f0d8f067e3bc465077d0333e891450326a577a3" "Rev": "9c0d9e23a515298bbe709bccf24fe790ecdd6f72"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/runtime/schema", "ImportPath": "k8s.io/apimachinery/pkg/runtime/schema",
"Rev": "5f0d8f067e3bc465077d0333e891450326a577a3" "Rev": "9c0d9e23a515298bbe709bccf24fe790ecdd6f72"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/runtime/serializer", "ImportPath": "k8s.io/apimachinery/pkg/runtime/serializer",
"Rev": "5f0d8f067e3bc465077d0333e891450326a577a3" "Rev": "9c0d9e23a515298bbe709bccf24fe790ecdd6f72"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/runtime/serializer/json", "ImportPath": "k8s.io/apimachinery/pkg/runtime/serializer/json",
"Rev": "5f0d8f067e3bc465077d0333e891450326a577a3" "Rev": "9c0d9e23a515298bbe709bccf24fe790ecdd6f72"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/runtime/serializer/protobuf", "ImportPath": "k8s.io/apimachinery/pkg/runtime/serializer/protobuf",
"Rev": "5f0d8f067e3bc465077d0333e891450326a577a3" "Rev": "9c0d9e23a515298bbe709bccf24fe790ecdd6f72"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/runtime/serializer/recognizer", "ImportPath": "k8s.io/apimachinery/pkg/runtime/serializer/recognizer",
"Rev": "5f0d8f067e3bc465077d0333e891450326a577a3" "Rev": "9c0d9e23a515298bbe709bccf24fe790ecdd6f72"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/runtime/serializer/streaming", "ImportPath": "k8s.io/apimachinery/pkg/runtime/serializer/streaming",
"Rev": "5f0d8f067e3bc465077d0333e891450326a577a3" "Rev": "9c0d9e23a515298bbe709bccf24fe790ecdd6f72"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/runtime/serializer/versioning", "ImportPath": "k8s.io/apimachinery/pkg/runtime/serializer/versioning",
"Rev": "5f0d8f067e3bc465077d0333e891450326a577a3" "Rev": "9c0d9e23a515298bbe709bccf24fe790ecdd6f72"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/selection", "ImportPath": "k8s.io/apimachinery/pkg/selection",
"Rev": "5f0d8f067e3bc465077d0333e891450326a577a3" "Rev": "9c0d9e23a515298bbe709bccf24fe790ecdd6f72"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/types", "ImportPath": "k8s.io/apimachinery/pkg/types",
"Rev": "5f0d8f067e3bc465077d0333e891450326a577a3" "Rev": "9c0d9e23a515298bbe709bccf24fe790ecdd6f72"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/util/cache", "ImportPath": "k8s.io/apimachinery/pkg/util/cache",
"Rev": "5f0d8f067e3bc465077d0333e891450326a577a3" "Rev": "9c0d9e23a515298bbe709bccf24fe790ecdd6f72"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/util/clock", "ImportPath": "k8s.io/apimachinery/pkg/util/clock",
"Rev": "5f0d8f067e3bc465077d0333e891450326a577a3" "Rev": "9c0d9e23a515298bbe709bccf24fe790ecdd6f72"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/util/diff", "ImportPath": "k8s.io/apimachinery/pkg/util/diff",
"Rev": "5f0d8f067e3bc465077d0333e891450326a577a3" "Rev": "9c0d9e23a515298bbe709bccf24fe790ecdd6f72"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/util/errors", "ImportPath": "k8s.io/apimachinery/pkg/util/errors",
"Rev": "5f0d8f067e3bc465077d0333e891450326a577a3" "Rev": "9c0d9e23a515298bbe709bccf24fe790ecdd6f72"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/util/framer", "ImportPath": "k8s.io/apimachinery/pkg/util/framer",
"Rev": "5f0d8f067e3bc465077d0333e891450326a577a3" "Rev": "9c0d9e23a515298bbe709bccf24fe790ecdd6f72"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/util/httpstream", "ImportPath": "k8s.io/apimachinery/pkg/util/httpstream",
"Rev": "5f0d8f067e3bc465077d0333e891450326a577a3" "Rev": "9c0d9e23a515298bbe709bccf24fe790ecdd6f72"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/util/httpstream/spdy", "ImportPath": "k8s.io/apimachinery/pkg/util/httpstream/spdy",
"Rev": "5f0d8f067e3bc465077d0333e891450326a577a3" "Rev": "9c0d9e23a515298bbe709bccf24fe790ecdd6f72"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/util/intstr", "ImportPath": "k8s.io/apimachinery/pkg/util/intstr",
"Rev": "5f0d8f067e3bc465077d0333e891450326a577a3" "Rev": "9c0d9e23a515298bbe709bccf24fe790ecdd6f72"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/util/json", "ImportPath": "k8s.io/apimachinery/pkg/util/json",
"Rev": "5f0d8f067e3bc465077d0333e891450326a577a3" "Rev": "9c0d9e23a515298bbe709bccf24fe790ecdd6f72"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/util/mergepatch", "ImportPath": "k8s.io/apimachinery/pkg/util/mergepatch",
"Rev": "5f0d8f067e3bc465077d0333e891450326a577a3" "Rev": "9c0d9e23a515298bbe709bccf24fe790ecdd6f72"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/util/net", "ImportPath": "k8s.io/apimachinery/pkg/util/net",
"Rev": "5f0d8f067e3bc465077d0333e891450326a577a3" "Rev": "9c0d9e23a515298bbe709bccf24fe790ecdd6f72"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/util/remotecommand", "ImportPath": "k8s.io/apimachinery/pkg/util/remotecommand",
"Rev": "5f0d8f067e3bc465077d0333e891450326a577a3" "Rev": "9c0d9e23a515298bbe709bccf24fe790ecdd6f72"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/util/runtime", "ImportPath": "k8s.io/apimachinery/pkg/util/runtime",
"Rev": "5f0d8f067e3bc465077d0333e891450326a577a3" "Rev": "9c0d9e23a515298bbe709bccf24fe790ecdd6f72"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/util/sets", "ImportPath": "k8s.io/apimachinery/pkg/util/sets",
"Rev": "5f0d8f067e3bc465077d0333e891450326a577a3" "Rev": "9c0d9e23a515298bbe709bccf24fe790ecdd6f72"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/util/strategicpatch", "ImportPath": "k8s.io/apimachinery/pkg/util/strategicpatch",
"Rev": "5f0d8f067e3bc465077d0333e891450326a577a3" "Rev": "9c0d9e23a515298bbe709bccf24fe790ecdd6f72"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/util/validation", "ImportPath": "k8s.io/apimachinery/pkg/util/validation",
"Rev": "5f0d8f067e3bc465077d0333e891450326a577a3" "Rev": "9c0d9e23a515298bbe709bccf24fe790ecdd6f72"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/util/validation/field", "ImportPath": "k8s.io/apimachinery/pkg/util/validation/field",
"Rev": "5f0d8f067e3bc465077d0333e891450326a577a3" "Rev": "9c0d9e23a515298bbe709bccf24fe790ecdd6f72"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/util/wait", "ImportPath": "k8s.io/apimachinery/pkg/util/wait",
"Rev": "5f0d8f067e3bc465077d0333e891450326a577a3" "Rev": "9c0d9e23a515298bbe709bccf24fe790ecdd6f72"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/util/yaml", "ImportPath": "k8s.io/apimachinery/pkg/util/yaml",
"Rev": "5f0d8f067e3bc465077d0333e891450326a577a3" "Rev": "9c0d9e23a515298bbe709bccf24fe790ecdd6f72"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/version", "ImportPath": "k8s.io/apimachinery/pkg/version",
"Rev": "5f0d8f067e3bc465077d0333e891450326a577a3" "Rev": "9c0d9e23a515298bbe709bccf24fe790ecdd6f72"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/watch", "ImportPath": "k8s.io/apimachinery/pkg/watch",
"Rev": "5f0d8f067e3bc465077d0333e891450326a577a3" "Rev": "9c0d9e23a515298bbe709bccf24fe790ecdd6f72"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/third_party/forked/golang/json", "ImportPath": "k8s.io/apimachinery/third_party/forked/golang/json",
"Rev": "5f0d8f067e3bc465077d0333e891450326a577a3" "Rev": "9c0d9e23a515298bbe709bccf24fe790ecdd6f72"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/third_party/forked/golang/netutil", "ImportPath": "k8s.io/apimachinery/third_party/forked/golang/netutil",
"Rev": "5f0d8f067e3bc465077d0333e891450326a577a3" "Rev": "9c0d9e23a515298bbe709bccf24fe790ecdd6f72"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/third_party/forked/golang/reflect", "ImportPath": "k8s.io/apimachinery/third_party/forked/golang/reflect",
"Rev": "5f0d8f067e3bc465077d0333e891450326a577a3" "Rev": "9c0d9e23a515298bbe709bccf24fe790ecdd6f72"
}, },
{ {
"ImportPath": "k8s.io/kube-openapi/pkg/util/proto", "ImportPath": "k8s.io/kube-openapi/pkg/util/proto",

19
discovery/doc.go Normal file
View File

@ -0,0 +1,19 @@
/*
Copyright 2018 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 discovery provides ways to discover server-supported
// API groups, versions and resources.
package discovery

View File

@ -14,7 +14,6 @@ See the License for the specific language governing permissions and
limitations under the License. limitations under the License.
*/ */
// Package transport provides a round tripper capable of caching HTTP responses.
package discovery package discovery
import ( import (