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/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/resource
pkg/api/restPackage rest defines common logic around changes to Kubernetes resources.
pkg/api/rest/resttest
pkg/apiserverPackage apiserver contains the code that provides a rest.ful api service.
pkg/api/testapiPackage testapi provides a helper for retrieving the KUBE_API_VERSION environment variable.
pkg/api/testing
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/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/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/clientcmd/api
pkg/client/clientcmd/api/latest
pkg/client/clientcmd/api/v1
pkg/client/portforwardPackage portforward adds support for SSH-like port forwarding from the client's local host to remote containers.
pkg/client/recordPackage record has all client logic for recording and reporting events.
pkg/client/remotecommandPackage remotecommand adds support for executing commands in containers, with support for separate stdin, stdout, and stderr streams, as well as TTY.
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/rackspace
pkg/cloudprovider/vagrantPackage vagrant_cloud is an implementation of Interface, TCPLoadBalancer and Instances for developer managed Vagrant cluster.
pkg/config
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/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/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/metrics
pkg/kubelet/network
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/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/namespacenamespace contains a controller that handles namespace lifecycle
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/registryPackage registry implements the storage and system logic for the core of the api server.
pkg/registry/controllerPackage controller provides Registry interface and it's RESTStorage implementation for storing ReplicationController api objects.
pkg/registry/controller/etcd
pkg/registry/endpointPackage endpoint provides Registry interface and it's RESTStorage implementation for storing Endpoint api objects.
pkg/registry/endpoint/etcd
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/limitrangePackage limitrange provides Registry interface and it's REST implementation for storing LimitRange api objects.
pkg/registry/minionPackage minion provides Registry interface and implementation for storing Minions.
pkg/registry/minion/etcd
pkg/registry/namespacePackage namespace provides Registry interface and it's REST implementation for storing Namespace api objects.
pkg/registry/namespace/etcd
pkg/registry/podPackage pod provides Registry interface and it's RESTStorage implementation for storing Pod api objects.
pkg/registry/pod/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/servicePackage service provides Registry interface and it's RESTStorage implementation for storing Service api objects.
pkg/resourcequotaresourcequota contains a controller that makes resource quota usage observations
pkg/runtimeDefines conversions between generic types and structs to map query strings to struct objects.
pkg/schedulerPackage scheduler contains a generic Scheduler interface and several implementations.
pkg/servicePackage service provides EndpointController implementation to manage and sync service endpoints.
pkg/toolsPackage tools implements types which help work with etcd which depend on the api package.
pkg/typesPackage types implements various generic types used throughout kubernetes.
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/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/httpstreamPackage httpstream adds multiplexed streaming support to HTTP requests and responses via connection upgrades.
pkg/util/httpstream/spdy
pkg/util/iptablesPackage iptables provides an interface and implementations for running iptables commands.
pkg/util/mountPackage mount defines an interface to mounting filesystems.
pkg/util/slicePackage slice provides utility methods for common operations on slices.
pkg/util/waitPackage wait provides tools for polling or listening for changes to a condition.
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/empty_dir
pkg/volume/gce_pd
pkg/volume/git_repo
pkg/volume/host_path
pkg/volume/nfs
pkg/volume/secret
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.14.2
Published
Apr 8, 2015
Platform
js/wasm
Last checked
32 seconds ago

Tools for package owners.