kubernetesk8s.io/kubernetes/pkg Directories

pkg/ directory

Directories

PathSynopsis
pkg/apiPackage api contains the latest (or "internal") version of the Kubernetes API objects.
pkg/api/errorsPackage errors provides detailed error types for api field validation.
pkg/api/errors/etcdPackage etcd provides conversion of etcd errors to API errors.
pkg/api/latestPackage latest defines the default output serializations that code should use and imports the required schemas.
pkg/api/metaPackage meta provides functions for retrieving API metadata from objects belonging to the Kubernetes API
pkg/apiserverPackage apiserver contains the code that provides a RESTful api service.
pkg/api/testapiPackage testapi provides a helper for retrieving the KUBE_API_VERSION environment variable.
pkg/api/v1beta1Package v1beta1 is the v1beta1 version of the API.
pkg/api/v1beta2Package v1beta2 is the v1beta2 version of the API.
pkg/api/v1beta3Package v1beta3 is the v1beta3 version of the API.
pkg/api/validationPackage validation has functions for validating the correctness of api objects and explaining what is wrong with them when they aren't valid.
pkg/auth
pkg/auth/authenticator
pkg/auth/authenticator/bearertoken
pkg/auth/authenticator/tokenfile
pkg/auth/authorizer
pkg/auth/authorizer/abac
pkg/auth/handlers
pkg/auth/userPackage user contains utilities for dealing with simple user exchange in the auth packages.
pkg/capabilitiespackage capbabilities manages system level capabilities
pkg/clientPackage client contains the implementation of the client side communication with the Kubernetes master.
pkg/clientauthPackage authcfg defines a file format for holding authentication information needed by clients of Kubernetes.
pkg/client/cachePackage cache is a client-side caching mechanism.
pkg/client/recordPackage record has all client logic for recording and reporting events.
pkg/cloudproviderPackage cloudprovider supplies interfaces and implementations for cloud service providers.
pkg/cloudprovider/aws
pkg/cloudprovider/controllerPackage controller contains code for syncing cloud instances with minion registry
pkg/cloudprovider/fakePackage fake_cloud is a test-double implementation of cloudprovider Interface, TCPLoadBalancer and Instances.
pkg/cloudprovider/gcePackage gce_cloud is an implementation of Interface, TCPLoadBalancer and Instances for Google Compute Engine.
pkg/cloudprovider/openstack
pkg/cloudprovider/ovirt
pkg/cloudprovider/vagrantPackage vagrant_cloud is an implementation of Interface, TCPLoadBalancer and Instances for developer managed Vagrant cluster.
pkg/config
pkg/constraintPackage constraint has functions for ensuring that collections of containers are allowed to run together on a single host.
pkg/controllerPackage controller contains logic for watching and synchronizing replicationControllers.
pkg/conversionPackage conversion provides go object versioning and encoding/decoding mechanisms.
pkg/credentialproviderPackage credentialprovider supplies interfaces and implementations for docker registry providers to expose their authentication scheme.
pkg/credentialprovider/gcpPackage gcp_credentials contains implementations of DockerConfigProvider for Google Cloud Platform.
pkg/healthPackage health contains utilities for health checking, as well as health status information.
pkg/healthzPackage healthz implements basic http server health checking.
pkg/httplogPackage httplog contains a helper object and functions to maintain a log along with an http response.
pkg/kubecfgPackage kubecfg is a set of libraries that are used by the kubecfg command line tool.
pkg/kubectlPackage kubectl is a set of libraries that are used by the kubectl command line tool.
pkg/kubectl/cmd
pkg/kubeletPackage kubelet is the package that contains the libraries that drive the Kubelet binary.
pkg/kubelet/configPackage config implements the pod configuration readers.
pkg/kubelet/dockertools
pkg/labelsPackage labels implements a simple label system, parsing and matching selectors with sets of labels.
pkg/masterPackage master contains code for setting up and running a Kubernetes cluster master.
pkg/master/portsPackage ports defines ports used by various pieces of the kubernetes infrastructure.
pkg/proxyPackage proxy implements the layer-3 network proxy.
pkg/proxy/configPackage config provides decoupling between various configuration sources (etcd, files,...) and the pieces that actually care about them (loadbalancer, proxy).
pkg/registryPackage registry implements the storage and system logic for the core of the api server.
pkg/registry/bindingPackage binding contains the middle layer logic for bindings.
pkg/registry/controllerPackage controller provides Registry interface and it's RESTStorage implementation for storing ReplicationController api objects.
pkg/registry/endpointPackage endpoint provides Registry interface and it's RESTStorage implementation for storing Endpoint api objects.
pkg/registry/etcdPackage etcd provides etcd backend implementation for storing PodRegistry, ControllerRegistry and ServiceRegistry api objects.
pkg/registry/eventPackage event provides Registry interface and it's REST implementation for storing Event api objects.
pkg/registry/genericPackage generic provides a generic object store interface and a generic label/field matching type.
pkg/registry/generic/etcdPackage etcd has a generic implementation of a registry that stores things in etcd.
pkg/registry/minionPackage minion provides Registry interface and implementation for storing Minions.
pkg/registry/podPackage pod provides Registry interface and it's RESTStorage implementation for storing Pod api objects.
pkg/registry/registrytestPackage registrytest provides tests for Registry implementations for storing Minions, Pods, Schedulers and Services.
pkg/registry/servicePackage service provides Registry interface and it's RESTStorage implementation for storing Service api objects.
pkg/resourcespackage resources has constants and utilities for dealing with resources
pkg/runtimePackage runtime includes helper functions for working with API objects that follow the kubernetes API object conventions, which are:
pkg/schedulerPackage scheduler contains a generic Scheduler interface and several implementations.
pkg/servicePackage service provides EndpointController implementation to manage and sync service endpoints.
pkg/standalonepackage standalone has utilities for running different Kubernetes binaries in a single binary.
pkg/toolsPackage tools implements general tools which depend on the api package.
pkg/uipackage ui contains static data files compiled to go, and utilities for accessing them.
pkg/utilPackage util implements various utility functions used in both testing and implementation of Kubernetes.
pkg/util/configPackage config provides utility objects for decoupling sources of configuration and the actual configuration state.
pkg/util/execPackage exec provides an injectable interface and implementations for running commands.
pkg/util/iptablesPackage iptables provides an interface and implementations for running iptables commands.
pkg/util/waitPackage wait provides tools for polling or listening for changes to a condition.
pkg/versionPackage version supplies version information collected at build time to kubernetes components.
pkg/version/verflagPackage verflag defines utility functions to handle command line flags related to version of Kubernetes.
pkg/volumePackage volume includes internal representations of external volume types as well as utility methods required to mount/unmount volumes to kubelets.
pkg/watchPackage watch contains a generic watchable interface, and a fake for testing code that uses the watch interface.
pkg/watch/jsonPackage json implements a simple encoder and decoder for streams of watch events over io.Writer/Readers
Version
v0.5.3
Published
Nov 24, 2014
Platform
js/wasm
Last checked
15 seconds ago

Tools for package owners.