public class ReplicationController extends KubernetesResource implements IReplicationController
ANNOTATIONS, APIVERSION, CREATION_TIMESTAMP, KIND, LABELS, METADATA_NAME, NAME, NAMESPACE, OBJECTS, PORTS, PROTOCOL, TYPE, VALUE| Constructor and Description |
|---|
ReplicationController(org.jboss.dmr.ModelNode node,
IClient client,
Map<String,String[]> propertyKeys) |
| Modifier and Type | Method and Description |
|---|---|
int |
getCurrentReplicaCount()
Returns the current number of replicas
|
int |
getDesiredReplicaCount()
Returns the desired number of replicas
|
Collection<String> |
getImages()
Retrieves the list of images deployed in the
pod containers from this controller
|
Map<String,String> |
getReplicaSelector()
Returns the selector used by the controller
|
accept, addLabel, asBoolean, asInt, asInt, asMap, asString, asString, equals, get, get, getAnnotation, getAnnotations, getApiVersion, getCapabilities, getCapability, getClient, getCreationTimeStamp, getEnvMap, getKind, getLabels, getModifiableCapabilities, getName, getNamespace, getNode, getPath, getProject, hashCode, isAnnotatedWith, refresh, set, set, set, set, set, set, set, setAnnotation, setEnvMap, setName, setNamespace, supports, toJson, toJson, toPrettyString, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitaddLabel, getAnnotation, getAnnotations, getApiVersion, getCapabilities, getCreationTimeStamp, getKind, getLabels, getName, getNamespace, getProject, isAnnotatedWith, setAnnotation, toJson, toJsonaccept, getCapability, supportspublic int getDesiredReplicaCount()
IReplicationControllergetDesiredReplicaCount in interface IReplicationControllerpublic Map<String,String> getReplicaSelector()
IReplicationControllergetReplicaSelector in interface IReplicationControllerpublic int getCurrentReplicaCount()
IReplicationControllergetCurrentReplicaCount in interface IReplicationControllerpublic Collection<String> getImages()
IReplicationControllergetImages in interface IReplicationControllerCopyright © 2016 Red Hat, Inc. All rights reserved.