kubernetesk8s.io/kubernetes/pkg Directories

pkg/ directory

Directories

PathSynopsis
pkg/admission
pkg/apiPackage api contains the latest (or "internal") version of the Kubernetes API objects.
pkg/api/endpoints
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/installPackage install installs the v1 monolithic api, making it available as an option to all of the API encoding/decoding machinery.
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/api/registeredPackage to keep track of API Versions that should be registered in api.Scheme.
pkg/api/resource
pkg/api/restPackage rest defines common logic around changes to Kubernetes resources.
pkg/api/rest/resttest
pkg/apis
pkg/apiserverPackage apiserver contains the code that provides a rest.ful api service.
pkg/apiserver/metrics
pkg/apis/extensions
pkg/apis/extensions/installPackage install installs the experimental API group, making it available as an option to all of the API encoding/decoding machinery.
pkg/apis/extensions/v1beta1
pkg/apis/extensions/validation
pkg/api/testapiPackage testapi provides a helper for retrieving the KUBE_TEST_API environment variable.
pkg/api/testing
pkg/api/testing/compat
pkg/api/unversionedPackage unversioned contains API types that are common to all versions.
pkg/api/utilTODO: This GetVersion/GetGroup arrangement is temporary and will be replaced with a GroupAndVersion type.
pkg/api/v1Package v1 is the v1 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/authorizer
pkg/auth/authorizer/abac
pkg/auth/authorizer/union
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/client
pkg/client/cachePackage cache is a client-side caching mechanism.
pkg/client/chaosclientPackage chaosclient makes it easy to simulate network latency, misbehaving servers, and random errors from servers.
pkg/client/metricsPackage metrics provides utilities for registering client metrics to Prometheus.
pkg/client/recordPackage record has all client logic for recording and reporting events.
pkg/client/unversionedPackage client contains the implementation of the client side communication with the Kubernetes master.
pkg/client/unversioned/authPackage auth defines a file format for holding authentication information needed by clients of Kubernetes.
pkg/client/unversioned/clientcmdPackage 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.
pkg/client/unversioned/clientcmd/api
pkg/client/unversioned/clientcmd/api/latest
pkg/client/unversioned/clientcmd/api/v1
pkg/client/unversioned/fakeThis is made a separate package and should only be imported by tests, because it imports testapi
pkg/client/unversioned/portforwardPackage portforward adds support for SSH-like port forwarding from the client's local host to remote containers.
pkg/client/unversioned/remotecommandPackage remotecommand adds support for executing commands in containers, with support for separate stdin, stdout, and stderr streams, as well as TTY.
pkg/client/unversioned/testclient
pkg/cloudproviderPackage cloudprovider supplies interfaces and implementations for cloud service providers.
pkg/cloudprovider/providers
pkg/cloudprovider/providers/aws
pkg/cloudprovider/providers/fakePackage fake_cloud is a test-double implementation of cloudprovider Interface, TCPLoadBalancer and Instances.
pkg/cloudprovider/providers/gcePackage gce_cloud is an implementation of Interface, TCPLoadBalancer and Instances for Google Compute Engine.
pkg/cloudprovider/providers/mesos
pkg/cloudprovider/providers/openstack
pkg/cloudprovider/providers/ovirt
pkg/cloudprovider/providers/rackspace
pkg/cloudprovider/providers/vagrantPackage vagrant_cloud is an implementation of Interface, TCPLoadBalancer and Instances for developer managed Vagrant cluster.
pkg/controllerPackage controller contains code for controllers (like the replication controller).
pkg/controller/daemonPackage daemon contains logic for watching and synchronizing daemons.
pkg/controller/deployment
pkg/controller/endpointPackage service provides EndpointController implementation to manage and sync service endpoints.
pkg/controller/frameworkPackage framework implements all the grunt work involved in running a simple controller.
pkg/controller/gcPackage gc contains a very simple pod "garbage collector" implementation, GCController, that runs in the controller manager.
pkg/controller/jobPackage job contains logic for watching and synchronizing jobs.
pkg/controller/namespacenamespace contains a controller that handles namespace lifecycle
pkg/controller/nodePackage nodecontroller contains code for syncing cloud instances with node registry
pkg/controller/persistentvolume
pkg/controller/podautoscaler
pkg/controller/podautoscaler/metrics
pkg/controller/replicationPackage replication contains logic for watching and synchronizing replication controllers.
pkg/controller/resourcequotaresourcequota contains a controller that makes resource quota usage observations
pkg/controller/routePackage routecontroller contains code for syncing cloud routing rules with the list of registered nodes.
pkg/controller/servicePackage servicecontroller contains code for syncing cloud load balancers with the service registry.
pkg/controller/serviceaccountPackage serviceaccount provides implementations to manage service accounts and service account tokens
pkg/conversionPackage conversion provides go object versioning and encoding/decoding mechanisms.
pkg/conversion/queryparamsPackage queryparams provides conversion from versioned runtime objects to URL query values
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/fieldpathPackage fieldpath supplies methods for extracting fields from objects given a path to a field.
pkg/fieldsPackage fields implements a simple field system, parsing and matching selectors with sets of fields.
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/hyperkubePackage hyperkube is a framework for kubernetes server components.
pkg/kubectlPackage kubectl is a set of libraries that are used by the kubectl command line tool.
pkg/kubectl/cmd
pkg/kubectl/cmd/config
pkg/kubectl/cmd/util
pkg/kubectl/cmd/util/editor
pkg/kubectl/cmd/util/jsonmerge
pkg/kubectl/resourcePackage resource assists clients in dealing with RESTful objects that match the Kubernetes API conventions.
pkg/kubeletPackage kubelet is the package that contains the libraries that drive the Kubelet binary.
pkg/kubelet/cadvisorKubelet interactions with cAdvisor.
pkg/kubelet/configReads the pod configuration from the Kubernetes apiserver.
pkg/kubelet/container
pkg/kubelet/dockertools
pkg/kubelet/envvarsPackage envvars is the package that build the environment variables that kubernetes provides to the containers run by it.
pkg/kubelet/leakyPackage leaky holds bits of kubelet that should be internal but have leaked out through bad abstractions.
pkg/kubelet/lifecycleHandlers for pod lifecycle events.
pkg/kubelet/metrics
pkg/kubelet/network
pkg/kubelet/network/cni
pkg/kubelet/network/execPackage exec scans and loads networking plugins that are installed under /usr/libexec/kubernetes/kubelet-plugins/net/exec/ The layout convention for a plugin is:
pkg/kubelet/network/hairpin
pkg/kubelet/portforwardpackage portforward contains server-side logic for handling port forwarding requests.
pkg/kubelet/prober
pkg/kubelet/qospackage qos contains helper functions for quality of service.
pkg/kubelet/qos/util
pkg/kubelet/rktPackage rkt contains the Containerruntime interface implementation for rkt.
pkg/kubelet/status
pkg/kubelet/typesCommon types in the Kubelet.
pkg/kubelet/utilUtility functions.
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/probePackage probe contains utilities for health probing, as well as health status information.
pkg/probe/exec
pkg/probe/http
pkg/probe/tcp
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/proxy/iptables
pkg/proxy/userspace
pkg/registryPackage registry implements the storage and system logic for the core of the api server.
pkg/registry/componentstatusPackage componentstatus provides interfaces and implementation for retrieving cluster component status.
pkg/registry/controllerPackage controller provides Registry interface and it's RESTStorage implementation for storing ReplicationController api objects.
pkg/registry/controller/etcd
pkg/registry/daemonsetPackage daemonset provides Registry interface and its RESTStorage implementation for storing DaemonSet api objects.
pkg/registry/daemonset/etcd
pkg/registry/deployment
pkg/registry/deployment/etcd
pkg/registry/endpointPackage endpoint provides Registry interface and it's RESTStorage implementation for storing Endpoint api objects.
pkg/registry/endpoint/etcd
pkg/registry/eventPackage event provides Registry interface and it's REST implementation for storing Event api objects.
pkg/registry/event/etcd
pkg/registry/experimental
pkg/registry/experimental/controller
pkg/registry/experimental/controller/etcd
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/generic/restPackage rest has generic implementations of resources used for REST responses
pkg/registry/horizontalpodautoscaler
pkg/registry/horizontalpodautoscaler/etcd
pkg/registry/ingress
pkg/registry/ingress/etcd
pkg/registry/jobPackage job provides Registry interface and it's RESTStorage implementation for storing Job api objects.
pkg/registry/job/etcd
pkg/registry/limitrangePackage limitrange provides Registry interface and it's REST implementation for storing LimitRange api objects.
pkg/registry/limitrange/etcd
pkg/registry/namespacePackage namespace provides Registry interface and it's REST implementation for storing Namespace api objects.
pkg/registry/namespace/etcd
pkg/registry/nodePackage node provides Registry interface and implementation for storing Nodes.
pkg/registry/node/etcd
pkg/registry/persistentvolume
pkg/registry/persistentvolumeclaim
pkg/registry/persistentvolumeclaim/etcd
pkg/registry/persistentvolume/etcd
pkg/registry/podPackage pod provides Registry interface and it's RESTStorage implementation for storing Pod api objects.
pkg/registry/pod/etcd
pkg/registry/podtemplatePackage podtemplate provides RESTStorage implementations for storing PodTemplate API objects.
pkg/registry/podtemplate/etcd
pkg/registry/registrytestPackage registrytest provides tests for Registry implementations for storing Minions, Pods, Schedulers and Services.
pkg/registry/resourcequotaPackage resourcequota provides Registry interface and it's REST implementation for storing ResourceQuota api objects.
pkg/registry/resourcequota/etcd
pkg/registry/secretPackage secrets provides Registry interface and its REST implementation for storing Secret api objects.
pkg/registry/secret/etcd
pkg/registry/servicePackage service provides the Registry interface and its RESTStorage implementation for storing Service api objects.
pkg/registry/serviceaccountPackage serviceaccount provides a Registry interface and a strategy implementation for storing ServiceAccount API objects.
pkg/registry/serviceaccount/etcd
pkg/registry/service/allocator
pkg/registry/service/allocator/etcd
pkg/registry/service/etcd
pkg/registry/service/ipallocator
pkg/registry/service/ipallocator/controller
pkg/registry/service/ipallocator/etcd
pkg/registry/service/portallocator
pkg/registry/service/portallocator/controller
pkg/registry/thirdpartyresourcePackage thirdpartyresource provides Registry interface and its REST implementation for storing ThirdPartyResource api objects.
pkg/registry/thirdpartyresourcedataPackage thirdpartyresourcedata provides Registry interface and its REST implementation for storing ThirdPartyResourceData api objects.
pkg/registry/thirdpartyresourcedata/etcd
pkg/registry/thirdpartyresource/etcd
pkg/runtimeDefines conversions between generic types and structs to map query strings to struct objects.
pkg/securitycontextPackage securitycontext contains security context api implementations
pkg/storageInterfaces for database-related operations.
pkg/storage/etcd
pkg/toolsPackage tools implements types which help work with etcd which depend on the api package.
pkg/tools/etcdtest
pkg/tools/metrics
pkg/typesPackage types implements various generic types used throughout kubernetes.
pkg/uipackage ui contains utilities for accessing the static data files compiled in the data/* subdirectories.
pkg/ui/data
pkg/ui/data/swagger
pkg/utilPackage util implements various utility functions used in both testing and implementation of Kubernetes.
pkg/util/bandwidthPackage bandwidth provides utilities for bandwidth shaping
pkg/util/configPackage config provides utility objects for decoupling sources of configuration and the actual configuration state.
pkg/util/dbusPackage dbus provides an injectable interface and implementations for D-Bus communication
pkg/util/deployment
pkg/util/errorsPackage errors implements various utility functions and types around errors.
pkg/util/execPackage exec provides an injectable interface and implementations for running commands.
pkg/util/fielderrors
pkg/util/flushwriterPackage flushwriter implements a wrapper for a writer that flushes on every write if that writer implements the io.Flusher interface
pkg/util/httpstreamPackage httpstream adds multiplexed streaming support to HTTP requests and responses via connection upgrades.
pkg/util/httpstream/spdy
pkg/util/io
pkg/util/iptablesPackage iptables provides an interface and implementations for running iptables commands.
pkg/util/jsonpathpackage jsonpath is a template engine using jsonpath syntax, which can be seen at http://goessner.net/articles/JsonPath/.
pkg/util/keymutex
pkg/util/limitwriterPackage limitwriter provides a writer that only allows a certain number of bytes to be written.
pkg/util/mountPackage mount defines an interface to mounting filesystems.
pkg/util/node
pkg/util/oomPackage oom implements utility functions relating to out of memory management.
pkg/util/procfsPackage procfs implements utility functions relating to the /proc mount.
pkg/util/proxyPackage proxy provides transport and upgrade support for proxies
pkg/util/randPackage rand provides utilities related to randomization.
pkg/util/sets
pkg/util/slicePackage slice provides utility methods for common operations on slices.
pkg/util/strategicpatch
pkg/util/sysctl
pkg/util/validation
pkg/util/waitPackage wait provides tools for polling or listening for changes to a condition.
pkg/util/workqueuePackage workqueue provides a simple queue that supports the following features:
pkg/util/yaml
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/volume/aws_ebsPackage aws_ebs contains the internal representation of AWS Elastic Block Store volumes.
pkg/volume/cephfsPackage nfs contains the internal representation of Ceph file system (CephFS) volumes.
pkg/volume/cinderPackage cinder contains the internal representation of cinder volumes.
pkg/volume/downwardapi
pkg/volume/empty_dirPackage empty_dir contains the internal representation of emptyDir volumes.
pkg/volume/fcPackage fc contains the internal representation of Fibre Channel (fc) volumes.
pkg/volume/flockerPackage flocker contains the internal representation of Flocker volumes
pkg/volume/gce_pdPackage gce_pd contains the internal representation of GCE PersistentDisk volumes.
pkg/volume/git_repoPackage git_repo contains the internal representation of git repo volumes.
pkg/volume/glusterfsPackage glusterfs contains the internal representation of glusterfs volumes.
pkg/volume/host_pathPackage host_path contains the internal representation of hostPath volumes.
pkg/volume/iscsiPackage iscsi contains the internal representation of Internet Small Computer System Interface (iSCSI) volumes.
pkg/volume/nfsPackage nfs contains the internal representation of network file system (NFS) volumes.
pkg/volume/persistent_claimPackage persistent_claim contains the internal representation of persistent volume claims.
pkg/volume/rbdPackage rbd contains the internal representation of Rados Block Store (Ceph) volumes.
pkg/volume/secretPackage secret contains the internal representation of secret volumes.
pkg/volume/utilContains utility code for use by volume plugins.
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
v1.1.2
Published
Nov 19, 2015
Platform
js/wasm
Last checked
50 seconds ago

Tools for package owners.