public interface DockerContainer extends brooklyn.entity.basic.BasicStartable, brooklyn.util.net.HasNetworkAddresses, brooklyn.entity.trait.HasShortName, brooklyn.location.dynamic.LocationOwner<DockerContainerLocation,DockerContainer>
This entity controls the DockerContainerLocation location, and creates
and the JcloudsSshMachineLocation that entities communicate with when
deployed to the DockerInfrastructure.
brooklyn.entity.basic.BasicStartable.LocationsFilterbrooklyn.basic.BrooklynObject.TagSupport| Modifier and Type | Field and Description |
|---|---|
static brooklyn.event.AttributeSensor<brooklyn.entity.Entity> |
CONTAINER |
static brooklyn.event.AttributeSensor<Set<String>> |
CONTAINER_ADDRESSES |
static brooklyn.event.AttributeSensor<String> |
CONTAINER_ID |
static brooklyn.event.AttributeSensor<Boolean> |
CONTAINER_PAUSED |
static brooklyn.event.AttributeSensor<Boolean> |
CONTAINER_RUNNING |
static brooklyn.config.ConfigKey<Map<String,Object>> |
DOCKER_CONTAINER_ENVIRONMENT |
static brooklyn.event.basic.AttributeSensorAndConfigKey<String,String> |
DOCKER_CONTAINER_NAME |
static brooklyn.config.ConfigKey<String> |
DOCKER_CONTAINER_NAME_FORMAT |
static brooklyn.config.ConfigKey<List<String>> |
DOCKER_CONTAINER_VOLUME_EXPORT |
static brooklyn.config.ConfigKey<Integer> |
DOCKER_CPU_SHARES |
static brooklyn.config.ConfigKey<String> |
DOCKER_HARDWARE_ID |
static brooklyn.event.basic.AttributeSensorAndConfigKey<brooklyn.entity.Entity,brooklyn.entity.Entity> |
DOCKER_HOST |
static brooklyn.config.ConfigKey<String> |
DOCKER_IMAGE_ID |
static brooklyn.config.ConfigKey<String> |
DOCKER_IMAGE_NAME |
static brooklyn.config.ConfigKey<String> |
DOCKER_IMAGE_TAG |
static brooklyn.event.basic.AttributeSensorAndConfigKey<brooklyn.entity.Entity,brooklyn.entity.Entity> |
DOCKER_INFRASTRUCTURE |
static brooklyn.config.ConfigKey<Integer> |
DOCKER_MEMORY |
static brooklyn.config.ConfigKey<String> |
DOCKER_PASSWORD |
static brooklyn.config.ConfigKey<Boolean> |
DOCKER_USE_HOST_DNS_NAME |
static brooklyn.event.basic.AttributeSensorAndConfigKey<brooklyn.entity.Entity,brooklyn.entity.Entity> |
ENTITY |
static brooklyn.event.AttributeSensor<String> |
HARDWARE_ID |
static brooklyn.event.AttributeSensor<String> |
IMAGE_ID |
static brooklyn.event.AttributeSensor<String> |
IMAGE_NAME |
static brooklyn.config.ConfigKey<Boolean> |
MANAGED |
static brooklyn.entity.basic.MethodEffector<Void> |
PAUSE |
static brooklyn.entity.basic.MethodEffector<Void> |
RESUME |
static brooklyn.event.AttributeSensor<brooklyn.entity.basic.Lifecycle> |
SERVICE_STATE_ACTUAL |
static brooklyn.entity.basic.MethodEffector<Void> |
SHUT_DOWN |
static brooklyn.event.AttributeSensor<brooklyn.location.basic.SshMachineLocation> |
SSH_MACHINE_LOCATION |
| Modifier and Type | Method and Description |
|---|---|
String |
getContainerId() |
String |
getDockerContainerName() |
DockerHost |
getDockerHost() |
brooklyn.location.basic.SshMachineLocation |
getMachine() |
brooklyn.entity.Entity |
getRunningEntity() |
void |
pause()
Pause the Docker container.
|
void |
resume()
Resume the Docker container.
|
void |
setRunningEntity(brooklyn.entity.Entity entity) |
void |
shutDown()
Shut-down the Docker container.
|
addChild, addChild, addEnricher, addEnricher, addFeed, addGroup, addPolicy, addPolicy, addTag, clearParent, containsTag, getApplication, getApplicationId, getAttribute, getChildren, getConfig, getConfig, getConfigRaw, getConfigRaw, getCreationTime, getDisplayName, getEnrichers, getEntityType, getGroups, getIconUrl, getId, getLocations, getParent, getPolicies, getTags, invoke, removeChild, removeEnricher, removeGroup, removePolicy, removeTag, setParentgetCatalogItemId, getTagSupport, tagsstatic final brooklyn.event.basic.AttributeSensorAndConfigKey<brooklyn.entity.Entity,brooklyn.entity.Entity> DOCKER_HOST
static final brooklyn.event.basic.AttributeSensorAndConfigKey<brooklyn.entity.Entity,brooklyn.entity.Entity> DOCKER_INFRASTRUCTURE
static final brooklyn.event.basic.AttributeSensorAndConfigKey<String,String> DOCKER_CONTAINER_NAME
static final brooklyn.config.ConfigKey<Boolean> MANAGED
static final brooklyn.config.ConfigKey<String> DOCKER_PASSWORD
static final brooklyn.config.ConfigKey<String> DOCKER_IMAGE_ID
static final brooklyn.config.ConfigKey<String> DOCKER_IMAGE_NAME
static final brooklyn.config.ConfigKey<String> DOCKER_IMAGE_TAG
static final brooklyn.config.ConfigKey<String> DOCKER_HARDWARE_ID
static final brooklyn.config.ConfigKey<Boolean> DOCKER_USE_HOST_DNS_NAME
static final brooklyn.config.ConfigKey<Integer> DOCKER_CPU_SHARES
static final brooklyn.config.ConfigKey<Integer> DOCKER_MEMORY
static final brooklyn.config.ConfigKey<List<String>> DOCKER_CONTAINER_VOLUME_EXPORT
static final brooklyn.config.ConfigKey<Map<String,Object>> DOCKER_CONTAINER_ENVIRONMENT
static final brooklyn.event.basic.AttributeSensorAndConfigKey<brooklyn.entity.Entity,brooklyn.entity.Entity> ENTITY
static final brooklyn.config.ConfigKey<String> DOCKER_CONTAINER_NAME_FORMAT
static final brooklyn.event.AttributeSensor<String> IMAGE_ID
static final brooklyn.event.AttributeSensor<String> IMAGE_NAME
static final brooklyn.event.AttributeSensor<String> HARDWARE_ID
static final brooklyn.event.AttributeSensor<String> CONTAINER_ID
static final brooklyn.event.AttributeSensor<brooklyn.entity.Entity> CONTAINER
static final brooklyn.event.AttributeSensor<Boolean> CONTAINER_RUNNING
static final brooklyn.event.AttributeSensor<Boolean> CONTAINER_PAUSED
static final brooklyn.event.AttributeSensor<brooklyn.entity.basic.Lifecycle> SERVICE_STATE_ACTUAL
static final brooklyn.event.AttributeSensor<brooklyn.location.basic.SshMachineLocation> SSH_MACHINE_LOCATION
static final brooklyn.entity.basic.MethodEffector<Void> SHUT_DOWN
static final brooklyn.entity.basic.MethodEffector<Void> PAUSE
static final brooklyn.entity.basic.MethodEffector<Void> RESUME
void shutDown()
void pause()
void resume()
String getDockerContainerName()
String getContainerId()
brooklyn.entity.Entity getRunningEntity()
void setRunningEntity(brooklyn.entity.Entity entity)
DockerHost getDockerHost()
brooklyn.location.basic.SshMachineLocation getMachine()
Copyright © 2015. All rights reserved.