Documentation
¶
Overview ¶
Package controller contains logic for watching and synchronizing replicationControllers.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FilterActivePods ¶ added in v0.7.0
func FilterActivePods(pods []api.Pod) []api.Pod
Helper function. Also used in pkg/registry/controller, for now.
Types ¶
type PodControlInterface ¶
type PodControlInterface interface {
// contains filtered or unexported methods
}
PodControlInterface is an interface that knows how to add or delete pods created as an interface to allow testing.
type RealPodControl ¶
type RealPodControl struct {
// contains filtered or unexported fields
}
RealPodControl is the default implementation of PodControllerInterface.
type ReplicationManager ¶
type ReplicationManager struct {
// contains filtered or unexported fields
}
ReplicationManager is responsible for synchronizing ReplicationController objects stored in the system with actual running pods.
func NewReplicationManager ¶
func NewReplicationManager(kubeClient client.Interface) *ReplicationManager
NewReplicationManager creates a new ReplicationManager.
Click to show internal directories.
Click to hide internal directories.