Package | Description |
---|---|
com.openshift.client | |
com.openshift.client.configuration | |
com.openshift.internal.client | |
com.openshift.internal.client.response |
Modifier and Type | Class and Description |
---|---|
class |
InvalidCredentialsOpenShiftException |
class |
InvalidNameOpenShiftException |
class |
NotFoundOpenShiftException |
class |
OpenShiftApplicationNotAvailableException |
class |
OpenShiftEndpointException |
class |
OpenShiftRequestException |
class |
OpenShiftSSHKeyException |
class |
OpenShiftSSHOperationException
OpenShift Exception that encapsulates an underlying exception that occurred during an SSH operation.
|
class |
OpenShiftTimeoutException |
class |
OpenShiftUnknonwSSHKeyTypeException |
Modifier and Type | Method and Description |
---|---|
void |
IApplication.addAlias(String string)
Add application alias
|
List<IEmbeddedCartridge> |
IApplication.addEmbeddableCartridge(ICartridgeConstraint cartridgeConstraint)
Adds the embeddable cartridges that match the given constraint.
|
IEmbeddedCartridge |
IApplication.addEmbeddableCartridge(IEmbeddableCartridge cartridge)
Adds the given embeddable cartridge to this application.
|
List<IEmbeddedCartridge> |
IApplication.addEmbeddableCartridges(Collection<IEmbeddableCartridge> cartridge)
Adds all given embedded cartridges from this app, given their names.
|
static SSHKeyPair |
SSHKeyPair.create(SSHKeyType type,
String passPhrase,
String privateKeyPath,
String publicKeyPath)
Creates private and public ssh-rsa keys and stores them to the given
paths.
|
static SSHKeyPair |
SSHKeyPair.create(String passPhrase,
String privateKeyPath,
String publicKeyPath) |
IApplication |
IDomain.createApplication(String name,
ICartridge cartridge) |
IApplication |
IDomain.createApplication(String name,
ICartridge cartridge,
ApplicationScale scale) |
IApplication |
IDomain.createApplication(String name,
ICartridge cartridge,
ApplicationScale scale,
IGearProfile gearProfile)
Creates a new application with the given name and the given cartridge/framework.
|
IApplication |
IDomain.createApplication(String name,
ICartridge cartridge,
IGearProfile gearProfile) |
IDomain |
IUser.createDomain(String id) |
void |
IApplication.destroy()
Destroys this application (and removes it from the list of available
applications)
|
void |
IOpenShiftSSHKey.destroy() |
void |
IEmbeddedCartridge.destroy()
Destroys this cartridge (and removes it from the list of existing cartridges)
|
void |
IDomain.destroy()
Destroys the current domain.
|
void |
IDomain.destroy(boolean force)
Destroys the current domain, using the 'force' parameter to also destroy the domain applications.
|
IApplication |
IDomain.getApplicationByName(String name)
Returns the application identified by the given name.
|
List<IApplication> |
IDomain.getApplications() |
List<IApplication> |
IDomain.getApplicationsByCartridge(ICartridge cartridge) |
List<String> |
IDomain.getAvailableCartridgeNames()
Returns the list of cartridges that can be used to create a new application.
|
List<IGearProfile> |
IDomain.getAvailableGearProfiles()
Returns the list of available gear size that the user can choose when creating a new application (application's gear size can't be changed after creation).
|
String |
IApplication.getCartridge(String cartridgeName) |
IOpenShiftConnection |
OpenShiftConnectionFactory.getConnection(String clientId,
String password)
Establish a connection with the clientId along with user's password.
|
IOpenShiftConnection |
OpenShiftConnectionFactory.getConnection(String clientId,
String login,
String password)
Establish a connection with the clientId along with user's login and
password.
|
IOpenShiftConnection |
OpenShiftConnectionFactory.getConnection(String clientId,
String login,
String password,
String serverUrl)
Establish a connection with the clientId along with user's login and
password.
|
IOpenShiftConnection |
OpenShiftConnectionFactory.getConnection(String clientId,
String login,
String password,
String authKey,
String authIV,
String serverUrl)
Establish a connection with the clientId along with user's login and
password.
|
IDomain |
IUser.getDefaultDomain() |
IDomain |
IUser.getDomain(String id) |
List<IDomain> |
IOpenShiftConnection.getDomains()
Returns the domains associated with the current OpenShift connection.
|
List<IDomain> |
IUser.getDomains() |
List<IEmbeddableCartridge> |
IOpenShiftConnection.getEmbeddableCartridges()
Returns the available embeddable cartridges associated with the current
OpenShift connection.
|
IEmbeddedCartridge |
IApplication.getEmbeddedCartridge(IEmbeddableCartridge cartridge)
Returns the embedded cartridge in this application.
|
IEmbeddedCartridge |
IApplication.getEmbeddedCartridge(String cartridgeName)
Returns the embedded cartridge given its name.
|
List<IEmbeddedCartridge> |
IApplication.getEmbeddedCartridges()
Returns all embedded cartridges.
|
Collection<IEmbeddedCartridge> |
IApplication.getEmbeddedCartridges(ICartridgeConstraint constraint)
Returns the embedded cartridges in this application that match the given cartridge constraint.
|
RestResponse |
OpenShiftEndpointException.getRestResponse() |
IOpenShiftSSHKey |
IUser.getSSHKeyByName(String name) |
IOpenShiftSSHKey |
IUser.getSSHKeyByPublicKey(String publicKey) |
List<IOpenShiftSSHKey> |
IUser.getSSHKeys() |
List<ICartridge> |
IOpenShiftConnection.getStandaloneCartridges()
Returns the available standalone cartridges associated with the current
OpenShift connection.
|
String |
IEmbeddedCartridge.getUrl() |
IUser |
IOpenShiftConnection.getUser()
Returns the user associated with the current OpenShift connection.
|
IUser |
IDomain.getUser()
Returns the currently connected user that manages this domain.
|
boolean |
IDomain.hasApplicationByCartridge(ICartridge cartridge) |
boolean |
IDomain.hasApplicationByName(String name)
Returns true if the application identified by the given name exists in the domain.
|
boolean |
IUser.hasDomain() |
boolean |
IUser.hasDomain(String id) |
boolean |
IApplication.hasEmbeddedCartridge(IEmbeddableCartridge cartridge)
Returns
true if this application has an embedded cartridge. |
boolean |
IApplication.hasEmbeddedCartridge(String cartridgeName)
Returns
true if this application has an embedded cartridge. |
boolean |
IUser.hasSSHKeyName(String name) |
boolean |
IUser.hasSSHPublicKey(String publicKey) |
static SSHKeyPair |
SSHKeyPair.load(String privateKeyPath,
String publicKeyPath)
Loads existing private and public ssh key from the given paths.
|
IOpenShiftSSHKey |
IUser.putSSHKey(String name,
ISSHPublicKey key) |
void |
IApplication.refresh()
Refresh the application but reloading its content from OpenShift.
|
void |
IOpenShiftResource.refresh()
Refresh the resource and its list of children resources that were previously loaded
|
void |
IApplication.removeAlias(String alias)
Remove application alias
|
void |
IApplication.removeEmbeddedCartridge(IEmbeddableCartridge cartridge)
Removes the given embedded cartridge that is equal to the given
embeddable cartridge.
|
void |
IApplication.removeEmbeddedCartridges(Collection<IEmbeddableCartridge> cartridges)
Removes the given embedded cartridges in this application that are equal to the
given IEmbeddableCartridge.
|
void |
IApplication.removeEmbeddedCartridges(ICartridgeConstraint cartridgeConstraint)
Removes the embeddable cartridges that match the given constraint.
|
void |
IDomain.rename(String id)
Rename the current domain with the given id....
|
void |
IApplication.restart()
Restarts this application.
|
void |
IApplication.scaleDown()
Scale down application
|
void |
IApplication.scaleUp()
Scale up application
|
void |
IOpenShiftSSHKey.setKeyType(SSHKeyType type,
String publicKey)
Sets the new type and public key of this ssh key to the Openshift PaaS
|
void |
IOpenShiftSSHKey.setPublicKey(String publicKey)
Sets the public key portion of this ssh key to the OpenShift PaaS.
|
void |
IApplication.start()
Starts this application.
|
void |
IApplication.stop()
Stops this application.
|
void |
IApplication.stop(boolean force)
Stops this application
|
boolean |
IApplication.waitForAccessible(long timeout)
Waits for this application to become accessible on its public url.
|
boolean |
IDomain.waitForAccessible(long timeout)
Waits for the domain to become accessible.
|
Future<Boolean> |
IApplication.waitForAccessibleAsync(long timeout)
Returns a Future that the caller can use to wait for the application to
become accessible on its public url.
|
Constructor and Description |
---|
InvalidCredentialsOpenShiftException(String url,
HttpClientException cause) |
NotFoundOpenShiftException(String url,
HttpClientException e) |
SSHPublicKey(File publicKeyFile) |
SSHPublicKey(String publicKeyFilePath) |
Constructor and Description |
---|
DefaultConfiguration() |
OpenShiftConfiguration() |
SystemConfiguration(IOpenShiftConfiguration parentConfiguration) |
SystemProperties(IOpenShiftConfiguration parentConfiguration) |
UserConfiguration(SystemConfiguration systemConfiguration) |
Modifier and Type | Method and Description |
---|---|
void |
ApplicationResource.addAlias(String alias) |
List<IEmbeddedCartridge> |
ApplicationResource.addEmbeddableCartridge(ICartridgeConstraint cartridgeConstraint) |
IEmbeddedCartridge |
ApplicationResource.addEmbeddableCartridge(IEmbeddableCartridge cartridge)
Adds the given embedded cartridge to this application.
|
List<IEmbeddedCartridge> |
ApplicationResource.addEmbeddableCartridges(Collection<IEmbeddableCartridge> cartridges) |
IApplication |
DomainResource.createApplication(String name,
ICartridge cartridge) |
IApplication |
DomainResource.createApplication(String name,
ICartridge cartridge,
ApplicationScale scale) |
IApplication |
DomainResource.createApplication(String name,
ICartridge cartridge,
ApplicationScale scale,
IGearProfile gearProfile) |
IApplication |
DomainResource.createApplication(String name,
ICartridge cartridge,
IGearProfile gearProfile) |
IDomain |
APIResource.createDomain(String id) |
IDomain |
UserResource.createDomain(String id) |
void |
ApplicationResource.destroy() |
void |
SSHKeyResource.destroy() |
void |
DomainResource.destroy() |
void |
EmbeddedCartridgeResource.destroy() |
void |
DomainResource.destroy(boolean force) |
protected <DTO> DTO |
AbstractOpenShiftResource.ServiceRequest.execute(ServiceParameter... parameters) |
<DTO> DTO |
ServiceRequest.execute(ServiceParameter... parameters) |
protected String |
AbstractOpenShiftResource.ServiceRequest.execute(String addOn,
ServiceParameter... parameters) |
IApplication |
DomainResource.getApplicationByName(String name) |
List<IApplication> |
DomainResource.getApplications() |
List<IApplication> |
DomainResource.getApplicationsByCartridge(ICartridge cartridge) |
List<String> |
DomainResource.getAvailableCartridgeNames() |
List<IGearProfile> |
DomainResource.getAvailableGearProfiles() |
String |
ApplicationResource.getCartridge(String cartridgeName) |
protected IOpenShiftConnection |
AbstractOpenShiftConnectionFactory.getConnection(IRestService service,
String login,
String password) |
IDomain |
UserResource.getDefaultDomain() |
IDomain |
APIResource.getDomain(String id) |
IDomain |
UserResource.getDomain(String id) |
List<IDomain> |
APIResource.getDomains() |
List<IDomain> |
UserResource.getDomains() |
List<IEmbeddableCartridge> |
APIResource.getEmbeddableCartridges() |
IEmbeddedCartridge |
ApplicationResource.getEmbeddedCartridge(IEmbeddableCartridge cartridge) |
IEmbeddedCartridge |
ApplicationResource.getEmbeddedCartridge(String cartridgeName) |
List<IEmbeddedCartridge> |
ApplicationResource.getEmbeddedCartridges() |
Collection<IEmbeddedCartridge> |
ApplicationResource.getEmbeddedCartridges(ICartridgeConstraint constraint) |
protected Link |
AbstractOpenShiftResource.getLink(String linkName)
Gets the link.
|
protected List<IApplication> |
DomainResource.getOrLoadApplications() |
IOpenShiftSSHKey |
UserResource.getSSHKeyByName(String name) |
IOpenShiftSSHKey |
UserResource.getSSHKeyByPublicKey(String publicKey) |
List<IOpenShiftSSHKey> |
UserResource.getSSHKeys() |
List<ICartridge> |
APIResource.getStandaloneCartridges() |
String |
EmbeddedCartridgeResource.getUrl() |
IUser |
DomainResource.getUser() |
IUser |
APIResource.getUser() |
boolean |
DomainResource.hasApplicationByCartridge(ICartridge cartridge) |
boolean |
DomainResource.hasApplicationByName(String name) |
boolean |
UserResource.hasDomain() |
protected boolean |
APIResource.hasDomain(String name) |
boolean |
UserResource.hasDomain(String id) |
boolean |
ApplicationResource.hasEmbeddedCartridge(IEmbeddableCartridge cartridge) |
boolean |
ApplicationResource.hasEmbeddedCartridge(String cartridgeName) |
boolean |
UserResource.hasSSHKeyName(String name) |
boolean |
UserResource.hasSSHPublicKey(String publicKey) |
IOpenShiftSSHKey |
UserResource.putSSHKey(String name,
ISSHPublicKey key)
Adds the given ssh key with the given name.
|
void |
ApplicationResource.refresh() |
void |
SSHKeyResource.refresh() |
void |
DomainResource.refresh() |
void |
APIResource.refresh() |
void |
UserResource.refresh() |
void |
EmbeddedCartridgeResource.refresh() |
void |
ApplicationResource.removeAlias(String alias) |
void |
ApplicationResource.removeEmbeddedCartridge(IEmbeddableCartridge cartridge) |
protected void |
ApplicationResource.removeEmbeddedCartridge(IEmbeddedCartridge embeddedCartridge)
"callback" from the embeddedCartridge once it has been destroyed.
|
void |
ApplicationResource.removeEmbeddedCartridges(Collection<IEmbeddableCartridge> cartridges) |
void |
ApplicationResource.removeEmbeddedCartridges(ICartridgeConstraint cartridgeConstraint) |
void |
DomainResource.rename(String id) |
RestResponse |
RestService.request(Link link) |
RestResponse |
IRestService.request(Link link) |
RestResponse |
RestService.request(Link link,
Map<String,Object> parameters) |
RestResponse |
IRestService.request(Link link,
Map<String,Object> parameters) |
RestResponse |
RestService.request(Link link,
ServiceParameter... serviceParameters) |
RestResponse |
IRestService.request(Link link,
ServiceParameter... serviceParameters) |
String |
RestService.request(Link link,
String acceptedMediaType,
ServiceParameter... serviceParameters) |
String |
IRestService.request(Link link,
String acceptedMediaType,
ServiceParameter... serviceParameters) |
String |
RestService.request(String href,
HttpMethod httpMethod,
Map<String,Object> parameters) |
String |
IRestService.request(String url,
HttpMethod httpMethod,
Map<String,Object> parameters) |
void |
ApplicationResource.restart() |
void |
ApplicationResource.scaleDown() |
void |
ApplicationResource.scaleUp() |
void |
SSHKeyResource.setKeyType(SSHKeyType type,
String publicKey) |
void |
SSHKeyResource.setPublicKey(String publicKey) |
void |
ApplicationResource.start() |
void |
ApplicationResource.stop() |
void |
ApplicationResource.stop(boolean force) |
boolean |
ApplicationResource.waitForAccessible(long timeout) |
boolean |
DomainResource.waitForAccessible(long timeout) |
Future<Boolean> |
ApplicationResource.waitForAccessibleAsync(long timeout) |
Modifier and Type | Method and Description |
---|---|
static RestResponse |
ResourceDTOFactory.get(String content)
Gets the.
|
Copyright © 2013 JBoss, a division of Red Hat, Inc.. All Rights Reserved.