Directories ¶
Path | Synopsis |
---|---|
pkg
|
|
api
Package api contains the latest (or "internal") version of the Kubernetes API objects.
|
Package api contains the latest (or "internal") version of the Kubernetes API objects. |
api/errors
Package errors provides detailed error types for api field validation.
|
Package errors provides detailed error types for api field validation. |
api/errors/etcd
Package etcd provides conversion of etcd errors to API errors.
|
Package etcd provides conversion of etcd errors to API errors. |
api/latest
Package latest defines the default output serializations that code should use and imports the required schemas.
|
Package latest defines the default output serializations that code should use and imports the required schemas. |
api/meta
Package meta provides functions for retrieving API metadata from objects belonging to the Kubernetes API
|
Package meta provides functions for retrieving API metadata from objects belonging to the Kubernetes API |
api/rest
Package rest defines common logic around changes to Kubernetes resources.
|
Package rest defines common logic around changes to Kubernetes resources. |
api/testapi
Package testapi provides a helper for retrieving the KUBE_API_VERSION environment variable.
|
Package testapi provides a helper for retrieving the KUBE_API_VERSION environment variable. |
api/v1beta1
Package v1beta1 is the v1beta1 version of the API.
|
Package v1beta1 is the v1beta1 version of the API. |
api/v1beta2
Package v1beta2 is the v1beta2 version of the API.
|
Package v1beta2 is the v1beta2 version of the API. |
api/v1beta3
Package v1beta3 is the v1beta3 version of the API.
|
Package v1beta3 is the v1beta3 version of the API. |
api/validation
Package validation has functions for validating the correctness of api objects and explaining what is wrong with them when they aren't valid.
|
Package validation has functions for validating the correctness of api objects and explaining what is wrong with them when they aren't valid. |
apiserver
Package apiserver contains the code that provides a RESTful api service.
|
Package apiserver contains the code that provides a RESTful api service. |
auth/user
Package user contains utilities for dealing with simple user exchange in the auth packages.
|
Package user contains utilities for dealing with simple user exchange in the auth packages. |
capabilities
package capbabilities manages system level capabilities
|
package capbabilities manages system level capabilities |
client
Package client contains the implementation of the client side communication with the Kubernetes master.
|
Package client contains the implementation of the client side communication with the Kubernetes master. |
client/cache
Package cache is a client-side caching mechanism.
|
Package cache is a client-side caching mechanism. |
client/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.
|
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. |
client/record
Package record has all client logic for recording and reporting events.
|
Package record has all client logic for recording and reporting events. |
clientauth
Package authcfg defines a file format for holding authentication information needed by clients of Kubernetes.
|
Package authcfg defines a file format for holding authentication information needed by clients of Kubernetes. |
cloudprovider
Package cloudprovider supplies interfaces and implementations for cloud service providers.
|
Package cloudprovider supplies interfaces and implementations for cloud service providers. |
cloudprovider/controller
Package controller contains code for syncing cloud instances with minion registry
|
Package controller contains code for syncing cloud instances with minion registry |
cloudprovider/fake
Package fake_cloud is a test-double implementation of cloudprovider Interface, TCPLoadBalancer and Instances.
|
Package fake_cloud is a test-double implementation of cloudprovider Interface, TCPLoadBalancer and Instances. |
cloudprovider/gce
Package gce_cloud is an implementation of Interface, TCPLoadBalancer and Instances for Google Compute Engine.
|
Package gce_cloud is an implementation of Interface, TCPLoadBalancer and Instances for Google Compute Engine. |
cloudprovider/vagrant
Package vagrant_cloud is an implementation of Interface, TCPLoadBalancer and Instances for developer managed Vagrant cluster.
|
Package vagrant_cloud is an implementation of Interface, TCPLoadBalancer and Instances for developer managed Vagrant cluster. |
constraint
Package constraint has functions for ensuring that collections of containers are allowed to run together on a single host.
|
Package constraint has functions for ensuring that collections of containers are allowed to run together on a single host. |
controller
Package controller contains logic for watching and synchronizing replicationControllers.
|
Package controller contains logic for watching and synchronizing replicationControllers. |
conversion
Package conversion provides go object versioning and encoding/decoding mechanisms.
|
Package conversion provides go object versioning and encoding/decoding mechanisms. |
credentialprovider
Package credentialprovider supplies interfaces and implementations for docker registry providers to expose their authentication scheme.
|
Package credentialprovider supplies interfaces and implementations for docker registry providers to expose their authentication scheme. |
credentialprovider/gcp
Package gcp_credentials contains implementations of DockerConfigProvider for Google Cloud Platform.
|
Package gcp_credentials contains implementations of DockerConfigProvider for Google Cloud Platform. |
healthz
Package healthz implements basic http server health checking.
|
Package healthz implements basic http server health checking. |
httplog
Package httplog contains a helper object and functions to maintain a log along with an http response.
|
Package httplog contains a helper object and functions to maintain a log along with an http response. |
kubectl
Package kubectl is a set of libraries that are used by the kubectl command line tool.
|
Package kubectl is a set of libraries that are used by the kubectl command line tool. |
kubectl/resource
Package resource assists clients in dealing with RESTful objects that match the Kubernetes API conventions.
|
Package resource assists clients in dealing with RESTful objects that match the Kubernetes API conventions. |
kubelet
Package kubelet is the package that contains the libraries that drive the Kubelet binary.
|
Package kubelet is the package that contains the libraries that drive the Kubelet binary. |
kubelet/config
Reads the pod configuration from the Kubernetes apiserver.
|
Reads the pod configuration from the Kubernetes apiserver. |
kubelet/envvars
Package envvars is the package that build the environment variables that kubernetes provides to the containers run by it.
|
Package envvars is the package that build the environment variables that kubernetes provides to the containers run by it. |
kubelet/leaky
Package leaky holds bits of kubelet that should be internal but have leaked out through bad abstractions.
|
Package leaky holds bits of kubelet that should be internal but have leaked out through bad abstractions. |
kubelet/server
Package server makes it easy to create a kubelet server for various contexts.
|
Package server makes it easy to create a kubelet server for various contexts. |
kubelet/volume
Package volume includes internal representations of external volume types as well as utility methods required to mount/unmount volumes to kubelets.
|
Package volume includes internal representations of external volume types as well as utility methods required to mount/unmount volumes to kubelets. |
labels
Package labels implements a simple label system, parsing and matching selectors with sets of labels.
|
Package labels implements a simple label system, parsing and matching selectors with sets of labels. |
master
Package master contains code for setting up and running a Kubernetes cluster master.
|
Package master contains code for setting up and running a Kubernetes cluster master. |
master/ports
Package ports defines ports used by various pieces of the kubernetes infrastructure.
|
Package ports defines ports used by various pieces of the kubernetes infrastructure. |
master/server
Package server does all of the work necessary to create a Kubernetes APIServer by binding together the API, master and APIServer infrastructure.
|
Package server does all of the work necessary to create a Kubernetes APIServer by binding together the API, master and APIServer infrastructure. |
probe
Package probe contains utilities for health probing, as well as health status information.
|
Package probe contains utilities for health probing, as well as health status information. |
proxy
Package proxy implements the layer-3 network proxy.
|
Package proxy implements the layer-3 network proxy. |
proxy/config
Package config provides decoupling between various configuration sources (etcd, files,...) and the pieces that actually care about them (loadbalancer, proxy).
|
Package config provides decoupling between various configuration sources (etcd, files,...) and the pieces that actually care about them (loadbalancer, proxy). |
proxy/server
Package server does all of the work necessary to configure and run a Kubernetes proxy process.
|
Package server does all of the work necessary to configure and run a Kubernetes proxy process. |
registry/binding
Package binding contains the middle layer logic for bindings.
|
Package binding contains the middle layer logic for bindings. |
registry/controller
Package controller provides Registry interface and it's RESTStorage implementation for storing ReplicationController api objects.
|
Package controller provides Registry interface and it's RESTStorage implementation for storing ReplicationController api objects. |
registry/endpoint
Package endpoint provides Registry interface and it's RESTStorage implementation for storing Endpoint api objects.
|
Package endpoint provides Registry interface and it's RESTStorage implementation for storing Endpoint api objects. |
registry/etcd
Package etcd provides etcd backend implementation for storing PodRegistry, ControllerRegistry and ServiceRegistry api objects.
|
Package etcd provides etcd backend implementation for storing PodRegistry, ControllerRegistry and ServiceRegistry api objects. |
registry/event
Package event provides Registry interface and it's REST implementation for storing Event api objects.
|
Package event provides Registry interface and it's REST implementation for storing Event api objects. |
registry/generic
Package generic provides a generic object store interface and a generic label/field matching type.
|
Package generic provides a generic object store interface and a generic label/field matching type. |
registry/generic/etcd
Package etcd has a generic implementation of a registry that stores things in etcd.
|
Package etcd has a generic implementation of a registry that stores things in etcd. |
registry/limitrange
Package limitrange provides Registry interface and it's REST implementation for storing LimitRange api objects.
|
Package limitrange provides Registry interface and it's REST implementation for storing LimitRange api objects. |
registry/minion
Package minion provides Registry interface and implementation for storing Minions.
|
Package minion provides Registry interface and implementation for storing Minions. |
registry/namespace
Package namespace provides Registry interface and it's REST implementation for storing Namespace api objects.
|
Package namespace provides Registry interface and it's REST implementation for storing Namespace api objects. |
registry/pod
Package pod provides Registry interface and it's RESTStorage implementation for storing Pod api objects.
|
Package pod provides Registry interface and it's RESTStorage implementation for storing Pod api objects. |
registry/resourcequota
Package resourcequota provides Registry interface and it's REST implementation for storing ResourceQuota api objects.
|
Package resourcequota provides Registry interface and it's REST implementation for storing ResourceQuota api objects. |
registry/resourcequotausage
Package resourcequotausage provides Registry interface and it's REST implementation for storing ResourceQuotaUsage api objects.
|
Package resourcequotausage provides Registry interface and it's REST implementation for storing ResourceQuotaUsage api objects. |
registry/service
Package service provides Registry interface and it's RESTStorage implementation for storing Service api objects.
|
Package service provides Registry interface and it's RESTStorage implementation for storing Service api objects. |
resourcequota
resourcequota contains a controller that makes resource quota usage observations
|
resourcequota contains a controller that makes resource quota usage observations |
runtime
Package runtime includes helper functions for working with API objects that follow the kubernetes API object conventions, which are: 0.
|
Package runtime includes helper functions for working with API objects that follow the kubernetes API object conventions, which are: 0. |
scheduler
Package scheduler contains a generic Scheduler interface and several implementations.
|
Package scheduler contains a generic Scheduler interface and several implementations. |
service
Package service provides EndpointController implementation to manage and sync service endpoints.
|
Package service provides EndpointController implementation to manage and sync service endpoints. |
tools
Package tools implements general tools which depend on the api package.
|
Package tools implements general tools which depend on the api package. |
types
Package types implements various generic types used throughout kubernetes.
|
Package types implements various generic types used throughout kubernetes. |
ui
package ui contains static data files compiled to go, and utilities for accessing them.
|
package ui contains static data files compiled to go, and utilities for accessing them. |
util
Package util implements various utility functions used in both testing and implementation of Kubernetes.
|
Package util implements various utility functions used in both testing and implementation of Kubernetes. |
util/config
Package config provides utility objects for decoupling sources of configuration and the actual configuration state.
|
Package config provides utility objects for decoupling sources of configuration and the actual configuration state. |
util/errors
Package errors implements various utility functions and types around errors.
|
Package errors implements various utility functions and types around errors. |
util/exec
Package exec provides an injectable interface and implementations for running commands.
|
Package exec provides an injectable interface and implementations for running commands. |
util/iptables
Package iptables provides an interface and implementations for running iptables commands.
|
Package iptables provides an interface and implementations for running iptables commands. |
util/mount
Package mount defines an interface to mounting filesystems.
|
Package mount defines an interface to mounting filesystems. |
util/slice
Package slice provides utility methods for common operations on slices.
|
Package slice provides utility methods for common operations on slices. |
util/wait
Package wait provides tools for polling or listening for changes to a condition.
|
Package wait provides tools for polling or listening for changes to a condition. |
version
Package version supplies version information collected at build time to kubernetes components.
|
Package version supplies version information collected at build time to kubernetes components. |
version/verflag
Package verflag defines utility functions to handle command line flags related to version of Kubernetes.
|
Package verflag defines utility functions to handle command line flags related to version of Kubernetes. |
watch
Package watch contains a generic watchable interface, and a fake for testing code that uses the watch interface.
|
Package watch contains a generic watchable interface, and a fake for testing code that uses the watch interface. |
watch/json
Package json implements a simple encoder and decoder for streams of watch events over io.Writer/Readers
|
Package json implements a simple encoder and decoder for streams of watch events over io.Writer/Readers |
plugin
|
|
pkg/admission/resourcedefaults
Package resourcedefaults contains an example plug-in that cluster operators can use to prevent unlimited CPU and Memory usage for a container.
|
Package resourcedefaults contains an example plug-in that cluster operators can use to prevent unlimited CPU and Memory usage for a container. |
pkg/admission/resourcequota
resourcequota enforces all incoming requests against any applied quota in the namespace context of the request
|
resourcequota enforces all incoming requests against any applied quota in the namespace context of the request |
pkg/scheduler/algorithmprovider
This package is used to register algorithm provider plugins.
|
This package is used to register algorithm provider plugins. |
pkg/scheduler/algorithmprovider/affinity
This algorithm provider has predicates and priorities related to affinity/anti-affinity for the scheduler.
|
This algorithm provider has predicates and priorities related to affinity/anti-affinity for the scheduler. |
pkg/scheduler/algorithmprovider/defaults
This is the default algorithm provider for the scheduler.
|
This is the default algorithm provider for the scheduler. |
pkg/scheduler/factory
Package factory can set up a scheduler.
|
Package factory can set up a scheduler. |
pkg/scheduler/server
Package server implements a Server object for running the scheduler.
|
Package server implements a Server object for running the scheduler. |
Click to show internal directories.
Click to hide internal directories.