mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-02 16:29:21 +00:00
Fix package documentation on pkg/client/unversioned.
The package documentation seems to reflect an older version of the API.
This commit is contained in:
parent
625a64c9ec
commit
e243ca8129
@ -15,14 +15,14 @@ limitations under the License.
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/*
|
/*
|
||||||
Package client contains the implementation of the client side communication with the
|
Package unversioned contains the implementation of the client side communication with the
|
||||||
Kubernetes master. The Client class provides methods for reading, creating, updating,
|
Kubernetes master. The Client class provides methods for reading, creating, updating,
|
||||||
and deleting pods, replication controllers, daemons, services, and nodes.
|
and deleting pods, replication controllers, daemons, services, and nodes.
|
||||||
|
|
||||||
Most consumers should use the Config object to create a Client:
|
Most consumers should use the Config object to create a Client:
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"k8s.io/kubernetes/pkg/client"
|
client "k8s.io/kubernetes/pkg/client/unversioned"
|
||||||
"k8s.io/kubernetes/pkg/api"
|
"k8s.io/kubernetes/pkg/api"
|
||||||
"k8s.io/kubernetes/pkg/fields"
|
"k8s.io/kubernetes/pkg/fields"
|
||||||
"k8s.io/kubernetes/pkg/labels"
|
"k8s.io/kubernetes/pkg/labels"
|
||||||
|
Loading…
Reference in New Issue
Block a user