public class ContainerCreateOpenshiftAction extends ContainerCreateSupport
Modifier and Type | Field and Description |
---|---|
protected String |
name |
protected int |
number |
bindAddress, dataStoreOption, dataStoreType, isEnsembleServer, jvmOpts, manualIp, profiles, resolver, version, zookeeperPassword
configurationAdmin, fabricService
Modifier and Type | Method and Description |
---|---|
protected void |
displayContainers(io.fabric8.api.CreateContainerMetadata[] metadatas) |
protected Object |
doExecute() |
protected void |
validateOpenShiftContainerName(String containerName)
Validates the container name according to OpenShift naming rules.
|
getDataStoreProperties, getProfileNames, preCreateContainer, rethrowAuthenticationErrors
checkFabricAvailable, doesContainerExist, getConfigurationAdmin, getContainer, getCurator, getFabricService, getProfile, getProfiles, getProfiles, isPartOfEnsemble, percentText, setConfigurationAdmin, setCurator, setFabricService, toString, toString
protected String name
protected int number
protected Object doExecute() throws Exception
doExecute
in class org.apache.karaf.shell.console.AbstractAction
Exception
protected void displayContainers(io.fabric8.api.CreateContainerMetadata[] metadatas)
displayContainers
in class ContainerCreateSupport
protected void validateOpenShiftContainerName(String containerName)
IllegalArgumentException
- if the container name is invalid.Copyright © 2011–2014 Red Hat. All rights reserved.