README

client-go

Go clients for talking to a kubernetes cluster.

We recommend using the v0.x.y tags for Kubernetes releases >= v1.17.0 and kubernetes-1.x.y tags for Kubernetes releases < v1.17.0. See INSTALL.md for detailed installation instructions. go get k8s.io/client-go@master works, but will fetch master, which may be less stable than a tagged release.

BuildStatus Widget GoReport Widget GoDocWidget

Table of Contents

What's included
  • The kubernetes package contains the clientset to access Kubernetes API.
  • The discovery package is used to discover APIs supported by a Kubernetes API server.
  • The dynamic package contains a dynamic client that can perform generic operations on arbitrary Kubernetes API objects.
  • The plugin/pkg/client/auth packages contain optional authentication plugins for obtaining credentials from external sources.
  • The transport package is used to set up auth and start a connection.
  • The tools/cache package is useful for writing controllers.
Versioning
  • For each v1.x.y Kubernetes release, the major version (first digit) would remain 0.

  • Bugfixes will result in the patch version (third digit) changing. PRs that are cherry-picked into an older Kubernetes release branch will result in an update to the corresponding branch in client-go, with a corresponding new tag changing the patch version.

Branches and tags.

We will create a new branch and tag for each increment in the minor version number. We will create only a new tag for each increment in the patch version number. See semver for definitions of major, minor, and patch.

The HEAD of the master branch in client-go will track the HEAD of the master branch in the main Kubernetes repo.

Compatibility: your code <-> client-go

The v0.x.y tags indicate that go APIs may change in incompatible ways in different versions.

See INSTALL.md for guidelines on requiring a specific version of client-go.

Compatibility: client-go <-> Kubernetes clusters

Since Kubernetes is backwards compatible with clients, older client-go versions will work with many different Kubernetes cluster versions.

We will backport bugfixes--but not new features--into older versions of client-go.

Compatibility matrix
Kubernetes 1.15 Kubernetes 1.16 Kubernetes 1.17
kubernetes-1.15.0 +- +-
kubernetes-1.16.0 +- +-
kubernetes-1.17.0/v0.17.0 +- +-
HEAD +- +- +-

Key:

  • Exactly the same features / API objects in both client-go and the Kubernetes version.
  • + client-go has features or API objects that may not be present in the Kubernetes cluster, either due to that client-go has additional new API, or that the server has removed old API. However, everything they have in common (i.e., most APIs) will work. Please note that alpha APIs may vanish or change significantly in a single release.
  • - The Kubernetes cluster has features the client-go library can't use, either due to the server has additional new API, or that client-go has removed old API. However, everything they share in common (i.e., most APIs) will work.

See the CHANGELOG for a detailed description of changes between client-go versions.

Branch Canonical source code location Maintenance status
release-1.4 Kubernetes main repo, 1.4 branch = -
release-1.5 Kubernetes main repo, 1.5 branch = -
release-2.0 Kubernetes main repo, 1.5 branch = -
release-3.0 Kubernetes main repo, 1.6 branch = -
release-4.0 Kubernetes main repo, 1.7 branch = -
release-5.0 Kubernetes main repo, 1.8 branch = -
release-6.0 Kubernetes main repo, 1.9 branch = -
release-7.0 Kubernetes main repo, 1.10 branch = -
release-8.0 Kubernetes main repo, 1.11 branch =-
release-9.0 Kubernetes main repo, 1.12 branch =-
release-10.0 Kubernetes main repo, 1.13 branch =-
release-11.0 Kubernetes main repo, 1.14 branch
release-12.0 Kubernetes main repo, 1.15 branch
release-13.0 Kubernetes main repo, 1.16 branch
release-14.0 Kubernetes main repo, 1.17 branch
client-go HEAD Kubernetes main repo, master branch

Key:

  • Changes in main Kubernetes repo are actively published to client-go by a bot
  • = Maintenance is manual, only severe security bugs will be patched.
  • - Deprecated; please upgrade.
Deprecation policy

We will maintain branches for at least six months after their first stable tag is cut. (E.g., the clock for the release-2.0 branch started ticking when we tagged v2.0.0, not when we made the first alpha.) This policy applies to every version greater than or equal to 2.0.

Why do the 1.4 and 1.5 branch contain top-level folder named after the version?

For the initial release of client-go, we thought it would be easiest to keep separate directories for each minor version. That soon proved to be a mistake. We are keeping the top-level folders in the 1.4 and 1.5 branches so that existing users won't be broken.

