package
1.3.0-alpha.5
Repository: https://github.com/intelsdi-x/kubernetes.git
Documentation: pkg.go.dev

# Packages

Package daemon contains logic for watching and synchronizing daemons.
No description provided by the author
CAUTION: If you update code in this file, you may need to also update code in contrib/mesos/pkg/service/endpoints_controller.go.
Package framework implements all the grunt work involved in running a simple controller.
No description provided by the author
Package gc contains a very simple pod "garbage collector" implementation, GCController, that runs in the controller manager.
Package job contains logic for watching and synchronizing jobs.
namespace contains a controller that handles namespace lifecycle.
Package node contains code for syncing cloud instances with node registry.
No description provided by the author
No description provided by the author
Package podautoscaler contains logic for autoscaling number of pods based on metrics observed.
Package replicaset contains logic for watching and synchronizing ReplicaSets.
Package replication contains logic for watching and synchronizing replication controllers.
resourcequota contains a controller that makes resource quota usage observations.
Package route contains code for syncing cloud routing rules with the list of registered nodes.
Package service contains code for syncing cloud load balancers with the service registry.
Package serviceaccount provides implementations to manage service accounts and service account tokens.
Package volume implements a controller to manage volume attach and detach operations.

# Functions

FilterActivePods returns pods that have not terminated.
FilterActiveReplicaSets returns replica sets that have (or at least ought to have) pods.
No description provided by the author
No description provided by the author
NewControllerExpectations returns a store for ControllerExpectations.
NewMatchingCache return a NewMatchingCache, which save label and selector matching relationship.
NewUIDTrackingControllerExpectations returns a wrapper around ControllerExpectations that is aware of deleteKeys.
Returns 0 for resyncPeriod in case resyncing is not needed.
PodKey returns a key unique to the given pod within a cluster.
StaticResyncPeriodFunc returns the resync period specified.

# Constants

No description provided by the author
If a watch drops a delete event for a pod, it'll take this long before a dormant controller waiting for those packets is woken up anyway.

# Variables

ExpKeyFunc to parse out the key from a ControlleeExpectation.
No description provided by the author
UIDSetKeyFunc to parse out the key from a UIDSet.

# Structs

ControlleeExpectations track controllee creates/deletes.
ControllerExpectations is a cache mapping controllers to what they expect to see before being woken up for a sync.
No description provided by the author
MatchingCache save label and selector matching relationship.
RealPodControl is the default implementation of PodControlInterface.
UIDSet holds a key and a set of UIDs.
UIDTrackingControllerExpectations tracks the UID of the pods it deletes.

# Interfaces

ControllerExpectationsInterface is an interface that allows users to set and wait on expectations.
Expectations are either fulfilled, or expire naturally.
PodControlInterface is an interface that knows how to add or delete pods created as an interface to allow testing.

# Type aliases

ActivePods type allows custom sorting of pods so a controller can pick the best ones to delete.
ControllersByCreationTimestamp sorts a list of ReplicationControllers by creation timestamp, using their names as a tie breaker.
ReplicaSetsByCreationTimestamp sorts a list of ReplicationSets by creation timestamp, using their names as a tie breaker.
No description provided by the author