kubernetes: github.com/meirf/kubernetes/pkg/controller Index | Files

package controller

import "github.com/meirf/kubernetes/pkg/controller"

Package controller contains logic for watching and synchronizing replicationControllers.


Package Files

doc.go replication_controller.go

type PodControlInterface Uses

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 Uses

type RealPodControl struct {
    // contains filtered or unexported fields

RealPodControl is the default implementation of PodControllerInterface.

type ReplicationManager Uses

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 Uses

func NewReplicationManager(kubeClient client.Interface) *ReplicationManager

NewReplicationManager creates a new ReplicationManager.

func (*ReplicationManager) Run Uses

func (rm *ReplicationManager) Run(period time.Duration)

Run begins watching and syncing.

Package controller imports 7 packages (graph). Updated 2017-11-29. Refresh now. Tools for package owners.