Kubernetes tags

This repository is still a mirror of k8s.io/kubernetes/staging/src/client-go, the code development is still done in the staging area.

Since Kubernetes v1.8.0, when syncing the code from the staging area, we also sync the Kubernetes version tags to client-go, prefixed with kubernetes-. From Kubernetes v1.17.0, we also create matching semver v0.x.y tags for each v1.x.y Kubernetes release.

For example, if you check out the kubernetes-1.17.0 or the v0.17.0 tag in client-go, the code you get is exactly the same as if you check out the v1.17.0 tag in Kubernetes, and change directory to staging/src/k8s.io/client-go.

The purpose is to let users quickly find matching commits among published repos, like sample-apiserver, apiextension-apiserver, etc. The Kubernetes version tag does NOT claim any backwards compatibility guarantees for client-go. Please check the semantic versions if you care about backwards compatibility.

How to get it

Use go1.11+ and fetch the desired version using the go get command. For example:

go get k8s.io/client-go@v0.17.0

See INSTALL.md for detailed instructions.

How to use it

If your application runs in a Pod in the cluster, please refer to the in-cluster example, otherwise please refer to the out-of-cluster example.

Dependency management

For details on how to correctly use a dependency management for installing client-go, please see INSTALL.md.

Contributing code

Please send pull requests against the client packages in the Kubernetes main repository. Changes in the staging area will be published to this repository every day.

Expand ▾ Collapse ▴

Directories

