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, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
addLabel, getAnnotation, getAnnotations, getApiVersion, getCapabilities, getCreationTimeStamp, getKind, getLabels, getName, getNamespace, getProject, isAnnotatedWith, setAnnotation, toJson, toJson
accept, getCapability, supports
public int getDesiredReplicaCount()
IReplicationController
getDesiredReplicaCount
in interface IReplicationController
public Map<String,String> getReplicaSelector()
IReplicationController
getReplicaSelector
in interface IReplicationController
public int getCurrentReplicaCount()
IReplicationController
getCurrentReplicaCount
in interface IReplicationController
public Collection<String> getImages()
IReplicationController
getImages
in interface IReplicationController
Copyright © 2016 Red Hat, Inc. All rights reserved.