Directories ¶
Path | Synopsis |
---|---|
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. |
errors
Package errors provides detailed error types for api field validation.
|
Package errors provides detailed error types for api field validation. |
errors/etcd
Package etcd provides conversion of etcd errors to API errors.
|
Package etcd provides conversion of etcd errors to API errors. |
install
Package install installs the v1 monolithic api, making it available as an option to all of the API encoding/decoding machinery.
|
Package install installs the v1 monolithic api, making it available as an option to all of the API encoding/decoding machinery. |
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. |
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 |
registered
Package to keep track of API Versions that should be registered in api.Scheme.
|
Package to keep track of API Versions that should be registered in api.Scheme. |
rest
Package rest defines common logic around changes to Kubernetes resources.
|
Package rest defines common logic around changes to Kubernetes resources. |
testapi
Package testapi provides a helper for retrieving the KUBE_TEST_API environment variable.
|
Package testapi provides a helper for retrieving the KUBE_TEST_API environment variable. |
unversioned
Package unversioned contains API types that are common to all versions.
|
Package unversioned contains API types that are common to all versions. |
util
TODO: This GetVersion/GetGroup arrangement is temporary and will be replaced with a GroupAndVersion type.
|
TODO: This GetVersion/GetGroup arrangement is temporary and will be replaced with a GroupAndVersion type. |
v1
Package v1 is the v1 version of the API.
|
Package v1 is the v1 version of the 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. |
apis
|
|
componentconfig/install
Package install installs the experimental API group, making it available as an option to all of the API encoding/decoding machinery.
|
Package install installs the experimental API group, making it available as an option to all of the API encoding/decoding machinery. |
extensions/install
Package install installs the experimental API group, making it available as an option to all of the API encoding/decoding machinery.
|
Package install installs the experimental API group, making it available as an option to all of the API encoding/decoding machinery. |
metrics/install
Package install installs the metrics API group, making it available as an option to all of the API encoding/decoding machinery.
|
Package install installs the metrics API group, making it available as an option to all of the API encoding/decoding machinery. |
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. |
package capbabilities manages system level capabilities
|
package capbabilities manages system level capabilities |
client
|
|
cache
Package cache is a client-side caching mechanism.
|
Package cache is a client-side caching mechanism. |
metrics
Package metrics provides utilities for registering client metrics to Prometheus.
|
Package metrics provides utilities for registering client metrics to Prometheus. |
record
Package record has all client logic for recording and reporting events.
|
Package record has all client logic for recording and reporting events. |
unversioned
Package unversioned contains the implementation of the client side communication with the Kubernetes master.
|
Package unversioned contains the implementation of the client side communication with the Kubernetes master. |
unversioned/auth
Package auth defines a file format for holding authentication information needed by clients of Kubernetes.
|
Package auth defines a file format for holding authentication information needed by clients of Kubernetes. |
unversioned/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. |
unversioned/fake
This is made a separate package and should only be imported by tests, because it imports testapi
|
This is made a separate package and should only be imported by tests, because it imports testapi |
unversioned/portforward
Package portforward adds support for SSH-like port forwarding from the client's local host to remote containers.
|
Package portforward adds support for SSH-like port forwarding from the client's local host to remote containers. |
unversioned/remotecommand
Package remotecommand adds support for executing commands in containers, with support for separate stdin, stdout, and stderr streams, as well as TTY.
|
Package remotecommand adds support for executing commands in containers, with support for separate stdin, stdout, and stderr streams, as well as TTY. |
Package cloudprovider supplies interfaces and implementations for cloud service providers.
|
Package cloudprovider supplies interfaces and implementations for cloud service providers. |
providers/fake
Package fake is a test-double implementation of cloudprovider Interface, LoadBalancer and Instances.
|
Package fake is a test-double implementation of cloudprovider Interface, LoadBalancer and Instances. |
providers/gce
Package gce is an implementation of Interface, LoadBalancer and Instances for Google Compute Engine.
|
Package gce is an implementation of Interface, LoadBalancer and Instances for Google Compute Engine. |
controller
|
|
framework
Package framework implements all the grunt work involved in running a simple controller.
|
Package framework implements all the grunt work involved in running a simple controller. |
Package conversion provides go object versioning and encoding/decoding mechanisms.
|
Package conversion provides go object versioning and encoding/decoding mechanisms. |
queryparams
Package queryparams provides conversion from versioned runtime objects to URL query values
|
Package queryparams provides conversion from versioned runtime objects to URL query values |
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. |
gcp
Package gcp_credentials contains implementations of DockerConfigProvider for Google Cloud Platform.
|
Package gcp_credentials contains implementations of DockerConfigProvider for Google Cloud Platform. |
Package fieldpath supplies methods for extracting fields from objects given a path to a field.
|
Package fieldpath supplies methods for extracting fields from objects given a path to a field. |
Package fields implements a simple field system, parsing and matching selectors with sets of fields.
|
Package fields implements a simple field system, parsing and matching selectors with sets of fields. |
Package healthz implements basic http server health checking.
|
Package healthz implements basic http server health checking. |
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. |
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. |
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. |
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. |
cadvisor
Kubelet interactions with cAdvisor.
|
Kubelet interactions with cAdvisor. |
config
Reads the pod configuration from the Kubernetes apiserver.
|
Reads the pod configuration from the Kubernetes apiserver. |
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. |
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. |
lifecycle
Handlers for pod lifecycle events.
|
Handlers for pod lifecycle events. |
network/exec
Package exec scans and loads networking plugins that are installed under /usr/libexec/kubernetes/kubelet-plugins/net/exec/ The layout convention for a plugin is:
|
Package exec scans and loads networking plugins that are installed under /usr/libexec/kubernetes/kubelet-plugins/net/exec/ The layout convention for a plugin is: |
pleg
Package pleg contains types and a generic implementation of the pod lifecycle event generator.
|
Package pleg contains types and a generic implementation of the pod lifecycle event generator. |
qos
package qos contains helper functions for quality of service.
|
package qos contains helper functions for quality of service. |
rkt
Package rkt contains the Containerruntime interface implementation for rkt.
|
Package rkt contains the Containerruntime interface implementation for rkt. |
server
Package server contains functions related to serving Kubelet's external interface.
|
Package server contains functions related to serving Kubelet's external interface. |
server/portforward
package portforward contains server-side logic for handling port forwarding requests.
|
package portforward contains server-side logic for handling port forwarding requests. |
server/stats
Package stats handles exporting Kubelet and container stats.
|
Package stats handles exporting Kubelet and container stats. |
types
Common types in the Kubelet.
|
Common types in the Kubelet. |
util
Utility functions.
|
Utility functions. |
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. |
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. |
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. |
Defines conversions between generic types and structs to map query strings to struct objects.
|
Defines conversions between generic types and structs to map query strings to struct objects. |
protobuf
Package protobuf implements ProtoBuf serialization and deserialization.
|
Package protobuf implements ProtoBuf serialization and deserialization. |
Package securitycontext contains security context api implementations
|
Package securitycontext contains security context api implementations |
Package types implements various generic types used throughout kubernetes.
|
Package types implements various generic types used throughout kubernetes. |
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. |
bandwidth
Package bandwidth provides utilities for bandwidth shaping
|
Package bandwidth provides utilities for bandwidth shaping |
chmod
Package chown provides an interface and implementations for things that run run the chmod system call.
|
Package chown provides an interface and implementations for things that run run the chmod system call. |
chown
Package chown provides utilities to chown a path
|
Package chown provides utilities to chown a path |
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. |
dbus
Package dbus provides an injectable interface and implementations for D-Bus communication
|
Package dbus provides an injectable interface and implementations for D-Bus communication |
errors
Package errors implements various utility functions and types around errors.
|
Package errors implements various utility functions and types around errors. |
exec
Package exec provides an injectable interface and implementations for running commands.
|
Package exec provides an injectable interface and implementations for running commands. |
flushwriter
Package flushwriter implements a wrapper for a writer that flushes on every write if that writer implements the io.Flusher interface
|
Package flushwriter implements a wrapper for a writer that flushes on every write if that writer implements the io.Flusher interface |
httpstream
Package httpstream adds multiplexed streaming support to HTTP requests and responses via connection upgrades.
|
Package httpstream adds multiplexed streaming support to HTTP requests and responses via connection upgrades. |
iptables
Package iptables provides an interface and implementations for running iptables commands.
|
Package iptables provides an interface and implementations for running iptables commands. |
jsonpath
package jsonpath is a template engine using jsonpath syntax, which can be seen at http://goessner.net/articles/JsonPath/.
|
package jsonpath is a template engine using jsonpath syntax, which can be seen at http://goessner.net/articles/JsonPath/. |
limitwriter
Package limitwriter provides a writer that only allows a certain number of bytes to be written.
|
Package limitwriter provides a writer that only allows a certain number of bytes to be written. |
mount
Package mount defines an interface to mounting filesystems.
|
Package mount defines an interface to mounting filesystems. |
oom
Package oom implements utility functions relating to out of memory management.
|
Package oom implements utility functions relating to out of memory management. |
procfs
Package procfs implements utility functions relating to the /proc mount.
|
Package procfs implements utility functions relating to the /proc mount. |
proxy
Package proxy provides transport and upgrade support for proxies
|
Package proxy provides transport and upgrade support for proxies |
rand
Package rand provides utilities related to randomization.
|
Package rand provides utilities related to randomization. |
selinux
Package selinux contains selinux utility functions.
|
Package selinux contains selinux utility functions. |
sets
Package sets has auto-generated set types.
|
Package sets has auto-generated set types. |
sets/types
Package types just provides input types to the set generator.
|
Package types just provides input types to the set generator. |
slice
Package slice provides utility methods for common operations on slices.
|
Package slice provides utility methods for common operations on slices. |
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. |
workqueue
Package workqueue provides a simple queue that supports the following features:
|
Package workqueue provides a simple queue that supports the following features: |
wsstream
Package wsstream contains utilities for streaming content over WebSockets.
|
Package wsstream contains utilities for streaming content over WebSockets. |
Package version supplies version information collected at build time to kubernetes components.
|
Package version supplies version information collected at build time to kubernetes components. |
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. |
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. |
aws_ebs
Package aws_ebs contains the internal representation of AWS Elastic Block Store volumes.
|
Package aws_ebs contains the internal representation of AWS Elastic Block Store volumes. |
cephfs
Package nfs contains the internal representation of Ceph file system (CephFS) volumes.
|
Package nfs contains the internal representation of Ceph file system (CephFS) volumes. |
cinder
Package cinder contains the internal representation of cinder volumes.
|
Package cinder contains the internal representation of cinder volumes. |
empty_dir
Package empty_dir contains the internal representation of emptyDir volumes.
|
Package empty_dir contains the internal representation of emptyDir volumes. |
fc
Package fc contains the internal representation of Fibre Channel (fc) volumes.
|
Package fc contains the internal representation of Fibre Channel (fc) volumes. |
flocker
Package flocker contains the internal representation of Flocker volumes
|
Package flocker contains the internal representation of Flocker volumes |
gce_pd
Package gce_pd contains the internal representation of GCE PersistentDisk volumes.
|
Package gce_pd contains the internal representation of GCE PersistentDisk volumes. |
git_repo
Package git_repo contains the internal representation of git repo volumes.
|
Package git_repo contains the internal representation of git repo volumes. |
glusterfs
Package glusterfs contains the internal representation of glusterfs volumes.
|
Package glusterfs contains the internal representation of glusterfs volumes. |
host_path
Package host_path contains the internal representation of hostPath volumes.
|
Package host_path contains the internal representation of hostPath volumes. |
iscsi
Package iscsi contains the internal representation of Internet Small Computer System Interface (iSCSI) volumes.
|
Package iscsi contains the internal representation of Internet Small Computer System Interface (iSCSI) volumes. |
nfs
Package nfs contains the internal representation of network file system (NFS) volumes.
|
Package nfs contains the internal representation of network file system (NFS) volumes. |
persistent_claim
Package persistent_claim contains the internal representation of persistent volume claims.
|
Package persistent_claim contains the internal representation of persistent volume claims. |
rbd
Package rbd contains the internal representation of Rados Block Store (Ceph) volumes.
|
Package rbd contains the internal representation of Rados Block Store (Ceph) volumes. |
secret
Package secret contains the internal representation of secret volumes.
|
Package secret contains the internal representation of secret volumes. |
util
Contains utility code for use by volume plugins.
|
Contains utility code for use by volume plugins. |
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. |
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 |
Click to show internal directories.
Click to hide internal directories.