public class DockerInfrastructureImpl extends brooklyn.entity.basic.BasicStartableImpl implements DockerInfrastructure
brooklyn.entity.basic.AbstractEntity.BasicConfigurationSupport, brooklyn.entity.basic.AbstractEntity.BasicFeedSupportbrooklyn.basic.AbstractBrooklynObject.BasicTagSupportbrooklyn.entity.basic.BasicStartable.LocationsFilterbrooklyn.basic.BrooklynObject.TagSupportbrooklyn.entity.trait.Configurable.ConfigurationSupportbrooklyn.entity.trait.Startable.RestartEffectorBody, brooklyn.entity.trait.Startable.StartEffectorBody, brooklyn.entity.trait.Startable.StopEffectorBody_subscriptionTracker, CHILD_ADDED, CHILD_REMOVED, EFFECTOR_ADDED, EFFECTOR_CHANGED, EFFECTOR_REMOVED, LOCATION_ADDED, LOCATION_REMOVED, managementSupport, POLICY_ADDED, POLICY_REMOVED, SENSOR_ADDED, SENSOR_REMOVED, tempWorkingsDOCKER_APPLICATIONS, DOCKER_CERTIFICATE_AUTHORITY_PATH, DOCKER_CERTIFICATE_PATH, DOCKER_CONTAINER_COUNT, DOCKER_CONTAINER_COUNTER, DOCKER_CONTAINER_FABRIC, DOCKER_GENERATE_TLS_CERTIFICATES, DOCKER_HARDWARE_ID, DOCKER_HOST_AFFINITY_RULES, DOCKER_HOST_CLUSTER, DOCKER_HOST_CLUSTER_MIN_SIZE, DOCKER_HOST_COUNT, DOCKER_HOST_COUNTER, DOCKER_HOST_SPEC, DOCKER_IMAGE_ID, DOCKER_KEY_PATH, DOCKER_VERSION, DOCKERFILE_NAME, DOCKERFILE_SUBSTITUTIONS, DOCKERFILE_URL, HA_POLICY_ENABLE, PLACEMENT_STRATEGIES, REMOVE_EMPTY_DOCKER_HOSTS, SDN_ENABLE, SDN_PROVIDER, SDN_PROVIDER_SPEC, SECURITY_GROUP, SHUTDOWN_TIMEOUT| Constructor and Description |
|---|
DockerInfrastructureImpl() |
| Modifier and Type | Method and Description |
|---|---|
DockerLocation |
createLocation(Map<String,?> flags) |
void |
deleteLocation() |
brooklyn.entity.basic.DynamicGroup |
getContainerFabric() |
Integer |
getCurrentSize() |
List<brooklyn.entity.Entity> |
getDockerContainerList() |
brooklyn.entity.group.DynamicCluster |
getDockerHostCluster() |
List<brooklyn.entity.Entity> |
getDockerHostList() |
DockerLocation |
getDynamicLocation() |
void |
init() |
boolean |
isLocationAvailable() |
void |
rebind() |
Integer |
resize(Integer desiredSize) |
void |
start(Collection<? extends brooklyn.location.Location> locations) |
void |
stop()
De-register our
DockerLocation and its children. |
addChild, addChild, addEnricher, addEnricher, addFeed, addGroup, addLocations, addPolicy, addPolicy, addTag, clearLocations, clearParent, config, configure, configure, configure, configure, configure, containsTag, destroy, emit, emitInternal, equals, feeds, firstLocation, getAllAttributes, getAllConfig, getAllConfigBag, getApplication, getApplicationId, getAttribute, getAttributeByNameParts, getChildren, getConfig, getConfig, getConfig, getConfig, getConfigMap, getConfigRaw, getConfigRaw, getCreationTime, getDisplayName, getEffector, getEnrichers, getEntityManager, getEntityType, getEntityTypeName, getExecutionContext, getFeedSupport, getGroups, getIconUrl, getLocalConfigBag, getLocations, getManagementContext, getManagementSupport, getMutableEntityType, getParent, getPolicies, getProxy, getProxyIfAvailable, getRebindSupport, getSubscriptionContext, getSubscriptionTracker, getTags, hashCode, initEnrichers, invalidateReferences, invoke, invoke, invoke, modifyAttribute, onManagementBecomingMaster, onManagementNoLongerMaster, onManagementStarted, onManagementStarting, onManagementStopped, onTagsChanged, refreshInheritedConfig, removeAllEnrichers, removeAllPolicies, removeAttribute, removeChild, removeEnricher, removeGroup, removeLocations, removePolicy, removeTag, requestPersist, resetProxy, setApplication, setAttribute, setAttribute, setAttributeWithoutPublishing, setConfig, setConfig, setConfig, setConfig, setConfig, setConfig, setConfigEvenIfOwned, setConfigEvenIfOwned, setConfigIfValNonNull, setConfigIfValNonNull, setDefaultDisplayName, setDisplayName, setManagementContext, setParent, setProxy, subscribe, subscribeToChildren, subscribeToMembers, toMetadataRecord, toString, toStringHelper, unsubscribe, unsubscribeconfigure, getCatalogItemId, getId, getTagSupport, isLegacyConstruction, isRebinding, setCatalogItemId, tagsclone, finalize, getClass, notify, notifyAll, wait, wait, waitaddChild, 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, setParentpublic void init()
init in class brooklyn.entity.basic.AbstractEntitypublic List<brooklyn.entity.Entity> getDockerHostList()
getDockerHostList in interface DockerInfrastructurepublic brooklyn.entity.group.DynamicCluster getDockerHostCluster()
getDockerHostCluster in interface DockerInfrastructurepublic List<brooklyn.entity.Entity> getDockerContainerList()
getDockerContainerList in interface DockerInfrastructurepublic brooklyn.entity.basic.DynamicGroup getContainerFabric()
getContainerFabric in interface DockerInfrastructurepublic Integer resize(Integer desiredSize)
resize in interface brooklyn.entity.trait.Resizablepublic Integer getCurrentSize()
getCurrentSize in interface brooklyn.entity.trait.Resizablepublic DockerLocation getDynamicLocation()
getDynamicLocation in interface brooklyn.location.dynamic.LocationOwner<DockerLocation,DockerInfrastructure>public boolean isLocationAvailable()
isLocationAvailable in interface brooklyn.location.dynamic.LocationOwner<DockerLocation,DockerInfrastructure>public DockerLocation createLocation(Map<String,?> flags)
createLocation in interface brooklyn.location.dynamic.LocationOwner<DockerLocation,DockerInfrastructure>public void rebind()
rebind in class brooklyn.basic.AbstractBrooklynObjectpublic void deleteLocation()
deleteLocation in interface brooklyn.location.dynamic.LocationOwner<DockerLocation,DockerInfrastructure>public void start(Collection<? extends brooklyn.location.Location> locations)
start in interface brooklyn.entity.trait.Startablestart in class brooklyn.entity.basic.BasicStartableImplpublic void stop()
DockerLocation and its children.stop in interface brooklyn.entity.trait.Startablestop in class brooklyn.entity.basic.BasicStartableImplCopyright © 2015. All rights reserved.