public interface IUser extends IOpenShiftResource
getCreationLog, getMessages, hasCreationLog, refreshString getId()
String getRhlogin()
String getPassword()
String getServer()
IOpenShiftConnection getConnection()
IDomain createDomain(String id) throws OpenShiftException
OpenShiftExceptionList<IDomain> getDomains() throws OpenShiftException
OpenShiftExceptionIDomain getDefaultDomain() throws OpenShiftException
OpenShiftExceptionIDomain getDomain(String id) throws OpenShiftException
OpenShiftExceptionboolean hasDomain()
throws OpenShiftException
OpenShiftExceptionboolean hasDomain(String id) throws OpenShiftException
OpenShiftExceptionList<IOpenShiftSSHKey> getSSHKeys() throws OpenShiftException
OpenShiftExceptionIAuthorization getAuthorization() throws OpenShiftException
OpenShiftExceptionIAuthorization getAuthorization(String id) throws OpenShiftException
id - authorization token or idOpenShiftExceptionCollection<IAuthorization> getAuthorizations() throws OpenShiftException
OpenShiftExceptionIAuthorization 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.OpenShiftExceptionIAuthorization 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.OpenShiftExceptionboolean 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/addOpenShiftExceptionIOpenShiftSSHKey addSSHKey(String name, ISSHPublicKey key) throws OpenShiftException
name - the name to identify the keykey - the key to addOpenShiftExceptionIOpenShiftSSHKey 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.