kubernetes: github.com/bboreham/kubernetes/pkg

Directories

PathSynopsis
admission
apiPackage api contains the latest (or "internal") version of the Kubernetes API objects.
api/endpoints
api/errorsPackage errors provides detailed error types for api field validation.
api/errors/etcdPackage etcd provides conversion of etcd errors to API errors.
api/installPackage install installs the v1 monolithic api, making it available as an option to all of the API encoding/decoding machinery.
api/latestPackage latest defines the default output serializations that code should use and imports the required schemas.
api/metaPackage meta provides functions for retrieving API metadata from objects belonging to the Kubernetes API
api/pod
api/registeredPackage to keep track of API Versions that should be registered in api.Scheme.
api/resource
api/restPackage rest defines common logic around changes to Kubernetes resources.
api/rest/resttest
apis/abac
apis/abac/latest
apis/abac/v0
apis/abac/v1beta1
apis/componentconfig
apis/componentconfig/installPackage install installs the experimental API group, making it available as an option to all of the API encoding/decoding machinery.
apis/componentconfig/v1alpha1
apiserverPackage apiserver contains the code that provides a rest.ful api service.
apiserver/metrics
apiserver/testing
apis/extensions
apis/extensions/installPackage install installs the experimental API group, making it available as an option to all of the API encoding/decoding machinery.
apis/extensions/v1beta1
apis/extensions/validation
apis/metrics
apis/metrics/installPackage install installs the metrics API group, making it available as an option to all of the API encoding/decoding machinery.
apis/metrics/v1alpha1
api/testapiPackage testapi provides a helper for retrieving the KUBE_TEST_API environment variable.
api/testing
api/testing/compat
api/unversionedPackage unversioned contains API types that are common to all versions.
api/util
api/v1Package v1 is the v1 version of the API.
api/validationPackage validation has functions for validating the correctness of api objects and explaining what is wrong with them when they aren't valid.
auth/authenticator
auth/authenticator/bearertoken
auth/authorizer
auth/authorizer/abac
auth/authorizer/union
auth/handlers
auth/userPackage user contains utilities for dealing with simple user exchange in the auth packages.
capabilitiespackage capbabilities manages system level capabilities
client/cachePackage cache is a client-side caching mechanism.
client/chaosclientPackage chaosclient makes it easy to simulate network latency, misbehaving servers, and random errors from servers.
client/leaderelectionPackage leaderelection implements leader election of a set of endpoints.
client/metricsPackage metrics provides utilities for registering client metrics to Prometheus.
client/recordPackage record has all client logic for recording and reporting events.
client/transport
client/unversionedPackage unversioned contains the implementation of the client side communication with the Kubernetes master.
client/unversioned/authPackage auth defines a file format for holding authentication information needed by clients of Kubernetes.
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.
client/unversioned/clientcmd/api
client/unversioned/clientcmd/api/latest
client/unversioned/clientcmd/api/v1
client/unversioned/fakeThis is made a separate package and should only be imported by tests, because it imports testapi
client/unversioned/portforwardPackage portforward adds support for SSH-like port forwarding from the client's local host to remote containers.
client/unversioned/remotecommandPackage remotecommand adds support for executing commands in containers, with support for separate stdin, stdout, and stderr streams, as well as TTY.
client/unversioned/testclient
client/unversioned/testclient/simple
cloudproviderPackage cloudprovider supplies interfaces and implementations for cloud service providers.
cloudprovider/providers
cloudprovider/providers/aws
cloudprovider/providers/fakePackage fake is a test-double implementation of cloudprovider Interface, TCPLoadBalancer and Instances.
cloudprovider/providers/gcePackage gce is an implementation of Interface, TCPLoadBalancer and Instances for Google Compute Engine.
cloudprovider/providers/mesos
cloudprovider/providers/openstack
cloudprovider/providers/ovirt
cloudprovider/providers/rackspace
controllerPackage controller contains code for controllers (like the replication controller).
controller/daemonPackage daemon contains logic for watching and synchronizing daemons.
controller/deployment
controller/endpointPackage service provides EndpointController implementation to manage and sync service endpoints.
controller/frameworkPackage framework implements all the grunt work involved in running a simple controller.
controller/gcPackage gc contains a very simple pod "garbage collector" implementation, GCController, that runs in the controller manager.
controller/jobPackage job contains logic for watching and synchronizing jobs.
controller/namespacenamespace contains a controller that handles namespace lifecycle
controller/nodePackage node contains code for syncing cloud instances with node registry
controller/persistentvolume
controller/podautoscaler
controller/podautoscaler/metrics
controller/replicationPackage replication contains logic for watching and synchronizing replication controllers.
controller/resourcequotaresourcequota contains a controller that makes resource quota usage observations
controller/routePackage route contains code for syncing cloud routing rules with the list of registered nodes.
controller/servicePackage service contains code for syncing cloud load balancers with the service registry.
controller/serviceaccountPackage serviceaccount provides implementations to manage service accounts and service account tokens
conversionPackage conversion provides go object versioning and encoding/decoding mechanisms.
conversion/queryparamsPackage queryparams provides conversion from versioned runtime objects to URL query values
credentialproviderPackage credentialprovider supplies interfaces and implementations for docker registry providers to expose their authentication scheme.
credentialprovider/gcpPackage gcp_credentials contains implementations of DockerConfigProvider for Google Cloud Platform.
fieldpathPackage fieldpath supplies methods for extracting fields from objects given a path to a field.
fieldsPackage fields implements a simple field system, parsing and matching selectors with sets of fields.
genericapiserverPackage genericapiserver contains code to setup a generic kubernetes-like API server.
healthzPackage healthz implements basic http server health checking.
httplogPackage httplog contains a helper object and functions to maintain a log along with an http response.
hyperkubePackage hyperkube is a framework for kubernetes server components.
kubectlPackage kubectl is a set of libraries that are used by the kubectl command line tool.
kubectl/cmd
kubectl/cmd/config
kubectl/cmd/util
kubectl/cmd/util/editor
kubectl/cmd/util/jsonmerge
kubectl/resourcePackage resource assists clients in dealing with RESTful objects that match the Kubernetes API conventions.
kubectl/testing
kubeletPackage kubelet is the package that contains the libraries that drive the Kubelet binary.
kubelet/cadvisorKubelet interactions with cAdvisor.
kubelet/client
kubelet/cm
kubelet/configReads the pod configuration from the Kubernetes apiserver.
kubelet/container
kubelet/dockertools
kubelet/envvarsPackage envvars is the package that build the environment variables that kubernetes provides to the containers run by it.
kubelet/leakyPackage leaky holds bits of kubelet that should be internal but have leaked out through bad abstractions.
kubelet/lifecycleHandlers for pod lifecycle events.
kubelet/metrics
kubelet/network
kubelet/network/cni
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: plugin-name/ (plugins have to be directories first) plugin-name/plugin-name (executable that will be called out, see Vendoring Note for more nuances) plugin-name/<other-files> where, 'executable' has the following requirements: - should ...
kubelet/network/hairpin
kubelet/plegPackage pleg contains types and a generic implementation of the pod lifecycle event generator.
kubelet/pod
kubelet/prober
kubelet/prober/results
kubelet/qospackage qos contains helper functions for quality of service.
kubelet/qos/util
kubelet/rktPackage rkt contains the Containerruntime interface implementation for rkt.
kubelet/serverPackage server contains functions related to serving Kubelet's external interface.
kubelet/server/portforwardpackage portforward contains server-side logic for handling port forwarding requests.
kubelet/server/statsPackage stats handles exporting Kubelet and container stats.
kubelet/status
kubelet/typesCommon types in the Kubelet.
kubelet/utilUtility functions.
kubelet/util/format
kubelet/util/queue
kubemark
labelsPackage labels implements a simple label system, parsing and matching selectors with sets of labels.
masterPackage master contains code for setting up and running a Kubernetes cluster master.
master/portsPackage ports defines ports used by various pieces of the kubernetes infrastructure.
probePackage probe contains utilities for health probing, as well as health status information.
probe/exec
probe/http
probe/tcp
proxyPackage proxy implements the layer-3 network proxy.
proxy/configPackage config provides decoupling between various configuration sources (etcd, files,...) and the pieces that actually care about them (loadbalancer, proxy).
proxy/iptables
proxy/userspace
registryPackage registry implements the storage and system logic for the core of the api server.
registry/componentstatusPackage componentstatus provides interfaces and implementation for retrieving cluster component status.
registry/configmapPackage configmap provides Registry interface and its REST implementation for storing ConfigMap API objects.
registry/configmap/etcd
registry/controllerPackage controller provides Registry interface and it's RESTStorage implementation for storing ReplicationController api objects.
registry/controller/etcd
registry/daemonsetPackage daemonset provides Registry interface and its RESTStorage implementation for storing DaemonSet api objects.
registry/daemonset/etcd
registry/deployment
registry/deployment/etcd
registry/endpointPackage endpoint provides Registry interface and it's RESTStorage implementation for storing Endpoint api objects.
registry/endpoint/etcd
registry/eventPackage event provides Registry interface and it's REST implementation for storing Event api objects.
registry/event/etcd
registry/genericPackage generic provides a generic object store interface and a generic label/field matching type.
registry/generic/etcdPackage etcd has a generic implementation of a registry that stores things in etcd.
registry/generic/restPackage rest has generic implementations of resources used for REST responses
registry/horizontalpodautoscaler
registry/horizontalpodautoscaler/etcd
registry/ingress
registry/ingress/etcd
registry/jobPackage job provides Registry interface and it's RESTStorage implementation for storing Job api objects.
registry/job/etcd
registry/limitrangePackage limitrange provides Registry interface and it's REST implementation for storing LimitRange api objects.
registry/limitrange/etcd
registry/namespacePackage namespace provides Registry interface and it's REST implementation for storing Namespace api objects.
registry/namespace/etcd
registry/nodePackage node provides Registry interface and implementation for storing Nodes.
registry/node/etcd
registry/persistentvolume
registry/persistentvolumeclaim
registry/persistentvolumeclaim/etcd
registry/persistentvolume/etcd
registry/podPackage pod provides Registry interface and it's RESTStorage implementation for storing Pod api objects.
registry/pod/etcd
registry/pod/rest
registry/podtemplatePackage podtemplate provides RESTStorage implementations for storing PodTemplate API objects.
registry/podtemplate/etcd
registry/registrytestPackage registrytest provides tests for Registry implementations for storing Minions, Pods, Schedulers and Services.
registry/resourcequotaPackage resourcequota provides Registry interface and it's REST implementation for storing ResourceQuota api objects.
registry/resourcequota/etcd
registry/secretPackage secrets provides Registry interface and its REST implementation for storing Secret api objects.
registry/secret/etcd
registry/servicePackage service provides the Registry interface and its RESTStorage implementation for storing Service api objects.
registry/serviceaccountPackage serviceaccount provides a Registry interface and a strategy implementation for storing ServiceAccount API objects.
registry/serviceaccount/etcd
registry/service/allocator
registry/service/allocator/etcd
registry/service/etcd
registry/service/ipallocator
registry/service/ipallocator/controller
registry/service/ipallocator/etcd
registry/service/portallocator
registry/service/portallocator/controller
registry/thirdpartyresourcePackage thirdpartyresource provides Registry interface and its REST implementation for storing ThirdPartyResource api objects.
registry/thirdpartyresourcedataPackage thirdpartyresourcedata provides Registry interface and its REST implementation for storing ThirdPartyResourceData api objects.
registry/thirdpartyresourcedata/etcd
registry/thirdpartyresource/etcd
runtimeDefines conversions between generic types and structs to map query strings to struct objects.
runtime/protobufPackage protobuf implements ProtoBuf serialization and deserialization.
securitycontextPackage securitycontext contains security context api implementations
storageInterfaces for database-related operations.
storage/etcd
storage/etcd/etcdtest
storage/etcd/metrics
storage/etcd/testing
storage/etcd/utilPackage util holds generic etcd-related utility functions that any user of ectd might want to use, without pulling in kubernetes-specific code.
storage/testing
typesPackage types implements various generic types used throughout kubernetes.
uipackage ui contains utilities for accessing the static data files compiled in the data/* subdirectories.
utilPackage util implements various utility functions used in both testing and implementation of Kubernetes.
util/atomic
util/bandwidthPackage bandwidth provides utilities for bandwidth shaping
util/chmodPackage chown provides an interface and implementations for things that run run the chmod system call.
util/chownPackage chown provides utilities to chown a path
util/configPackage config provides utility objects for decoupling sources of configuration and the actual configuration state.
util/dbusPackage dbus provides an injectable interface and implementations for D-Bus communication
util/deployment
util/errorsPackage errors implements various utility functions and types around errors.
util/execPackage exec provides an injectable interface and implementations for running commands.
util/flushwriterPackage flushwriter implements a wrapper for a writer that flushes on every write if that writer implements the io.Flusher interface
util/httpstreamPackage httpstream adds multiplexed streaming support to HTTP requests and responses via connection upgrades.
util/httpstream/spdy
util/intstr
util/io
util/iptablesPackage iptables provides an interface and implementations for running iptables commands.
util/iptables/testing
util/jsonpathpackage jsonpath is a template engine using jsonpath syntax, which can be seen at http://goessner.net/articles/JsonPath/.
util/keymutex
util/limitwriterPackage limitwriter provides a writer that only allows a certain number of bytes to be written.
util/mountPackage mount defines an interface to mounting filesystems.
util/node
util/oomPackage oom implements utility functions relating to out of memory management.
util/parsers
util/procfsPackage procfs implements utility functions relating to the /proc mount.
util/proxyPackage proxy provides transport and upgrade support for proxies
util/randPackage rand provides utilities related to randomization.
util/selinuxPackage selinux contains selinux utility functions.
util/setsPackage sets has auto-generated set types.
util/sets/typesPackage types just provides input types to the set generator.
util/slicePackage slice provides utility methods for common operations on slices.
util/strategicpatch
util/sysctl
util/validation
util/validation/field
util/waitPackage wait provides tools for polling or listening for changes to a condition.
util/workqueuePackage workqueue provides a simple queue that supports the following features: * Fair: items processed in the order in which they are added.
util/wsstreamPackage wsstream contains utilities for streaming content over WebSockets.
util/yaml
versionPackage version supplies version information collected at build time to kubernetes components.
version/verflagPackage verflag defines utility functions to handle command line flags related to version of Kubernetes.
volumePackage volume includes internal representations of external volume types as well as utility methods required to mount/unmount volumes to kubelets.
volume/aws_ebsPackage aws_ebs contains the internal representation of AWS Elastic Block Store volumes.
volume/cephfsPackage nfs contains the internal representation of Ceph file system (CephFS) volumes.
volume/cinderPackage cinder contains the internal representation of cinder volumes.
volume/downwardapi
volume/empty_dirPackage empty_dir contains the internal representation of emptyDir volumes.
volume/fcPackage fc contains the internal representation of Fibre Channel (fc) volumes.
volume/flockerPackage flocker contains the internal representation of Flocker volumes
volume/gce_pdPackage gce_pd contains the internal representation of GCE PersistentDisk volumes.
volume/git_repoPackage git_repo contains the internal representation of git repo volumes.
volume/glusterfsPackage glusterfs contains the internal representation of glusterfs volumes.
volume/host_pathPackage host_path contains the internal representation of hostPath volumes.
volume/iscsiPackage iscsi contains the internal representation of Internet Small Computer System Interface (iSCSI) volumes.
volume/nfsPackage nfs contains the internal representation of network file system (NFS) volumes.
volume/persistent_claimPackage persistent_claim contains the internal representation of persistent volume claims.
volume/rbdPackage rbd contains the internal representation of Rados Block Store (Ceph) volumes.
volume/secretPackage secret contains the internal representation of secret volumes.
volume/utilContains utility code for use by volume plugins.
watchPackage watch contains a generic watchable interface, and a fake for testing code that uses the watch interface.
watch/jsonPackage json implements a simple encoder and decoder for streams of watch events over io.Writer/Readers

Updated 2017-03-07. Refresh now. Tools for package owners. This is a quick bug-fix fork (has fewer than three commits, and only during the week it was created).