public interface IUser extends IOpenShiftResource
getCreationLog, getMessages, hasCreationLog, refresh
String getId()
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
IAuthorization getAuthorization() throws OpenShiftException
OpenShiftException
IAuthorization getAuthorization(String id) throws OpenShiftException
id
- authorization token or idOpenShiftException
Collection<IAuthorization> getAuthorizations() throws OpenShiftException
OpenShiftException
IAuthorization createAuthorization(String note, String scopes) throws OpenShiftException
note
- A reminder description of what the authorization is for.scopes
- Scope of the authorization token to determine type of access.OpenShiftException
IAuthorization createAuthorization(String note, String scopes, int expiresIn) throws OpenShiftException
note
- A reminder description of what the authorization is for.scopes
- Scope of the authorization token to determine type of access.expiresIn
- The number of seconds before this authorization expires.OpenShiftException
boolean removeAuthorization(String id) throws OpenShiftException
id
- authorization token or idOpenShiftException
@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 © 2016 JBoss by Red Hat. All rights reserved.