kubernetes: k8s.io/kubernetes/pkg/controller/replication Index | Files | Directories

package replication

import "k8s.io/kubernetes/pkg/controller/replication"

Package replication contains logic for watching and synchronizing replication controllers.

Index

Package Files

conversion.go doc.go replication_controller.go replication_controller_utils.go

Constants

const (
    BurstReplicas = replicaset.BurstReplicas
)

func GetCondition Uses

func GetCondition(status v1.ReplicationControllerStatus, condType v1.ReplicationControllerConditionType) *v1.ReplicationControllerCondition

GetCondition returns a replication controller condition with the provided type if it exists.

func NewReplicationControllerCondition Uses

func NewReplicationControllerCondition(condType v1.ReplicationControllerConditionType, status v1.ConditionStatus, reason, msg string) v1.ReplicationControllerCondition

NewReplicationControllerCondition creates a new replication controller condition.

func RemoveCondition Uses

func RemoveCondition(status *v1.ReplicationControllerStatus, condType v1.ReplicationControllerConditionType)

RemoveCondition removes the condition with the provided type from the replication controller status.

func SetCondition Uses

func SetCondition(status *v1.ReplicationControllerStatus, condition v1.ReplicationControllerCondition)

SetCondition adds/replaces the given condition in the replication controller status.

type ReplicationManager Uses

type ReplicationManager struct {
    replicaset.ReplicaSetController
}

ReplicationManager is responsible for synchronizing ReplicationController objects stored in the system with actual running pods. It is actually just a wrapper around ReplicaSetController.

func NewReplicationManager Uses

func NewReplicationManager(podInformer coreinformers.PodInformer, rcInformer coreinformers.ReplicationControllerInformer, kubeClient clientset.Interface, burstReplicas int) *ReplicationManager

NewReplicationManager configures a replication manager with the specified event recorder

Directories

PathSynopsis
config
config/v1alpha1

Package replication imports 27 packages (graph) and is imported by 359 packages. Updated 2019-04-20. Refresh now. Tools for package owners.