Path Synopsis
deprecated This package has the automatically generated clientset.
deprecated/fake This package has the automatically generated fake clientset.
deprecated/scheme This package contains the scheme of the automatically generated clientset.
deprecated/typed/admissionregistration/v1 This package has the automatically generated typed clients.
deprecated/typed/admissionregistration/v1/fake Package fake has the automatically generated clients.
deprecated/typed/admissionregistration/v1beta1 This package has the automatically generated typed clients.
deprecated/typed/admissionregistration/v1beta1/fake Package fake has the automatically generated clients.
deprecated/typed/apps/v1 This package has the automatically generated typed clients.
deprecated/typed/apps/v1/fake Package fake has the automatically generated clients.
deprecated/typed/apps/v1beta1 This package has the automatically generated typed clients.
deprecated/typed/apps/v1beta1/fake Package fake has the automatically generated clients.
deprecated/typed/apps/v1beta2 This package has the automatically generated typed clients.
deprecated/typed/apps/v1beta2/fake Package fake has the automatically generated clients.
deprecated/typed/auditregistration/v1alpha1 This package has the automatically generated typed clients.
deprecated/typed/auditregistration/v1alpha1/fake Package fake has the automatically generated clients.
deprecated/typed/authentication/v1 This package has the automatically generated typed clients.
deprecated/typed/authentication/v1/fake Package fake has the automatically generated clients.
deprecated/typed/authentication/v1beta1 This package has the automatically generated typed clients.
deprecated/typed/authentication/v1beta1/fake Package fake has the automatically generated clients.
deprecated/typed/authorization/v1 This package has the automatically generated typed clients.
deprecated/typed/authorization/v1/fake Package fake has the automatically generated clients.
deprecated/typed/authorization/v1beta1 This package has the automatically generated typed clients.
deprecated/typed/authorization/v1beta1/fake Package fake has the automatically generated clients.
deprecated/typed/autoscaling/v1 This package has the automatically generated typed clients.
deprecated/typed/autoscaling/v1/fake Package fake has the automatically generated clients.
deprecated/typed/autoscaling/v2beta1 This package has the automatically generated typed clients.
deprecated/typed/autoscaling/v2beta1/fake Package fake has the automatically generated clients.
deprecated/typed/autoscaling/v2beta2 This package has the automatically generated typed clients.
deprecated/typed/autoscaling/v2beta2/fake Package fake has the automatically generated clients.
deprecated/typed/batch/v1 This package has the automatically generated typed clients.
deprecated/typed/batch/v1/fake Package fake has the automatically generated clients.
deprecated/typed/batch/v1beta1 This package has the automatically generated typed clients.
deprecated/typed/batch/v1beta1/fake Package fake has the automatically generated clients.
deprecated/typed/batch/v2alpha1 This package has the automatically generated typed clients.
deprecated/typed/batch/v2alpha1/fake Package fake has the automatically generated clients.
deprecated/typed/certificates/v1beta1 This package has the automatically generated typed clients.
deprecated/typed/certificates/v1beta1/fake Package fake has the automatically generated clients.
deprecated/typed/coordination/v1 This package has the automatically generated typed clients.
deprecated/typed/coordination/v1/fake Package fake has the automatically generated clients.
deprecated/typed/coordination/v1beta1 This package has the automatically generated typed clients.
deprecated/typed/coordination/v1beta1/fake Package fake has the automatically generated clients.
deprecated/typed/core/v1 This package has the automatically generated typed clients.
deprecated/typed/core/v1/fake Package fake has the automatically generated clients.
deprecated/typed/discovery/v1alpha1 This package has the automatically generated typed clients.
deprecated/typed/discovery/v1alpha1/fake Package fake has the automatically generated clients.
deprecated/typed/discovery/v1beta1 This package has the automatically generated typed clients.
deprecated/typed/discovery/v1beta1/fake Package fake has the automatically generated clients.
deprecated/typed/events/v1beta1 This package has the automatically generated typed clients.
deprecated/typed/events/v1beta1/fake Package fake has the automatically generated clients.
deprecated/typed/extensions/v1beta1 This package has the automatically generated typed clients.
deprecated/typed/extensions/v1beta1/fake Package fake has the automatically generated clients.
deprecated/typed/flowcontrol/v1alpha1 This package has the automatically generated typed clients.
deprecated/typed/flowcontrol/v1alpha1/fake Package fake has the automatically generated clients.
deprecated/typed/networking/v1 This package has the automatically generated typed clients.
deprecated/typed/networking/v1/fake Package fake has the automatically generated clients.
deprecated/typed/networking/v1beta1 This package has the automatically generated typed clients.
deprecated/typed/networking/v1beta1/fake Package fake has the automatically generated clients.
deprecated/typed/node/v1alpha1 This package has the automatically generated typed clients.
deprecated/typed/node/v1alpha1/fake Package fake has the automatically generated clients.
deprecated/typed/node/v1beta1 This package has the automatically generated typed clients.
deprecated/typed/node/v1beta1/fake Package fake has the automatically generated clients.
deprecated/typed/policy/v1beta1 This package has the automatically generated typed clients.
deprecated/typed/policy/v1beta1/fake Package fake has the automatically generated clients.
deprecated/typed/rbac/v1 This package has the automatically generated typed clients.
deprecated/typed/rbac/v1/fake Package fake has the automatically generated clients.
deprecated/typed/rbac/v1alpha1 This package has the automatically generated typed clients.
deprecated/typed/rbac/v1alpha1/fake Package fake has the automatically generated clients.
deprecated/typed/rbac/v1beta1 This package has the automatically generated typed clients.
deprecated/typed/rbac/v1beta1/fake Package fake has the automatically generated clients.
deprecated/typed/scheduling/v1 This package has the automatically generated typed clients.
deprecated/typed/scheduling/v1/fake Package fake has the automatically generated clients.
deprecated/typed/scheduling/v1alpha1 This package has the automatically generated typed clients.
deprecated/typed/scheduling/v1alpha1/fake Package fake has the automatically generated clients.
deprecated/typed/scheduling/v1beta1 This package has the automatically generated typed clients.
deprecated/typed/scheduling/v1beta1/fake Package fake has the automatically generated clients.
deprecated/typed/settings/v1alpha1 This package has the automatically generated typed clients.
deprecated/typed/settings/v1alpha1/fake Package fake has the automatically generated clients.
deprecated/typed/storage/v1 This package has the automatically generated typed clients.
deprecated/typed/storage/v1/fake Package fake has the automatically generated clients.
deprecated/typed/storage/v1alpha1 This package has the automatically generated typed clients.
deprecated/typed/storage/v1alpha1/fake Package fake has the automatically generated clients.
deprecated/typed/storage/v1beta1 This package has the automatically generated typed clients.
deprecated/typed/storage/v1beta1/fake Package fake has the automatically generated clients.
discovery Package discovery provides ways to discover server-supported API groups, versions and resources.
discovery/cached
discovery/cached/disk
discovery/cached/memory
discovery/fake
dynamic
dynamic/dynamicinformer
dynamic/dynamiclister
dynamic/fake
examples/create-update-delete-deployment Note: the example only works with the code within the same release/branch.
examples/dynamic-create-update-delete-deployment Note: the example only works with the code within the same release/branch.
examples/fake-client Package fakeclient contains examples on how to use fakeclient in tests.
examples/in-cluster-client-configuration Note: the example only works with the code within the same release/branch.
examples/leader-election
examples/out-of-cluster-client-configuration Note: the example only works with the code within the same release/branch.
examples/workqueue
informers
informers/admissionregistration
informers/admissionregistration/v1
informers/admissionregistration/v1beta1
informers/apps
informers/apps/v1
informers/apps/v1beta1
informers/apps/v1beta2
informers/auditregistration
informers/auditregistration/v1alpha1
informers/autoscaling
informers/autoscaling/v1
informers/autoscaling/v2beta1
informers/autoscaling/v2beta2
informers/batch
informers/batch/v1
informers/batch/v1beta1
informers/batch/v2alpha1
informers/certificates
informers/certificates/v1beta1
informers/coordination
informers/coordination/v1
informers/coordination/v1beta1
informers/core
informers/core/v1
informers/discovery
informers/discovery/v1alpha1
informers/discovery/v1beta1
informers/events
informers/events/v1beta1
informers/extensions
informers/extensions/v1beta1
informers/flowcontrol
informers/flowcontrol/v1alpha1
informers/internalinterfaces
informers/networking
informers/networking/v1
informers/networking/v1beta1
informers/node
informers/node/v1alpha1
informers/node/v1beta1
informers/policy
informers/policy/v1beta1
informers/rbac
informers/rbac/v1
informers/rbac/v1alpha1
informers/rbac/v1beta1
informers/scheduling
informers/scheduling/v1
informers/scheduling/v1alpha1
informers/scheduling/v1beta1
informers/settings
informers/settings/v1alpha1
informers/storage
informers/storage/v1
informers/storage/v1alpha1
informers/storage/v1beta1
kubernetes This package has the automatically generated clientset.
kubernetes/fake This package has the automatically generated fake clientset.
kubernetes/scheme This package contains the scheme of the automatically generated clientset.
kubernetes/typed/admissionregistration/v1 This package has the automatically generated typed clients.
kubernetes/typed/admissionregistration/v1/fake Package fake has the automatically generated clients.
kubernetes/typed/admissionregistration/v1beta1 This package has the automatically generated typed clients.
kubernetes/typed/admissionregistration/v1beta1/fake Package fake has the automatically generated clients.
kubernetes/typed/apps/v1 This package has the automatically generated typed clients.
kubernetes/typed/apps/v1/fake Package fake has the automatically generated clients.
kubernetes/typed/apps/v1beta1 This package has the automatically generated typed clients.
kubernetes/typed/apps/v1beta1/fake Package fake has the automatically generated clients.
kubernetes/typed/apps/v1beta2 This package has the automatically generated typed clients.
kubernetes/typed/apps/v1beta2/fake Package fake has the automatically generated clients.
kubernetes/typed/auditregistration/v1alpha1 This package has the automatically generated typed clients.
kubernetes/typed/auditregistration/v1alpha1/fake Package fake has the automatically generated clients.
kubernetes/typed/authentication/v1 This package has the automatically generated typed clients.
kubernetes/typed/authentication/v1/fake Package fake has the automatically generated clients.
kubernetes/typed/authentication/v1beta1 This package has the automatically generated typed clients.
kubernetes/typed/authentication/v1beta1/fake Package fake has the automatically generated clients.
kubernetes/typed/authorization/v1 This package has the automatically generated typed clients.
kubernetes/typed/authorization/v1/fake Package fake has the automatically generated clients.
kubernetes/typed/authorization/v1beta1 This package has the automatically generated typed clients.
kubernetes/typed/authorization/v1beta1/fake Package fake has the automatically generated clients.
kubernetes/typed/autoscaling/v1 This package has the automatically generated typed clients.
kubernetes/typed/autoscaling/v1/fake Package fake has the automatically generated clients.
kubernetes/typed/autoscaling/v2beta1 This package has the automatically generated typed clients.
kubernetes/typed/autoscaling/v2beta1/fake Package fake has the automatically generated clients.
kubernetes/typed/autoscaling/v2beta2 This package has the automatically generated typed clients.
kubernetes/typed/autoscaling/v2beta2/fake Package fake has the automatically generated clients.
kubernetes/typed/batch/v1 This package has the automatically generated typed clients.
kubernetes/typed/batch/v1/fake Package fake has the automatically generated clients.
kubernetes/typed/batch/v1beta1 This package has the automatically generated typed clients.
kubernetes/typed/batch/v1beta1/fake Package fake has the automatically generated clients.
kubernetes/typed/batch/v2alpha1 This package has the automatically generated typed clients.
kubernetes/typed/batch/v2alpha1/fake Package fake has the automatically generated clients.
kubernetes/typed/certificates/v1beta1 This package has the automatically generated typed clients.
kubernetes/typed/certificates/v1beta1/fake Package fake has the automatically generated clients.
kubernetes/typed/coordination/v1 This package has the automatically generated typed clients.
kubernetes/typed/coordination/v1/fake Package fake has the automatically generated clients.
kubernetes/typed/coordination/v1beta1 This package has the automatically generated typed clients.
kubernetes/typed/coordination/v1beta1/fake Package fake has the automatically generated clients.
kubernetes/typed/core/v1 This package has the automatically generated typed clients.
kubernetes/typed/core/v1/fake Package fake has the automatically generated clients.
kubernetes/typed/discovery/v1alpha1 This package has the automatically generated typed clients.
kubernetes/typed/discovery/v1alpha1/fake Package fake has the automatically generated clients.
kubernetes/typed/discovery/v1beta1 This package has the automatically generated typed clients.
kubernetes/typed/discovery/v1beta1/fake Package fake has the automatically generated clients.
kubernetes/typed/events/v1beta1 This package has the automatically generated typed clients.
kubernetes/typed/events/v1beta1/fake Package fake has the automatically generated clients.
kubernetes/typed/extensions/v1beta1 This package has the automatically generated typed clients.
kubernetes/typed/extensions/v1beta1/fake Package fake has the automatically generated clients.
kubernetes/typed/flowcontrol/v1alpha1 This package has the automatically generated typed clients.
kubernetes/typed/flowcontrol/v1alpha1/fake Package fake has the automatically generated clients.
kubernetes/typed/networking/v1 This package has the automatically generated typed clients.
kubernetes/typed/networking/v1/fake Package fake has the automatically generated clients.
kubernetes/typed/networking/v1beta1 This package has the automatically generated typed clients.
kubernetes/typed/networking/v1beta1/fake Package fake has the automatically generated clients.
kubernetes/typed/node/v1alpha1 This package has the automatically generated typed clients.
kubernetes/typed/node/v1alpha1/fake Package fake has the automatically generated clients.
kubernetes/typed/node/v1beta1 This package has the automatically generated typed clients.
kubernetes/typed/node/v1beta1/fake Package fake has the automatically generated clients.
kubernetes/typed/policy/v1beta1 This package has the automatically generated typed clients.
kubernetes/typed/policy/v1beta1/fake Package fake has the automatically generated clients.
kubernetes/typed/rbac/v1 This package has the automatically generated typed clients.
kubernetes/typed/rbac/v1/fake Package fake has the automatically generated clients.
kubernetes/typed/rbac/v1alpha1 This package has the automatically generated typed clients.
kubernetes/typed/rbac/v1alpha1/fake Package fake has the automatically generated clients.
kubernetes/typed/rbac/v1beta1 This package has the automatically generated typed clients.
kubernetes/typed/rbac/v1beta1/fake Package fake has the automatically generated clients.
kubernetes/typed/scheduling/v1 This package has the automatically generated typed clients.
kubernetes/typed/scheduling/v1/fake Package fake has the automatically generated clients.
kubernetes/typed/scheduling/v1alpha1 This package has the automatically generated typed clients.
kubernetes/typed/scheduling/v1alpha1/fake Package fake has the automatically generated clients.
kubernetes/typed/scheduling/v1beta1 This package has the automatically generated typed clients.
kubernetes/typed/scheduling/v1beta1/fake Package fake has the automatically generated clients.
kubernetes/typed/settings/v1alpha1 This package has the automatically generated typed clients.
kubernetes/typed/settings/v1alpha1/fake Package fake has the automatically generated clients.
kubernetes/typed/storage/v1 This package has the automatically generated typed clients.
kubernetes/typed/storage/v1/fake Package fake has the automatically generated clients.
kubernetes/typed/storage/v1alpha1 This package has the automatically generated typed clients.
kubernetes/typed/storage/v1alpha1/fake Package fake has the automatically generated clients.
kubernetes/typed/storage/v1beta1 This package has the automatically generated typed clients.
kubernetes/typed/storage/v1beta1/fake Package fake has the automatically generated clients.
listers/admissionregistration/v1
listers/admissionregistration/v1beta1
listers/apps/v1
listers/apps/v1beta1
listers/apps/v1beta2
listers/auditregistration/v1alpha1
listers/authentication/v1
listers/authentication/v1beta1
listers/authorization/v1
listers/authorization/v1beta1
listers/autoscaling/v1
listers/autoscaling/v2beta1
listers/autoscaling/v2beta2
listers/batch/v1
listers/batch/v1beta1
listers/batch/v2alpha1
listers/certificates/v1beta1
listers/coordination/v1
listers/coordination/v1beta1
listers/core/v1
listers/discovery/v1alpha1
listers/discovery/v1beta1
listers/events/v1beta1
listers/extensions/v1beta1
listers/flowcontrol/v1alpha1
listers/imagepolicy/v1alpha1
listers/networking/v1
listers/networking/v1beta1
listers/node/v1alpha1
listers/node/v1beta1
listers/policy/v1beta1
listers/rbac/v1
listers/rbac/v1alpha1
listers/rbac/v1beta1
listers/scheduling/v1
listers/scheduling/v1alpha1
listers/scheduling/v1beta1
listers/settings/v1alpha1
listers/storage/v1
listers/storage/v1alpha1
listers/storage/v1beta1
metadata
metadata/fake
metadata/metadatainformer
metadata/metadatalister
pkg/apis/clientauthentication
pkg/apis/clientauthentication/install Package install installs the experimental API group, making it available as an option to all of the API encoding/decoding machinery.
pkg/apis/clientauthentication/v1alpha1
pkg/apis/clientauthentication/v1beta1
pkg/version Package version supplies version information collected at build time to kubernetes components.
plugin/pkg/client/auth
plugin/pkg/client/auth/azure
plugin/pkg/client/auth/exec
plugin/pkg/client/auth/gcp
plugin/pkg/client/auth/oidc
plugin/pkg/client/auth/openstack
rest
rest/fake This is made a separate package and should only be imported by tests, because it imports testapi
rest/watch
restmapper
scale Package scale provides a polymorphic scale client capable of fetching and updating Scale for any resource which implements the `scale` subresource, as long as that subresource operates on a version of scale convertable to autoscaling.Scale.
scale/fake Package fake provides a fake client interface to arbitrary Kubernetes APIs that exposes common high level operations and exposes common metadata.
scale/scheme Package scheme contains a runtime.Scheme to be used for serializing and deserializing different versions of Scale, and for converting in between them.
scale/scheme/appsint Package appsint contains the necessary scaffolding of the internal version of extensions as required by conversion logic.
scale/scheme/appsv1beta1
scale/scheme/appsv1beta2
scale/scheme/autoscalingv1
scale/scheme/extensionsint Package extensionsint contains the necessary scaffolding of the internal version of extensions as required by conversion logic.
scale/scheme/extensionsv1beta1
testing
third_party/forked/golang/template This package is copied from Go library text/template.
tools/auth Package auth defines a file format for holding authentication information needed by clients of Kubernetes.
tools/cache Package cache is a client-side caching mechanism.
tools/cache/testing
tools/clientcmd Package clientcmd provides one stop shopping for building a working client from a fixed config, from a .kubeconfig file, from command line flags, or from any merged combination.
tools/clientcmd/api
tools/clientcmd/api/latest
tools/clientcmd/api/v1
tools/events Package events has all client logic for recording and reporting "k8s.io/api/events/v1beta1".Event events.
tools/leaderelection Package leaderelection implements leader election of a set of endpoints.
tools/leaderelection/resourcelock
tools/metrics Package metrics provides abstractions for registering which metrics to record.
tools/pager
tools/portforward Package portforward adds support for SSH-like port forwarding from the client's local host to remote containers.
tools/record Package record has all client logic for recording and reporting "k8s.io/api/core/v1".Event events.
tools/record/util
tools/reference
tools/remotecommand Package remotecommand adds support for executing commands in containers, with support for separate stdin, stdout, and stderr streams, as well as TTY.
tools/watch
transport
transport/spdy
util/cert
util/certificate
util/certificate/csr
util/connrotation Package connrotation implements a connection dialer that tracks and can close all created connections.
util/exec
util/flowcontrol
util/homedir
util/jsonpath package jsonpath is a template engine using jsonpath syntax, which can be seen at http://goessner.net/articles/JsonPath/.
util/keyutil Package keyutil contains utilities for managing public/private key pairs.
util/retry
util/testing
util/workqueue Package workqueue provides a simple queue that supports the following features: * Fair: items processed in the order in which they are added.