public interface IUser extends IOpenShiftResource
Modifier and Type | Method and Description |
---|---|
IOpenShiftSSHKey |
addSSHKey(String name,
ISSHPublicKey key)
Adds the given ssh key with the given name.
|
IDomain |
createDomain(String id) |
void |
deleteKey(String name)
Deprecated.
|
IOpenShiftConnection |
getConnection() |
int |
getConsumedGears() |
IDomain |
getDefaultDomain() |
IDomain |
getDomain(String id) |
List<IDomain> |
getDomains() |
int |
getMaxGears() |
String |
getPassword() |
String |
getRhlogin() |
String |
getServer() |
IOpenShiftSSHKey |
getSSHKeyByName(String name) |
IOpenShiftSSHKey |
getSSHKeyByPublicKey(String publicKey) |
List<IOpenShiftSSHKey> |
getSSHKeys() |
boolean |
hasDomain() |
boolean |
hasDomain(String id) |
boolean |
hasSSHKeyName(String name) |
boolean |
hasSSHPublicKey(String publicKey) |
IOpenShiftSSHKey |
putSSHKey(String name,
ISSHPublicKey key)
Deprecated.
|
boolean |
removeSSHKey(String name) |
getCreationLog, getMessages, hasCreationLog, refresh
static final String ID
String getRhlogin()
String getPassword()
String getServer()
IOpenShiftConnection getConnection()
IDomain createDomain(String id) throws OpenShiftException
OpenShiftException
List<IDomain> getDomains() throws OpenShiftException
OpenShiftException
IDomain getDefaultDomain() throws OpenShiftException
OpenShiftException
IDomain getDomain(String id) throws OpenShiftException
OpenShiftException
boolean hasDomain() throws OpenShiftException
OpenShiftException
boolean hasDomain(String id) throws OpenShiftException
OpenShiftException
List<IOpenShiftSSHKey> getSSHKeys() throws OpenShiftException
OpenShiftException
@Deprecated IOpenShiftSSHKey putSSHKey(String name, ISSHPublicKey key) throws OpenShiftException
addSSHKey(String, ISSHPublicKey)
name
- key name to usekey
- the key to put/addOpenShiftException
IOpenShiftSSHKey addSSHKey(String name, ISSHPublicKey key) throws OpenShiftException
name
- the name to identify the keykey
- the key to addOpenShiftException
IOpenShiftSSHKey getSSHKeyByName(String name) throws OpenShiftUnknonwSSHKeyTypeException, OpenShiftException
IOpenShiftSSHKey getSSHKeyByPublicKey(String publicKey) throws OpenShiftUnknonwSSHKeyTypeException, OpenShiftException
boolean hasSSHKeyName(String name) throws OpenShiftUnknonwSSHKeyTypeException, OpenShiftException
boolean hasSSHPublicKey(String publicKey) throws OpenShiftUnknonwSSHKeyTypeException, OpenShiftException
boolean removeSSHKey(String name)
@Deprecated void deleteKey(String name)
int getMaxGears()
int getConsumedGears()
Copyright © 2014 JBoss by Red Hat. All rights reserved.